/***********************************************************************************
*	(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 NoOffFirstLineMenus=8;			// 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="#333399";			// Background color when mouse is not over
	var HighBgColor="#0066CC";			// Background color when mouse is over
	var FontLowColor="CCCCCC";			// Font color when mouse is not over
	var FontHighColor="FFFFFF";			// Font color when mouse is over
	var BorderColor="black";			// Border color
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="Arial, Helvetica, 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="center";		// Item text position left, center or right
	var MenuCentered="right";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="static";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=100;				// Menu offset x coordinate
	var StartLeft=2;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=0;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// 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 MenuUsesFrames=1;			// MenuUsesFrames is only 0 when Main menu, submenus,
	var FirstLineFrame="menu";			// Frame where first level appears
	var SecLineFrame="main";			// Frame where sub levels appear
	var DocTargetFrame="main";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// 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='"+BaseHref+"MyImage'>"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=["",0,0,"",0,0];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

						// 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="";
	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="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

	var defHeight1 = 20;   // defualt 1 line menu item height
	var defHeight2 = 34;   // defualt 2 line menu item height
	var defWidth = 118;    // defualt menu item width 


// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width);
// eg: Menu1=new Array("Open in new","javascript:NewWin=window.open('file.htm','NWin');window['NewWin'].focus()","",0,20,100);

Menu1=new Array('<A HREF="./about_us.htm" TARGET="main">About Us ...</A>', './about_us.htm', "", 3, defHeight1, defWidth);
	Menu1_1=new Array('Company Profile', './about_us.htm#companyprofile', "", 0, defHeight1, defWidth);
	Menu1_2=new Array('Expertise', './about_us.htm#expertise', "", 0, defHeight1, defWidth);
	Menu1_3=new Array('Commitment to quality', './about_us.htm#commitmenttoquality', "", 0, defHeight1, defWidth);

Menu2=new Array('<A HREF="./instrumn.htm" TARGET="main">Instrumentation ...</A>', './instrumn.htm', "", 2, defHeight1, defWidth);
	Menu2_1=new Array('Instrumentation', './instrumn.htm#instrumentation', "", 0, defHeight1, defWidth);	
	Menu2_2=new Array('Data Presentation', './instrumn.htm#datapresentation', "", 0, defHeight1, defWidth);

Menu3=new Array('<A HREF="./loadtest.htm" TARGET="main">Load Testing</A>', './loadtest.htm', "", 0, defHeight1, defWidth);

Menu4=new Array('<A HREF="./dimesurv.htm" TARGET="main">Dimension Surveys</A>', './dimesurv.htm', "", 0, defHeight1, defWidth);

Menu5=new Array('<A HREF="./condsurv.htm" TARGET="main">Condition Surveys & Integrity Testing ...</A>', './condsurv.htm', "", 3, defHeight2, defWidth);
	Menu5_1=new Array('Condition surveys & Integrity Testing', './condsurv.htm#conditionsurveysandintegritytesting', "", 0, defHeight2, defWidth);	
	Menu5_2=new Array('Timber Integrity', './condsurv.htm#timberintegrity', "", 0, defHeight1, defWidth);
	Menu5_3=new Array('Concrete Integrity', './condsurv.htm#concreteintegrity', "", 0, defHeight1, defWidth);

Menu6=new Array('<A HREF="./spectest.htm" TARGET="main">Special Purpose<BR>Testing</A>', './spectest.htm', "", 0, defHeight2, defWidth);

Menu7=new Array('<A HREF="./secure/contact.asp" TARGET="main">Contact Us ...</A>', './secure/contact.asp', "", 2, defHeight1, defWidth);
	Menu7_1=new Array('Contact Details', './secure/contact.asp#contactdetails', "", 0, defHeight1, defWidth);	
	Menu7_2=new Array('Your Comments', './secure/contact.asp#yourcomments', "", 0, defHeight1, defWidth);

Menu8=new Array('<A HREF="./secure/login.asp" TARGET="main">Login</A>', './secure/login.asp', "", 0, defHeight1, defWidth);
