// JScript source code

// will now initialize settings for the menu cells
var parentFontFamily="tahoma,arial,verdana";// font for the parent cells
var parentTextAlign="center" //text align for parent cells
var parentFontColor="brown" //font color for parent cells
var parentFontSize=11;//font size for parent cells - pixels
var parentBorderColor="#000066" //color for parent cells border
var parentCellColor='#F2E2F6';
var parentMenuStyle="font-family:"+parentFontFamily+
					";text-align:"+parentTextAlign+
					";color:"+parentFontColor+
					";font-size:"+parentFontSize+"px"+
					";border-right:"+parentBorderColor+" 1px solid"+
					";border-left:"+parentBorderColor+" 1px solid"+
					";border-top:"+parentBorderColor+" 1px solid"+
					";border-bottom:"+parentBorderColor+" 1px solid"+
					";background-color:"+parentCellColor+
					// do not touch the next line
					";position:absolute;cursor: pointer; cursor: hand; border-collapse: collapse;";

var childFontFamily="arial,tahoma,verdana";// font for the child cells
var childTextAlign="right" //text align for child cells
var childFontColor="black" //font color for child cells
var childFontSize=11;//font size for child cells - pixels
var childBorderColor="#000066" //color for child cells border
var childCellColor='#F2E2F6';
var childMenuStyle="font-family:"+childFontFamily+
";text-align:"+childTextAlign+
";color:"+childFontColor+
";font-size:"+childFontSize+
";border-right:"+childBorderColor+" 1px solid"+
";border-left:"+childBorderColor+" 1px solid"+
";border-top:"+childBorderColor+" 1px solid"+
";border-bottom:"+childBorderColor+" 1px solid"+
";background-color:"+childCellColor+
// do not touch the next line
";position:absolute;cursor: pointer; cursor: hand; border-collapse: collapse;";

var basicCellColor='#F2E2F6';
var selectionCellColor='#FFFFFF';

//interface MenuItem(id,parentId,caption,link,width,style,bck color of cell when idle,bck color of cell when selected,language direction)

