//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=2;//distance from the right
subMenuWidth=140;
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/Tachlit/images/arrow.gif",
,
"#7D7D42",
"#7D7D42",
,,,,,
"#7D7D42",
]
//------- ####### -------
//------- STYLE 2 -------
//------- ####### -------
style2=[
"black",
"#C9C998",
"#000000",
"#999966",
"#7D7D42",
10,
"bold",
"bold",
"Arial,sans-serif",
4,
path + "site/Tachlit/images/arrow.gif",
,
"#7D7D42",
"#7D7D42",
,,,,,
"#7D7D42",
]

//------- ####### -------
//------- STYLE 3 -------
//------- ####### -------
style3=[
"black",
"#C9C998",
"#000000",
"#999966",
"#7D7D42",
10,
"bold",
"bold",
"Arial,sans-serif",
4,
path + "site/Tachlit/images/arrow.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 #11: 
//------- ########### -------
//------- CREATE MENU -------
//------- ########### -------
addmenu(menu=[
"topmenu",
144,
0,
125,
1,
"center",
style1,
1,
"center",
,,
1,
,,,
1,
,,,,,
// "Description", "URL", "Alternate URL", "Status", "Separator Bar"
,"גלריה",path + "Site/Tachlit/Gallery/management/EventManage07-08/project.asp",,"",1
,"שאלות ותשובות",path + "Site/Tachlit/QA/QA.asp",,"",1
,"חדשות ואירועים",path + "Site/Tachlit/News/News.asp",,"",1
//,"ימי עיון",path + "Site/Tachlit/DayCourses/DayCourses.asp",,"",1
,"קורסים","show-menu=chain3",,"",1
,"אודות מרכז תכלית",path + "Site/Tachlit/About/About.asp",,"",1
,"אודות המכללה","show-menu=chain1",,"",1
])



//------------------------------------------------------------------------
	addmenu(menu=["chain1", // אודות המכללה
	,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
//	,"דבר הנשיאה",path + "Site/Tachlit/AboutCollege/President.asp",,"",1
	,"היסטוריה",path + "Site/Tachlit/AboutCollege/History.asp",,"",1
	,"ארגון הדסה",path + "Site/Tachlit/AboutCollege/HWZOA.asp",,"",1
	,"מיקום וגישה לקמפוס",path + "Site/Tachlit/AboutCollege/Location.asp",,"",1
//	,"כותבים עלינו",path + "Site/Tachlit/AboutCollege/Newsletter.asp",,"",1
	]);


//------------------------------------------------------------------------
	addmenu(menu=["chain3", // קורסים
	//,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
	//,"קורסים לארגונים ולאנשי מקצוע","show-menu=chain3-1",,"",1
	//,"קורסים לקהל הרחב","show-menu=chain3-2",,"",1
//	,"קורסים להסבת אקדמאים","show-menu=chain3-3",,"",1
//	,"קורסים למורים בשבתון","show-menu=chain3-4",,"",1

	,,subMenuWidth,subMenuBorderSize,"",style3,,"right",effect,,,,,,1,,,,,,
,"<table border=0 cellspacing=0 cellpadding=4 dir=rtl width=138><tr><td align=right><font  face=Arial, sans-serif style=font-size:11px><b>קורסים לארגונים ולאנשי מקצוע</font><b></td></tr></table>","show-menu=chain3-1",,"",1
,"<table border=0 cellspacing=0 cellpadding=4 dir=rtl width=138><tr><td align=right><font  face=Arial, sans-serif style=font-size:11px><b>קורסים לקהל הרחב</font><b></td></tr></table>","show-menu=chain3-2",,"",1
,"<table border=0 cellspacing=0 cellpadding=4 dir=rtl width=138><tr><td align=right><font  face=Arial, sans-serif style=font-size:11px><b>קורסים להסבת אקדמאים</font><b></td></tr></table>","show-menu=chain3-3",,"",1
,"<table border=0 cellspacing=0 cellpadding=4 dir=rtl width=138><tr><td align=right><font  face=Arial, sans-serif style=font-size:11px><b><a href="+path + "Site/Tachlit/Courses/teacher/Courses.asp>קורסים למורים בשבתון</a><b></font></td></tr></table>",path + "Site/Ac/Admissions/OrientationWeek.asp",,"",1
,"<table border=0 cellspacing=0 cellpadding=4 dir=rtl width=138><tr><td align=right><font  face=Arial, sans-serif style=font-size:11px><b><a href="+path + "Site/Tachlit/Courses/noar/Courses.asp>קורסים לנוער</a><b></font></td></tr></table>",path + "Site/Ac/Admissions/OrientationWeek.asp",,"",1

	]);

	addmenu(menu=["chain3-1", // קורסים לארגונים ולאנשי מקצוע
	,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
	,"הפרעות בתקשורת",path + "Site/Tachlit/Courses/Organizations/Disorders.asp",,"",1
	,"ניהול",path + "Site/Tachlit/Courses/Organizations/Management.asp",,"",1
	,"נגישות",path + "Site/Tachlit/Courses/Organizations/Accessibility.asp",,"",1
	,"מחשבים",path + "Site/Tachlit/Courses/Organizations/Computers.asp",,"",1
	,"תקשורת ומולטימדיה",path + "Site/Tachlit/Courses/Organizations/Communications.asp",,"",1
	,"בישול וקונדיטוריה",path + "Site/Tachlit/Courses/Organizations/Gastronomy.asp",,"",1
	,"בריאות",path + "Site/Tachlit/Courses/Organizations/Health.asp",,"",1
	,"אופטומטריה",path + "Site/Tachlit/Courses/Organizations/Optometry.asp",,"",1
	,"בטיחות",path + "Site/Tachlit/Courses/Organizations/Safety.asp",,"",1
	//,"נוער",path + "Site/Tachlit/Courses/Organizations/Youth.asp",,"",1
	//,"כללי",path + "Site/Tachlit/Courses/Organizations/General.asp",,"",1
	]);

	addmenu(menu=["chain3-2", // קורסים לקהל הרחב
	,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
	//,"בריאות",path + "Site/Tachlit/Courses/General/Health.asp",,"",1
	,"ניהול",path + "Site/Tachlit/Courses/General/Management.asp",,"",1
	,"שוק ההון והפנסיה",path + "Site/Tachlit/Courses/General/pension.asp",,"",1
	,"עיצוב",path + "Site/Tachlit/Courses/General/InteriorDesign.asp",,"",1
			,"נגישות",path + "Site/Tachlit/Courses/General/Accessibility.asp",,"",1
			,"מחשבים",path + "Site/Tachlit/Courses/General/Computers.asp",,"",1
	,"תקשורת ומולטימדיה",path + "Site/Tachlit/Courses/General/Communications.asp",,"",1
	,"בישול וקונדיטוריה",path + "Site/Tachlit/Courses/General/Gastronomy.asp",,"",1
	,"קורסים לנוער",path + "Site/Tachlit/Courses/General/Youth.asp",,"",1
	,"כללי",path + "Site/Tachlit/Courses/General/General.asp",,"",1

	]);

	addmenu(menu=["chain3-3", // קורסים להסבת אקדמאים
	,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
	,"ביוטכנולוגיה וביואינפורמטיקה",path + "Site/Tachlit/Courses/Academic/Biotechnology.asp",,"",1
	,"מחשבים",path + "Site/Tachlit/Courses/Academic/Computers.asp",,"",1
	,"ניהול",path + "Site/Tachlit/Courses/Academic/Management.asp",,"",1
	,"תקשורת ומולטימדיה",path + "Site/Tachlit/Courses/Academic/Communications.asp",,"",1
	]);

//------------------------------------------------------------------------
	//addmenu(menu=["chain5", // חדשות ואירועים
	//,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
	//,"חדשות ואירועים",path + "Site/Tachlit/News/News.asp",,"",1
    //,"כותבים עלינו",path + "Site/Tachlit/News/Newsletter.asp",,"",1
	//]);

//------------------------------------------------------------------------
//	addmenu(menu=["chain7", // גלריה
//	,,subMenuWidth,subMenuBorderSize,"",style2,,"right",effect,,,,,,1,,,,,,
//	,"קורס הסבת אקדמאים לאנימציה בתלת-מימד",path + "Site/Tachlit/Gallery/animation/Projects.asp",,"",1
//	,"קורס הסבת אקדמאים להפקת שידורי טלוויזיה",path + "Site/Tachlit/Gallery/TelevisionBroadcast/Projects.asp",,"",1
//    ,"קורסי בישול וקונדיטוריה",path + "Site/Tachlit/Gallery/Gastronomy/Culinary.asp",,"",1
//    ,"המגמה העל אזורית באמנות הקולנוע",path + "Site/Tachlit/Gallery/RegionalClass05/Films.asp",,"",1
//	]);

//------------------------------------------------------------------------
dumpmenus();
