//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}
var path
path= "http://www.hadassah.ac.il/"
//path="http://ornaluz/"
function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//do not change the above line

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0);Alpha(style=0,opacity=110);Shadow(color='#7D7D42', Direction=225, Strength=1)"
}
else
{
	effect = "Shadow(color='#7D7D42', Direction=225, Strength=1)" // Stop IE5.5 bug when using more than one filter
}

timegap=400; //milliseconds of the venish
followspeed=5;
followrate=40;
suboffset_top=1;//distance from the top 
suboffset_left=300;//distance from the right
subMenuWidth=150;
subMenuBorderSize=1;

//param #1: font color
//param #2: background color - STANDART
//param #3: font color - ON MOUSE OVER
//param #4: background color - ON MOUSE OVER
//param #5: border color
//param #6: font size
//param #7: ?
//param #8: font style ("normal"/"bold")
//param #9: font type ("Arial,sans-serif,Tahoma")
//param #10: sub-menus height
//param #11: sub-sub menu picture path
//last param #21: menu lines color (same as border color)
//------- ####### -------
//------- STYLE 1 -------
//------- ####### -------
style1=[
"black",
"#C9C998",
"#000000",
"#999966",
"#7D7D42",
10,
"bold",
"bold",
"Arial,sans-serif",
4,
path + "site/TechEn/images/arrowEn.gif",
,
"#7D7D42",
"#7D7D42",
,,,,,
"#7D7D42",
]
//------- ####### -------
//------- STYLE 2 -------
//------- ####### -------
style2=[
"black",
"#C9C998",
"#000000",
"#999966",
"#7D7D42",
10,
"bold",
"bold",
"Arial,sans-serif",
4,
path + "site/TechEn/images/arrowEn.gif",
,
"#7D7D42",
"#7D7D42",
,,,,,
"#7D7D42",
]

//------- ####### -------
//------- STYLE 3 -------
//------- ####### -------
style3=[
"black",
"#C9C998",
"#000000",
"#999966",
"#7D7D42",
10,
"bold",
"bold",
"Arial,sans-serif",
0,
path + "site/TechEn/images/arrowEn.gif",
,
"#7D7D42",
"#7D7D42",
,,,,,
"#7D7D42",
]

//param #1: name of menu (topmenu)
//param #2: offset from top of page (110)
//param #3: ?
//param #4: width of menu (90)
//param #5: menu border size (1)
//param #6: menu alignment in page ("center")
//param #7: menu style (by the style defined above - style1)
//param #8: ?
//param #9: text alignment in menu ("center")
//param #10: 
//param #17: submrnu alignment (0-En;1-Heb)
//------- ########### -------
//------- CREATE MENU -------
//------- ########### -------
addmenu(menu=[
"topmenu",
144,
0,
125,
1,
"center",
style1,
1,
"center",
,,
1,
,,,
0,
,,,,,
// "Description", "URL", "Alternate URL", "Status", "Separator Bar"
,"About","show-menu=chain1",,"",1
,"Departments","show-menu=chain2",,"",1
//,"Admissions","show-menu=chain3",,"",1
,"Dean of Students","show-menu=chain4",,"",1
,"Financial Aid","show-menu=chain5",,"",1
,"Student Services","show-menu=chain6",,"",1
//,"Galleries","show-menu=chain7",,"",1
,"News and Events",path + "Site/TechEn/News/OnCampus.asp",,"",1
])


//------------------------------------------------------------------------
	addmenu(menu=["chain1", // אודות המכללה
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"Greetings from the College",path + "Site/TechEn/About/President.asp",,"",1
	,"Executive Committee",path + "Site/TechEn/About/Committee.asp",,"",1
	,"History",path + "Site/TechEn/About/History.asp",,"",1
	,"HWZOA",path + "Site/TechEn/About/HWZOA.asp",,"",1
	,"Location",path + "Site/TechEn/About/Location.asp",,"",1
	,"Contact",path + "Site/TechEn/About/Contact.asp",,"",1
	,"Academic Calendar",path + "Site/TechEn/About/Calendar.asp",,"",1
	]);

