var NoOffFirstLineMenus=6;			// Number of first level items
var LowBgColor='DAE3E8';			// Background color when mouse is not over
var LowSubBgColor='DAE3E8';			// Background color when mouse is not over on subs
var HighBgColor='DAE3E8';			// Background color when mouse is over
var HighSubBgColor='DAE3E8';			// Background color when mouse is over on subs
var FontLowColor='1B5681';			// Font color when mouse is not over
var FontSubLowColor='1B5681';			// Font color subs when mouse is not over
var FontHighColor='90B7CB';			// Font color when mouse is over
var FontSubHighColor='90B7CB';			// Font color subs when mouse is over
var BorderColor='';			// Border color
var BorderSubColor='ffffff';			// Border color for subs
var BorderWidth=0;				// Border width
var BorderBtwnElmnts=1;			// Border between elements 1 or 0
var FontFamily="verdana"	// Font family menu items
var FontSize=7;				// Font size menu items
var FontBold=0;				// Bold menu items 1 or 0
var FontItalic=0;				// Italic menu items 1 or 0
var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.3;				// horizontal overlap child/ parent
var ChildVerticalOverlap=0.3;			// vertical overlap child/ parent
var StartTop=213;				// Menu offset x coordinate
var StartLeft=12;				// Menu offset y coordinate 491,398
var UseOffsetStartLeft=0;			// Menu offset use checking 1 = true 0 = false
var StartLeftMin=0;				// Menu min offset y coordinate 218,320
var StartLeftMax=517;				// Menu max offset y coordinate 517
var WinWidthMin=740;				// Win Mininum Width 
var WinWidthMax=1004;				// Win Maximum Width 
var WinWidthMultipliyer=0;			// Win Width Multipliyer .5
var AgntUsr=navigator.userAgent.toLowerCase(); //Agent type
var FireFox= (AgntUsr.indexOf("firefox")!= -1)?1:0 //  FireFox 
var FireFoxPlus = (FireFox==1)?127:0 // Win Width FireFox +
var VerCorrect=0;				// Multiple frames y correction
var HorCorrect=0;				// Multiple frames x correction
var LeftPaddng=4;				// Left padding
var TopPaddng=2;				// Top padding
var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=0;			// Frames in cols or rows 1 or 0
var DissapearDelay=500;			// delay before menu folds in
var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
var FirstLineFrame='navig';			// Frame where first level appears
var SecLineFrame='space';			// Frame where sub levels appear
var DocTargetFrame='space';			// Frame where target documents appear
var TargetLoc='MenuPos';				// span id for relative positioning
var HideTop=0;				// Hide first level when loading new document 1 or 0
var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
var ShowArrow=0;				// Uses arrow gifs when 1
var KeepHilite=1;				// Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}

function AfterBuild(){
	RePos();
	return;
}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}


// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("HOME","default.aspx","",0,20,50);

Menu2=new Array("ABOUT MEDGULF","","",6,20,112);
	Menu2_1=new Array("STORY","story.aspx","",0,20,112);
	Menu2_2=new Array("MISSION","mission.aspx","",0,20,112);
	Menu2_3=new Array("VISION","vision.aspx","",0,20,112);
	Menu2_4=new Array("GROUP","group.aspx","",0,20,112);
	Menu2_5=new Array("REINSURERS","reinsurers.aspx","",0,20,112);
	Menu2_6=new Array("BANKERS","bankers.aspx","",0,20,105);
	
Menu3=new Array("LINES OF BUSINESS","business.aspx","",0,20,127);

Menu4=new Array("SERVICES","","",3,20,73);
	Menu4_1=new Array("INSURANCE & REINSURANCE","lineInsurance.aspx","",0,20,200);
	Menu4_2=new Array("RISK MANAGEMENT","linePlacement.aspx","",0,20,200);
	Menu4_3=new Array("THIRD PARTY ADMINISTRATION","lineTpa.aspx","",0,20,200);

Menu5=new Array("LOCATIONS","locations.aspx?country=world","",7,20,84);
	Menu5_1=new Array("LEBANON","locations.aspx?country=lebanon","",0,20,84);
	Menu5_2=new Array("KSA","locations.aspx?country=ksa","",0,20,84);
	Menu5_3=new Array("BAHRAIN","locations.aspx?country=bahrain","",0,20,84);
	Menu5_4=new Array("UAE","locations.aspx?country=uae","",0,20,84);
	Menu5_5=new Array("JORDAN","locations.aspx?country=jordan","",0,20,84);
	Menu5_6=new Array("UK","locations.aspx?country=uk","",0,20,84);
		Menu5_7=new Array("TURKEY","locations.aspx?country=turkey","",0,20,84);

Menu6=new Array("ANNUAL REPORT","","",2,20,111);
	Menu6_1=new Array("MEDGULF S.A.L.","annualreports.aspx?country=1","",0,20,111);
	Menu6_2=new Array("MEDGULF BSC(C)","annualreports.aspx?country=2","",0,20,111);
//	Menu7_3=new Array("BAHRAIN","annualreports.aspx?country=3","",0,20,111);