//*---------------------------------------------------------------------------- 
//*  Update Log - MAIN MENU - MOTORESCUE
//*  
//*  2009-10-15 New
//*  2009-11-23 Add Dealer Login page
//*----------------------------------------------------------------------------- 
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var thefile = location.href.substring(dir.length,location.href.length+1);
	lang = ".asp;";   //* Language suffix
 
//*----------------------------------------------
//*   HOME
//*----------------------------------------------
with(milonic=new menuname("HOME")){
style=subMenuStyle; menuwidth=67;
//	aI("text=Site Map;url=sitemap" + lang );
}
  
//*----------------------------------------------
//*  MAIN HORIZONTAL MENU 
//*----------------------------------------------
	 nTop=207;  // 235
	 sLeft = "offset=-1";
//* Adjust top for IE. which is different that FF for some strange reason.	 
	if (ie55) {
		sLeft = "offset=0";
		nTop=207;
	}
 
	with(milonic=new menuname("main")){
	style=mainMenuStyle;
	menuwidth=786;   itemheight=28; top=nTop; screenposition="center";   left=sLeft; alwaysvisible=1; orientation="horizontal";
	//zindex=80;	//* This is for Gallery Creator lightbox.js which uses value 90 for overlay.
	
	aI("text=<b>HOME</b>;align=center;xitemwidth=41;url=home" + lang );

	aI("text=<b>HOW MUCH?</b>;align=center;url=riders-intro" + lang + ";showmenu=RIDERS;" );

	aI("text=<b>ORDER NOW</b>;align=center;url=riders-form" + lang  );
	
	aI("text=<b>DEALERS</b>;align=center;url=dealers-intro" + lang + ";showmenu=DEALERS;" );
 	
 	aI("text=<b>PARTNER PROGRAM</b>;align=center;url=partners-intro" + lang +  ";showmenu=PARTNERS;" )
 	
 	aI("text=&nbsp;<b>FAQ</b>&nbsp;;align=center;url=faq" + lang ); 
 	 	
 	aI("text=<b>WHY&nbsp;US?</b>;align=center;url=whyus-intro" + lang );
 	
 	aI("text=<b>TESTIMONIALS</b>;align=center;url=testimonials" + lang );
 
	aI("text=<b>CONTACT US</b>;url=contact-form" + lang );
 		
	}
	
//*----------------------------------------------
//*   RIDERS 
	pref="riders-";  
//*----------------------------------------------
with(milonic=new menuname("RIDERS")){
style=subMenuStyle; xmenuwidth=97;
//	aI("text=Membership Application;url=" + pref + "form" + lang );
	aI("text=Participating Dealers;url=" + pref + "dealers-list" + lang );
	aI("text=Dealers that include FREE<br>Memberships with Bike Purchase;url=" + pref + "dealersprem-list" + lang );	
//	aI("text=Useful Links;url=" + pref + "links" + lang );
} 
	
//*----------------------------------------------
//*   DEALERS 
	pref="dealers-";  
//*----------------------------------------------
with(milonic=new menuname("DEALERS")){
style=subMenuStyle; xmenuwidth=97;
//	aI("text=Dealer Login;url=" + pref + "login.form" + lang );

} 

//*----------------------------------------------
//*   PARTNERS 
	pref="partners-";  
//*----------------------------------------------
with(milonic=new menuname("PARTNERS")){
style=subMenuStyle; menuwidth=168;
 	aI("text=Sign Up;url=" + pref + "form" + lang );
	aI("text=Advertising Banners;url=" + pref + "banners" + lang );
} 

//*----------------------------------------------
//*   WHYUS 
	pref="whyus-";  
//*----------------------------------------------
with(milonic=new menuname("WHYUS")){
style=subMenuStyle; menuwidth=102;
	aI("text=Testimonials;url=" + pref + "testimonials" + lang );

} 
 
//*----------------------------------------------
//*  POPUP Box for PDF Icon
//*----------------------------------------------
with(milonic=new menuname("pdfhelp")){
style=menuStylePOPUP; left="offset=25"; itemwidth=232; top=-170;
aI("text=<img src='../images/pdf-icon.gif' width=15 height=16 border=0 align='absmiddle'> <b>About PDF Files</b> <img src='../images/pdf-icon-red.gif' width=21 height=12 border=0 align='absmiddle'>;type=header;align=center;");
aI("text=To download PDF files to your hard disk for <b>offline viewing</b>, right-click on the link, then select \"Save Target As...\" from the pop-up menu. To view the PDF in a new browser window, just click on the link.");
aI("text=Adobe Acrobat Reader is required to view the Portable Document Format (PDF) files found on this web site.<br><br>Download the latest free version of Acrobat Reader by clicking the button below:");
aI("text=<img src='../images/getacrobat-e.gif' width=88 height=31 border=0 align='absmiddle' alt='Get Acrobat Reader'>;url=http://www.adobe.com/products/acrobat/readstep.html;target=blank;align=center;");
} 


//*----------------------------------------------
//*  CRUISER PLAN
//*----------------------------------------------
with(milonic=new menuname("cruiser")){
style=menuStylePOPUP; left=-212; itemwidth=200; top=-100;
aI("text=<b>Cruiser / Custom / Chopper / Trike</b>;type=header;align=center;");
aI("text=<ul><li>All Heavy Cruisers<li>Road Star from Yamaha<li>All Harley Davidson’s<li>Gold Wings from Honda<li>Boulevards from Suzuki<li>Vulcan from Kawasaki<li>Victory from Polaris<li>Customs & Choppers<li>Trikes and Sidecars</ul>");
}

//*----------------------------------------------
//*  CCID
//*----------------------------------------------
with(milonic=new menuname("ccid")){
style=menuStylePOPUP; left=-212; itemwidth=230; top=-100;
aI("text=<b>CCID (Security Code)</b>;type=header;align=center;");
aI("text=For your protection, we ask that you enter an extra 3-4 digit number called the CCID. The CCID is NOT your PIN number. It is an extra ID printed on the back of your Visa, MasterCard or American Express Card near the signature panel.");
}

//*----------------------------------------------
//*  POPUP Box for Privacy Policy
//*----------------------------------------------
with(milonic=new menuname("Privacy")){
style=menuStylePOPUP; 
left=-212; 
itemwidth=200; 
top=-160;
aI("text=<b>Privacy Policy</b>;type=header;align=center;");
aI("text=We will never share, sell, or rent your personal information with anyone. Information submitted to us is only available to our employees for the purpose of contacting you or sending you emails related to Avenue Road Roofing services.");
} 

//*----------------------------------------------
//*  POPUP Box for Privacy Policy
//*----------------------------------------------
with(milonic=new menuname("Privacy2")){
style=menuStylePOPUP; left=-212; itemwidth=200; top=-100;
aI("text=<b>Privacy Policy</b>;type=header;align=center;");
aI("text=We will never give, trade, sell or rent submitted information to a third party.");
} 

//*----------------------------------------------
//*  Top of Page Floating Menu for Certain Pages
//*----------------------------------------------
 
 if ( thefile.substring(0,"faq".length) == "faqx") {	

	with(milonic=new menuname("top")){
	style=menuStyleTop;
	menuwidth=10;
	itemheight=6;
	left="offset=371";  
	screenposition="bottom, center"; 
	top="offset=-25";
	followscroll=1;
//	followscroll="0,40,5"
	alwaysvisible=1;
	orientation="horizontal";
	aI("text=&nbsp;Top&nbsp;url=#top");
	}
}
drawMenus();