//------------------------------------------------------------------------
	addmenu(menu=["chain2", // חוגי לימוד
	,,subMenuWidth,subMenuBorderSize,"",style3,,"left",effect,,,,,,1,,,,,,
	,"<table border=0 cellspacing=0 cellpadding=4><tr><td><font  face=Arial, sans-serif style=font-size:11px><b>Chemical Engineering</font><b></td></tr></table>","show-menu=chain2-1",,"",1
	,"<table border=0 cellspacing=0 cellpadding=4><tr><td><font  face=Arial, sans-serif style=font-size:11px><b>Software Engineering</font><b></td></tr></table>","show-menu=chain2-2",,"",1
	,"<table border=0 cellspacing=0 cellpadding=4><tr><td><font  face=Arial, sans-serif style=font-size:11px><b>Industrial Management<b></font></td></tr></table>","show-menu=chain2-3",,"",1
	,"<table border=0 cellspacing=0 cellpadding=4><tr><td><font  face=Arial, sans-serif style=font-size:11px><b>Print Production<b></font></td></tr></table>","show-menu=chain2-4",,"",1
	,"<table border=0 cellspacing=0 cellpadding=4><tr><td><font  face=Arial, sans-serif style=font-size:11px><b>Interactive Communications<b></font></td></tr></table>","show-menu=chain2-8",,"",3
	,"<table border=0 cellspacing=0 cellpadding=4 height=23><tr><td><font  face=Arial, sans-serif style=font-size:11px><b><a href="+path+"Site/TechEn/Departments/English.asp>English as a Foreign Language<font size=2> </font></a><b></font></td></tr></table>",path + "Site/TechEn/Departments/English.asp",,"",1
	]);

	addmenu(menu=["chain2-1", // כימיה תרופתית
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Chemistry/about.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Chemistry/Faculty.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Chemistry/Contact.asp",,"",1

	]);

	addmenu(menu=["chain2-2", // הנדסת תוכנה
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Software/about.asp",,"",1
	,"Study Tracks",path + "Site/TechEn/Departments/Software/Tracks.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Software/Faculty.asp",,"",1
	,"Courses for the Public",path + "Site/TechEn/Departments/Software/PublicCourses.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Software/Contact.asp",,"",1

	]);
	
	addmenu(menu=["chain2-3", //תעשייה וניהול
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Management/about.asp",,"",1
	,"Marketing and Management Track",path + "Site/TechEn/Departments/Management/marketing.asp",,"",1
	//,"Logistics Track",path + "Site/TechEn/Departments/Management/logistic.asp",,"",1
	//,"Minor in Finance",path + "Site/TechEn/Departments/Management/financial.asp",,"",1
	//,"Minor in Safety & Security",path + "Site/TechEn/Departments/Management/Safety.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Management/Faculty.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Management/Contact.asp",,"",1

	]);

	addmenu(menu=["chain2-4", // הפקות דפוס
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Print/about.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Print/Faculty.asp",,"",1
	,"Gallery",path + "Site/TechEn/Departments/Print/gallery/finalProject/Gallery08a.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Print/Contact.asp",,"",1

	]);

	addmenu(menu=["chain2-5", // עיצוב תעשייתי
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Industrial/About.asp",,"",1
//	,"השלמה לתואר ראשון",path + "Site/TechEn/Departments/Industrial/Supplementary.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Industrial/Faculty.asp",,"",1
//	,"כותבים עלינו",path + "Site/TechEn/Departments/Industrial/Press.asp",,"",1
	,"Gallery",path + "Site/TechEn/Departments/Industrial/gallery/finalProject/Gallery08a.asp",,"",1
	,"Courses for the Public",path + "Site/TechEn/Departments/Industrial/PublicCourses.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Industrial/Contact.asp",,"",1

	]);
	
	addmenu(menu=["chain2-6", // צילום ומדיה דיגיטלית
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Photography/About.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Photography/Faculty.asp",,"",1
	,"Gallery",path + "Site/Techen/Departments/Photography/gallery/finalproject/Gallery.asp",,"",1
	,"Courses for the Public",path + "Site/TechEn/Departments/Photography/PublicCourses.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Photography/Contact.asp",,"",1

	]);

	
	addmenu(menu=["chain2-8", // תקשורת אינטראקטיבית
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"About",path + "Site/TechEn/Departments/Interactive/about.asp",,"",1
	,"Faculty",path + "Site/TechEn/Departments/Interactive/Faculty.asp",,"",1
	,"Gallery",path + "Site/TechEn/Departments/Interactive/gallery/studentWorks/InteractiveAnimation/Gallery08.asp",,"",1
	,"Contact",path + "Site/TechEn/Departments/Interactive/Contact.asp",,"",1

	]);

//------------------------------------------------------------------------
	addmenu(menu=["chain3", // הרשמה וקבלה
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"Academic Counseling",path + "Site/TechEn/Admissions/Counseling.asp",,"",1
	,"Student Administration",path + "Site/TechEn/Admissions/Administration.asp",,"",1
	,"Registration",path + "Site/TechEn/Admissions/Registration.asp",,"",1
	,"Housing",path + "Site/TechEn/Admissions/Housing.asp",,"",1
	,"Orientation Week",path + "Site/TechEn/Admissions/OrientationWeek.asp",,"",1
	]);

