 //*----------------------------------------------
//*  Update Log
//*  2010-01-26 - Red text for Dealers List w Free membership
//*  2010-09-01 - Remove Ride for Sight
//*----------------------------------------------
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var thefile = location.href.substring(dir.length,location.href.length+1);

// alert(thefile);
//*----------------------------------------------
//*  GLOBAL LANGUAGE SUFFIX
//*----------------------------------------------
	lang = ".asp;";  
	//* Push the menu down a bit
    document.write ('<img src="../images/spacer.gif" width=10 height=15 border=0><br>');

//*----------------------------------------------
//*   RIDERS
	pref="riders-"; 
//*----------------------------------------------
 
if (thefile.substring(0,"riders-".length) == "riders-")	{
with(milonic=new menuname("SideMenu")){
style=sideMenuStyle;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";	
    document.write ('<img src="../images/sidemenu-top.gif" width=150 height=10 border=0>');
  	aI("text=<b>How Much?</b>;url=" + pref + "intro" + lang );
//	aI("text=Membership Application;url=" + pref + "form" + lang );
	aI("text=Participating Dealers;url=" + pref + "dealers-list" + lang );
	aI("text=<font color='#FF0000'>Dealers that include <b>FREE Memberships</b><br>with Bike Purchase</font>;url=" + pref + "dealersprem-list" + lang );		
//	aI("text=Useful Links;url=" + pref + "links" + lang );
	} 
	drawMenus(); //* This is required for the following statement.
	document.write ('<img src="../images/sidemenu-bot.gif" width=150 height=10 border=0>');
	document.write ('<br><img src="../images/spacer.gif" width=10 height=10 border=0>');
}

//*----------------------------------------------
//*   DEALERS
	pref="dealers-"; 
//*----------------------------------------------
 
if (thefile.substring(0,"dealers-".length) == "dealers-zzz")	{
with(milonic=new menuname("SideMenu")){
style=sideMenuStyle;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";	
    document.write ('<img src="../images/sidemenu-top.gif" width=150 height=10 border=0>');
  	aI("text=<b>Dealers</b>;url=" + pref + "intro" + lang );
//	aI("text=Participating Dealers;url=" + pref + "list" + lang );
//	aI("text=Dealers that include<br>Memberships with<br>Bike Purchase;url=" + pref + "prem-list" + lang );
	} 
	drawMenus(); //* This is required for the following statement.
	document.write ('<img src="../images/sidemenu-bot.gif" width=150 height=10 border=0>');
	document.write ('<br><img src="../images/spacer.gif" width=10 height=10 border=0>');
}

//*----------------------------------------------
//*   PARTNERS
	pref="partners-"; 
//*----------------------------------------------
 
if (thefile.substring(0,"partners-".length) == "partners-")	{
with(milonic=new menuname("SideMenu")){
style=sideMenuStyle;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";	
    document.write ('<img src="../images/sidemenu-top.gif" width=150 height=10 border=0>');
  	aI("text=<b>Partner Program</b>;url=" + pref + "intro" + lang );
 	aI("text=Sign Up;url=" + pref + "form" + lang );
	aI("text=Advertising Banners;url=" + pref + "banners" + lang );
	} 
	drawMenus(); //* This is required for the following statement.
	document.write ('<img src="../images/sidemenu-bot.gif" width=150 height=10 border=0>');
	document.write ('<br><img src="../images/spacer.gif" width=10 height=10 border=0>');
}

//*----------------------------------------------
//*   WHYUS  - NOT USED
	pref="whyus-"; 
//*----------------------------------------------
 
if (thefile.substring(0,"whyus-".length) == "whyusxxx-")	{
with(milonic=new menuname("SideMenu")){
style=sideMenuStyle;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";	
    document.write ('<img src="../images/sidemenu-top.gif" width=150 height=10 border=0>');
  	aI("text=<b>Why MotoRescue</b>;url=" + pref + "intro" + lang );
    aI("text=Testimonials;url=" + pref + "testimonials" + lang );
	} 
	drawMenus(); //* This is required for the following statement.
	document.write ('<img src="../images/sidemenu-bot.gif" width=150 height=10 border=0>');
	document.write ('<br><img src="../images/spacer.gif" width=10 height=10 border=0>');
}

