var html_content=''+
'<div align="center" id="new_Div1">'+
'<iframe id="hidden_iframe" name="hidden_iframe" src=""></iframe>'+
'<form id="news1_refresh" name="news1_refresh" action="http://www.brit.org.il/cgi-webaxy/new/new-admin.pl" method="post" target="hidden_iframe" style="margin:0px;">'+
'	<input type="hidden" name="username" value="">'+
'	<input type="hidden" name="password" value="">'+
'	<input type="hidden" name="ID" value="815612">'+
'	<input type="hidden" name="lang" value="">'+
'	<input type="hidden" name="id_to_edit" value="1">'+
'	<input type="hidden" name="act" value="update-news-rss">'+
'	<input type="hidden" name="deletenow" value="">	'+
'</form>		'+
'<form method="post" name="form1_1" action="http://www.brit.org.il/cgi-webaxy/new/new.pl" style="display:inline;">'+
'<input type="hidden" name="lang" value="he">'+
'<input type="hidden" name="ID" value="815612">'+
'<input type="hidden" name="act" value="show">'+
'<input type="hidden" name="keywords" value="">'+
'<input type="hidden" name="news_id" value="1"><input type="hidden" name="dirs" value="info/reports,info/itonut,info/shimushi,info/taktzir,info/tfasim,info/iun,info/pics"><input type="hidden" name="events" value=""><input type="hidden" name="boards" value=""><input type="hidden" name="forums" value=""><input type="hidden" name="sal" value="hozrim"><input type="hidden" name="faqs" value=""><input type="hidden" name="cal_filter" value="">'+
'<table cellpadding="1" cellspacing="0" border="0" id="new1-main_table" class="new-main_table new1-main_table">'+
''+
''+
''+
'<tr valign="top">'+
'<td id="new1-right_col" style=\'direction:rtl;\'><div id="new1-right_colDiv">			<table cellpadding=\'2\' cellspacing=\'0\' border=\'0\' class="new-contool new1-contool" width="100%">'+
'			'+
'			<tr><td>			<table class="new1-sal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			'+
'			'+
'			<tr class="new-item new1-item new-item_even new1-item_even new1-item0" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"><div style="display:inline;direction:rtl;" class="new1-icon new1-salIcon">							<a target="_new" href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.009"><img class="new-iconImg new1-iconImg" src="http://www.mbt.org.il/main/triangle.jpg" border="0"></a>'+
'</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell1"><div  class="new1-title new1-salTitle"><a target="_new"  href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.009" title="תקנות פחת מואץ הוארכו עד ל-31 בדצמבר 2013">תקנות פחת מואץ הוארכו עד ל-31 בדצמ...</a></div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd new1-item1" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"><div style="display:inline;direction:rtl;" class="new1-icon new1-salIcon">							<a target="_new" href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.008"><img class="new-iconImg new1-iconImg" src="http://www.mbt.org.il/main/triangle.jpg" border="0"></a>'+
'</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell1"><div  class="new1-title new1-salTitle"><a target="_new"  href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.008" >חובת תשלום אגרה שנתית לשנת 2012</a></div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new1-item new-item_even new1-item_even new1-item2" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"><div style="display:inline;direction:rtl;" class="new1-icon new1-salIcon">							<a target="_new" href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.007"><img class="new-iconImg new1-iconImg" src="http://www.mbt.org.il/main/triangle.jpg" border="0"></a>'+
'</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell1"><div  class="new1-title new1-salTitle"><a target="_new"  href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.007" title="שיעור הריבית לעניין סעיף 3(ט) לשנת 2012">שיעור הריבית לעניין סעיף 3(ט) לשנת...</a></div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd new1-item3" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"><div style="display:inline;direction:rtl;" class="new1-icon new1-salIcon">							<a target="_new" href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.006"><img class="new-iconImg new1-iconImg" src="http://www.mbt.org.il/main/triangle.jpg" border="0"></a>'+
'</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell1"><div  class="new1-title new1-salTitle"><a target="_new"  href="http://www.brit.org.il/cgi-webaxy/sal/sal.pl?lang=he&ID=815612&act=show2&dbid=hozrim&dataid=2012.006" title="הנחיות ותעריפים נורמטיביים - דוחות כספיים לשנת 2011">הנחיות ותעריפים נורמטיביים - דוחות...</a></div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'</td></tr>'+
'			</table>'+
'			<font class="new1-blank_row"><br></font>'+
'</div></td>'+
'</tr>'+
''+
''+
''+
'</table>'+
'</form>'+
'</div>'+
'	<!-- click admin -->'+
'	<div id="FloatingEdit" style="position:absolute; visibility:visible; left:2px; top:0px; z-index:5"></div>'+
'	<!-- click admin -->'+
''+
''+
''
document.getElementById('news1').innerHTML = html_content;document.getElementById('news1').dir = 'rtl'
		//var tb = document.getElementById('new1-pagesData');
			var list = [];
			var classname = 'new1-pagesData';
			var els = document.getElementsByTagName('TABLE');
			for(var i=0; i<els.length; i++){
				if(els[i].className==classname){list.push(els[i]);}
			}
			var alowToEdit = 0;
			if (list) {
				if (document.cookie.length > 0) { // if there are any cookies
				var search =  "clickadmin&";
				var search1 = "clickadmin=";
				offset = document.cookie.indexOf(search);
				if (offset == -1) offset = document.cookie.indexOf(search1);
				if (offset != -1) { // if cookie exists 
					offset += search.length ;  // set index of beginning of value
					end = document.cookie.indexOf("&", offset); // set index of end of cookie value
					if (end == -1) 
						end = document.cookie.length;
					clickadmin= unescape(document.cookie.substring(offset, end));
					if (clickadmin != "" && clickadmin != '0' && clickadmin.search(/^0/) == -1 )
						alowToEdit = 1;
				}
			}	
			for (j = 0 ; j < list.length ; j++) {
				var tb = list[j];
				for (i = 0 ; i < tb.rows.length ; i++) {
						var row = tb.rows[i];
						if (row.className.search(/^new1-cat/) == -1) {
							var len = row.cells.length;
							if (alowToEdit) ;//row.deleteCell(len-2);
							else row.deleteCell(len-1);
						}
				}
			}
		}		

		var clickadmin = checkCookie();
		
		var cookie_in = '', username='', password='';
	if (document.cookie.length > 0) { // if there are any cookies
		var search =  "username&";
		var search1 = "username=";
		offset = document.cookie.indexOf(search);
		if (offset == -1) offset = document.cookie.indexOf(search1);
		if (offset != -1) { // if cookie exists 
			offset += search.length ;  // set index of beginning of value
			end = document.cookie.indexOf("&", offset); // set index of end of cookie value
			if (end == -1) end = document.cookie.indexOf(";", offset); // set index of end of cookie value
			if (end == -1) 
				end = document.cookie.length;
			username = unescape(document.cookie.substring(offset, end));
		}
		var search =  "password&";
		var search1 = "password=";
		offset = document.cookie.indexOf(search);
		if (offset == -1) offset = document.cookie.indexOf(search1);
		if (offset != -1) { // if cookie exists 
			offset += search.length ;  // set index of beginning of value
			end = document.cookie.indexOf("&", offset); // set index of end of cookie value
			if (end == -1) 
				end = document.cookie.length;
			password = unescape(document.cookie.substring(offset, end));
		}
	}
	cookie_in = 'username='+username+'&password='+password;
		if (clickadmin != "" && location.href.search(/news1.htm/) != -1) {
			document.getElementById("s1").src = "http://www.brit.org.il/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=815612&news_id=1&eApplication=news&"+clickadmin +"&r="+Math.round((Math.random() * 1000));
		}
	
	
//<!-- click admin -->
if (location.href.indexOf("magicpage.pl") == -1) {
	var webaxyCookie = getCookieHash("webaxylogin_815612");
	if (webaxyCookie['clickadmin']=='1') {
		var allCookie='';
		for (var k in webaxyCookie){allCookie += (k+"=" + webaxyCookie[k]+"&");}
		document.getElementById("news1_ca").src = "http://www.brit.org.il/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=815612&news_id=1&eApplication=news&noDivOverride=1&"+allCookie +"&r="+Math.round((Math.random() * 1000));
		var newDiv = document.createElement('div');
		newDiv.style.textAlign = 'center';
		newDiv.innerHTML = '<a href="javascript:openNW(\'1\')" target="_self"><img src="http://www.brit.org.il/htm-webaxy/pagedit.gif" border="0" title="עריכה" hspace="1" id="EditPage"></a>';
		newDiv.innerHTML += '<a href="javascript:refreshNews(\'1\')" target="_self"><img src="http://www.brit.org.il/htm-webaxy/refresh.gif" border="0" title="ריענון" hspace="1" id="RefreshPage"></a>';
		document.getElementById('new_Div1').appendChild(newDiv);	
	}
}
//<!-- click admin -->

