		/***********************************************************************************
*	(c) Ger Versluis 2000 version simple 4 April 2002	          *
*	You may use this script on non commercial sites.	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/
		var URL=location.href;
	var pos_1=URL.lastIndexOf('/'); //position of last slash
	var sub1=URL.substring(0,pos_1); //substring, strip off filename
	var fileName=URL.substring(pos_1+1,URL.length);
	var NoOffFirstLineMenus=7;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="FAD12B";			// Background color when mouse is not over
	var HighBgColor="fcfcfc";			// Background color when mouse is over
	var FontLowColor="#000066";			// Font color when mouse is not over
	var FontHighColor="#000066";			// Font color when mouse is over
	var BorderColor="";			// Border color
	var BorderWidth=0;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="arial,sans-serif"	// Font family menu items
	var FontSize=8;				// 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="center";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
if (fileName == "home.htm") var StartTop = 131;
else var StartTop = 131;
//	var StartTop=141;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=4;				// Left padding
	var TopPaddng=5;				// Top padding
	var FirstLineHorizontal=1;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// 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="";				// span id for relative positioning
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover

	var BaseHref="http://www.hwam.ca/";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=../home/%22%22%2BBaseHref%2B%22MyImage/%22>"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

//var Arrws=[BaseHref+"tri.gif",25,20,BaseHref+"tridown.gif",10,5];
var Arrws=[BaseHref+"",0,0,BaseHref+"",0,0];

							// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var PartOfWindow=.8;				// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE5+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings

	var MenuSlide="";
	//var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
	//var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)";


//var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
//	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="85";
//	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);



Menu1=new Array(">> Home","index.htm","images/menu_bg_off.jpg",0,27,70);


Menu2=new Array("About Us","","images/menu_bg_off.jpg",5,27,70);
	Menu2_1=new Array("History","History.htm","",0,22,195);
	Menu2_2=new Array("Our People","principal.htm","",2,22,0);
		Menu2_2_1=new Array("Principal","principal.htm","",0,22,80);
		Menu2_2_2=new Array("Independent Associates","Independent_Associates.htm","",0,38,0);
	Menu2_3=new Array("Corporate and Personal memberships","Corporate_and_Personal_memberships.htm","",0,22,0);
	Menu2_4=new Array("Clients and Testimonials","Clients_and_Testimonials.htm","",0,22,0);
	Menu2_5=new Array("Publications","Publications.htm","",0,22,0);

Menu3=new Array("Our Services","Our_Services.htm","images/menu_bg_off.jpg",2,0,90);
	Menu3_1=new Array("What does HWAM offer?","What_Does_HWAM_Offer.htm","",0,22,190);
	Menu3_2=new Array("How do we begin?","How_do_we_begin.htm","",0,22,0);

Menu4=new Array("Insurance terms Glossary","Insurance_terms_Glossary.htm","images/menu_bg_off.jpg",5,27,145);
	Menu4_1=new Array("A-B ","Insurance_terms_Glossary.htm","",0,22,100);
		
		
	Menu4_2=new Array("C-F","Insurance_terms_Glossary_b.htm","",0,22,100);
	
	Menu4_3=new Array("G-M ","Insurance_terms_Glossary_c.htm","",0,22,100);
	
	Menu4_4=new Array("N-R","Insurance_terms_Glossary_d.htm","",0,22,100);
	
	Menu4_5=new Array("S-Z","Insurance_terms_Glossary_e.htm","",0,22,100);
		
Menu5=new Array("FAQ","faq.htm","images/menu_bg_off.jpg",2,37,50);
	Menu5_1=new Array("Understanding the Insurance Market place","Understanding_the_Insurance_Market_place.htm","",0,35,120);
		Menu5_1_1=new Array("","","",0,0,0);
		Menu5_1_2=new Array("","","",0,0,0);
		Menu5_1_3=new Array("","","",0,0,0);

	Menu5_2=new Array("General","faq.htm","",0,22,0);
	Menu5_3=new Array("3","","",0,22,0);
		Menu5_3_1=new Array("","","",0,22,185);
		Menu5_3_2=new Array("","","",0,22,185);
Menu6=new Array("Links","","images/menu_bg_off.jpg",5,37,50);
	Menu6_1=new Array("Regulatory","Regulatory.htm","",0,22,120);
	Menu6_2=new Array("Insurance Associations","Insurance_Associations.htm","",0,22,0);	
	Menu6_3=new Array("Insurance news","Insurance_news.htm","",0,22,0);
	Menu6_4=new Array("Insurance Corporations","","",2,0,0);
		Menu6_4_1=new Array("Underwriters","Underwriters.htm","",0,16,90);
		Menu6_4_2=new Array("Brokers","Brokers.htm","",0,0,0);
		
	Menu6_5=new Array("Peter's Favourite Websites","Peter_Favourite_Websites.htm","",0,35,180);
	
	Menu6_6=new Array("","","",0,0,0);
		Menu6_6_1=new Array("","","",0,0,0);
		Menu6_6_2=new Array("","","",0,0,0);
			Menu6_6_2_1=new Array("","","",0,0,0);
			Menu6_6_2_2=new Array("","","",0,0,0);
			Menu6_6_2_3=new Array("","","",0,0,0);
			Menu6_6_2_4=new Array("","","",0,0,0);
			Menu6_6_2_5=new Array("","","",0,0,0);
Menu7=new Array("Contact us","Contact_us.htm","images/menu_bg_off.jpg",0,22,65);
Menu8=new Array("","","images/menu_bg_off.jpg",2,22,136);
	Menu7_1=new Array("","","",0,0,0);	
	Menu7_2=new Array("","","",0,0,0);
	