//------------------------------------------------------------------------
	addmenu(menu=["chain4", // דיקנט הסטודנטים
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"Office of the Dean",path + "Site/TechEn/Dean/Dean.asp",,"",1
	,"Social and Community Programs",path + "Site/TechEn/Dean/Community.asp",,"",1
	,"Counseling and Assistance",path + "Site/TechEn/Dean/Counseling.asp",,"",1
	,"Henrietta Szold Challenge Center",path + "Site/TechEn/Dean/Szold.asp",,"",1
	,"Scholarships",path + "Site/TechEn/Dean/Scholarships.asp",,"",1
	,"Loans",path + "Site/TechEn/Dean/Loans.asp",,"",1
	,"Students on Reserves",path + "Site/TechEn/Dean/Reserves.asp",,"",1
	]);

	//------------------------------------------------------------------------
	addmenu(menu=["chain5", // מלגות והלוואות
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
    ,"Scholarships",path + "Site/TechEn/Aid/Scholarships/Scholarships.asp",,"",1
//	,"Scholarships","show-menu=chain5-1",,"",1
	,"Loans",path + "Site/TechEn/Aid/Loans/Loans.asp",,"",1
	]);

	//addmenu(menu=["chain5-1", // מלגות
	//,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	//,"Merit Scholarships",path + "Site/TechEn/Aid/Scholarships/Merit.asp",,"",1
	//,"Dean's Scholarships",path + "Site/TechEn/Aid/Scholarships/Dean.asp",,"",1
	//,"Need Based Scholarships",path + "Site/TechEn/Aid/Scholarships/NeedBased.asp",,"",1
	//,"Hadas Scholarships",path + "Site/TechEn/Aid/Scholarships/Hadas.asp",,"",1
	//,"Perach Scholarships",path + "Site/TechEn/Aid/Scholarships/Perach.asp",,"",1
   //,"Software Engineering Scholarships",path + "Site/TechEn/Aid/Scholarships/Software.asp",,"",1
   //,"Industrial Management Scholarships",path + "Site/TechEn/Aid/Scholarships/Management.asp",,"",1
    //,"Scholarships for New Immigrants",path + "Site/TechEn/Aid/Scholarships/Immigrants.asp",,"",1
	//,"Scholarships for Terror Victims",path + "Site/TechEn/Aid/Scholarships/TerrorVictims.asp",,"",1
    //,"Chairman of the Knesset Scholarships",path + "Site/TechEn/Aid/Scholarships/Knesset.asp",,"",1
//	]);

//	addmenu(menu=["chain5-2", // הלוואות
//	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
//	,"Shohat Fund",path + "Site/TechEn/Aid/Loans/Shohat.asp",,"",1
//	,"Magbit Foundation",path + "Site/TechEn/Aid/Loans/Magbit.asp",,"",1
//	]);

//------------------------------------------------------------------------
	addmenu(menu=["chain6", // שירותים לסטודנט
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
	,"Information Resource Center",path + "Site/TechEn/Services/ResourceCenter.asp",,"",1
	,"Computer Labs",path + "Site/TechEn/Services/ComputerLabs.asp",,"",1
	,"Student Smart Card",path + "Site/TechEn/Services/SmartCard.asp",,"",1
	,"Copying and Printing",path + "Site/TechEn/Services/Copying.asp",,"",1
	,"Housing",path + "Site/TechEn/Services/Housing.asp",,"",1
	,"Cafeteria",path + "Site/TechEn/Services/Cafeteria.asp",,"",1
	,"Religious Services",path + "Site/TechEn/Services/Religious.asp",,"",1
	]);

//------------------------------------------------------------------------
//	addmenu(menu=["chain7", // גלריות
//	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
//	,"הפקות דפוס",path + "Site/TechEn/Departments/Print/Gallery.asp",,"",1
//	,"עיצוב תעשיתי",path + "Site/TechEn/Departments/Industrial/Gallery.asp",,"",1
//	,"צילום ומדיה דיגיטלית",path + "Site/TechEn/Departments/Photography/Gallery.asp",,"",1
//	,"קולנוע וטלויזיה",path + "Site/TechEn/Departments/Cinema/Gallery.asp",,"",1
//	]);

//------------------------------------------------------------------------
	addmenu(menu=["chain7", // חדשות ואירועים
	,,subMenuWidth,subMenuBorderSize,"",style2,,"left",effect,,,,,,1,,,,,,
//	,"On Campus",path + "Site/TechEn/News/OnCampus.asp",,"",1
//	,"College and Community",path + "Site/TechEn/News/Community.asp",,"",1
//	,"Newsletters",path + "Site/TechEn/News/Newsletter.asp",,"",1
	]);

//------------------------------------------------------------------------

dumpmenus();
