_d=document
ns4=(_d.layers)?true:false
ns6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
mac=(navigator.userAgent.indexOf("Mac")!=-1)

//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(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // 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=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

if(ns4){
menu_left=0;
menu_top=92;
menu_width=87;
}
else if(ns6){
menu_left=0;
menu_top=92;
menu_width=87;
}
else if(mac){
menu_left=0;
menu_top=92;
menu_width=87;
}

else if(screen.width > 1024){
menu_left=0;
menu_top=92;
menu_width=87;
}
else if(screen.width == 1024){
menu_left=0;
menu_top=92;
menu_width=87;
}
else if(screen.width == 800){
menu_left=0;
menu_top=92;
menu_width=87;
}
else {
menu_left=0;
menu_top=92;
menu_width=87;
}


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.
"ffffff",				// Mouse Off Font Color
"080534",				// Mouse Off Background Color
"ffffff",				// Mouse On Font Color
"999999",				// Mouse On Background Color
"cccccc",				// Menu Border Color 
12,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Arial,Helvetica, sans-serif",		// Font Name
3,						// Menu Item Padding
"",						// Sub Menu Image (Leave this blank if not needed) http://www.layoutme.com/images/arrow.gif
,						// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 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) http://www.layoutme.com/images/arrowdn.gif
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]



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
menu_top,					// Menu Top - The Top position of the menu in pixels
menu_left,					// Menu Left - The Left position of the menu in pixels
menu_width,					// Menu Width - Menus width in pixels
1,					// 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)
"center",				// 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
,					// 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)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// 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)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// 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

,"&nbsp;Home&nbsp;","javascript:selectedsection(this,'default')",,"Back to the home page",1 

// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;About&nbsp;Us&nbsp;","show-menu=about",,"",1
,"&nbsp;Services&nbsp;","show-menu=services",,"",1
,"&nbsp;Online Quotes&nbsp;","show-menu=quotes",,"",1
,"&nbsp;UItimate&nbsp;","show-menu=ultimate",,"",1
,"&nbsp;Features&nbsp;","show-menu=features",,"Features",1
,"&nbsp;FAQ&nbsp;","javascript:selectedsection(this,3)",,"FAQs",1
,"&nbsp;Contact&nbsp;","show-menu=contact",,"Contact",1
])

  addmenu(menu=["about",
  ,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
  ,"Strength","javascript:selectedsection(this,7)",,"Strength",1
  ,"Diversity","javascript:selectedsection(this,8)",,"Diversity",1
  ,"Mission","javascript:selectedsection(this,9)",,"Mission",1
  ,"Associate Offices","javascript:selectedsection(this,10)",,"Associate Offices",1
  ,"Panel of Insurers","show-menu=insurers",,"",1
	])
  
  
  addmenu(menu=["services",
		,,125,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Personal Lines","javascript:selectedsection(this,13)",,"Personal Lines",1
		,"Commercial Lines","javascript:selectedsection(this,14)",,"Commercial Lines",1
		,"Financial Planning","javascript:selectedsection(this,15)",,"Financial Planning",1
		,"Medical Insurance","javascript:selectedsection(this,16)",,"Medical Insurance",1
		])
  
    addmenu(menu=["insurers",
  ,,120,1,"",style1,,"left",effect,,,,,,,,,,,,
  ,"General","javascript:selectedsection(this,18)",,"General",1
  ,"Medical","javascript:selectedsection(this,19)",,"Medical",1
  ,"Life","javascript:selectedsection(this,20)",,"Life",1
	])
	
	
  addmenu(menu=["quotes",
	,,157,1,"",style1,,"left",effect,,,,,,,,,,,,
    ,"Home Insurance Quote","javascript:selectedsection(this,22)",,"Home Insurance Quote",1
	,"Motor Insurance Quote","javascript:selectedsection(this,23)",,"Motor Insurance Quote",1
	,"Medical Insurance Quote","javascript:selectedsection(this,26)",,"Medical Insurance Quote",1		
	,"Travel Insurance Quote","javascript:selectedsection(this,25)",,"Travel Insurance Quote",1
	,"Yacht Insurance Quote","javascript:selectedsection(this,24)",,"Yacht Insurance Quote",1		
	])
  
  addmenu(menu=["ultimate",
  ,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
  ,"Mission","javascript:selectedsection(this,33)",,"Mission",1
  ,"Home Insurance","javascript:selectedsection(this,34)",,"Home Insurance",1
  ,"Medical Insurance","javascript:selectedsection(this,35)",,"Medical Insurance",1
  ,"Life Insurance","javascript:selectedsection(this,36)",,"Life Insurance",1
  ,"Yacht and Jet Insurance","javascript:selectedsection(this,37)",,"Yacht and Jet Insurance",1
	])
  
  
  
  addmenu(menu=["features",
  ,,145,1,"",style1,,"left",effect,,,,,,,,,,,,
  ,"Financial Calculator","javascript:selectedsection(this,38)",,"Financial Calculator",1
  ,"Currency Converter","javascript:selectedsection(this,45)",,"Currency Converter",1
  ,"Forms","javascript:selectedsection(this,28)",,"Forms",1
	])
  
    addmenu(menu=["contact",
  ,,145,1,"",style1,,"left",effect,,,,,,,,,,,,
  ,"Telephone and Fax","javascript:selectedsection(this,42)",,"Telephone and Fax",1
  ,"Online Form","javascript:selectedsection(this,43)",,"Online Form",1
	])
	
	
dumpmenus()