		var limit61 = 50;
		var page_no61;
		var imgArrSD61 = new Array('<DDD><DDD>איך לשלב מוצרי חלב בחורף<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-001.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>ארוחת בוקר: יותר כוח, יותר מוח<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/ls-bfast-001.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>ארוחת הבוקר - בסיס לתזונה מאוזנת<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/breakfast.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>גיל הזהב<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/senior_nut.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>הכירו את "מזונות העל" (Super Food) <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/090723_superfood.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>הרגלי אכילה בריאים בעונת הקיץ<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/eat_summ.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>טיפים לאנשים שאוכלים לבד<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/081124b_lonely.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>טיפים לתזונה בריאה לסטודנטים<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/081124.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>טיפים לתזונה נכונה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/diet-002.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>למה חשוב לאכול ארוחת בוקר ?<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/whybfst.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>מוצרי חלב - נכס תזונתי<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/milkproducts.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>מזונות המסייעים לבריאות הלב<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/heart_health.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>נשים בגיל המעבר<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/women_menopause.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>סטודנטים הזהרו מהשמנה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-003.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>פירמידת המזון הישראלית החדשה <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/piramid.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>צמחונות<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/vegetrianism2.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>שיהיה לכם לבריאות<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-002.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>שלושה ביום - מה ולמה? <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/main.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תזונה במעגל החיים<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/nutrition_stages.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תזונה בקיץ: מזונות זמינים במקרר<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-004.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תזונה נכונה לימי החום<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/nut-tips-003.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תפריט יומי עשיר סידן<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/calc.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תפריט יומי עשיר סידן 2<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/ca_dailymeny.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>', '<DDD><DDD>תפריטים לדוגמה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/menu_examp.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D>');
		var imgArrClickAdminSD61 = new Array('<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/milk.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=חלב - נכס תזונתי<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/fh-lac-004.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ערד חכים- arad, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/aroht_bokr_1_(atmona_badibot_latinonutrition_org).gif<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=ארוחת בוקר של דגנים בחלב וכוס מיץ תפוזים (התמונה באדיבות latinonutrition.org)<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/kid_drinking_milk.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=ילד שותה חלב (התמונה באדיבות www.topnews.in)<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/cos_hlb_(GNU).jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=חלב...<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/Old_Lady_hatmona_badibot_Nick_Fraser.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=...וגיל הזהב (התמונה באדיבות Nick Fraser)<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/pirot_yaer.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=פירות יער - פצצת נוגדי חימצון <DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/egbnia.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=עגבניה - מנטרלת רדיקלים חופשיים<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/dairy_products_1.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=מוצרי חלב - הזהב הלבן<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/porridge2_www_hippyshopper_com.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=התמונה באדיבות www.hippyshopper.com<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/candle-light-dinner.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/aroht_bokr_1.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/milk___physical_training_www_dairyaustralia_com_au.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/phit_shtia.JPG<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/fruits.JPG<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/drinking_milk_1.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/Avocado.jpeg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/Osteoporosis.png<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/ktniot.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/yarkot.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/yarkot_-_hatmona_badibot_Hans_Hillewaert_(Lycaon).jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/aroht_bokr_2.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/brokoli_2.png<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=ברוקולי<DDD>keywords=ברוקולי<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/student_2.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/students_eating.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD><D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/drinking_milk_3.jpg<D><D>http://www.milk.org.il/main/icons/jpg.gif<DDD><D><D>ClickAdmin<D><D>title=<DDD>date=<DDD>author=ליאת - liat<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>imageLink=','<DDD><DDD>איך לשלב מוצרי חלב בחורף<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-001.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=איך לשלב מוצרי חלב בחורף<DDD>date=<DDD>author=ליאת - liat, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>ארוחת בוקר: יותר כוח, יותר מוח<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/ls-bfast-001.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=ארוחת בוקר: יותר כוח, יותר מוח<DDD>date=11/09/06<DDD>author=Beto Bessudo- beto, http://www.milk.org.il<DDD>writer=<DDD>description=מחקרים מלמדים כי ארוחת בוקר מזינה משפרת את תפקוד המוח, מעודדת למידה ואפילו... משפרת את ציוני המבחנים<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>categories_n=ארוחת בוקר<DDD>categories=ls_bfast','<DDD><DDD>ארוחת הבוקר - בסיס לתזונה מאוזנת<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/breakfast.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=ארוחת הבוקר - בסיס לתזונה מאוזנת<DDD>date=<DDD>author=<DDD>writer=<DDD>description=ארוחת הבוקר חשובה בגלל שפע של סיבות כולל הגדלת משך הריכוז, שיפור בתהליך פתרון בעיות ושיפור הזיכרון.<DDD>keywords=ARRAY(0x82f062c)<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=טיפים לתזונה נכונה, תזונה נבונה<DDD>categories=nut_tips,ki_nut','<DDD><DDD>גיל הזהב<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/senior_nut.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=גיל הזהב<DDD>date=<DDD>author=<DDD>writer=<DDD>description=הצרכים התזונתיים של המבוגרים המשתייכים לקבוצת גיל הזהב דומים, באופן כללי, לצורכיהם של מבוגרים צעירים יותר, מלבד הצורך הגבוה יותר בויטמין D.<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>הכירו את "מזונות העל" (Super Food) <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/090723_superfood.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title= הכירו את &quot;מזונות העל&quot; (Super Food) <DDD>date=<DDD>author= - arad, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=0<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>הרגלי אכילה בריאים בעונת הקיץ<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/eat_summ.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=הרגלי אכילה בריאים בעונת הקיץ<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=ARRAY(0x82ef62c)<DDD>previewImage=<DDD>nonew=1<DDD>nosearch=1<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>טיפים לאנשים שאוכלים לבד<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/081124b_lonely.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title= טיפים לאנשים שאוכלים לבד<DDD>date=<DDD>author= - arad, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>טיפים לתזונה בריאה לסטודנטים<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/081124.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title= טיפים לתזונה בריאה לסטודנטים<DDD>date=<DDD>author= - arad, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>טיפים לתזונה נכונה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/diet-002.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title= טיפים לתזונה נכונה<DDD>date=<DDD>author=אורית (אפקט) קטורזה- orit, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>למה חשוב לאכול ארוחת בוקר ?<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/whybfst.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=למה חשוב לאכול ארוחת בוקר ?<DDD>date=אוקטובר 2003<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>מוצרי חלב - נכס תזונתי<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/milkproducts.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=מוצרי חלב - נכס תזונתי<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=הרכב תזונתי, סידן<DDD>categories=composition,ca','<DDD><DDD>מזונות המסייעים לבריאות הלב<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/heart_health.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=מזונות המסייעים לבריאות הלב<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=בריאות הלב<DDD>categories=fh_heart','<DDD><DDD>נשים בגיל המעבר<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/women_menopause.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=נשים בגיל המעבר<DDD>date=<DDD>author=<DDD>writer=<DDD>description=בגיל המעבר, אורח חיים בריא עשוי לשמור על הבריאות, לדחות התפרצות מחלות ולעכב שינויים גופניים הקשורים לגיל המעבר. אחד מהגורמים החשובים בתזונה לאורך כל מעגל החיים הוא החלב המספק רכיבי מזון רבים הנדרשים לשמירה על גוף בריא.<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>סטודנטים הזהרו מהשמנה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-003.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=סטודנטים הזהרו מהשמנה<DDD>date=<DDD>author=ליאת - liat, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>פירמידת המזון הישראלית החדשה <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/piramid.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title= פירמידת המזון הישראלית החדשה <DDD>date=<DDD>author=אורית (אפקט) קטורזה- orit, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>צמחונות<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/vegetrianism2.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=צמחונות<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>שיהיה לכם לבריאות<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-002.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=שיהיה לכם לבריאות<DDD>date=<DDD>author=ליאת - liat, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>שלושה ביום - מה ולמה? <D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/main.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=שלושה ביום - מה ולמה? <DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תזונה במעגל החיים<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/nutrition_stages.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תזונה במעגל החיים<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תזונה בקיץ: מזונות זמינים במקרר<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/meals-004.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תזונה בקיץ: מזונות זמינים במקרר<DDD>date=<DDD>author=ליאת - liat, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תזונה נכונה לימי החום<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/nut-tips-003.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תזונה נכונה לימי החום<DDD>date=<DDD>author=אורית (אפקט) קטורזה- orit, http://www.milk.org.il<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תפריט יומי עשיר סידן<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/calc.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תפריט יומי עשיר סידן<DDD>date=<DDD>author=<DDD>writer=<DDD>description=<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תפריט יומי עשיר סידן 2<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/ca_dailymeny.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תפריט יומי עשיר סידן 2<DDD>date=<DDD>author=<DDD>writer=<DDD>description=התפריט המוצע מכיל כ – 1300 קלוריות ולמעלה מ - 1200 מיליגרם סידן.<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=','<DDD><DDD>תפריטים לדוגמה<D>http://www.milk.org.il/info/health/life-style/nutrition/diet/meals/menu_examp.htm<D><D>http://www.milk.org.il/main/icons/htm.gif<DDD><D><D><D><D>title=תפריטים לדוגמה<DDD>date=<DDD>author=<DDD>writer=<DDD>description=תפריטים לארוחות במשך היום, לפי 1,600 קלוריות, 2,200קלוריות, ו- 2,800 קלוריות.<DDD>keywords=<DDD>previewImage=<DDD>nonew=<DDD>nosearch=<DDD>noscandir=<DDD>categories_n=<DDD>categories=');

	//------------- click Admin -----------------
	editAlow = '', alowToEdit = 0;
	clickadmin='';
	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;
		}
	}
	
	function incrementPage61(){
		page_no61++;
		document.pageInfo61.pageNo61.value=page_no61;
	}
	
	function decrementPage61(){
		page_no61--;
		document.pageInfo61.pageNo61.value=page_no61;
	}
	
	function initPage61(){
		if (alowToEdit == 1) imgArrSD61 = imgArrClickAdminSD61;
		page_no61 = document.pageInfo61.pageNo61.value;
		var limit61 = 50;
		start_page61 = limit61*page_no61;
		end_page61 = limit61*page_no61+limit61;
		if(imgArrSD61.length>0){
			if(imgArrSD61.length>=limit61)
				printPreview61(start_page61,end_page61);
			else
				printPreview61(0,imgArrSD61.length);
		}
		else if(imgArrSD61.length==0 && 1 == 1){
			printPreview61(0,0);
		}
	}
	
	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;

		var linkButtons = new Object();
	linkButtons.htm_webaxy='/htm-webaxy';
	linkButtons.cgi_webaxy='/cgi-webaxy';
		linkButtons.lang = "he";
		linkButtons.name = "he";
		linkButtons.hidden = "lang=he&ID=645657_milk";
		linkButtons.scandir = "סורק ספריות";
		linkButtons.scanpic = "סורק תמונות";
		linkButtons.file = "קובץ מאתר";
		linkButtons.pic = "תמונה מאתר";
		linkButtons.uploadFileAndGetLink = "שלח קובץ וקשר";
		linkButtons.createPageAndGetLink = "צור דף וקשר";
		linkButtons.curdir = "";
		linkButtons.rootdir = "";
		

	linkButtons.hidden = linkButtons.hidden + '&username='+username+'&password='+password;	
	var myWidth, myHeight, myScroll;