//*----------------------------------------------
//*  XMAS GIFT
//*----------------------------------------------
 
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT;itemwidth=150;	alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=30 border=0>');
//	aI("text=<font size=2><b>Christmas /<br>Holiday Season?</font></b>;type=header;align=center;headercolor=#FFFFFF;headerbgcolor=#FF0000;");	
//	aI("text=A <b>MotoRescue Membership Card</b> giving <i>Peace of Mind</i> in the upcoming riding season is the <b>best gift</b> of all.;type=header;headercolor=#FF0000;headerbgcolor=#F9EEB9;align=center;");
}
 drawMenus(); 
 
 //* FIRE FOX 
	map_tl_v  = -350;
	map_tl_h  = -190;
 	

//* INTERNET EXPLORER
if (ie55) {
	map_tl_v  = 80;
	map_tl_h  = 20;	 	
}
 
//*----------------------------------------------
//*  RIDE FOR SIGHT
//*----------------------------------------------
with(milonic=new menuname("RIDEFORSIGHT")){
style=menuStylePOPUP; itemwidth=210; top=map_tl_v; left=map_tl_h;
aI("text=<b>Want to Support the<br>Ride for Sight?</b>;type=header;align=center;");
aI("text=Click the logo, then come back to us from our sponsor link on <i>Ride&nbsp;for&nbsp;Sight</i>. When you sign up, we will donate $10 on your behalf.");
}
 
//*----------------------------------------------
//*  BANNER ADS 
//*---------------------------------------------- 
 
	with(milonic=new menuname("SideMenu")){	
  	style=menuStyleALT; itemwidth=160; alwaysvisible=1; orientation="vertical"; position="relative";	
	//* this spacer will put some vertical space between above side menus/		
	document.write (' <img src="../images/spacer.gif" width=4 height=8 border=0><br>'); 
// 	document.write ('<div class="TextSmallGRAY"><a href=#; onMouseOver="popup(\'RIDEFORSIGHT\',\'RIDEFORSIGHT\')" onMouseOut="popdown()"><span id="RIDEFORSIGHT">Support the Ride for Sight.</span></a></div>'); 
 	
// 	document.write ('<div class="TextSmallGRAY">Support the Ride for Sight.</div>'); 
//	document.write ('<a href="http://rideforsight.com/" target="_blank" class="img"><img src="../images/logo-rideforsight-160x134.gif" alt="Ride for Sight - Motorcyclist Fighting Blindness" width="160" height="134" border="0"></a>');
//	document.write ('<div class="TextSmallGRAY"><a href=#; onMouseOver="popup(\'RIDEFORSIGHT\',\'RIDEFORSIGHT\')" onMouseOut="popdown()"><span id="RIDEFORSIGHT">Support the Ride for Sight</span></a></div>'); 	
//	document.write ('<br><hr>'); 


//    document.write (' <img src="../images/spacer.gif" width=4 height=4 border=0><br>'); 
    
//	document.write ('<div class="TextSmallGRAY">Memberships Available at All<br>Participating Dealers or Online</div>'); 	
//	document.write ('<br><img src="../images/spacer.gif" width=4 height=6 border=0>'); 
//	document.write ('<img src="../images/x-participating-dealers-160x60.gif" alt="Participating Dealers" width="160" height="60" border="0">');
//	document.write ('<div class="TextSmallGRAY">Memberships Available at All<br>Participating Dealers or Online</div>'); 	
/*-----------------------	
	document.write ('<br><img src="../images/spacer.gif" width=4 height=1 border=0><p>'); 
	document.write ('<a href="http://kahunapowersports.com/" target="_blank" class="img"><img src="../images/x-kahuna-160x60.gif" alt="Kahuna Power Sports" width="160" height="60" border="0"></a>');		
 -------------------*/	
			
	} 

 drawMenus(); 
  