// do not change the next line!!
var menu=new MenuItem(0,0,"menu","",0,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');// ---------don't change the ZEROs------------
// baseAddress is for loading the base address for the files
if (!baseAddress)
	var baseAddress=""; //default to current directory
// user should change next lines, and ass as he wills
menu.addMenuItem(18,0,"דף הבית",baseAddress+"default.asp",65,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(17,0,"צרו קשר",baseAddress+"contact.asp",60,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(10,0,"שאלות נפוצות",baseAddress+"faq.asp",85,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(9,0,"פורומים","",60,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(91,9,"רשימת פורומים ולוחות",baseAddress+"forum.asp",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(92,9,"לוח דרושים",baseAddress+"ALL.asp?Fnumber=1",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(93,9,"לוח קניה/מכירה",baseAddress+"ALL.asp?Fnumber=2",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(94,9,"פורום אימון וכושר גופני",baseAddress+"ALL.asp?Fnumber=3",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(95,9,"פורום תזונה ודיאטה",baseAddress+"ALL.asp?Fnumber=5",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(96,9,"פורום רפואה משלימה",baseAddress+"ALL.asp?Fnumber=7",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(97,9,"פורום פציעות ספורט ושיקום",baseAddress+"ALL.asp?Fnumber=8",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(98,9,"פורום פיתוח גוף",baseAddress+"ALL.asp?Fnumber=9",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(99,9,"פורום קייטסרפינג",baseAddress+"ALL.asp?Fnumber=10",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(100,9,"פורום שיקום לב",baseAddress+"ALL.asp?Fnumber=11",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(101,9,"פורום כאב-שלד ומפרקים",baseAddress+"ALL.asp?Fnumber=12",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');


menu.addMenuItem(8,0,"מבוגרים","",65,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(81,8,"מאמרים",baseAddress+"select_mamarim_cat.asp?cat_id=7&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(82,8,"שיקום",baseAddress+"articles.asp?cat_id=5&id=16",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(83,8,"מילון מונחים",baseAddress+"javascriptAsp/showGlossary.asp",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(7,0,"נשים","",60,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(71,7,"הרזיה",baseAddress+"select_mamarim_cat_nashim.asp?cat_id=14&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(72,7,"כושר גופני",baseAddress+"select_mamarim_cat_nashim.asp?cat_id=13&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(73,7,"בריאות",baseAddress+"select_mamarim_cat_nashim.asp?cat_id=16&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(74,7,"תזונה",baseAddress+"select_mamarim_cat_nashim.asp?cat_id=17&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(75,7,"כללי",baseAddress+"select_mamarim_cat_nashim.asp?cat_id=18&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(76,7,"מילון מונחים",baseAddress+"javascriptAsp/showGlossary.asp",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(6,0,"פעילויות","",65,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(61,6,"חברות ומפעלים",baseAddress+"articles.asp?id=15",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(62,6,"מבצע למועדונים",baseAddress+"articles.asp?cat_id=1&id=14",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(63,6,"מחשבוני בריאות וכושר",baseAddress+"select_mamarim_cat.asp?cat_id=11&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(64,6,"מילון מונחים",baseAddress+"javascriptAsp/showGlossary.asp",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(65,6,"טיפולי רפואה משלימה",baseAddress+"articles.asp?cat_id=2&id=11",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(5,0,"מאמרים","",60,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(52,5,"כושר גופני",baseAddress+"select_mamarim_cat.asp?cat_id=2&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(53,5,"תזונה",baseAddress+"select_mamarim_cat.asp?cat_id=3&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(55,5,"הרזיה",baseAddress+"select_mamarim_cat.asp?cat_id=5&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(54,5,"למאמנים",baseAddress+"select_mamarim_cat.asp?cat_id=4&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(51,5,"פיתוח גוף",baseAddress+"select_mamarim_cat.asp?cat_id=1&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(56,5,"סטרואידים",baseAddress+"select_mamarim_cat.asp?cat_id=10&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(57,5,"כללי",baseAddress+"select_mamarim_cat.asp?cat_id=8&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(58,5,"כל המאמרים",baseAddress+"select_mamarim.asp?start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(4,0,"אימונים אישיים","",85,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(41,4,"אימונים אישיים",baseAddress+"articles.asp?cat_id=4&id=5",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(42,4,"אמנת מאמן",baseAddress+"articles.asp?cat_id=4&id=12",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(43,4,"למאמנים",baseAddress+"select_mamarim_cat.asp?cat_id=4",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(44,4,"תזונה",baseAddress+"select_mamarim_cat.asp?cat_id=3",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(45,4,"גמישות ומתיחות",baseAddress+"select_mamarim_cat.asp?cat_id=6",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(46,4,"המלצות מאמנים",baseAddress+"select_mamarim_cat.asp?cat_id=9",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(47,4,"מחשבוני בריאות וכושר",baseAddress+"select_mamarim_cat.asp?cat_id=11&start=1",140,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(3,0,"הרצאות","",60,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(31,3,"חדרי כושר / קאנטרי קלאב",baseAddress+"lessons.asp?lesson_id=1&id=1",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(32,3,"רפואה משלימה",baseAddress+"lessons.asp?lesson_id=2&id=23",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(33,3,"גוף האדם",baseAddress+"lessons.asp?lesson_id=3&id=39",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(34,3,"בריאות תזונה וספורט",baseAddress+"lessons.asp?lesson_id=4&id=49",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(35,3,"שיווק מכירות ושירות לקוחות",baseAddress+"lessons.asp?lesson_id=5&id=76",160,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(2,0,"ייעוצים","",55,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(21,2,"משלב הרעיון","articles.asp?cat_id=2&id=3",120,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(22,2,"למועדונים קיימים","articles.asp?cat_id=2&id=4",120,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.addMenuItem(1,0,"על החברה","",70,parentMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(11,1,"הכרות אישית",baseAddress+"articles.asp?cat_id=1&id=1",120,childMenuStyle,basicCellColor,selectionCellColor,'rtl');
menu.addMenuItem(12,1,"הכרות החברה",baseAddress+"articles.asp?cat_id=1&id=2",120,childMenuStyle,basicCellColor,selectionCellColor,'rtl');

menu.ypos=75;
menu.xpos=getWindowWidth()/2-menu.width/2; //centering
menu.align="hor";
// do not touch the next lines
menu.positionElements();
menu.buildRects();
menu.init();
window.onresize=menu.rebuildAfterResize;

