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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"
}

timegap=500 		// The time delay for menus to remain visible
followspeed=2		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=20;	      // Sub menu offset Top position 
suboffset_left=80;	// Sub menu offset Left position

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.
"355487",		// Mouse Off Font Color
"ffd7eb",		// Mouse Off Background Color     fddb9c
"FF0000",		// Mouse On Font Color
"747DB4",		// Mouse On Background Color
"red",		// Menu Border Color              8aafbf
12,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Arial, Helvetica, ",	// Font Name
4,				// Menu Item Padding
"images/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
"ffd7eb",		// 3D High Color             ffd7eb
"ffd7eb",		// 3D Low Color             ffd7eb  
,			// Current Page Item Font Color (leave this blank to disable)
,			// Current Page Item Background Color (leave this blank to disable)
"FF0000",			// Top Bar image (Leave this blank to disable)
"FFFFFF",		// Menu Header Font Color (Leave blank if headers are not needed)
"ffd7eb",		// Menu Header Background Color (Leave blank if headers are not needed)
"ffd7eb",		// Menu Item Separator Color
]

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
100,			// Menu Top - The Top position of the menu in pixels
10,			// Menu Left - The Left position of the menu in pixels
140,			// 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)
"left",			// 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
1,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 			// 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)
,			// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use
,"<div align=center><table><tr><td><img SRC=images/provincial.jpg BORDER=0></td></tr></table></div>","",,"",1
,"Home","default.shtml",,"",1
,"About Us","page02.shtml",,"",1
,"Maintenance & Emergency Repairs","page04.shtml",,"",1
,"Roofing Systems","show-menu=roofing_systems","page05.shtml","",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Generic Roofing Materials","show-menu=generic_materials","page15.shtml","",1
,"Contact Us","contact.shtml",,"",1
,"Photo Gallery","gallery.shtml",,"",1
,"Other Projects","page03.shtml",,"",1
])
	addmenu(menu=["roofing_systems",
	,,120,1,"",style1,,"left",effect,0,,,,,,,,,,,
	,"Built Up Roofing (BUR)","page06.shtml",,"",1
	,"Protected Membrane","page07.shtml",,"",1
	,"Ballasted","page08.shtml",,"",1
	,"Fully Adhered","page09.shtml",,"",1
	,"Mechanically Fastened","page10.shtml",,"",1
	,"Torch Applied","page11.shtml",,"",1
	,"Re-Cover","page12.shtml",,"",1
      ,"Steep Sloped","page13.shtml",,"",1
	,"Cold Process","page14.shtml",,"",1
	])
	
	addmenu(menu=["generic_materials",
	,,120,1,"",style1,,"left",effect,0,,,,,,,,,,,
	,"Asphalt Pitch","page15.shtml#asphalt",,"",1
	,"Felts","page15.shtml#felt",,"",1
      ,"Modified Bitumen","page15.shtml#bitumen",,"",1
      ,"P.V.C.","page15.shtml#pvc",,"",1
      ,"Ethylene Propylene","page15.shtml#ep",,"",1
      ,"Ethylene Propylene Diene Monomer","page15.shtml#epdm",,"",1
      ,"Insulation Materials","page15.shtml#insulation",,"",1
      
 
	])

dumpmenus()
