/*
 DHTML Menu version 3.3.19
 Written by Andy Woolley

 */

//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect ="Fade(duration=0.2);Alpha(opacity=0)";

}
else
{
	effect ="Fade(duration=0.2);Alpha(opacity=0)";
	effect = "Shadow(color='#777777', Direction=135, Strength=0)" // Stop IE5.5 bug when using more than one filter
}



timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=277;		// Sub menu offset Left position

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.
"#000000",			// Mouse Off Font Color
"#EEEEEE",			// Mouse Off Background Color
"#FFFFFF",			// Mouse On Font Color
"#8899bb",			// Mouse On Background Color
"",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
3,			// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
//arrow.gif
"#000000",			// 3D Border & Separator bar
"#AACCFF",			// 3D High Color
"#7799AA",			// 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)
//arrowdn.jpg
,			// Menu Header Font Color (Leave blank if headers are not needed)
"",			// Menu Header Background Color (Leave blank if headers are not needed)
]

//David: "this is to move the menu on load. it does not work on resize yet."
var gigi = window.document.body.offsetWidth / 2 - 397;	
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
120,			// Menu Top - The Top position of the menu in pixels
gigi,			// Menu Left - The Left position of the menu in pixels
,			// Menu Width - Menus width in pixels
,			// Menu Border Width 
,			// 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)
"right",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,			// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,			// 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)
0,			// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
"left",			// 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)
0,			// 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)
,			// Reserved for future use
,			// Reserved for future use
,			// Reserved for future use




// If you wish you may change a link name)
// For example on the line as below)
//,"Communicate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=communicate",,"",1
// instead of Communicate replace it with your name >>>>>>but don't remane at the end the show-menu cummunicate)

// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"



,"&nbsp;&nbsp;חדשות &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=nada","viewNews.asp?view=news","",0
,"&nbsp;&nbsp;קטלוג &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=nada","viewCatalogue.asp?view=catalogue","",0
,"&nbsp;&nbsp;פינת הכולל&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=kolel","viewKolelHAL.asp?view=kolelHAL","",0
,"&nbsp;&nbsp;הכתובת לכל עניין יהודי&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=address","jewishAddress.asp","",0
,"&nbsp;&nbsp;עלוני פרשת השבוע&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=leaflets","viewLessonsDOC.asp?view=lessonsdoc","",0
,"&nbsp;&nbsp;שיעורי הרב&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=lessons","viewLessonsWMV.asp?view=lessonswmv","",0
,"&nbsp;&nbsp;אודותינו &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=aboutus","index.asp","",0
])

	addmenu(menu=["nada",
	,,130,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=0);Shadow(color='#777777', Direction=-135, Strength=0)",0,,,,,,,,,,,
	])
	
	addmenu(menu=["aboutus",
	,,140,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#777777', Direction=-135, Strength=5)",0,,,,,,,,,,,
	,"&nbsp;תולדות ","toldot.asp",,,1
	,"&nbsp;סרט תדמית","movie.asp",,,1
	,"&nbsp;אודות מיסדיה","founders-yaudatsdka.asp",,,1
	,"&nbsp;מטרות ופעולות","objectives.asp",,,1
	,"&nbsp;אלבום תמונות","album.asp",,,1
	,"&nbsp;החזקת המוסדות","mosdot.asp",,,1
	])

	addmenu(menu=["lessons",
	,,150,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#777777', Direction=-135, Strength=5)",0,,,,,,,,,,,
	,"&nbsp;צפייה ","viewLessonsWMV.asp?view=lessonswmv",,,1
	,"&nbsp;שמיעה","viewLessonsWMA.asp?view=lessonswma",,,1
	,"&nbsp;שידור חי","LiveShow.asp",,,1
        ,"&nbsp;דיסקים להפצה","CD.asp",,,1
	])

	addmenu(menu=["leaflets",
	,,150,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#777777', Direction=-135, Strength=5)",0,,,,,,,,,,,
	,"&nbsp;עלונים בעברית ","viewLessonsDOC.asp?view=lessonsdoc",,,1
	,"&nbsp;עלונים בפרסית ","viewLessonsDOC.asp?view=lessonsdoc&persian=1",,,1
	])

	//addmenu(menu=["address",
	//,,150,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#777777', Direction=-135, //Strength=5)",0,,,,,,,,,,,
	// ,"&nbsp;תפילין ומזוזות ", "address1.asp",,,1
	//,"&nbsp;הכשרת מטבחים ", "address2.asp",,,1
	//,"&nbsp;סמינרים ", "address3.asp",,,1
	//,"&nbsp;מדרשה ", "address4.asp",,,1
	//,"&nbsp;קדיש ועריכת אזכרות ", "address5.asp",,,1
	//,"&nbsp;הקדשת שיעורים ", "address6.asp",,,1
	//])

	addmenu(menu=["kolel",
	,,185,1,"",style1,0,"right","Fade(duration=0.3);Alpha(opacity=90);Shadow(color='#777777', Direction=-135, Strength=5)",0,,,,,,,,,,,
	,"&nbsp;שאלות ותשובות בהלכה ", "viewKolelHAL.asp?view=kolelHAL",,,1
	,"&nbsp;שאלות ותשובות בחינוך ושלום בית", "viewKolelHIN.asp?view=kolelHIN",,,1
	])

dumpmenus()