function getSize() {
		// Window Size
		if (self.innerHeight) { // Everyone but IE
			myWidth = window.innerWidth;
			myHeight = window.innerHeight;
			myScroll = window.pageYOffset;
		} else if (document.documentElement && document.documentElement.clientHeight) { // IE6 Strict
			myWidth = document.documentElement.clientWidth;
			myHeight = document.documentElement.clientHeight;
			myScroll = document.documentElement.scrollTop;
		} else if (document.body) { // Other IE, such as IE7
			myWidth = document.body.clientWidth;
			myHeight = document.body.clientHeight;
			myScroll = document.body.scrollTop;
		}
		// Page size w/offscreen areas
	
		if (window.innerHeight && window.scrollMaxY) {	
			myScrollWidth = document.body.scrollWidth;
			myScrollHeight = window.innerHeight + window.scrollMaxY;
		} else if (document.body.scrollHeight > document.body.offsetHeight) { // All but Explorer Mac
			myScrollWidth = document.body.scrollWidth;
			myScrollHeight = document.body.scrollHeight;
		} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
			myScrollWidth = document.body.offsetWidth;
			myScrollHeight = document.body.offsetHeight;
		}
	}
	function changeArrow(id) {
		
		if (!document.getElementById(id).getAttribute('open')) {
			document.getElementById(id).style.backgroundImage = "url(/htm-webaxy/icons/arrow-up.gif)";	
			document.getElementById(id).setAttribute('open', 1);
		}
		else {
			document.getElementById(id).style.backgroundImage = "url(/htm-webaxy/icons/arrow-down.gif)";
			document.getElementById(id).setAttribute('open', 0);
		}
		
}

function openAll_SD61(index) {
		
		var val = document.getElementById('scandirCADiv61').getAttribute('open');
		
		if (val == 0) {
			for (var i=1;i<=index;i++) {
					animatedcollapse.show('file'+i);
			}
			document.getElementById('scandirCADiv61').setAttribute('open',1);
			document.getElementById('scandirCADiv61-openall').title = 'סגור הכל';	
			document.getElementById('scandirCADiv61-openall').src = '/htm-webaxy/icons/arrow-up.gif';
			for (var i=1;i<=index;i++) {
				document.getElementById('file_td'+i).style.backgroundImage="url(/htm-webaxy/icons/arrow-up.gif)";
			}
		}
		else {
			for (var i=1;i<=index;i++) {
					animatedcollapse.hide('file'+i);
			}
			document.getElementById('scandirCADiv61').setAttribute('open',0);
			document.getElementById('scandirCADiv61-openall').title = 'פתח הכל';	
			document.getElementById('scandirCADiv61-openall').src = '/htm-webaxy/icons/arrow-down.gif';
			for (var i=1;i<=index;i++) {
				document.getElementById('file_td'+i).style.backgroundImage="url(/htm-webaxy/icons/arrow-down.gif)";
			}
		}
}

