var html_content='		<iframe id="hidden_iframe" name="hidden_iframe" src=""></iframe>'+
'		<iframe src="/htm-webaxy/select/date_iframe.htm?lang=he" style="visibility:hidden;position:absolute;left:1px;top:1px;width:179px;height:210px;z-index:3001;" frameborder="0" name="date_ifr" id="date_ifr"></iframe>'+
'		<div id="scanpicCADiv32" style="display: none; width: 600px;" open="0"></div>'+
'		<!--<form id="scanpic32_refresh" name="scanpic32_refresh" action="http://www.kfar-aza.org.il/cgi-webaxy/scanpicadmin.pl" method="post" target="hidden_iframe">'+
'				<input type="hidden" name="username" value="">'+
'				<input type="hidden" name="password" value="">'+
'				<input type="hidden" name="ID" value="18">'+
'				<input type="hidden" name="lang" value="he">'+
'				<input type="hidden" name="id_to_edit" value="32">'+
'				<input type="hidden" name="action" value="refresh">'+
'		</form>'+
'		<form id="scanpicCA32_refresh" name="scanpicCA32_refresh" action="http://www.kfar-aza.org.il/cgi-webaxy/scanpicadmin.pl" method="post" target="hidden_iframe">'+
'				<input type="hidden" name="username" value="">'+
'				<input type="hidden" name="password" value="">'+
'				<input type="hidden" name="ID" value="18">'+
'				<input type="hidden" name="lang" value="he">'+
'				<input type="hidden" name="id_to_edit" value="32">'+
'				<input type="hidden" name="action" value="refresh">'+
'		</form>-->'+
'		<div id="overDiv" style="position:absolute; visibility:hidden; z-index:3100; text-align: right; direction: rtl;"></div> '+
'<div id="scanpic32-insert_effect" style="display: none; position: absolute; z-index: 500; ">'+
'	<img src="" id="scanpic32-insert_img">'+
'</div>'+
'<div id="scanpic32-hideAllDiv" style="background-color: #000000; filter: alpha(opacity=85); opacity: 0.85; display: none; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%">'+
'</div>'+
'<div id="scanpic32-fullScreenDiv" style="position: absolute; left: 0px; top: 0px; height: 100%; width: 100%; text-align: center; display: none;">'+
'	'+
'	<div id="scanpic32-fullScreenDivImg">'+
'		<img src="" id="scanpic32-fullScreenImg">'+
'	</div>'+
'	'+
'</div>'+
''+
''+
'		<input type="hidden" name="curPage" id="scanpic32-curPage" value="0">'+
'		<input type="hidden" name="curFullIndex" id="scanpic32-curFullIndex" value="0">'+
'		<input type="hidden" name="curFilmPage" id="scanpic32-curFilmPage" value="0">'+
'		<input type="hidden" name="mouseDir" id="scanpic32-mouseDir" value="">'+
'		<input type="hidden" name="prevXPos" id="scanpic32-prevXPos" value="0">'+
'		<input type="hidden" name="prevYPos" id="scanpic32-prevYPos" value="0">'+
'		<input type="hidden" name="onGoing" id="scanpic32-onGoing" value="">		'+
'		<input type="hidden" name="onGoingNexPage" id="scanpic32-onGoingNexPage" value="">'+
'		<input type="hidden" name="scanpic32-pageDone" id="scanpic32-pageDone" value="">'+
'		<input type="hidden" name="onGoingMoveImage" id="scanpic32-onGoingMoveImage" value="">'+
'		<input type="hidden" name="slide_show" id="scanpic32-slide_show" value="">'+
'		<input type="hidden" name="slide_show_full" id="scanpic32-slide_show_full" value="">'+
'		<input type="hidden" name="imageresize" id="scanpic32-imageresize" value="+">'+
'		<input type="hidden" name="currentIndexResize" id="scanpic32-currentIndexResize" value="">'+
'		<input type="hidden" id="overlibPath" name="overlibPath" value="/htm-webaxy/javascript/overlibmws">'+
'		<input type="hidden" id="overlibDir" name="overlibDir" value="rtl">			'+
'		<input type="hidden" name="curLBIndex" id="scanpic32-curLBIndex" value="">'+
'		<input type="hidden" name="popupIndex" id="scanpic32-popupIndex" value="">'+
'		'+
''+
'<table id="scanpic32-main_table" class="scanpic-main_table" align="center" cellpadding="0" cellspacing="0" border="0">'+
'	'+
'	'+
'	'+
'	<tr>'+
'	<td align="center" valign="middle">'+
'			<table  id="scanpic32-pictures_table" cellpadding="0" cellspacing="0" border="0">'+
'	</table>'+
''+
'	</td>'+
'	</tr>'+
'	'+
'</table>'+
'<!-- click admin -->'+
'<div id="FloatingEdit" style="position:absolute; visibility:visible; left:2px; top:1px; z-index:5"></div>'+
'<!-- click admin -->'+
''
document.getElementById('scanpic32').innerHTML = html_content;document.getElementById('scanpic32').dir = 'rtl'//<!-- click admin -->
if (location.href.indexOf("magicpage.pl") == -1) {
	var webaxyCookie = getCookieHash("webaxylogin_18");
	if (webaxyCookie['clickadmin']=='1') {
		var allCookie='';
		for (var k in webaxyCookie){allCookie += (k+"=" + webaxyCookie[k]+"&");}
		document.getElementById("scanpic32_ca").src = "http://www.kfar-aza.org.il/cgi-webaxy/admin/page_edit_js.pl?ID=18&scanpicID=32&dir=info/pirsumBaner/&edit_scanpic_scan=עריכת גלריה&add_img=הוספת תמונה&add_scanpic=הוסף גלריה לאלבום נוכחי&refresh=refresh&eApplication=scanpic&noDivOverride=1&"+allCookie +"&r="+Math.round((Math.random() * 1000));
		var caRow = document.getElementById('scanpic32-main_table').insertRow(-1);
		var caCell = caRow.insertCell(-1);
		caCell.align = 'center';
		caCell.innerHTML = '<a href="javascript:openSP(32)" target="_self"><img src="http://www.kfar-aza.org.il/htm-webaxy/pagedit.gif" border="0" title="עריכת סורק" hspace="1" id="EditPage"></a>';
		caCell.innerHTML += '<a href="javascript:refreshSP(32)" target="_self"><img src="http://www.kfar-aza.org.il/htm-webaxy/refresh.gif" border="0" title="ריענון" hspace="1" id="RefreshPage"></a>';
		caCell.innerHTML += '<a href="javascript:addPic(\'info/pirsumBaner/\')" target="_self"><img src="http://www.kfar-aza.org.il/htm-webaxy/nadd.gif" border="0" title="הוספת תמונה" hspace="1" id="addScanPic"></a>';
	}
}
//<!-- click admin -->

