menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"

timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=18;	// 4 Sub menu offset Top position 
suboffset_left=75;	// 6 Sub menu offset Left position
closeOnClick = true

style1=[		// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",			// Mouse Off Font Color
"white",		// Mouse Off Background Color
"395783",		// Mouse On Font Color
"ECF0F4",		// Mouse On Background Color
"C2CDDB",		// Menu Border Color 
16,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"david,sans-serif",	// Font Name
4,			// Menu Item Padding
"open_m.gif",		// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",		// 3D High Color
"000099",		// 3D Low Color
,			// Current Page Item Font Color (leave this blank to disable)
,			// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
,			// Menu Header Font Color (Leave blank if headers are not needed)
,			// Menu Header Background Color (Leave blank if headers are not needed)
"C2CDDB",		// Menu Item Separator Color
]


addmenu(menu=[	// This is the array that contains your menu properties and details
"mainmenu",	// Menu Name - This is needed in order for the menu to be called
70,		// Menu Top - The Top position of the menu in pixels
0,		// Menu Left - The Left position of the menu in pixels
124,		// Menu Width - Menus width in pixels
1,		// Menu Border Width 
"center",	// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,		// Properties Array - this is set higher up, as above
1,		// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",	// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,		// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,		// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 		// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,		// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,		// Position of TOP sub image left:center:right
,		// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
1,		// Right To Left - Used in Hebrew for example. (1=on/0=off)
,		// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,		// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,		// Background image for menu when BGColor set to transparent.
,		// Scrollable Menu
,		// Reserved for future use
,"פורום לשאלות","http://www.diburim.co.il/cgi-bin/forums/intraforum.cgi?forum=9439",,"forum page",1 
,"דפי עבודה","show-menu=work",,"",1 		//&nbsp;&nbsp;
,"פרויקטים","show-menu=proj",,"",1 		//&nbsp;&nbsp;
,"שימושי","show-menu=useful",,"",1 
,"המפתח המקבילי","show-menu=lpt_guide",,"",1
,"המפתח הטורי","show-menu=com_guide",,"",1
])

	addmenu(menu=["proj",,,140,1,"",style1,,"right",effect,,,,,,1,,,,,,
	,"מפתח טורי","show-menu=project_com",,,1
	,"מפתח מקבילי","show-menu=project_lpt",,,1
	,"רעיונות לפרויקטים","projects.htm",,,1
	,"תערוכת פקויקטים","show-menu=projects",,,1
	])


	addmenu(menu=["useful",,,140,1,"",style1,,"right",effect,,,,,,1,,,,,,
	,"דפי נתונים","d_download.htm",,,1
	,"מקורות וקישורים","links.htm",,,1
	,"למי מיועד האתר","preface.htm",,,1
	,"רעיונות לפרויקטים","projects.htm",,,1
	,"הורדות","download.htm",,,1
	,"תודות","thanks.htm",,,1
	,"תערוכת פקויקטים","show-menu=projects",,,1
	])

		addmenu(menu=["projects",,,100,1,"",style1,,"right",effect,,,,,,1,,,,,,
		,"2003","project2003.htm",,,1
		,"2004","project2004.htm",,,1
		])



	addmenu(menu=["work",,,160,1,"",style1,,"right",effect,,,,,,1,,,,,,
	,"בחנים ומבחנים","show-menu=test",,,1
	,"לחצן ותוית טקסט","p1.htm",,,1
	,"טיימר ותיבות טקסט","p2.htm",,,1
	,"IF מבני החלטות","p3.htm",,,1
	,"משתנים ומחרוזות","p4.htm",,,1
	,"לולאות","p5.htm",,,1
	,"com-יציאות מיפתח ה","p6.htm",,,1
	,"com-כניסות מיפתח ה","p7.htm",,,1
	])

		addmenu(menu=["test",,,100,1,"",style1,,"right",effect,,,,,,1,,,,,,
		,"בחן 1","t1.htm",,,1
		,"בחן 2","t2.htm",,,1
		,"בחן 3","t3.htm",,,1
		,"בחן 4","t4.htm",,,1
		])

	addmenu(menu=["com_guide",,,220,1,"",style1,,"right",effect,,,,,,1,,,,,,
	,"הכרות עם העולם החיצון","introduction.htm",,,1
	,"מבוא","com_1.htm",,,1
	,"מבנה","com_2.htm",,,1
	,"תכונות חשמליות","com_3.htm",,,1
	,"חיבור בין המפתח לתוכנה","com_4.htm",,,1
	,"תוכנה להתקשרות עם המפתח","com_5.htm",,,1
	,"שליטה על הדקי היציאה","com_6.htm",,,1
	,"בדיקת הדקי הכניסה","com_7.htm",,,1
	,"פרויקטים לדוגמה","show-menu=project_com",,,1
	,"דף מסכם למושא","sum_com.htm",,,1
	,"PORT.DLL - קובץ הפונקציות","port_dll.htm",,,1
	])
	
		addmenu(menu=["project_com",,,170,1,"",style1,,"right",effect,,,,,,1,,,,,,
		,"דימר לנורית ליבון","com_8.htm",,,1
		,"I.R - חישן מעבר","com_9.htm",,,1
		,"מד מתח ממוחשב","com_10.htm",,,1
		])
		
	addmenu(menu=["lpt_guide",,,220,1,"",style1,,"right",effect,,,,,,1,,,,,,
	,"הכרות עם העולם החיצון","introduction.htm",,,1
	,"מבוא","lpt_1.htm",,,1
	,"מבנה","lpt_2.htm",,,1
	,"תכונות חשמליות","lpt_3.htm",,,1
	,"הקשר לתוכנה","lpt_4.htm",,,1
	,"פרויקטים לדוגמה","show-menu=project_lpt",,,1
	,"דף מסכם למושא","sum_lpt.htm",,,1
	,"PORT.DLL - קובץ הפונקציות","port_dll.htm",,,1
	])


		addmenu(menu=["project_lpt",,,260,1,"",style1,,"right",effect,,,,,,1,,,,,,
		,"מימוש חוצצים לממשק","lpt_5.htm",,,1
		,"הרחבת מספר הכניסות על ידי אוגר הזזה","lpt_6.htm",,,1
		,"הרחבת מספר היציאות על ידי אוגר הזזה","lpt_7.htm",,,1
		,"הפרויקט שיש בו הכל","lpt_8.htm",,,1
		,"שליטה על מנוע צעד דרך האינטרנט","lpt_9.htm",,,1
		,"הפעלת נורות במתח גבוהה - אורגן אורות","lpt_10.htm",,,1
		])
	

dumpmenus()