var html_content=''+
'<div align="center" id="new_Div8">'+
'<iframe id="hidden_iframe" name="hidden_iframe" src=""></iframe>'+
'<form id="news8_refresh" name="news8_refresh" action="http://www.kibbutz.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="3">'+
'	<input type="hidden" name="lang" value="">'+
'	<input type="hidden" name="id_to_edit" value="8">'+
'	<input type="hidden" name="act" value="update-news-rss">'+
'	<input type="hidden" name="deletenow" value="">	'+
'</form>		'+
'<form method="post" name="form1_8" action="http://www.kibbutz.org.il/cgi-webaxy/new/new.pl" style="display:inline;">'+
'<input type="hidden" name="ID" value="3">'+
'<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="8"><input type="hidden" name="dirs" value=""><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="new8-main_table" class="new-main_table new8-main_table">'+
''+
''+
''+
'<tr valign="top">'+
'<td id="new8-right_col" style=\'direction:rtl;\'><div id="new8-right_colDiv">			<table cellpadding=2 cellspacing=0 border=0 class="new-contool new8-contool" width="100%">'+
'			'+
'			<tr><td>			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">מרכז הדרכה</td></tr>'+
'			<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1710&date=14.9.2010" >קורס חוק ומשפט בקיבוץ - ניהול הקיבוץ  - בית התנועה הקיבוצית</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">14/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1709&date=21.9.2010" >קורס ניהול בכיר למנהלים ועתודה ניהולית בקיבוץ, בתעשייה ובעסקים - 8 מפגשים החל מ-21/9</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">21/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1711&date=5.10.2010" >קורס: חוק ומשפט בקיבוץ - הקיבוץ כישות מוניציפלית  - בית התנועה הקיבוצית</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">05/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">המטה השיתופי</td></tr>'+
'			<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1730&date=30.9.2010" >בדרך לתפקיד בכיר? קורס למנהלים בכירים בקיבוץ. 25 מפגשים אחת לשבוע החל מ-11/10 - מרכז הארץ</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">30/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">אגף הרכזים - מלווי קיבוצים</td></tr>'+
'			<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1742&date=13.9.2010" >סיור המטה התנועתי לעין חרוד מאוחד ולאשדות יעקב מאוחד</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">13/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">אגף משימות</td></tr>'+
'			<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1749&date=7.9.2010" >זעקה לעולם - משט למען שחרורו של גלעד שליט - נמל אשקלון</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">07/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1681&date=16.9.2010" >כנס ארצי לפתיחת השנה למתנדבי שנת שרות</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">16/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1682&date=1.10.2010" >כנס בני קיבוצים</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">01/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">מחלקת חינוך</td></tr>'+
'			<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1743&date=4.10.2010" >ימי השתלמות למדריכים חדשים בחינוך הלא פורמאלי - אפעל</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">04/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">מבקר התנועה</td></tr>'+
'			<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1699&date=5.10.2010" >סמינר ביקורת בעמק יזרעאל (דף מידע מס\' 2) - פגישה מס\' 1 - מפע</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">05/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">מחלקת בריאות ורווחה</td></tr>'+
'			<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1733&date=7.9.2010" >קורס רכזי רווחת הקשיש בקיבוץ - תשע"א, 13 מפגשים החל מ-2/11. הרשמה עד 7/10 - מרכז גליקמן, מרכז רפואי שיבא, תל השומר</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">07/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1750&date=5.10.2010" >עמותת עמדא מזמינה להקרנת הסרט "ימי שלישי עם מורי" - בית אבות משען, רמת אפעל</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">05/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1732&date=7.10.2010" >קורס רכזי רווחת הקשיש בקיבוץ - תשע"א, 13 מפגשים החל מ-2/11. הרשמה עד 7/10 - מרכז גליקמן, מרכז רפואי שיבא, תל השומר</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">07/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">מטה התרבות</td></tr>'+
'			<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1724&date=30.9.2010" >קורס רכזי תרבות ממשיכים שנה ב\' - החל מ-12/10. ההרשמה עד 3/10 - בית התנועה הקיבוצית</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">30/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1725&date=30.9.2010" >קורס רכזי תרבות מתחילים שנה א\' - החל מ-20/10. ההרשמה עד 3/10 - בית התנועה הקיבוצית</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">30/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1751&date=3.10.2010" >הזמנה למפגשים אזוריים לרכזי תרבות - אזור המרכז - קיבוץ עינת במועדון</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">03/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1752&date=5.10.2010" >הזמנה למפגשים אזוריים לרכזי תרבות - אזור הדרום ולב הארץ - קיבוץ גלאון במועדון</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">05/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
'<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1753&date=6.10.2010" >הזמנה למפגשים אזוריים לרכזי תרבות - אזור הצפון - קיבוץ יזרעאל במועדון</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">06/10/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">יד טבנקין</td></tr>'+
'			<tr class="new-item new8-item new-item_even new8-item_even" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1745&date=13.9.2010" >הזמנה לסרט \'שדה האפונים הירוקות\' ודיון בהשתתפות הבמאי יגאל תיבון ואחת מגיבורות הסרט - סמינר אפעל - רמת אפעל</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">13/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'			<table class="new8-cal" cellpadding="2" cellspacing="0" border="0" width="100%">'+
'			<tr class="new8-cat" ><td colspan="3" class="new-subtool new8-subtool">תערוכות</td></tr>'+
'			<tr class="new-item new8-item new-item_odd new8-item_odd" style="vertical-align: top;">'+
'	'+
'	<td valign="top" class="new-dataCell new-dataCell0"></td><td valign="top" class="new-dataCell new-dataCell1"><div style="display:inline;" class="new8-title new8-calTitle"><a target="_parent" href="http://www.kibbutz.org.il/cgi-webaxy/cal2/cal.pl?lang=he&ID=3&act=cal&eventID=1754&date=3.9.2010" >\'גלוי ונסתר\' - תערוכת ציורים של אסתר גולדפרב - הגלריה הלבנה - מעגן מיכאל</a></div>'+
'<br><div style="display:inline;" class="new8-date new8-calDate">03/09/2010</div>'+
'</td>'+
'	'+
'</tr>'+
''+
'			</table>'+
'</td></tr>'+
'			</table>'+
'			<font class="new8-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('news8').innerHTML = html_content;document.getElementById('news8').dir = 'rtl'
		//var tb = document.getElementById('new8-pagesData');
			var list = [];
			var classname = 'new8-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(/^new8-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(/news8.htm/) != -1) {
			document.getElementById("s1").src = "http://www.kibbutz.org.il/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=3&news_id=8&eApplication=news&"+clickadmin +"&r="+Math.round((Math.random() * 1000));
		}
	
	
//<!-- click admin -->
if (location.href.indexOf("magicpage.pl") == -1) {
	var webaxyCookie = getCookieHash("webaxylogin_3");
	if (webaxyCookie['clickadmin']=='1') {
		var allCookie='';
		for (var k in webaxyCookie){allCookie += (k+"=" + webaxyCookie[k]+"&");}
		document.getElementById("news8_ca").src = "http://www.kibbutz.org.il/cgi-webaxy/admin/page_edit_js.pl?lang=he&ID=3&news_id=8&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(\'8\')" target="_self"><img src="http://www.kibbutz.org.il/htm-webaxy/pagedit.gif" border="0" title="עריכה" hspace="1" id="EditPage"></a>';
		newDiv.innerHTML += '<a href="javascript:refreshNews(\'8\')" target="_self"><img src="http://www.kibbutz.org.il/htm-webaxy/refresh.gif" border="0" title="ריענון" hspace="1" id="RefreshPage"></a>';
		document.getElementById('new_Div8').appendChild(newDiv);	
	}
}
//<!-- click admin -->
