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.nir-israel.org/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="559763_nir-israel">'+
'	<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.nir-israel.org/cgi-webaxy/new/new.pl" style="display:inline;">'+
'<input type="hidden" name="ID" value="559763_nir-israel">'+
'<input type="hidden" name="lang" value="he">'+
'<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,info/municipal_general/Services,info/youth_general,info/youth_restricted,info/municipal_restricted/Education,info/municipal_restricted/Education/Kindergarten,info/municipal_general,info/municipal_general/memorial,info/municipal_general/Tarbut_External,info/municipal_general/Tarbut_External/scandir,info/municipal_general/tarbut_internal,info/municipal_general/tarbut_internal/scandir,info/municipal_general/education,info/municipal_general/Hof_Ashqelon,info/municipal_general/Hof_Ashqelon/matnass_general,info/municipal_general/Hof_Ashqelon/matnass_general/scandir,info/municipal_general/Hof_Ashqelon/matnass_hugim,info/municipal_general/Hof_Ashqelon/matnass_hugim/scandir,info/municipal_general/value_added_info,info/municipal_general/About,info/municipal_general/About/Businesses,info/municipal_general/About/History,info/municipal_general/About/History/History_Pages,info/municipal_general/Culture,info/municipal_general/Culture/courses,info/municipal_general/Culture/courses_local,info/municipal_general/Culture/sports,info/municipal_general/Culture/Horidays_Material,info/municipal_general/muni_committee,info/municipal_general/muni_committee/protocols,info/NEWS_files,info/NEWS_files/HomePage,info/agri_general,info/agri_general/Asefot_chaverim,info/Info_Pages,info/Documents,info/Documents/Aguda_Chaklayit,info/municipal_general/security,scandir"><input type="hidden" name="events" value=""><input type="hidden" name="boards" value=""><input type="hidden" name="forums" value=""><input type="hidden" name="sal" value=""><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 id="new1-pagesTable" cellpadding="2" cellspacing="0" border="0" class="new-contool new1-contool" width="100%">'+
'			<tr><td class="new-tool new1-tool">מסמכים חדשים</td></tr>'+
''+
'			<tr><td>			<table class="new1-pagesData" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new1-cat" ><td colspan="3" class="new-subtool new1-subtool"></td></tr>'+
'			<tr class="new-item new1-item new-item_even new1-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/memorial/laper.htm"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/htm.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/memorial/laper.htm" >לזכרו של יוסי לפר ז"ל - נושא עיטור הגבורה</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">יוסי לפר, בן המושב, נושא העיטור הגבוה ביותר בצה"ל</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">04/09/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/memorial/laper.htm\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/memorial/laper.htm\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/education/hanchayot_lehasaot_talmidim_2011.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/education/hanchayot_lehasaot_talmidim_2011.doc" >הנחיות להסעת תלמידי בית הספר בשנת תשע&quot;א</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">כל המידע אודות הסעות ביתי הספר</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">30/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/education/hanchayot_lehasaot_talmidim_2011.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/education/hanchayot_lehasaot_talmidim_2011.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_even new1-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/Culture/courses_local/Trnis.jpg"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/jpg.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/Culture/courses_local/Trnis.jpg" >הרשמה לחוגי טניס הנערכים במושב</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">פיתוח אתלטי לגילאי 4-6, מיני טניס 6-8, טניס הישגי לילדים ונוער, טניס למבוגרים</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">28/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/Culture/courses_local/Trnis.jpg\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/Culture/courses_local/Trnis.jpg\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/Hof_Ashqelon/Misrat_minhalan_moatza_30_8_2010.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/Hof_Ashqelon/Misrat_minhalan_moatza_30_8_2010.doc" >דרוש: מנהל מינהל ומתאם ראשי של כל הפעולות המנהליות בית ספרי</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">לפרטים נוספים - חלצו כאן. הגשת מועמדות : עד 30.8.2010</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">23/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/Hof_Ashqelon/Misrat_minhalan_moatza_30_8_2010.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/Hof_Ashqelon/Misrat_minhalan_moatza_30_8_2010.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_even new1-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/tarbut_internal/throt_hof_ashklon_2010.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/tarbut_internal/throt_hof_ashklon_2010.doc" >תחרות שחמט אזורית</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">בית העם ניר ישראל, יום ו\', 03.09.2010</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">20/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/tarbut_internal/throt_hof_ashklon_2010.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/tarbut_internal/throt_hof_ashklon_2010.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaat_tzaparut_28_8_2010_gea.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaat_tzaparut_28_8_2010_gea.doc" >הרצאה בנושא צפרות במושב גיאה</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">ב 28 באוגוסט, בשעה 21:00. מרצה ציפו קליין. לחצו כאן לפרטים...</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">19/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaat_tzaparut_28_8_2010_gea.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaat_tzaparut_28_8_2010_gea.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_even new1-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaa_legimlayim_bamoatza_31_8_2010.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaa_legimlayim_bamoatza_31_8_2010.doc" >ההרצאה לגימלאים: כמו כלים שלובים- הקשר בין גוף ונפש</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">תתקיים ב\'\'מרכז היום\'\' במועצה ב 31.8.10 ,יום ג\' בין השעות 17.00-19.30 </div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">18/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaa_legimlayim_bamoatza_31_8_2010.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/Tarbut_External/hartzaa_legimlayim_bamoatza_31_8_2010.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></td>'+
'</tr>'+
'<tr class="new-item new1-item new-item_odd new1-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0" ><div style="display:inline;" class="new1-icon new1-pagesIcon">			<a  href="http://www.nir-israel.org/info/municipal_general/Culture/courses/merkaz_hamusika_betichon_shikma.doc"><img class="new-iconImg new1-iconImg new-iconImgPages new1-iconImgPages " src="http://www.nir-israel.org/main/doc.gif" border="0"></a>'+
'</div>'+
'<!----></td><td valign="top" class="new-dataCell new-dataCell1"><!--%%colspanme2%%--><div style="display:inline;" class="new1-title new1-pagesTitle"><a  href="http://www.nir-israel.org/info/municipal_general/Culture/courses/merkaz_hamusika_betichon_shikma.doc" >נפתח מרכז למוסיקה בתיכון השיקמה</a></div>'+
'<br><div style="display:inline;" class="new1-doc_desc new1-desc new1-pagesDesc">לפרטים נוספים, לחצו כאן...</div>'+
'</td><td valign="top" class="new-dataCell new-dataCell2"><div  class="new1-date new1-pagesDate">18/08/2010</div>'+
'</td>'+
'	<td class="new1-icon"><table cellpadding="0" cellspacing="1"><tr><td> <img src="http://www.nir-israel.org/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\'http://www.nir-israel.org/info/municipal_general/Culture/courses/merkaz_hamusika_betichon_shikma.doc\')" title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td><td> <img src="http://www.nir-israel.org/htm-webaxy/pagedit.gif" border="0" onclick="clickEdit(\'http://www.nir-israel.org/info/municipal_general/Culture/courses/merkaz_hamusika_betichon_shikma.doc\')" title="עריכה" title="עריכה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.backgroundColor=\'\'"> </td></tr></table></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.nir-israel.org/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=559763_nir-israel&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_559763_nir-israel");
	if (webaxyCookie['clickadmin']=='1') {
		var allCookie='';
		for (var k in webaxyCookie){allCookie += (k+"=" + webaxyCookie[k]+"&");}
		document.getElementById("news1_ca").src = "http://www.nir-israel.org/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=559763_nir-israel&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.nir-israel.org/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.nir-israel.org/htm-webaxy/refresh.gif" border="0" title="ריענון" hspace="1" id="RefreshPage"></a>';
		document.getElementById('new_Div1').appendChild(newDiv);	
	}
}
//<!-- click admin -->