function done_update_SD61() {

		if (!document.getElementById('update_done').value) {
				window.setTimeout("done_update_SD61()",250);
				return;
		}
		var rand_no = Math.random()*4567320356435;
		if (window.location.href.search(/sid=/) == -1) {
			if (window.location.href.search(/\?/) == -1) {
				window.location.href = window.location.href+'?sid=s'+parseInt(rand_no)+'e';
			}
			else {
				window.location.href = window.location.href+'&sid=s'+parseInt(rand_no)+'e';
			}
		}
		else {
			window.location.href = window.location.href.replace(/sid=s.+e/,'sid=s'+parseInt(rand_no)+'e');
		}

}

function cancel_update_SD61() {
		
		var hide = document.getElementById('hideAllDiv');
		var d = document.getElementById('scandirCADiv61');
		hide.style.display = 'none';
		d.style.display = 'none';
		hide.style.zIndex = 0;
		if (d.firstChild) d.removeChild(d.firstChild);
		
}

function update_SD61(done) {
	
	document.getElementById('update_done').value = '';
	document.getElementById('files_update').submit();	
	if (done) done_update_SD61();
		
}
	
	function selectCat(type,form,field,field_n) {
		
		var url = "http://www.milk.org.il/cgi-webaxy/admin/cat2-admin.pl?ID=645657_milk&lang=he&act=select&type="+type+"&form="+form+"&field="+field+"&field_n="+field_n;
		var prop = "height=400,width=500,resizable=yes,scrollbars=yes";
		
		open(url,"selectcat",prop);
	}
	
	function check_update_date(val, i) {
		
		if (val) {
				document.getElementById('sd_fileUpdateCB'+i).style.display = 'none';
				document.getElementById('file_updateDate'+i).checked = false;
		}
		else {
				document.getElementById('sd_fileUpdateCB'+i).style.display = 'inline';
		}
		
	}
	
	function openMP(page) {
		
	        	wEdit = open("http://www.milk.org.il/cgi-webaxy/magicpage/magicpage.pl?ID=645657_milk&lang=he&username="+username+"&password="+password+"&count="+page+"&frames=yes", "wEdit", "location=0, toolbar=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0");
	        	
	}
	
	function clickEditSD61(str, index){
		//wEdit = open("http://www.milk.org.il/cgi-webaxy/page_edit_login.pl?lang=he&ID=645657_milk&"+cookie_in+"&curdir=info/health/life-style/nutrition/diet/meals&count="+str+"&act=edit", "wEdit", "location=0, toolbar=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=1");
		getSize();
		var objHead = document.getElementsByTagName('head')[0];
		var objCSS = objHead.appendChild(document.createElement('link'));
		objCSS.rel = 'stylesheet';
		objCSS.href = '/htm-webaxy/skins/standard/standard_new.css';
		objCSS.type = 'text/css';		

		hide = document.getElementById('hideAllDiv');
		hide.style.height = (myHeight+myScrollHeight)+'px';
		hide.style.display = 'block';
		hide.style.width = myWidth+'px';
		hide.style.zIndex = 1111;
		if (navigator.appVersion.indexOf("MSIE")!=-1) {
			document.getElementById('hideAllDiv').style.filter = "alpha(opacity=85)";
		}
		else {
			document.getElementById('hideAllDiv').style.opacity = 0.85;
		}
		var addDiv = '';
		var d = document.getElementById('scandirCADiv61');
		var form = document.createElement("form");
		form.name = "files_update";
		form.id = "files_update";
		form.setAttribute("action", "http://www.milk.org.il/cgi-webaxy/scandiradmin.pl");
		form.setAttribute("method", "post");
		form.setAttribute("target", "hidden_iframe");
		form.setAttribute("enctype", "multipart/form-data"); 
		
		d.style.display = 'block';
		scroll((myWidth-d.style.width.replace(/px/,''))/2,0);
		d.style.left = ((myWidth-d.style.width.replace(/px/,''))/2)+'px';
		var tb = document.createElement('table');
		tb.width = '770px';
		tb.className = 'list-row';
		var row, cell;
		row = tb.insertRow(-1);
		cell = row.insertCell(-1);
		cell.align = 'right'
		cell.setAttribute('colSpan', 5);
		cell.innerHTML = '<a href="javascript:void(0);" onClick="cancel_update_SD61();"><img border="0" src="/htm-webaxy/skins/standard/close.gif" title="סגור" id="scandir-close"></a>';
		
		row = tb.insertRow(-1);
		cell = row.insertCell(-1);
		cell.align = "center";
		cell.setAttribute('colSpan', 5);
		if (index < 0) cell.innerHTML = '<a href="javascript:void(0);" onClick="openAll_SD61('+imgArrSD61.length+');"><img border="0" src="/htm-webaxy/icons/arrow-down.gif" title="פתח הכל" id="scandirCADiv61-openall"></a>';
		else cell.innerHTML = '';
		cell.innerHTML += '<input type="hidden" name="ID" value="645657_milk">';
		cell.innerHTML += '<input type="hidden" name="lang" value="he">';
		cell.innerHTML += '<input type="hidden" name="username" value="'+username+'">';
		cell.innerHTML += '<input type="hidden" name="action" value="update_details">';
		cell.innerHTML += '<input type="hidden" name="password" value="'+password+'">';
		if (index < 0)
			cell.innerHTML += '<input type="hidden" name="num_of_items" value="'+imgArrSD61.length+'">';
		else
			cell.innerHTML += '<input type="hidden" name="num_of_items" value="1">';
		cell.innerHTML += '<input type="hidden" name="scandirID" value="61">';
		cell.innerHTML += '<input type="hidden" name="update_done" id="update_done" value="">';
		var new_src = 'http://www.milk.org.il/cgi-webaxy/scandiradmin.pl?ID=645657_milk&lang=he&username='+username+'&password='+password+'&action=update_details&num_of_items'+imgArrSD61.length+'&scandirID=61';
		var curIndex = 0;
		var sdID = '61';
		for (i = 1 ; i <= imgArrSD61.length ; i++) {
			if (index >= 0 && i != index+1) continue;
			var j = i;
			var fileData = eval('imgArrSD'+sdID+'[i-1]');
			if (index >=0 && i == index +1) i=1;
			var imgData = fileData.split("<D>")[3];
			var img = imgData.split("<DDD>");
			var dscData = fileData.split("<D>")[7];
			var data = dscData.split("<DDD>");
			var file = fileData.split("<D>")[1];
			file = file.replace(/http\:\/\/www\.milk\.org\.il/,'');
			if (str.indexOf(file) == (str.length - file.length)) curIndex = i;
			var fileData = new Object();
			fileData.title = '';
			fileData.date = '';
			fileData.writer = '';
			fileData.date = '';
			fileData.description = '';
			fileData.keywords = '';
			fileData.nonew = '';
			fileData.nosearch = '';
			fileData.noscandir = '';
			fileData.date = '';
			fileData.previewImage = '';
			fileData.imageLink = '';
			for (var p=0; p<data.length;p++) {
				field = (data[p].split("="))[0];
				value = (data[p].split("="))[1];
				if (field == 'photog') field = 'writer';
				if ((field == 'nonew' || field == 'nosearch' || field == 'noscandir') && value == '1') value = 'checked';
				fileData[field] = value;
			}
			
			field = 'title';
			var file2 = file;
			if ('info\/health\/life\-style\/nutrition\/diet\/meals' != '-1#') file = file.replace(/info\/health\/life\-style\/nutrition\/diet\/meals/,'');
			file = file.replace(/^\//,'');
			file = file.replace(/^\//,'');
			var file1 = file;
			if (file1.search(/scandir3.pl/) >= 0) continue;
			
			row = tb.insertRow(-1);
			cell = row.insertCell(-1);
			cell.setAttribute('title', ''+file2);
			cell.innerHTML = '<img border="0" src="'+img[0]+'">';
			cell.dir = 'ltr';
			cell = row.insertCell(-1);
			cell.setAttribute('title', '/'+file2);
			if (file.length > 25) {
					file1 = "..."+file.substring(file.length-22);
			}
			cell.innerHTML = '<input type="hidden" name="file'+i+'" value="/'+file2+'"><b>'+file1+'</b>';
			cell.dir = 'ltr';
			cell = row.insertCell(-1);
			cell.innerHTML = 'כותרת';
			cell = row.insertCell(-1);
			cell.setAttribute('index', i);
			cell.innerHTML += '<input type="text" name="file_title'+i+'" value="'+fileData.title+'" style="width:200px;">&nbsp;';
			cell.innerHTML += 'תאריך&nbsp;<input type="text" name="file_date'+i+'" style="direction:ltr;width:70px;" value="'+fileData.date+'" onChange="check_update_date(this.value, '+eval(i)+');">&nbsp;';
			cell.innerHTML += '<img src="/htm-webaxy/select/cal.gif" style="border-width:0;cursor:pointer;" onclick="window.frames[\'date_ifr\'].clickDate(0,event.clientY,document.getElementById(\'files_update\').file_date'+i+',\'תאריך\');" title="">&nbsp;';
			cell.innerHTML += '&nbsp;&nbsp;'+
											 'מחבר&nbsp;'+
											 '<input type="text" name="file_writer'+i+'" style="width:100px;" value="'+fileData.writer+'">'+
											 '<input type="hidden" name="file_author'+i+'" value="'+fileData.author+'">';
			
			cell = row.insertCell(-1);						
			cell.style.width = '20px';
			cell.style.cursor = 'pointer';
			cell.style.backgroundRepeat = 'no-repeat';
			cell.style.backgroundPosition = '1% 0pt';
			if (index >=0 && j == index+1) cell.style.backgroundImage = 'url(/htm-webaxy/icons/arrow-up.gif)';
			else cell.style.backgroundImage = 'url(/htm-webaxy/icons/arrow-down.gif)';
			cell.open = 0;
			cell.id = 'file_td'+i;
			cell.onclick = function () { animatedcollapse.toggle('file'+this.index); changeArrow('file_td'+this.index); };
			cell.index = i;
			
			row = tb.insertRow(-1);
			mainCell = row.insertCell(-1);
			mainCell.setAttribute('colSpan', 5);
			
			var animateDiv = document.createElement('div');
			animateDiv.id = 'file'+i;
			if (index >=0 && j == index+1) animateDiv.style.display = 'block';
			else animateDiv.style.display = 'none';
			var animateTB = document.createElement('table');
			
			if (file.search(/\..?htm.?$/) != -1 && !fileData.nodsc) {
				row = animateTB.insertRow(-1);
				cell = row.insertCell(-1);
				cell.innerHTML = 'קטגוריות';
				cell = row.insertCell(-1);
				cell.innerHTML = '<input type="text" name="file_categories_n'+i+'" style="width:400px;" value="'+fileData.categories_n+'">'+
												 '<a style="text-decoration: none; color: rgb(0, 0, 170);" onclick="selectCat(\'checkbox\',\'files_update\',\'file_categories'+i+'\',\'file_categories_n'+i+'\');return false;" href="javascript:void(0)">בחירה מרשימה</a>'+
	      								 '<input type="hidden" value="'+fileData.categories+'" name="file_categories'+i+'"/>';
      }
      								 
			row = animateTB.insertRow(-1);
			cell = row.insertCell(-1);
			cell.innerHTML = 'תיאור';
			cell = row.insertCell(-1);
			fileData.description = fileData.description.replace(/&lt;br&gt;/g,"\n");
			cell.innerHTML = '<textarea rows="3" cols="40" name="file_description'+i+'" style="width:400px;">'+fileData.description+'</textarea>';
			//cell.innerHTML = '<input type="text" name="file_description'+i+'" style="width:400px;" value="'+fileData.description+'">';
			
			row = animateTB.insertRow(-1);
			cell = row.insertCell(-1);
			cell.innerHTML = 'מילות מפתח';
			cell = row.insertCell(-1);
			cell.innerHTML = '<input type="text" name="file_keywords'+i+'" value="'+fileData.keywords+'" style="width:400px;"></td>';
			
			row = animateTB.insertRow(-1);
			cell = row.insertCell(-1);
			cell.innerHTML = 'מאפיינים';
			cell = row.insertCell(-1);
			cell.innerHTML = '<input type="checkbox" name="file_nonew'+i+'" value="1" '+fileData.nonew+'>הסתר מחידושים&nbsp;'+
											 '<input type="checkbox" name="file_nosearch'+i+'" value="1" '+fileData.nosearch+'>הסתר מחיפוש&nbsp;'+
											 '<input type="checkbox" name="file_noscandir'+i+'" value="1" '+fileData.noscandir+'>הסתר מסורק ספריות &nbsp;';
			
			row = animateTB.insertRow(-1);
			cell = row.insertCell(-1);
			cell.innerHTML = 'תמונה ייצוגית';
			cell = row.insertCell(-1);
			cell.innerHTML = '<input type="text" id="file_previewImage'+i+'" name="file_previewImage'+i+'" value="'+fileData.previewImage+'" style="width:350px;direction:ltr;">'+
											 '<div class="getLink" fieldID="file_previewImage'+i+'" btnType="uploadFile;selectPic"></div>';
						
			if (file.search(/\..?htm.?$/) == -1) {
				row = animateTB.insertRow(-1);
				cell = row.insertCell(-1);
				cell.innerHTML = 'קישור';
				cell = row.insertCell(-1);
				cell.innerHTML = '<input type="text" id="file_imageLink'+i+'" name="file_imageLink'+i+'" value="'+fileData.imageLink+'" style="width:350px;direction:ltr;">'+
												 '<div class="getLink" fieldID="file_imageLink'+i+'"></div>';
			}
			
			if ((file.search(/\..?htm.?$/) == -1 || fileData.nodsc) && ('info/health/life-style/nutrition/diet/meals/'+file).search(/scanpic\/scanpic\d+\.htm/) == -1 && ('info/health/life-style/nutrition/diet/meals/'+file).search(/Albms\/albm\d+\.htm/) == -1) {
				row = animateTB.insertRow(-1);
				cell = row.insertCell(-1);
				cell.innerHTML = 'קובץ';
				cell = row.insertCell(-1);
				cell.innerHTML = '<input type="file" id="file_file'+i+'" name="file_file'+i+'" size="42">';
				var divStyle = '';
				if (fileData.date) divStyle = 'style="display: none;"';
				else divStyle = 'style="display: inline;"';
				cell.innerHTML += '&nbsp;<div '+divStyle+' id="sd_fileUpdateCB'+i+'">עדכן תאריך <input type="checkbox" value="1" id="file_updateDate'+i+'" name="file_updateDate'+i+'"></div>';
			}
			else if (!fileData.nodsc){
				/*if (index >= 0 && j == index+1) {
					wEdit = open("/cgi-webaxy/magicpage/magicpage.pl?ID=645657_milk&lang=he&username="+username+"&password="+password+"&count="+str+"&frames=yes", "wEdit", "location=0, toolbar=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0");
					cancel_update_SD61();
					return;
				}*/
				row = animateTB.insertRow(-1);
				cell = row.insertCell(-1);
				//cell = row.insertCell(-1);
				cell.setAttribute('colSpan', 2);
				var divStyle = '';
				if (fileData.date) divStyle = 'style="display: none;"';
				else divStyle = 'style="display: inline;"';
				cell.innerHTML = '<div '+divStyle+' id="sd_fileUpdateCB'+i+'">עדכן תאריך <input type="checkbox" value="1" id="file_updateDate'+i+'" name="file_updateDate'+i+'"></div>';
			}
			
			animateDiv.appendChild(animateTB);
			mainCell.appendChild(animateDiv);
			i = j;
		}
		
		row = tb.insertRow(-1);
		cell = row.insertCell(-1);
		cell.align = "center";
		cell.setAttribute('colSpan', 5);		
		cell.innerHTML = '<table cellspacing="0" cellpadding="0" border="0" onclick="update_SD61();" style="display:inline;cursor:pointer;margin:auto;direction:ltr;" title="עדכון">'+
												'<tr>'+
													'<td class="left-button"><img src="/htm-webaxy/skins/p.gif"></td>'+
												  '<td>'+
								  					'<table cellspacing="0" cellpadding="0" border="0" style="direction:rtl;">'+
												  	'<tr>'+
													  	'<td class="execute-butt"><img src="/htm-webaxy/skins/p.gif"></td>'+
								  						'<td class="text-button">עדכון</td>'+
											  		'</tr>'+
												  '</table>'+
												'</td>'+
							  				'<td class="right-button"><img src="/htm-webaxy/skins/p.gif"></td>'+
										 '</tr>'+
										'</table>'+
										'<table cellspacing="0" cellpadding="0" border="0" onclick="update_SD61(1);" style="display:inline;cursor:pointer;margin:auto;direction:ltr;" title="עדכן וסגור">'+
												'<tr>'+
													'<td class="left-button"><img src="/htm-webaxy/skins/p.gif"></td>'+
												  '<td>'+
								  					'<table cellspacing="0" cellpadding="0" border="0" style="direction:rtl;">'+
												  	'<tr>'+
													  	'<td class="execute-butt"><img src="/htm-webaxy/skins/p.gif"></td>'+
								  						'<td class="text-button">עדכן וסגור</td>'+
											  		'</tr>'+
												  '</table>'+
												'</td>'+
							  				'<td class="right-button"><img src="/htm-webaxy/skins/p.gif"></td>'+
										 '</tr>'+
										'</table>';
		form.appendChild(tb);
		d.appendChild(form);
		for (i = 1 ; i <= imgArrSD61.length ; i++) {
				animatedcollapse.addDiv('file'+i, 'fade=1');
		}
		animatedcollapse.init();
		creatAllLinkButtons();
		
		var f = document.getElementById('files_update');
		if (f['file_title'+curIndex]) f['file_title'+curIndex].focus();
	}
	
	function clickEditDir(dir){
		wAdd = open("http://www.milk.org.il/cgi-webaxy/page_edit_login.pl?lang=he&dir="+dir+"&ID=645657_milk&scandirID=61&"+cookie_in+"&act=addfile","wAdd","height=150,width=250,top=150,left=150,resizable=yes,status=yes,scrollbars=yes");
		
	}
	
	function clickEditScan(id){
		wAdd = open("http://www.milk.org.il/cgi-webaxy/scandiradmin.pl?lang=he&id_to_edit="+id+"&ID=645657_milk&"+cookie_in+"&action=edit_scan","wAdd","height=700,width=600,top=150,left=150,resizable=yes,status=yes");
		
	}
	
	function clickDel(str){
		if( confirm("האם למחוק \n"+str) ){
			
			dWin = open("http://www.milk.org.il/cgi-webaxy/page_edit_login.pl?lang=he&ID=645657_milk&"+cookie_in+"&act=delFile&dfile="+str ,"dWin","toolbar=yes,status=yes,scrollbars=no,resizable=no,width=1,height=1");
			//dWin.close();
			self.focus();
			//window.setTimeout("window.location.reload()",1000);
		}
	}
	
	
	function setMyCss(item, classN) {
		
		item.className = classN;
		
	}
	
	function printPreview61(sCount, eCount){
	var wantBullet="";
	var wuBullet="";
		var prntRecord;
		var strView = '<TABLE cellpadding="2" cellspacing="0" border="0" align="center" width="100%">';
		if (alowToEdit == 1) {
			strView += '<tr valign="top"><td colspan="2"><br></td><td align="center"><img src="/htm-webaxy/edit_all_docs.gif" border="0" onclick="clickEditSD61(\'info/health/life-style/nutrition/diet/meals\', -1)" title="ערוך כל המסמכים" style="cursor: pointer"><img src="/htm-webaxy/nadd.gif" border="0" onclick="clickEditDir(\'info/health/life-style/nutrition/diet/meals\')" title="הוספה ל: info/health/life-style/nutrition/diet/meals" style="cursor: pointer"></td></TR>'
		}
		var filepath = '';
		var talkback = '';
		var counter = 0;	
		var pv_counter = 0;
		var className, classNameOver;			
		var myTarget, lastDot;
		var ext_open_blank = '';
		eob = ext_open_blank.split(",");
		if (eCount<sCount) {
			for (i=eCount; i>sCount; i--) {
				ext = '';
				myTarget = '_top';
				prntRecord = imgArrSD61[i].split("<D>");
				lastDot = prntRecord[1].lastIndexOf('.');
				if (lastDot >= 0) ext = prntRecord[1].substring(lastDot+1);
				if (ext_open_blank && eob.length) {
						var ext2 = ext.toLowerCase();
						for (j=0;j<eob.length;j++) {
								var str1 = eob[j].toLowerCase();
								if (str1 == ext2) myTarget = '_new';
						}
				}
				alt = prntRecord[6];
				if (alt == undefined || alt == '') alt = '';
				else {
					//alt = alt.replace(/%22/g,"\"");
					alt = 'title="'+alt+'"';
				}
				//if (prntRecord[5] == 'ClickAdmin' && !alowToEdit) continue;
				counter++;
				if (counter % 2 == 0) {
						className = 'scandir61-item scandir61-even';
						classNameOver = 'scandir61-item-over scandir61-even-over';
				}
				else {
						className = 'scandir61-item scandir61-odd';
						classNameOver = 'scandir61-item-over scandir61-odd-over';
				}
				
				titleRecord = prntRecord[0].split("<DDD>");
				prntRecord[0] = titleRecord[2];
				var protect_icon = titleRecord[0];
				var new1 = titleRecord[1];
				if (prntRecord[0] == undefined) prntRecord[0] = '' ;
				if (new1 == undefined) new1 = '' ;				
				
				if (prntRecord[1].match("/cgi-webaxy/scandir3.pl")) {
					prntRecord[1].match(/dir=([^&]+)/);
					filepath = "http://www.milk.org.il/" + RegExp.$1;
				}
				else {
					filepath = prntRecord[1];
				}
				
				if (prntRecord[4] != "") {
					talkback = '<div class="scandir61-replies scandir-replies" style="display:inline;"> (' + prntRecord[4] + ' תגובות)</div>';
				}
				else {
					talkback = "";
				}
				var onmouseover='';
				var onmouseout='';
				if (('' || '') && (counter % 2 != 0)) {
						onmouseover = 'onmouseover="setMyCss(this, \''+classNameOver+'\');"';
						onmouseout = 'onmouseout="setMyCss(this, \''+className+'\');" class="'+className+'"';
				}
				if (('' || '') && (counter % 2 == 0)) {
						onmouseover = 'onmouseover="setMyCss(this, \''+classNameOver+'\');"';
						onmouseout = 'onmouseout="setMyCss(this, \''+className+'\');" class="'+className+'"';
				}
				strView += '<TR valign="top">';
				prntRecord3Arr = prntRecord[3].split("<DDD>");
				var pv_limit = parseInt('');
				if (('' == 'checked' || pv_counter < pv_limit) && prntRecord3Arr[1]) {pv_counter++;prntRecord[3] = prntRecord3Arr[1];}
				else {prntRecord[3] = prntRecord3Arr[0];prntRecord3Arr[1]='';}
				
				if (prntRecord[1].search(/\.flv$/i) > 0 || prntRecord[1].search(/\.flv\?/i) > 0) {
						prntRecord[1] = "/htm-webaxy/flowplayer/playurl.htm?video="+prntRecord[1];
				}
						
				if(prntRecord[3].match(/bullet.gif|htm.gif|untitled.gif|jpg.gif|wav.gif|mpg.gif|doc.gif|txt.gif|zip.gif|xls.gif|ppt.gif|exe.gif|pdf.gif/)) {
					if(wantBullet != "" && (('' && prntRecord3Arr[1] == '') || '' == '')) {
						prntRecord[3]=wantBullet;
					}
					strView += '<td colspan="2">';
					strView += '	<table '+onmouseover+' '+onmouseout+' class="'+className+'" width="100%" cellpadding="0">';
					strView += '		<tr valign="top">';
					if (wuBullet == '') {
						strView += '<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0"></a></td>'
					}
					if (alowToEdit && prntRecord[0] == '') {
							var fileName = prntRecord[1];
				 			lastDot = prntRecord[1].lastIndexOf('/');
							if (lastDot >= 0) fileName = prntRecord[1].substring(lastDot+1);
							fileName = "קובץ: "+fileName;
							strView += '<td class="scandir61-link" style="font-size: 14px;"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+fileName+'</a>'+prntRecord[2]+' '+talkback+'</td>'
					}
				 	else 
						strView += '<td class="scandir61-link" style="font-size: 14px;"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+prntRecord[0]+'</a>'+prntRecord[2]+' '+talkback+'</td>'
					strView += '		</tr>';
					strView += '	</table>';
					strView += '</td>';
				}
				else {
					strView += '<td colspan="2">';
					strView += '	<table '+onmouseover+' '+onmouseout+' class="'+className+'" width="100%" cellpadding="0">';
					strView += '		<tr valign="top">';
					if (wuBullet == '') {
						//strView += '			<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0" hspace="5"></a></td>'
						strView += '			<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0"></a></td>'
					}
					if (alowToEdit && prntRecord[0] == '') {
							var fileName = prntRecord[1];
				 			lastDot = prntRecord[1].lastIndexOf('/');
							if (lastDot >= 0) fileName = prntRecord[1].substring(lastDot+1);
							fileName = "קובץ: "+fileName;
							strView += '			<td class="scandir61-link" style="font-size: 14px;"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+fileName+'</a>'+prntRecord[2]+' '+talkback+'</td>'
					}
				 	else 
							strView += '			<td class="scandir61-link" style="font-size: 14px;"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+prntRecord[0]+'</a>'+prntRecord[2]+' '+talkback+'</td>'
					strView += '		</tr>';
					strView += '	</table>';
					strView += '</td>';
				}				
				strView += '<td align="left">';
				if (alowToEdit == 1 && prntRecord[1].search(/scandir3.pl/) == -1) {
					var dscData = prntRecord[7];
					if (dscData.search(/nodsc=true/) == -1 && prntRecord[1].search(/\..?htm.?$/) > 0) strView += ' <img src="/htm-webaxy/magicpage.gif" border="0" onclick="openMP(\'%%FILE%%\')" title="בנה ביתך" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> '.replace(/%%FILE%%/g, prntRecord[1]);
					strView += ' <img src="/htm-webaxy/pagedit.gif" border="0" onclick="clickEditSD61(\''+filepath+'\', %%ID%%)" title="עריכה מאפיינים" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> '.replace(/%%ID%%/g, i);
					strView += ' <img src="/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\''+filepath+'\')" title="Delete page from info/health/life-style/nutrition/diet/meals " title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> ';
				}
				strView += '</td>';
				strView += '</TR>';
			}
		}
		else {
			for (i=sCount; i<eCount; i++){				
				ext = '';
				myTarget = '_top';
				prntRecord = imgArrSD61[i].split("<D>");
				lastDot = prntRecord[1].lastIndexOf('.');
				if (lastDot >= 0) ext = prntRecord[1].substring(lastDot+1);
				if (ext_open_blank && eob.length) {
						var ext2 = ext.toLowerCase();
						for (j=0;j<eob.length;j++) {
								var str1 = eob[j].toLowerCase();
								if (str1 == ext2) myTarget = '_new';
						}
				}
				alt = prntRecord[6];
				if (alt == undefined || alt == '') alt = '';
				else {
					//alt = alt.replace(/%22/g,"\"");
					alt = 'title="'+alt+'"';
				}
				//if (prntRecord[5] == 'ClickAdmin' && !alowToEdit) continue;
				counter++;
				if (counter % 2 == 0) {
						className = 'scandir61-item scandir61-even';
						classNameOver = 'scandir61-item-over scandir61-even-over';
				}
				else {
						className = 'scandir61-item scandir61-odd';
						classNameOver = 'scandir61-item-over scandir61-odd-over';
				}
				titleRecord = prntRecord[0].split("<DDD>");
				prntRecord[0] = titleRecord[2];
				var protect_icon = titleRecord[0];
				var new1 = titleRecord[1];
				if (prntRecord[0] == undefined) prntRecord[0] = '' ;
				if (new1 == undefined) new1 = '' ;				
				if (prntRecord[1].match("/cgi-webaxy/scandir3.pl")) {
					prntRecord[1].match(/dir=([^&]+)/);
					filepath = "http://www.milk.org.il/" + RegExp.$1;
				}
				else {
					filepath = prntRecord[1];
				}
								
				if (prntRecord[4] != "") {
					talkback = '<div class="scandir61-replies scandir-replies" style="display:inline;"> (' + prntRecord[4] + ' תגובות)</div>';
				}
				else {
					talkback = "";
				}
				var onmouseover='';
				var onmouseout='';
				if (('' || '') && (counter % 2 != 0)) {
						onmouseover = 'onmouseover="setMyCss(this, \''+classNameOver+'\');"';
						onmouseout = 'onmouseout="setMyCss(this, \''+className+'\');" class="'+className+'"';
				}
				if (('' || '') && (counter % 2 == 0)) {
						onmouseover = 'onmouseover="setMyCss(this, \''+classNameOver+'\');"';
						onmouseout = 'onmouseout="setMyCss(this, \''+className+'\');" class="'+className+'"';
				}
				//alert(prntRecord[0]+':'+prntRecord[1]+':'+prntRecord[2]+':'+prntRecord[3]);
				
				strView += '<TR valign="top">';
				prntRecord3Arr = prntRecord[3].split("<DDD>");
				var pv_limit = parseInt('');
				if (('' == 'checked' || pv_counter < pv_limit) && prntRecord3Arr[1]) {pv_counter++;prntRecord[3] = prntRecord3Arr[1];}
				else {prntRecord[3] = prntRecord3Arr[0];prntRecord3Arr[1]='';}
				
				if (prntRecord[1].search(/\.flv$/i) > 0 || prntRecord[1].search(/\.flv\?/i) > 0) {
						prntRecord[1] = "/htm-webaxy/flowplayer/playurl.htm?video="+prntRecord[1];
				}
				
				if(prntRecord[3].match(/bullet.gif|htm.gif|untitled.gif|jpg.gif|wav.gif|mpg.gif|doc.gif|txt.gif|zip.gif|xls.gif|ppt.gif|exe.gif|pdf.gif/)) {
					if(wantBullet != "" && (('' && prntRecord3Arr[1] == '') || '' == '')){
						prntRecord[3]=wantBullet;					
					}
					strView += '<td colspan="2">';
					strView += '	<table '+onmouseover+' '+onmouseout+' class="'+className+'" width="100%" cellpadding="0">';
					strView += '		<tr valign="top">';
					if (wuBullet == '') {
						strView += '<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0"></a></td>';
					}
					if (alowToEdit && prntRecord[0] == '') {
							var fileName = prntRecord[1];
				 			lastDot = prntRecord[1].lastIndexOf('/');
							if (lastDot >= 0) fileName = prntRecord[1].substring(lastDot+1);
							fileName = "קובץ: "+fileName;
							strView += '<td class="scandir61-link"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+fileName+'</a>'+prntRecord[2]+' '+talkback+' </td>';
					}
				 	else 
				 		strView += '<td class="scandir61-link"><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+prntRecord[0]+'</a>'+prntRecord[2]+' '+talkback+' </td>';
				 	strView += '		</tr>';
					strView += '	</table>';
					strView += '</td>';
				}
				else {
					strView += '<td colspan="2">';
					strView += '	<table '+onmouseover+' '+onmouseout+' class="'+className+'" width="100%" cellpadding="0">';
					strView += '		<tr valign="top">';
				 	if (wuBullet == '') {
				 		//strView += '			<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0" hspace="5"></a></td>';
				 		strView += '			<td class="scandir-bullet scandir61-bullet" width="25px"><A '+alt+' href="'+prntRecord[1]+'"  target="'+myTarget+'"><img src="'+prntRecord[3]+'" border="0"></a></td>';
				 	}
				 	if (alowToEdit && prntRecord[0] == '') {
				 		var fileName = prntRecord[1];
				 		lastDot = prntRecord[1].lastIndexOf('/');
						if (lastDot >= 0) fileName = prntRecord[1].substring(lastDot+1);
						fileName = "קובץ: "+fileName;
				 		strView += '			<td class="scandir61-link" ><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+fileName+'</a>'+prntRecord[2]+' '+talkback+' </td>';
				 	}
				 	else
				 		strView += '			<td class="scandir61-link" ><a class="scandir61-fTitle" '+alt+' href="'+prntRecord[1]+'" target="'+myTarget+'">'+protect_icon+new1+prntRecord[0]+'</a>'+prntRecord[2]+' '+talkback+' </td>';
					strView += '		</tr>';
					strView += '	</table>';
					strView += '</td>';
				}
				strView += '<td align="left">';
				if (alowToEdit == 1 && prntRecord[1].search(/scandir3.pl/) == -1) {
					var dscData = prntRecord[7];
					if (dscData.search(/nodsc=true/) == -1 && prntRecord[1].search(/\..?htm.?$/) > 0) strView += ' <img src="/htm-webaxy/magicpage.gif" border="0" onclick="openMP(\'%%FILE%%\')" title="בנה ביתך" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> '.replace(/%%FILE%%/g, prntRecord[1]);
					strView += ' <img src="/htm-webaxy/pagedit.gif" border="0" onclick="clickEditSD61(\''+filepath+'\', %%ID%%)" title="עריכה מאפיינים" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> '.replace(/%%ID%%/g, i);
					strView += ' <img src="/htm-webaxy/ndel.gif" border="0" onclick="clickDel(\''+filepath+'\')" title="Delete page from info/health/life-style/nutrition/diet/meals " title="מחיקה" title="מחיקה" style="cursor: pointer" onMouseOver="this.parentNode.parentNode.style.backgroundColor=\'silver\';" onMouseOut="this.parentNode.parentNode.style.backgroundColor=\'#ffffff\'"> ';
				}
				strView += '</td>';
				strView += '</TR>';
			}
		}
		
		if (alowToEdit == 1) {
			strView += '<tr valign="top"><td colspan="2"><br></td><td align="center"><img src="/htm-webaxy/edit_all_docs.gif" border="0" onclick="clickEditSD61(\'info/health/life-style/nutrition/diet/meals\', -1)" title="ערוך כל המסמכים" style="cursor: pointer"><img src="/htm-webaxy/nadd.gif" border="0" onclick="clickEditDir(\'info/health/life-style/nutrition/diet/meals\')" title="הוספה ל: info/health/life-style/nutrition/diet/meals" style="cursor: pointer"></td></TR>'
		}
		strView += '</table>'
		document.getElementById('scandir61-PageViewDiv').innerHTML = strView;
		if ('checked' != 'hide' && 'checked' != 'checked') {
			var nextItms = (eCount+limit61);
			var beforeItms = (sCount-limit61);
			var information;
			
			if (nextItms>imgArrSD61.length){
				nextItms = (eCount+(imgArrSD61.length-eCount));
			}
			if (eCount == imgArrSD61.length)
				nextStr = '';
			else {
				//nextStr = ' <a title="קדימה" href="javascript:incrementPage61(); printPreview61('+eCount+','+nextItms+'); "><IMG SRC="/htm-webaxy/multimedia/scandir/next1.png" BORDER="0"></a>';
				nextStr = 'javascript:incrementPage61();printPreview61('+eCount+','+nextItms+');';
			}
			if (sCount == 0)
				beforeStr = '';
			else
				//beforeStr = ' <a title="אחורה" href="javascript:decrementPage61(); printPreview61('+beforeItms+','+sCount+'); "<IMG SRC="/htm-webaxy/multimedia/scandir/prev1.png" BORDER="0"></a>';
				beforeStr = 'javascript:decrementPage61();printPreview61('+beforeItms+','+sCount+');';
			
			if (nextStr == '' && beforeStr == '') {
				information = '<BR>';
			}
			else {
				//information = '<font style="font-size: 14px; color: #5d9a23;">ספריה: "ארוחות", קבצים: '+(sCount+1)+' - '+(eCount)+', סך הכל: '+imgArrSD61.length+'</font>';
				information = '';
			}
			/*
			strView = '';
			strView += '<TR valign="top">';
			strView += '<td>';
			strView += '<table width="90%" border="0"><tr>';
			strView += '<td id="scandir61-pageBottomCell" align="center" class="scandir-pageBottomCell">'+information+beforeStr+nextStr+'</td>';
			strView += '</tr></table>';
			strView += '</TR>';
			if (alowToEdit == '1') {
				strView = strView.replace(/stylE[^ ]+/g," ");
			}
			*/
			strView = '<div id="scandir61-PageBottomDiv">'+information+'</div>';
			document.getElementById('scandir61-PageBottom').innerHTML = strView;
			if (document.getElementById('scandir61-nav_prv')) {
				if (beforeStr != '') {
					document.getElementById('scandir61-nav_prv').href = beforeStr;
					document.getElementById('scandir61-nav_prv').style.display = '';
				}
				else document.getElementById('scandir61-nav_prv').style.display = 'none';
			}
			if (document.getElementById('scandir61-nav_nxt')) {
				if (nextStr != '') {
					document.getElementById('scandir61-nav_nxt').href = nextStr;
					document.getElementById('scandir61-nav_nxt').style.display = '';
				}
				else document.getElementById('scandir61-nav_nxt').style.display = 'none';
			}
			if ('checked' != 'hide' && 'checked' != 'checked' && '1' == 1 && limit61) {
				updateNavNumbering();
			}
		}
		
		/*
		try {
			if (document.links.length) {
				document.links[0].focus();
			}
		}
		catch(e){}
		*/
	
	}
	
	function updateNavNumbering() {
	
		var eCount,sCount;
		var nav_numbering = '';
		var pages = Math.ceil(imgArrSD61.length/limit61);
		curP = page_no61;
		middle = Math.ceil(5/2);
		middle_inc = Math.floor(5/2);
		curP++;
		nav_numbering += '<table dir="ltr" id="scandir61-nav_numbering" align="center" cellpadding="0" cellspacing="0" border="0"><tr><td>';
		elements = new Array();				
		start = '';
		if (curP <= middle+1) {
			start = 1;
		}
		else {
			start = curP - middle_inc;
		}
		if (start + 5 > pages) {start = pages - 5 + 1;}
		if (start <= 0 ) {start = 1;}
	
		if (start > 2) {
			eCount = 0;
			sCount = 1*limit61;
			//elements.push('<a href="/cgi-webaxy/scandir3.pl?lang=he&ID=645657_milk&scandirID=61&page_no=0">1</a>');
			elements.push('<a href="javascript:incrementPage61();printPreview61('+eCount+','+sCount+');">1</a>');
			elements.push("...");
		}
		for (i = start ; i <= pages && i < start + 5; i++) {
			j = i - 1;
			if (i == curP) {elements.push("<span>"+i+"</span>");}
			else {
				eCount = j*limit61;
				sCount = i*limit61;
				elements.push('<a href="javascript:incrementPage61();printPreview61('+eCount+','+sCount+');">'+i+'</a>');
			}
		}
		i--;
		if (pages > 5 && i < pages) {
			elements.push("...");
			eCount = (pages-1)*limit61;
			sCount = pages*limit61;
			elements.push('<a href="javascript:incrementPage61();printPreview61('+eCount+','+sCount+');">'+pages+'</a>');
			//elements.push('<a href="/cgi-webaxy/scandir3.pl?lang=he&ID=645657_milk&scandirID=61&page_no='+(pages-1)+'">'+pages+'</a>');
		}
		if ('he' == 'he' || 'he' == 'he') {
			nav_numbering += elements.reverse().join('');
		}
		else {
			nav_numbering += elements.reverse().join('');
		}
				
		nav_numbering += '</td></tr>';				
		nav_numbering += '</table>';
		//alert(nav_numbering);
		document.getElementById('scandir61-nav_numbering_div').innerHTML = nav_numbering;
			
	}
	
