	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='#fff';			// Background color when mouse is not over
	var LowSubBgColor='#fff';			// Background color when mouse is not over on subs
	var HighBgColor='#fff';			// Background color when mouse is over
	var HighSubBgColor='#3266CC';			// Background color when mouse is over on subs
	var FontLowColor='#666';			// Font color when mouse is not over
	var FontSubLowColor='#666';			// Font color subs when mouse is not over
	var FontHighColor='#3266CC';			// Font color when mouse is over
	var FontSubHighColor='#fff';			// Font color subs when mouse is over
	var BorderColor='#fff';			// Border color
	var BorderSubColor='#666';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var BorderMainWidth=1;				// Border width on top level menu
	var FontFamily="verdana, arial"	// 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='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=-1;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=0;				// Left padding
	var TopPaddng=0;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	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 FirstLineFrame='self';			// Frame where first level appears
	var SecLineFrame='self';			// Frame where sub levels appear
	var DocTargetFrame='self';			// Frame where target documents appear
	var TargetLoc='HeaderNav';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=0;				// 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=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var RootUrl = "/";
	var ImgRootUrl = "/images/nav/";
	var HostName = location.hostname;
	if(HostName == "localhost" || HostName == "www.perceptua.com") {
		RootUrl = "/lukepearce/work/dynamiteweb/";
		ImgRootUrl = "/lukepearce/work/dynamiteweb/images/nav/";
	}
	var Arrws=[ImgRootUrl+'nav_arrow_right.gif',5,10,ImgRootUrl+'spacer.gif',0,0,ImgRootUrl+'nav_arrow_left.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

function MakeImageStr(ImgSrc, ImgOverSrc, AltText, ImgOnSrc, NavUrl) {
	if(location.href.toString().toLowerCase().indexOf(NavUrl.toLowerCase()) != -1) {
			ImgSrc = ImgOnSrc;
			ImgOverSrc = ImgOnSrc;
	}
	return "<span class='NavItem'><img src='" + ImgSrc + "' alt='" + AltText + "' onmouseover='this.src=\"" + ImgOverSrc + "\"' onmouseout='this.src=\"" + ImgSrc + "\"' /></span>"
}

// 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.gif:Image2.gif"
Menu1=new Array(MakeImageStr(ImgRootUrl+"home.gif", ImgRootUrl+"home_over.gif", "home", ImgRootUrl+"home_on.gif", RootUrl+"default"),RootUrl+"default.asp","",0,20,98);

Menu2=new Array(MakeImageStr(ImgRootUrl+"games.gif", ImgRootUrl+"games_over.gif", "home", ImgRootUrl+"games_on.gif", RootUrl+"games"),RootUrl+"games.asp","",5,20,98);
		Menu2_1=new Array("Casino Games",RootUrl + "Games/Casino_Games.asp","",1,20,98);
			Menu2_1_1=new Array("Preview",RootUrl + "Games/Casino_Games/Preview.asp","",0,20,50);
		Menu2_2=new Array("Slot Games",RootUrl + "Games/Slot_Games.asp","",1);
			Menu2_2_1=new Array("Preview",RootUrl + "Games/Slot_Games/Preview.asp","",0,20,50);
		Menu2_3=new Array("Number Games",RootUrl + "Games/Number_Games.asp","",1);
			Menu2_3_1=new Array("Preview",RootUrl + "Games/Number_Games/Preview.asp","",0,20,50);
		Menu2_4=new Array("HiLo Games",RootUrl + "Games/HiLo_Games.asp","",1);
			Menu2_4_1=new Array("Preview",RootUrl + "Games/HiLo_Games/Preview.asp","",0,20,50);
		Menu2_5=new Array("Unique Games",RootUrl + "Games/Unique_Games.asp","",1);
			Menu2_5_1=new Array("Preview",RootUrl + "Games/Unique_Games/Preview.asp","",0,20,50);
		
Menu3=new Array(MakeImageStr(ImgRootUrl+"customers.gif", ImgRootUrl+"customers_over.gif", "customers", ImgRootUrl+"customers_on.gif", RootUrl+"customers"),RootUrl+"customers.asp","",0,20,98);
		/*Menu3_1=new Array("BetDirect","#","",0,20,98);
		Menu3_2=new Array("Blue Square","#","",0);
		Menu3_3=new Array("Fancy a Flutter","#","",0);
		Menu3_4=new Array("Ladbrokes","#","",0);
		Menu3_5=new Array("MeccaGames","#","",0,20,98);
		Menu3_6=new Array("Paddy Power","#","",0);
		Menu3_7=new Array("Skybet","#","",0);
		Menu3_8=new Array("Stanley Bet","#","",0);
		Menu3_9=new Array("Totalbet","#","",0,20,98);
		Menu3_10=new Array("Uk Betting","#","",0);
		Menu3_11=new Array("William Hill","#","",0);*/
		
Menu4=new Array(MakeImageStr(ImgRootUrl+"news.gif", ImgRootUrl+"news_over.gif", "news", ImgRootUrl+"news_on.gif", RootUrl+"news"),RootUrl+"news.asp","",0,20,98);
 
Menu5=new Array(MakeImageStr(ImgRootUrl+"about.gif", ImgRootUrl+"about_over.gif", "about", ImgRootUrl+"about_on.gif", RootUrl+"about"),RootUrl+"about.asp","",8,20,98);
		Menu5_1=new Array("Location",RootUrl + "about/Location.asp","",0,20,125);
		Menu5_2=new Array("Boss Media",RootUrl + "about/Boss.asp","",0);
		Menu5_3=new Array("Partners",RootUrl + "about/Partners.asp","",0);
		Menu5_4=new Array("Careers",RootUrl + "about/Careers.asp","",0);
		Menu5_5=new Array("Brochure Request",RootUrl + "about/Brochure_Request_Form.asp","",0);
		Menu5_6=new Array("Bet Sensibly",RootUrl + "about/responsible.asp","",0);
		Menu5_7=new Array("Site Map",RootUrl + "about/Site_Map.asp","",0);
		Menu5_8=new Array("Contact Us",RootUrl + "about/Contact_Us_Form.asp","",0);