/*
menu functions are defined in mm_menu.js. I got it using Dreamwaver of Macro Media
*/
 function mmLoadMenus() {
  if (window.mm_menu_Education6_0) return; // That means: Menus are already exist.
  // One Level Menu (Menu1)
  window.mm_menu_Education6_0 = new Menu("root",150,22,"arial",14,"#000000","#FFFFFF","#CCCCCC","#000084","right","middle",3, 0,500,-5, 7,true,true,true,0,true,true);
  //										1	  2   3		4	5		6		7			8			9	10		11		12,13,14,15,16,17,	18   19 20	  21  22
  //	1"menuName",2-width,3-hight=22,4-fontFamily,5-fontsSize,6-fontColor=black, 7-fontHilit=white,
  //	8-colors ...  10-MenuItemAlignment=right for heb.
  mm_menu_Education6_0.addMenuItem("C ספר  יסודות","window.open('../EdGen/Yesodot_C.aspx', '_self');");
  // "menu name", url to open   _blank=new window. _self=same window (default)
  mm_menu_Education6_0.addMenuItem("C חמרי לימוד ב","window.open('../EdGen/C_Materials.aspx', '_self');");
  mm_menu_Education6_0.addMenuItem("C# ספר  יסודות","window.open('../EdGen/Yesodot_CSharp.aspx', '_self');");
  mm_menu_Education6_0.addMenuItem("Java וב C# חמרי לימוד ב","window.open('../EdGen/CS_Materials.aspx', '_self');");
  mm_menu_Education6_0.addMenuItem("עקיבא - ראשי","window.open('../Akiva_Main.aspx', '_self');");
  mm_menu_Education6_0.addMenuItem("חמרי לימוד - ראשי","window.open('../EdGen/Education.aspx', '_self');");
  mm_menu_Education6_0.hideOnMouseOut=true;
  mm_menu_Education6_0.bgColor='#555555';
  mm_menu_Education6_0.menuBorder=1;
  mm_menu_Education6_0.menuLiteBgColor='#FFFFFF';
  mm_menu_Education6_0.menuBorderBgColor='#777777';

  window.mm_menu_Education5_0 = new Menu("root",100,22,"arial",14,"#000000","#FFFFFF","#CCCCCC","#000084","right","middle",3, 0,500,-5, 7,true,true,true,0,true,true);
  mm_menu_Education5_0.addMenuItem("פרק 8 C יסודות","window.open('../EdGen/exampleChap8.aspx', '_self');");
  // "menu name", url to open   _blank=new window. _self=same window (default)
  mm_menu_Education5_0.addMenuItem("בבניה C# יסודות","window.open('../UnderConstruction.aspx', '_self');");
  // mm_menu_Education5_0.addMenuItem("C# חמרים ב","window.open('CS_Materials.aspx',  '_self');");
  mm_menu_Education5_0.hideOnMouseOut=true;
  mm_menu_Education5_0.bgColor='#555555';
  mm_menu_Education5_0.menuBorder=1;
  mm_menu_Education5_0.menuLiteBgColor='#FFFFFF';
  mm_menu_Education5_0.menuBorderBgColor='#777777';

  window.mm_menu_Education4_0 = new Menu("root",100,22,"arial",14,"#000000","#FFFFFF","#CCCCCC","#000084","right","middle",3, 0,500,-5, 7,true,true,true,0,true,true);
  mm_menu_Education4_0.addMenuItem("C יסודות","javascript:centerPopUp('../EdGen/TableOfContent.htm', '', 780, 390 )");
  // "menu name", url to open   _blank=new window. _self=same window (default)
  mm_menu_Education4_0.addMenuItem("C# יסודות","javascript:centerPopUp('../EdGen/TableOfContent_CS.htm', '', 780, 390 )");
  mm_menu_Education4_0.hideOnMouseOut=true;
  mm_menu_Education4_0.bgColor='#555555';
  mm_menu_Education4_0.menuBorder=1;
  mm_menu_Education4_0.menuLiteBgColor='#FFFFFF';
  mm_menu_Education4_0.menuBorderBgColor='#777777';

  window.mm_menu_Education3_0 = new Menu("root",100,22,"arial",14,"#000000","#FFFFFF","#CCCCCC","#000084","right","middle",3, 0,500,-5, 7,true,true,true,0,true,true);
  mm_menu_Education3_0.addMenuItem("C יסודות","window.open('ExampleFiles.aspx', '_self');");
  // "menu name", url to open   _blank=new window. _self=same window (default)
  mm_menu_Education3_0.addMenuItem("בבניה C# יסודות","window.open('../UnderConstruction.aspx', '_self');");
  mm_menu_Education3_0.hideOnMouseOut=true;
  mm_menu_Education3_0.bgColor='#555555';
  mm_menu_Education3_0.menuBorder=1;
  mm_menu_Education3_0.menuLiteBgColor='#FFFFFF';
  mm_menu_Education3_0.menuBorderBgColor='#777777';

  window.mm_menu_Education2_0 = new Menu("root",100,22,"arial",14,"#000000","#FFFFFF","#CCCCCC","#000084","right","middle",3, 0,500,-5, 7,true,true,true,0,true,true);
  mm_menu_Education2_0.addMenuItem("C יסודות","window.open('../EdGen/Prices_C.aspx', '_self');");
  // "menu name", url to open   _blank=new window. _self=same window (default)
  mm_menu_Education2_0.addMenuItem("C# יסודות","window.open('../EdGen/Prices_CS.aspx', '_self');");
  mm_menu_Education2_0.hideOnMouseOut=true;
  mm_menu_Education2_0.bgColor='#555555';
  mm_menu_Education2_0.menuBorder=1;
  mm_menu_Education2_0.menuLiteBgColor='#FFFFFF';
  mm_menu_Education2_0.menuBorderBgColor='#777777';

  mm_menu_Education6_0.writeMenus();
} // End Function  mmLoadMenus()

function centerPopUp( url, name, width, height, scrollbars ) { 
	if( scrollbars == null ) scrollbars = "0" ;
	str  = ""; 
	str += "resizable=1, status=0"; 
	str += "scrollbars=" + scrollbars + ","; 
	str += "width=" + width + ","; 
	str += "height=" + height + ","; 
	if ( window.screen ) { 
		var ah = screen.availHeight - 30; 
		var aw = screen.availWidth - 10; 
		var xc = ( aw - width ) / 2; 
		var yc = ( ah - height ) / 2; 
		str += ",left=" + xc + ",screenX=" + xc; 
		str += ",top=" + yc + ",screenY=" + yc; 
	} 
	window.open( url, name, str ); 
} //centerPopUp