//
//
//                                          IF YOU SEE THIS PAGE, PRESS YOUR "BACK" BUTTON
//
//

var lastupdate = "July 14, 2009";
var windowstatus = 0;

var version;
var browserName;
var browserVer;
var browComp;
var crossroadslink, crossroadpages;

var docloc = location.hostname;

function onLoad() {

	browserName = navigator.appName;
	browserVer = parseInt(navigator.appVersion);

	userAgent = navigator.userAgent;
	start = userAgent.indexOf("(");
	end = userAgent.indexOf(";");
	platform= userAgent.substring(start +1,end);  

	if (browserName == "Netscape" && browserVer >= 3) version = "n3";
		else version = "n2";
	if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "n3";
	if (browserName == "Netscape") browComp = "N";
		else browComp = "IE";
	if(docloc == "www.alldrivecanada.com") {
		crossroadslink = "www.crossroadsholidays.com";
	} else {
		crossroadslink = "www.crossroadsvacations.com";
	}
	OutputBase();
		
}

onLoad();

// generic object maker prepares an empty array of n items

function MakeArray(n) {
	this.length = n
	for(var i=1; i<=n; i++) {
		this[i] = 0
	}
	return this
}

function ratearray(itag,link,
	descript1, descript2, descript3, roof,fresh,hot,flush,waste,fridge,stove,oven,furnace,convertor,battery,
	sunweek,sunday,superweek,superday,econweek,econday,holiweek,holiday) {
this.itag=itag;
this.link=link;
this.descript1=descript1;
this.descript2=descript2;
this.descript3=descript3;
this.roof=roof;
this.fresh=fresh;
this.hot=hot;
this.flush=flush;
this.waste=waste;
this.fridge=fridge;
this.stove=stove;
this.oven=oven;
this.furnace=furnace;
this.convertor=convertor;
this.battery=battery;
this.sunweek=sunweek;
this.sunday=sunday;
this.superweek=superweek;
this.superday=superday;
this.econweek=econweek;
this.econday=econday;
this.holiweek=holiweek;
this.holiday=holiday;
}

function linksarray(link,menu, descript, indexvar) {
	this.link = link;
	this.menu = menu;
	this.descript=descript;
	this.indexvar=indexvar;
}

function quickarray(link, descript) {
	this.link = link;
	this.descript=descript;
}


// ***************************************************************************************
//									ShowDescription
// ***************************************************************************************

function ShowDescription(index) {

if(index==0) {
  document.forms[0].ta.value="BOOK YOUR 2009/2010 HOLIDAY NOW";
  return;
}
document.forms[0].ta.value=linksmenu[index].descript;
}

// ***************************************************************************************
//									activate functions
// ***************************************************************************************

function activategen(imgName) {
	if(version == "n3") {
		if ( eval(imgName + "_on.complete")) {
			document.images[imgName].src = eval(imgName+"_on.src");
		}
	}
} 

function deactivategen(imgName) {
	if(version == "n3") {
		if ( eval(imgName + "_off.complete")) {
			document.images[imgName].src = eval(imgName+"_off.src");
		}
	}
} 

// ***************************************************************************************
//									Load Image Objects
// ***************************************************************************************

if(version == "n3") {
	var homebut0_off = new Image();
	homebut0_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/homebut.gif";
	var homebut0_on = new Image();
	homebut0_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/homeon.gif";

	var quotebut0_off = new Image();
	quotebut0_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/quotebut.gif";
	var quotebut0_on = new Image();
	quotebut0_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/quoteon.gif";

	var emailbut0_off = new Image();
	emailbut0_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/emailbut.gif";
	var emailbut0_on = new Image();
	emailbut0_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/emailon.gif";

	var reservebut0_off = new Image();
	reservebut0_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/reservebut.gif";
	var reservebut0_on = new Image();
	reservebut0_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/reserveon.gif";

	var homebut1_off = new Image();
	homebut1_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/homebut.gif";
	var homebut1_on = new Image();
	homebut1_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/homeon.gif";

	var quotebut1_off = new Image();
	quotebut1_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/quotebut.gif";
	var quotebut1_on = new Image();
	quotebut1_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/quoteon.gif";

	var quote2001_off = new Image();
	quote2001_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/2001but.gif";
	var quote2001_on = new Image();
	quote2001_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/2001on.gif";

	var emailbut1_off = new Image();
	emailbut1_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/emailbut.gif";
	var emailbut1_on = new Image();
	emailbut1_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/emailon.gif";
	
	var reservebut1_off = new Image();
	reservebut1_off.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/reservebut.gif";
	var reservebut1_on = new Image();
	reservebut1_on.src = "http://www.alldrive.com/alldrivegraphics/navbuttons/reserveon.gif";
}

// ***************************************************************************************
//									Output Base
// ***************************************************************************************

function OutputBase() {
	var content="";
	content += "<BASE HREF=\"http://www.canadawinter.com/\">";
	return(content);
}




// ***************************************************************************************
//									CreateRedButtons
// ***************************************************************************************

function CreateRedButtons(index) {
	var content="";

		content += "<table WIDTH=\"100%\" COLS=\"3\">\n<tr>\n";
		content += "<td ALIGN=\"RIGHT\"><A HREF=\"http://www.alldrive.com/2009/welcome.php\" ";
		content += "onMouseOver=\"activategen('homebut"+index+"')\"";
		content += "onMouseOut =\"deactivategen('homebut"+index+"')\">";
		content += "<IMG SRC=\"http://www.alldrive.com/alldrivegraphics/navbuttons/homebut.gif\" ";
		content += "WIDTH=\"122\" HEIGHT=\"35\" BORDER=\"0\" ALT=\"Home Page\" ";
		content += "NAME=\"homebut"+index+"\">";
		content += "<\/A><\/td>";
		content += "\n<td ALIGN=\"RIGHT\"><A HREF=\"http://www.alldrive.com/2009/quote.php\" ";
		content += "onMouseOver=\"activategen('quotebut"+index+"')\"";
		content += "onMouseOut =\"deactivategen('quotebut"+index+"')\">\n";
		content += "<IMG SRC=\"http://www.alldrive.com/alldrivegraphics/navbuttons/quotebut.gif\" ";
		content += "WIDTH=\"122\" HEIGHT=\"35\" BORDER=\"0\" ALT=\"Quote in your currency\" ";
		content += "NAME=\"quotebut"+index+"\">";
		content += "<\/A><\/td>\n";
		if( docloc == "www.alldrivecanada.com" ) {
content += "<td ALIGN=\"RIGHT\"><A HREF=\"mailto:sales@alldrivecanada.com\" ";
		} else {
content += "<td ALIGN=\"RIGHT\"><A HREF=\"mailto:sales@alldrive.com\" ";
		}
		content += "onMouseOver=\"activategen('emailbut"+index+"')\"";
		content += "onMouseOut =\"deactivategen('emailbut"+index+"')\">\n";
		content += "<IMG SRC=\"http://www.alldrive.com/alldrivegraphics/navbuttons/emailbut.gif\" ";
		content += "WIDTH=\"122\" HEIGHT=\"35\" BORDER=\"0\" ALT=\"Email Us\" ";
		content += "NAME=\"emailbut"+index+"\">\n";
		content += "<\/A><\/td>\n";
		content += "<\/tr><\/table>\n";
	return(content);
}


// ***************************************************************************************
//									CreateFooter
// ***************************************************************************************

function CreateFooter(update) {

	var content="";
	var docloc = location.hostname;

	content +="<P CLASS=\"Type1\">Wir sprechen Deutsch! Selbstverstaendlich koennen Sie Fragen ";
	content +="Reservierung in Deutsch abwickeln!<\/P>";

	content +="<A name=\"address-box\"><\/A><HR>";
	content += unescape("%0D");
	content +="<CENTER><TABLE cols=\"2\" width=\"75%\" align=\"CENTER\"  border=\"2\" BGCOLOR=\"#FFD78F\">";
	content += "<TR>";
	content += "<TD CLASS=\"Location\" width=\"50%\">";

	content += "<STRONG>Administration and Reservations<BR>";
	content += "for Vancouver and Calgary<\/STRONG><BR>";

	content += "1908 10th Ave. S.W.<br>";
	content += "Calgary, Alberta, Canada<BR>";
	content += "T3C 0J8<BR>";
	content += "<BR>";
	content += "Tel: 1-403-245-2935 <BR>";
	content += "Fax: 1-403-245-2959 <BR>";
	content += "<A HREF=\"http://www.alldrive.com/2009/locations.php\" CLASS=\"Regular\">Rental Centre Information and Location Maps";
	content += "<\/A>";
	content += "<\/td>";
	content += unescape("%0D");
	content += "<TD CLASS=\"Location\">";
	content += "<B>UK Representative<\/B><BR>";
	content += "David Chadburn<BR>";
	content += "28 Haynes Avenue<BR>";
	content += "Trowell, Nottingham UK<BR>";
	content += "NG9 3NY<BR>";
	content += "<BR>";
	content += "Tel: 0115 930 3136<BR>";
	content += "Fax: 0115 944 0889<BR>";
	content += "<\/td>";
	content += "<\/tr><tr>";
	content += unescape("%0D");
	content += "<td CLASS=\"Location\" COLSPAN=\"2\">";

	content += "Toll Free (US and Canada Only)<BR>";
	content += "1-888-RENTRVS<BR>";
	content += "(1-888-736-8787)<BR><BR>";
	if( docloc == "www.alldrivecanada.com" ) {
		content += "Email: <A HREF=\"mailto:sales@alldrivecanada.com\" CLASS=\"Regular\">sales@alldrivecanada.com<\/A><BR>";
		content += "Web: <A HREF=\"http://www.alldrivecanada.com\" CLASS=\"Regular\"> www.alldrivecanada.com<\/A><BR><\/td>";
	} else {
		content += "Email: <A HREF=\"mailto:sales@alldrive.com\" CLASS=\"Regular\">sales@alldrive.com<\/A><BR>";
		content += "Web: <A HREF=\"http://www.canadawinter.com\" CLASS=\"Regular\"> www.canadawinter.com<\/A><BR><\/td>";
	}
	content += "<\/TD><\/tr><\/TABLE><\/CENTER><BR>";
	return(content);
}

// ***************************************************************************************
//									CreateFooter2
// ***************************************************************************************

function CreateFooter2(update) {

	var content="";
	
	content += unescape("%0D");
//	content += "<font SIZE=\"-2\">(Local Time in Calgary = <img src=\"http://www.alldrive.com/cgi-bin/Count.cgi?display=clock&timezone=GMT-0600&ft=0&dd=E\" align=absmiddle>, less one hour for Vancouver)<BR>";

//	content += "(Local Date in Calgary = <img src=\"http://www.alldrive.com//cgi-bin/Count.cgi?display=date&timezone=GMT-0600&ft=0&dd=E\" align=absmiddle>)<BR><\/FONT>";
	content += CreateRedButtons(1);
//	content += CreateQuickLink("Footer");
//	content += unescape("%0D");
//	content += "<P><FONT SIZE=-2>Page created by ";
//	content += "<A HREF=\"http://www.alldrive.com/streamline\" ";
//	content += "TARGET=\"_top\" CLASS=\"Regular\"> Streamline Web Designs<\/A><BR>";
	var theMonth = update.getMonth() + 1;
	var theDate = update.getDate();
	var theYear = update.getYear();
	if(browserName == "Netscape") {
		content +="<I>Page last updated: " + lastupdate;
	} else {
		content +="<I>Page last updated: " + theMonth + "/" + theDate + "/" + theYear + "<\/I>";
	}

	content += "<\/FONT>";
	return(content);
}
linksmenu = new MakeArray(40)

linksmenu[1] = new linksarray("welcome.htm", "HOME PAGE", "Winter Home Page","1")
linksmenu[2] = new linksarray("http://www.alldrive.com/2009/quote.php", "ONLINE QUOTE", "Enter your holiday details and receive an instant quote","2")
linksmenu[3] = new linksarray("winteractivities.htm", "ACTIVITIES", "View popular winter activities","3")
linksmenu[4] = new linksarray("wintercampwheels.htm", "CAMPWHEELS", "Our Winter CampWheels","4")
linksmenu[5] = new linksarray("winterskiwheels.htm", "SKIWHEELS", "Our Winter SkiWheels","5")
linksmenu[6] = new linksarray("boatbike.htm", "BOATS,BIKES", "Compliment your holiday with a Boat, Bike, or our Convenience Kits","6")
linksmenu[7] = new linksarray("extras.htm", "EXTRAS", "Extra Charges","7")
linksmenu[8] = new linksarray("discount.htm", "SPECIALS", "This page highlights Special Discounts we are offering","8")
linksmenu[9] = new linksarray("about.htm", "ABOUT US", "Find out more information on who we are","9")
linksmenu[10] = new linksarray("locations.htm", "LOCATIONS", "Maps of our rental locations along with links and weather","10")
linksmenu[11] = new linksarray("termcond.htm", "TERMS AND CONDITIONS", "Please read our Terms and Conditions prior to reserving","11")
linksmenu[12] = new linksarray("kitpage.htm", "EQUIPMENT<BR> LIST", "View a list of  what we include","12")
linksmenu[13] = new linksarray("itinerary.htm", "ITINERARY", "View a map of roads in Western Canada, along with distances","13")
linksmenu[14] = new linksarray("http://www.alldrivesales.com", "VEHICLE<BR> SALES", "Interested in buying an RV, view a sample of our vehicles","14")
linksmenu[15] = new linksarray("travelagent.htm", "TRAVEL<BR> AGENTS", "Travel Agents can register with us on this page","15")
linksmenu[16] = new linksarray("http://www.alldrive.com/streamline", "WEBMASTER", "Like our website ?? Check out our webmasters website","16")
linksmenu[17] = new linksarray("http://www.alldrive.com/2009/virtual.php", "VIRTUAL TOUR", "View a 360 degree image of our 28ft Class A","17")
linksmenu[18] = new linksarray("mailto:sales@alldrive.com", "EMAIL US", "Send us an email requesting brochures and other information","18")
linksmenu[19] = new linksarray("http://www.alldrive.com/2009/motorhome-camper-rv-rental-map.php", "SITE MAP", "Our site map will give you quick access to all our pages","19")
linksmenu[20] = new linksarray("faq.htm", "QUESTIONS", "We answer your more commonly asked questions","20")
linksmenu[21] = new linksarray("http://"+crossroadslink, "TRAVEL &<BR> TOURS", "This website will identify popular places to visit","21")
linksmenu[22] = new linksarray("http://"+crossroadslink+"/ranch.htm", "RANCH<BR> HOLIDAYS", "We can organize a night on a working ranch","xx")
linksmenu[23] = new linksarray("http://www.alldrive.com/2009/welcome.php", "SUMMER WHEELS", "Alldrive's Summer Wheels","23")
// linksmenu[xx] = new linksarray("specs.htm", "VEHICLE SPECS", "Compare Vehicle Specifications","xx")

// ***************************************************************************************
//									CreateMenu
// ***************************************************************************************

function Menu2002() {

var content="";
var i=0;

	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\" STYLE=\"\" WIDTH=\"130\"> \n";
	content += "<tr><td CLASS=\"MenuHeading\" ><A HREF=\"welcome.htm\" ONMOUSEOVER=\"ShowDescription(1)\" ONMOUSEOUT=\"ShowDescription(0)\" CLASS=\"AMenuHeading\">HOME PAGE<\/A><BR><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/bar.gif\" WIDTH=\"90\" HEIGHT=\"2\" BORDER=\"0\"><\/td><\/tr> \n";
	content += "<tr><td CLASS=\"MenuHeading\"><A HREF=\"http://www.alldrive.com/2009/quote.php\" ONMOUSEOVER=\"ShowDescription(2)\" ONMOUSEOUT=\"ShowDescription(0)\" CLASS=\"AMenuHeading\" >ONLINE QUOTE<\/A><BR><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/bar.gif\" WIDTH=\"90\" HEIGHT=\"2\" BORDER=\"0\"><\/td><\/tr> \n";
	content += "<tr><td CLASS=\"MenuHeading\"><A HREF=\"mailto:sales@alldrive.com\" ONMOUSEOVER=\"ShowDescription(18)\" ONMOUSEOUT=\"ShowDescription(0)\" CLASS=\"AMenuHeading\">EMAIL US<\/A><BR><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/bar.gif\" WIDTH=\"90\" HEIGHT=\"2\" BORDER=\"0\"><\/td><\/tr> \n";
	content += "<tr><td CLASS=\"MenuHeading\"><A HREF=\"http://www.alldrive.com/2009/quote.php\" ONMOUSEOVER=\"ShowDescription(23)\" ONMOUSEOUT=\"ShowDescription(0)\" CLASS=\"AMenuHeading\">SUMMER WHEELS<\/A><BR><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/bar.gif\" WIDTH=\"90\" HEIGHT=\"2\" BORDER=\"0\"><\/td><\/tr> \n";
	for(i=3; i<=22;i++) {
		content +=CreateMenuItem(i);
	}
	content += "<\/table>";
return(content);
}

// ***************************************************************************************
//									CreateMenuItem
// ***************************************************************************************

function CreateMenuItem(index) {

var content="";
content += "<tr><td CLASS=\"MenuItem\"><A HREF=\" "+linksmenu[index].link+" \" ONMOUSEOVER=\"ShowDescription("+index+")\" ONMOUSEOUT=\"ShowDescription(0)\" CLASS=\"AMenuItem\">"+linksmenu[index].menu+"<\/A><BR><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/bar.gif\" WIDTH=\"90\" HEIGHT=\"2\" BORDER=\"0\"><\/td><\/tr> \n";

return(content);
}

quicklink = new MakeArray(40)

quicklink[1] = new quickarray("welcome.htm", "Home Page");
quicklink[2] = new quickarray("http://www.alldrive.com/2009/quote.php", "Instant Quote/ Reservation");
quicklink[3] = new quickarray("quote1.htm", "Retrieve a Quote");
quicklink[4] = new quickarray("v-mh34.htm", "Motorhome - 34'");
quicklink[5] = new quickarray("v-mh30.htm", "Motorhome - 30'");
quicklink[6] = new quickarray("v-mh28.htm", "Motorhome - 28'");
quicklink[7] = new quickarray("v-mh24.htm", "Motorhome - 24'");
quicklink[8] = new quickarray("v-trailer-d.htm", "Trailerhome - Deluxe");
quicklink[9] = new quickarray("v-trailer-s.htm", "Trailerhome - Touring");
quicklink[10] = new quickarray("v-5th-l.htm", "Trailerhome - Luxury 5th Wheel");
quicklink[11] = new quickarray("v-camper-d.htm", "Camperhome Deluxe");
quicklink[12] = new quickarray("v-vanconvn.htm", "Deluxe Van Camper");
quicklink[13] = new quickarray("v-suburban.htm", "All Wheel Drive Suburban");
quicklink[14] = new quickarray("v-astro.htm", "All Wheel Drive Astro Van");
quicklink[15] = new quickarray("v-luxury-pu.htm", "All Wheel Drive Luxury Pickup");
quicklink[16] = new quickarray("v-minivan.htm", "All Wheel Drive Minivan");
quicklink[17] = new quickarray("wintercampwheels.htm", "Winter Camp Wheels");
quicklink[18] = new quickarray("winterskiwheels.htm", "Winter Ski Wheels");
quicklink[19] = new quickarray("winteractivities.htm", "Winter Activities");
quicklink[20] = new quickarray("discount.htm", "Special Offers");
quicklink[21] = new quickarray("termcond.htm", "Terms & Conditions");
quicklink[22] = new quickarray("http://www.alldrive.com/purchase.htm", "Vehicle Purchase Program");
quicklink[23] = new quickarray("faq.htm", "Common Questions");
quicklink[24] = new quickarray("boatbike.htm", "Accessories");
quicklink[25] = new quickarray("kitpage.htm", "Vehicle & Convenience Kits");
quicklink[26] = new quickarray("extras.htm", "Extra Charges");
quicklink[27] = new quickarray("loc-calgary.htm", "Calgary Location");
quicklink[28] = new quickarray("loc-vancouver.htm", "Vancouver Location");
quicklink[29] = new quickarray("travelagent.htm", "Travel Agent Enquiries");
quicklink[30] = new quickarray("itinerary.htm", "Itinerary Planning");

// ***************************************************************************************
//									CreateQuickLink
// ***************************************************************************************


function CreateQuickLink(formname) {

    var content = "";
    content += "<FORM NAME=\""+formname+"\"><SELECT NAME=\"QuickLinks\" onChange=\"javascript:JumpQuickLink(this.form)\">\n";
    content += "<OPTION VALUE=\" \">QUICK LINK LIST\n";
    for(var i=1; i<31; i++) {
        content+="<OPTION VALUE=\""+quicklink[i].link+"\">"+quicklink[i].descript+"\n";    }
    content += "<\/SELECT><\/FORM>";
    return(content);
}

function JumpQuickLink(form) {

    window.document.location = form.QuickLinks.options[form.QuickLinks.selectedIndex].value;
    
}
// ***************************************************************************************
//									CreateLogo
// ***************************************************************************************

function CreateLogo() {

var content="";

	content += "<tr><td  ALIGN=\"CENTER\" WIDTH=\"274\" VALIGN=\"TOP\"><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/logos_etc/Logo2003.gif\" WIDTH=\"300\" HEIGHT=\"106\" BORDER=\"0\"><BR>";
	content += "<\/td> \n";
	content += "<td ALIGN=\"CENTER\">\n";
	content += "<A HREF=\"http://www.alldrive.com/2009/quote.php\" ";
	content += "onMouseOver=\"activategen('quotebut0')\"";
	content += "onMouseOut =\"deactivategen('quotebut0')\">";
	content += "<IMG SRC=\"http://www.alldrive.com/alldrivegraphics/navbuttons/quotebut.gif\" ";
	content += "WIDTH=\"122\" HEIGHT=\"35\" BORDER=\"0\" ALT=\"Quote in your currency\" ";
	content += "NAME=\"quotebut0\">";
	content += "<\/A><BR>\n";
	content += "<FONT FACE=\"Arial\" SIZE=\"+1\" COLOR=\"#CC0000\">WINTER 2009/2010 PROGRAM<\/FONT><\/td> \n";
	content += "<td ALIGN=\"CENTER\"><IMG SRC=\"http://www.alldrive.com/alldrivegraphics/faraci/newaddress.gif\" WIDTH=\"210\"  \n";
	content += "HEIGHT=\"95\" BORDER=\"0\"  \n";
	content += "ALT=\"Camper, Motorhome & RV Rentals in Calgary, Vancouver Canada 1-888-736-8787\"><\/td> \n";
	content += "<\/tr><tr> \n";
	content += "<td colspan=\"3\" ALIGN=\"RIGHT\"><A HREF=\"http://www.alldrive.com/2009/quote.php\" class=\"Regular\"";
	content += "ONMOUSEOVER=\"ShowDescription(2)\" ONMOUSEOUT=\"ShowDescription(0)\" ><FONT FACE=\"Arial\" SIZE=\"+1\">GET AN INSTANT PRICE IN YOUR CURRENCY<\/FONT><\/A><\/td> \n";

//	content += "<td CLASS=\"MenuItem\" WIDTH=\"33%\"><A HREF=\"rates.htm#camping\"  \n";
//	content += "ONMOUSEOVER=\"ShowDescription(19)\" ONMOUSEOUT=\"ShowDescription(0)\">CAMPING WHEELS<\/A><\/td> \n";
//	content += "<td CLASS=\"MenuItem\" WIDTH=\"33%\"><A HREF=\"rates.htm#touring\"  \n";
//	content += "ONMOUSEOVER=\"ShowDescription(20)\" ONMOUSEOUT=\"ShowDescription(0)\">TOURING WHEELS<\/A><\/td> \n";
//	content += "<td CLASS=\"MenuItem\"><A HREF=\"rates.htm#winter\"  \n";
//	content += "ONMOUSEOVER=\"ShowDescription(21)\" ONMOUSEOUT=\"ShowDescription(0)\">WINTER WHEELS<\/A><\/td> \n";
	content += "<\/tr> \n";
	return(content);
}


mv=1,suv=2,cc4x4=3,tc=4,dc=5,lc=6,cvc=7,dv=8;
ctt=9,c5tt=10,stt=11,s5tt=12,dtt=13,d5tt=14,ltt=15,l5tt=16;
mh22=17,mh24=18,mh28=19,mh30=20,mh34=21;

ratetable = new MakeArray(22)

ratetable[mv] = new ratearray("mv","v-minivan.htm",
	"All Wheel Drive Van", "(Seats 7)","",
	"0","0","0","0","0","0","0","0","0","0","0",
	"410","53","520","68","745","89","835","99")
	
ratetable[suv] = new ratearray("suv","v-suv.htm",
	"Sport Utility Vehicle", "(Seats up to 8)","",
	"0","0","0","0","0","0","0","0","0","0","0",
	"485","65","610","80","855","110","1035","131")
	
ratetable[cc4x4] = new ratearray("cc4x4","v-pickup.htm",
	"4x4 Crew Cab Truck", "(Seats up to 6)","Canopy",
	"0","0","0","0","0","0","0","0","0","0","0",
	"410","53","520","68","745","89","835","99")
	
ratetable[tc] = new ratearray("tc","v-camper-t.htm",
	"Touring Camperhome", "(Sleeps 2 Adults)","",
	"0","1","1","1","1","1","1","0","1","1","1",
	"410","53","520","68","745","89","835","99")
	
ratetable[dc] = new ratearray("dc","v-camper-d.htm",
	"Deluxe Camperhome", "(Sleeps 2 Adults,1 Child)","",
	"0","1","1","1","1","1","1","1","1","1","1",
	"485","65","610","80","855","110","1035","131")
	
ratetable[lc] = new ratearray("lc","v-camper-l.htm",
	"Luxury Camperhome", "(Sleeps 2 Adults,1 Child)","",
	"0","1","1","1","1","1","1","1","1","1","1",
	"545","75","730","95","960","120","1135","145")
	
ratetable[cvc] = new ratearray("cvc","v-vancamperc.htm",
	"Compact Van Camper", "(Sleeps 2 Adults,1 Child)","",
	"0","1","1","1","1","1","1","1","1","1","1",
	"485","65","610","80","855","110","1035","131")
	
ratetable[dv] = new ratearray("dv","v-vancamperd.htm",
	"Deluxe Van Camper", "(Sleeps 2 Adults)","",
	"1","1","1","1","1","1","1","1","1","1","1",
	"545","75","730","95","960","120","1135","145")
	
ratetable[ctt] = new ratearray("ctt","v-trailer-c.htm",
	"Compact Trailerhome:Trailer", "(Sleeps 4)","Crew Cab Truck",
	"0","1","1","1","1","1","1","0","1","1","1",
	"645","90","865","110","1095","145","1335","175")
	
ratetable[c5tt] = new ratearray("c5tt","v-5th-c.htm",
	"Compact Trailerhome:5th Wheel", "(Sleeps 4)","Crew Cab Truck",
	"0","1","1","1","1","1","1","0","1","1","1",
	"645","90","865","110","1095","145","1335","175")
	
ratetable[stt] = new ratearray("stt","v-trailer-t.htm",
	"Touring Trailerhome:Trailer", "(Sleeps 5/6)","Crew Cab Truck",
	"0","1","1","1","1","1","1","1","1","1","1",
	"750","105","960","130","1200","170","1525","205")
	
ratetable[s5tt] = new ratearray("s5tt","v-5th-t.htm",
	"Touring Trailerhome:5th Wheel", "(Sleeps 5/6)","Crew Cab Truck",
	"0","1","1","1","1","1","1","1","1","1","1",
	"750","105","960","130","1200","170","1525","205")
	
ratetable[dtt] = new ratearray("dtt","v-trailer-d.htm",
	"Deluxe Trailerhome:Trailer", "(Sleeps 6) Slide Out.","Crew Cab Truck",
	"1","1","1","1","1","1","1","1","1","1","1",
	"840","126","1085","145","1340","185","1800","245")
	
ratetable[d5tt] = new ratearray("d5tt","v-5th-d.htm",
	"Deluxe Trailerhome:5th Wheel", "(Sleeps 6) Slide Out.","Crew Cab Truck",
	"1","1","1","1","1","1","1","1","1","1","1",
	"840","126","1085","145","1340","185","1800","245")
	
ratetable[ltt] = new ratearray("ltt","v-trailer-l.htm",
	"Luxury Trailerhome:Trailer", "(Sleeps 6) 30-32' Slide Out.","Crew Cab Truck",
	"1","1","1","1","1","1","1","1","1","1","1",
	"1185","185","1445","200","1585","225","2095","285")

ratetable[l5tt] = new ratearray("l5tt","v-5th-l.htm",
	"Luxury Trailerhome: 5th Wheel", "(Sleeps 6) 30-32' Slide Out.","Crew Cab Truck",
	"1","1","1","1","1","1","1","1","1","1","1",
	"1185","185","1445","200","1585","225","2095","285")

ratetable[mh22] = new ratearray("mh22","v-mh22.htm",
	"Compact Motorhome Class C", "(Sleeps 4/5)","22-23 foot",
	"1","1","1","1","1","1","1","1","1","1","1",
	"645","90","865","110","1095","145","1335","175")
	
ratetable[mh24] = new ratearray("mh24","v-mh24.htm",
	"Touring Motorhome Class C", "(Sleeps 4/5)","24-26 foot",
	"1","1","1","1","1","1","1","1","1","1","1",
	"750","105","960","130","1200","170","1525","205")
	
ratetable[mh28] = new ratearray("mh28","v-mh28.htm",
	"Deluxe Motorhome Class C", "(Sleeps 6)","28-30 foot.",
	"1","1","1","1","1","1","1","1","1","1","1",
	"840","126","1085","145","1340","185","1800","245")
	
ratetable[mh30] = new ratearray("mh30","v-mh30.htm",
	"Deluxe Motorhome Class A", "(Sleeps 6)","30-32 foot",
	"1","1","1","1","1","1","1","1","1","1","1",
	"1185","185","1445","200","1585","225","2095","285")

ratetable[mh34] = new ratearray("mh34","v-mh34.htm",
	"Luxury Motorhome Class A", "(Sleeps 4-6) Slide Out.","34-36 foot",
	"1","1","1","1","1","1","1","1","1","1","1",
	"1350","205","1800","240","1910","275","2450","345")


//***************************************************************************************
//		Do New	
// ***************************************************************************************

function doNew(url) {
var fullurl = "http://www.alldrive.com/"+ url;
var 	myWind = window.open(fullurl,"","height=600,width=750,scrollbars");
	myWind.picktype = self.picktype;
	myWind.creator = self.creator;
//	self.close();
}

if(version == "n3") {

	var image_off = new Image();
	image_off.src = "http://www.alldrive.com/alldrivegraphics/rates2003/ratebackoff.gif";
	var image_on = new Image();
	image_on.src = "http://www.alldrive.com/alldrivegraphics/rates2003/ratebackon.gif";
	
	var mv_off = new Image();
	mv_off.src = image_off.src;
	var mv_on = new Image();
	mv_on.src = image_on.src;
	
	var suv_off = new Image();
	suv_off.src = image_off.src;
	var suv_on = new Image();
	suv_on.src = image_on.src;
	
	var cc4x4_off = new Image();
	cc4x4_off.src = image_off.src;
	var cc4x4_on = new Image();
	cc4x4_on.src = image_on.src;
	
	var tc_off = new Image();
	tc_off.src = image_off.src;
	var tc_on = new Image();
	tc_on.src = image_on.src;
	
	var dc_off = new Image();
	dc_off.src = image_off.src;
	var dc_on = new Image();
	dc_on.src = image_on.src;
	
	var lc_off = new Image();
	lc_off.src = image_off.src;
	var lc_on = new Image();
	lc_on.src = image_on.src;
	
	var cvc_off = new Image();
	cvc_off.src = image_off.src;
	var cvc_on = new Image();
	cvc_on.src = image_on.src;
	
	var dv_off = new Image();
	dv_off.src = image_off.src;
	var dv_on = new Image();
	dv_on.src = image_on.src;
	
	var ctt_off = new Image();
	ctt_off.src = image_off.src;
	var ctt_on = new Image();
	ctt_on.src = image_on.src;
	
	var c5tt_off = new Image();
	c5tt_off.src = image_off.src;
	var c5tt_on = new Image();
	c5tt_on.src = image_on.src;
	
	var stt_off = new Image();
	stt_off.src = image_off.src;
	var stt_on = new Image();
	stt_on.src = image_on.src;
	
	var s5tt_off = new Image();
	s5tt_off.src = image_off.src;
	var s5tt_on = new Image();
	s5tt_on.src = image_on.src;
	
	var dtt_off = new Image();
	dtt_off.src = image_off.src;
	var dtt_on = new Image();
	dtt_on.src = image_on.src;
	
	var d5tt_off = new Image();
	d5tt_off.src = image_off.src;
	var d5tt_on = new Image();
	d5tt_on.src = image_on.src;
	
	var ltt_off = new Image();
	ltt_off.src = image_off.src;
	var ltt_on = new Image();
	ltt_on.src = image_on.src;
	
	var l5tt_off = new Image();
	l5tt_off.src = image_off.src;
	var l5tt_on = new Image();
	l5tt_on.src = image_on.src;
	
	var mh22_off = new Image();
	mh22_off.src = image_off.src;
	var mh22_on = new Image();
	mh22_on.src = image_on.src;
	
	var mh24_off = new Image();
	mh24_off.src = image_off.src;
	var mh24_on = new Image();
	mh24_on.src = image_on.src;
	
	var mh28_off = new Image();
	mh28_off.src = image_off.src;
	var mh28_on = new Image();
	mh28_on.src = image_on.src;
	
	var mh30_off = new Image();
	mh30_off.src = image_off.src;
	var mh30_on = new Image();
	mh30_on.src = image_on.src;
	
	var mh34_off = new Image();
	mh34_off.src = image_off.src;
	var mh34_on = new Image();
	mh34_on.src = image_on.src;
}

function CreateRate(vehicle) {

	var content="";

	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"1\">"
	content += "<tr><td CLASS=\"Rate\" ONMOUSEOVER=\"activategen('"+ratetable[vehicle].itag+"')\" ONMOUSEOUT=\"deactivategen('"+ratetable[vehicle].itag+"')\" width=\"150\">"
	content += "<img src=\"http://www.alldrive.com/alldrivegraphics/menu/slug.gif\" width=\"150\" height=\"0\" border=\"0\"><BR><b><img ALIGN=\"left\" NAME=\""+ratetable[vehicle].itag+"\" "
	content += "src=\"http://www.alldrive.com/alldrivegraphics/rates2003/ratebackoff.gif\" width=\"20\" height=\"20\" border=\"0\">"
	content += "<a href=\"javascript:doNew('"+ratetable[vehicle].link+"')\">"+ratetable[vehicle].descript1;
	content += "</b><br>"+ratetable[vehicle].descript2+"<BR>"+ratetable[vehicle].descript3+"</a><br></td>";

	content += CreateSpec(ratetable[vehicle].roof,"Roof Air");
	content += CreateSpec(ratetable[vehicle].fresh,"Fresh Water Sink");
	content += CreateSpec(ratetable[vehicle].hot,"Hot Water Shower");
	content += CreateSpec(ratetable[vehicle].flush,"Flush Toilet");
	content += CreateSpec(ratetable[vehicle].waste,"Waste Water Tank");
	content += CreateSpec(ratetable[vehicle].fridge,"Refrigerator");
	content += CreateSpec(ratetable[vehicle].stove,"Stove");
	content += CreateSpec(ratetable[vehicle].oven,"Oven or Microwave");
	content += CreateSpec(ratetable[vehicle].furnace,"Furnace");
	content += CreateSpec(ratetable[vehicle].convertor,"Convertor");
	content += CreateSpec(ratetable[vehicle].battery,"Auxillary Battery");

	content += CreateRateCell(ratetable[vehicle].sunweek,ratetable[vehicle].sunday,ratetable[vehicle].link,ratetable[vehicle].itag);
	content += CreateRateCell(ratetable[vehicle].superweek,ratetable[vehicle].superday,ratetable[vehicle].link,ratetable[vehicle].itag);
	content += CreateRateCell(ratetable[vehicle].econweek,ratetable[vehicle].econday,ratetable[vehicle].link,ratetable[vehicle].itag);
	content += CreateRateCell(ratetable[vehicle].holiweek,ratetable[vehicle].holiday,ratetable[vehicle].link,ratetable[vehicle].itag);

	content += "</tr></table>";

return(content);
}
function CreateSpec(OnOff,descript) {

	var content="";
	content += "<td>";
	content += "<img src=\"http://www.alldrive.com/alldrivegraphics/rates2003/";
	if(OnOff==1) {
		content +="dot.jpg"
	} else {
		content += "nodot.jpg"
	}
	content += "\" width=\"20\" height=\"20\" border=\"0\" alt=\""+descript+"\"></td>";
	return(content);
}

function CreateRateCell(Week,Day,Link,Tag) {

	var content="";
	content += "<td CLASS=\"Rate\" onClick=\"javascript:doNew('"+Link+"')\"";
	content += "ONMOUSEOVER=\"activategen('"+Tag+"')\" ONMOUSEOUT=\"deactivategen('"+Tag+"')\">"
	content += "<table WIDTH=\"80\"><tr>"
	content += "<td CLASS=\"Rate\">$"+Week+"</td>";
	content += "<td CLASS=\"Rate\">$"+Day+"</td></tr></table></td>";
	return(content);
}

function CreateRateHeading() {

	var content="";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"1\"><tr height=\"0\">";
	content += "<TD width=\"150\"><img src=\"http://www.alldrive.com/alldrivegraphics/menu/slug.gif\" width=\"150\" height=\"0\" border=\"0\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"> </TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"20\"></TD>";
	content += "<TD width=\"80\"></TD>";
	content += "<TD width=\"80\"></TD>";
	content += "<TD width=\"80\"></TD>";
	content += "<TD width=\"80\"></TD>";
	content += "</TR><TR>";
	content += "<td WIDTH=\"150\" CLASS=\"Rate\">All trailerhomes and camperhomes include 4x4 crew cab pickup trucks, equiped with air conditioning, CD stereos, and power windows/locks.</td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/roofair.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/freshwater.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/hotwater.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/flushtoilet.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/wastewater.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/refrigerator.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/stove.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/oven.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/furnace.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/converter.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";
	content += "<td><img src=\"http://www.alldrive.com/alldrivegraphics/spectable/auxiliary.gif\" width=\"20\" height=\"200\" border=\"0\" alt=\"\"></td>";

	content += "<td VALIGN=\"bottom\" CLASS=\"Rate\" WIDTH=\"80\">";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" HEIGHT=\"200\" WIDTH=\"80\">";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\"><b>SunSeeker</b><BR><b>Season</b></td></tr>";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\">Nov 1/03 to<BR>May 15/04</td></tr>";
	content += "<tr><td VALIGN=\"bottom\" CLASS=\"Rate\"><table CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"80\"><tr><td CLASS=\"Rate\">Weekly</td><td CLASS=\"Rate\">Daily</td></tr></table></td>";
	content += "</tr></table></td>";

	content += "<td VALIGN=\"bottom\" CLASS=\"Rate\" WIDTH=\"80\">";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" HEIGHT=\"200\" WIDTH=\"80\">";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\"><b>SuperSaver</b><BR><b>Season</b></td></tr>";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\">May 16-Jun 11/04<BR>Sep 24-Oct 31/04</td></tr>";
	content += "<tr><td VALIGN=\"bottom\" CLASS=\"Rate\"><table CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"80\"><tr><td CLASS=\"Rate\">Weekly</td><td CLASS=\"Rate\">Daily</td></tr></table></td>";
	content += "</tr></table></td>";

	content += "<td VALIGN=\"bottom\" CLASS=\"Rate\" WIDTH=\"80\">";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" HEIGHT=\"200\" WIDTH=\"80\">";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\"><b>Economy</b><BR><b>Season</b></td></tr>";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\">Jun 12-28/04<BR>Aug 28-Sep 23/04</td></tr>";
	content += "<tr><td VALIGN=\"bottom\" CLASS=\"Rate\"><table CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"80\"><tr><td CLASS=\"Rate\">Weekly</td><td CLASS=\"Rate\">Daily</td></tr></table></td>";
	content += "</tr></table></td>";

	content += "<td VALIGN=\"bottom\" CLASS=\"Rate\" WIDTH=\"80\">";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" HEIGHT=\"200\" WIDTH=\"80\">";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\"><b>Holiday</b><BR><b>Season</b></td></tr>";
	content += "<tr><td HEIGHT=\"75\" VALIGN=\"middle\" CLASS=\"Rate\">Jun 29/04 to<BR>Aug 27/04</td></tr>";
	content += "<tr><td VALIGN=\"bottom\" CLASS=\"Rate\"><table CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"80\"><tr><td CLASS=\"Rate\">Weekly</td><td CLASS=\"Rate\">Daily</td></tr></table></td>";
	content += "</tr></table></td>";

	content += "</tr></table>";
	return (content);
}

function CreateRateFooter() {

	var content="";
	content += "<table CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"1\" width=\"693\"><tr>";
	content += "<td width=\"440\" CLASS=\"Rate\"><b>EXTRA KILOMETERS: 30 CENTS PER KM.<br>";
	content += "SPECIAL PACKAGES FOR PREPAID KILOMETERS:</b><br>";
	content += "Calculate the distance you plan to drive, then buy the kilometers in advance and save $$$";
	content += "  We recommend a minimum 1000 km per week of travel <BR>see <A CLASS=\"Regular\" HREF=\"extras.htm\">ADDITIONAL CHARGES </a> page.</td>";
	content += "<td width=\"250\" CLASS=\"Rate\"><b>BIKES EQUIPMENT, KITS. ACCESSORIES, etc.</B><br>";
	content += "- see <A CLASS=\"Regular\" HREF=\"boatbike.htm\"> ACCESSORIES </A> page</td>\n</tr></table>";
	return (content);
}
if(version == "n3") {

	var image_off = new Image();
	image_off.src = "http://www.alldrive.com/alldrivegraphics/menu/menuoff.gif";
	var image_on = new Image();
	image_on.src = "http://www.alldrive.com/alldrivegraphics/menu/menuon.gif";
	
	var QuoteMenu_off = new Image();
	QuoteMenu_off.src = image_off.src;
	var QuoteMenu_on = new Image();
	QuoteMenu_on.src = image_on.src;
	
	var RetrieveMenu_off = new Image();
	RetrieveMenu_off.src = image_off.src;
	var RetrieveMenu_on = new Image();
	RetrieveMenu_on.src = image_on.src;
	
	var ModifyMenu_off = new Image();
	ModifyMenu_off.src = image_off.src;
	var ModifyMenu_on = new Image();
	ModifyMenu_on.src = image_on.src;
	
	var FindMenu_off = new Image();
	FindMenu_off.src = image_off.src;
	var FindMenu_on = new Image();
	FindMenu_on.src = image_on.src;
	
	var ReserveMenu_off = new Image();
	ReserveMenu_off.src = image_off.src;
	var ReserveMenu_on = new Image();
	ReserveMenu_on.src = image_on.src;
	
	var CampMenu_off = new Image();
	CampMenu_off.src = image_off.src;
	var CampMenu_on = new Image();
	CampMenu_on.src = image_on.src;
	
	var SkiMenu_off = new Image();
	SkiMenu_off.src = image_off.src;
	var SkiMenu_on = new Image();
	SkiMenu_on.src = image_on.src;
	
	var SummerMenu_off = new Image();
	SummerMenu_off.src = image_off.src;
	var SummerMenu_on = new Image();
	SummerMenu_on.src = image_on.src;
	
	var EquipmentMenu_off = new Image();
	EquipmentMenu_off.src = image_off.src;
	var EquipmentMenu_on = new Image();
	EquipmentMenu_on.src = image_on.src;
	
	var BoatsBikesMenu_off = new Image();
	BoatsBikesMenu_off.src = image_off.src;
	var BoatsBikesMenu_on = new Image();
	BoatsBikesMenu_on.src = image_on.src;
	
	var AccessoriesMenu_off = new Image();
	AccessoriesMenu_off.src = image_off.src;
	var AccessoriesMenu_on = new Image();
	AccessoriesMenu_on.src = image_on.src;
	
	var ExtrasMenu_off = new Image();
	ExtrasMenu_off.src = image_off.src;
	var ExtrasMenu_on = new Image();
	ExtrasMenu_on.src = image_on.src;
	
	var ItineraryMenu_off = new Image();
	ItineraryMenu_off.src = image_off.src;
	var ItineraryMenu_on = new Image();
	ItineraryMenu_on.src = image_on.src;
	
	var DistanceChartMenu_off = new Image();
	DistanceChartMenu_off.src = image_off.src;
	var DistanceChartMenu_on = new Image();
	DistanceChartMenu_on.src = image_on.src;
	
	var TourTravelMenu_off = new Image();
	TourTravelMenu_off.src = image_off.src;
	var TourTravelMenu_on = new Image();
	TourTravelMenu_on.src = image_on.src;
	
	var RanchMenu_off = new Image();
	RanchMenu_off.src = image_off.src;
	var RanchMenu_on = new Image();
	RanchMenu_on.src = image_on.src;
	
	var PhotoMenu_off = new Image();
	PhotoMenu_off.src = image_off.src;
	var PhotoMenu_on = new Image();
	PhotoMenu_on.src = image_on.src;
	
	var CorporateMenu_off = new Image();
	CorporateMenu_off.src = image_off.src;
	var CorporateMenu_on = new Image();
	CorporateMenu_on.src = image_on.src;
	
	var EmailMenu_off = new Image();
	EmailMenu_off.src = image_off.src;
	var EmailMenu_on = new Image();
	EmailMenu_on.src = image_on.src;
	
	var TermsMenu_off = new Image();
	TermsMenu_off.src = image_off.src;
	var TermsMenu_on = new Image();
	TermsMenu_on.src = image_on.src;
	
	var QuestionsMenu_off = new Image();
	QuestionsMenu_off.src = image_off.src;
	var QuestionsMenu_on = new Image();
	QuestionsMenu_on.src = image_on.src;
	
	var SiteMapMenu_off = new Image();
	SiteMapMenu_off.src = image_off.src;
	var SiteMapMenu_on = new Image();
	SiteMapMenu_on.src = image_on.src;
	
	var WebmasterMenu_off = new Image();
	WebmasterMenu_off.src = image_off.src;
	var WebmasterMenu_on = new Image();
	WebmasterMenu_on.src = image_on.src;
	
	var LocationsMenu_off = new Image();
	LocationsMenu_off.src = image_off.src;
	var LocationsMenu_on = new Image();
	LocationsMenu_on.src = image_on.src;
	
	var ActivitiesMenu_off = new Image();
	ActivitiesMenu_off.src = image_off.src;
	var ActivitiesMenu_on = new Image();
	ActivitiesMenu_on.src = image_on.src;
	
}

function slug(width, height) {
	var content = "";
	content += "<td bgColor=\"#0000FF\"><img src=\"http://www.alldrive.com/alldrivegraphics/menu/slug.gif\" width=\""+width+"\" height=\""+height+"\" border=\"0\"></td>";
	return(content);
}

function MenuEntry(menuitem, link, descript) {
	var content = "";
	content += "<tr bgColor=\"#FFFFFF\">\n";
	content += slug(1,20);
	content += "\n <td WIDTH=\"20\" bgColor=\"#0000FF\"><img NAME=\""+menuitem+"Menu\" src=\"http://www.alldrive.com/alldrivegraphics/menu/menuoff.gif\" width=\"20\" height=\"20\" border=\"0\"></td>\n";
	content += " <td WIDTH=\"128\" bgColor=\"#FFFFFF\"><A href=\""+link+"\" CLASS=\"03MenuItem\" onmouseout=\"javascript:deactivategen('"+menuitem+"Menu')\" onmouseover=\"javascript:activategen('"+menuitem+"Menu')\">\n";
	content +="<font color=\"#0000ff\" size=\"1\" face=\"Verdana\">"+descript+"</font></a><br>\n </td>\n";
	content += slug(1,20);
	content += "\n <td width=\"5\" bgColor=\"#FFFFFF\">\n </td>\n";
	content += "</tr>\n";
	return(content);
}

function MenuHeading(heading, link) {
	var content = "";
	content += "<table width=\"155\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n";
	content += "\n<tr bgColor=\"#FFFFFF\">\n <td bgColor=\"#0000FF\" colSpan=\"4\" align=\"absmiddle\" width=\"150\">\n&nbsp;&nbsp;\n";
	content += "<b><A HREF=\""+link+"\">";
	content += "<font color=\"#ffffff\" size=\"1\" face=\"Verdana\">"+heading+"</font></A></b></font>\n </td>\n";
	content += " <td width=\"5\" bgColor=\"#FFFFFF\"></td></tr>\n";
	return(content);
}

function MenuSpacer() {
	var content = "";
	content += "<tr bgColor=\"#FFFFFF\">\n <td bgColor=\"#0000FF\" colSpan=\"4\"><img src=\"http://www.alldrive.com/alldrivegraphics/menu/slug.gif\" width=\"15\" height=\"1\" border=\"0\"></td>\n";
	content += " <td width=\"5\" bgColor=\"#FFFFFF\"></td></tr>\n";
	content += "<tr bgColor=\"#FFFFFF\">\n <td COLSPAN=\"4\" bgColor=\"#FFFFFF\"><img src=\"http://www.alldrive.com/alldrivegraphics/menu/slug.gif\" width=\"1\" height=\"10\" border=\"0\"></td>\n";
	content += " <td width=\"5\" bgColor=\"#FFFFFF\"></td></tr>\n</table>\n";
	return(content);
}

function CreateMenu() {
	var content = "";
	content += MenuHeading("Home Page","http://www.alldrive.com");
	content += MenuSpacer();
	
	content += MenuHeading("Bookings/Quotes","http://www.alldrive.com/2009/quote.php");
//	content += MenuEntry("Quote","quote.htm","online quote");
//	content += MenuEntry("Retrieve","quote1.htm","retrieve quote");
//	content += MenuEntry("Modify","quote.htm","modify quote");
//	content += MenuEntry("Find","quote1.htm","find your quote");
//	content += MenuEntry("Reserve","quote.htm","reservations");
	content += MenuSpacer();
	
	content += MenuHeading("Rental Vehicles","http://www.alldrive.com/2009/r-vans.php");
//	content += MenuEntry("Camp","wintercampwheels.htm","winter camp");
	content += MenuEntry("Ski","http://www.alldrive.com/2009/r-vans.php","ski wheels");
	content += MenuEntry("Summer","http://www.alldrive.com/2009/welcome.php","summer wheels");
	content += MenuSpacer();
	
//	content += MenuHeading("Specials","discount.htm");
//	content += MenuSpacer();

//	content += MenuHeading("Terms & Cond.","termcond.htm");
//	content += MenuSpacer();
//
//	content += MenuHeading("Extras and<BR>Accessories","extras.htm");
//	content += MenuEntry("Equipment","kitpage.htm","equipment list");
//	content += MenuEntry("BoatsBikes","boatbike.htm","bikes");
//	content += MenuEntry("Accessories","boatbike.htm","accessories");
//	content += MenuEntry("Extras","extras.htm","extras");
//	content += MenuSpacer();
	
//	content += MenuHeading("Travel Info","itinerary.htm");
	content += MenuHeading("Activities","winteractivities.htm");
	content += MenuEntry("Skiing","http://www.alldrive.com/PlanningTours/skiing.htm","skiing");
	content += MenuEntry("Other","winteractivities.htm","other");
//	content += MenuEntry("Itinerary","http://www.alldrive.com/itinerary.htm","itineraries");
//	content += MenuEntry("DistanceChart","http://www.alldrive.com/alldrivegraphics/itinerary/fullsizemap.jpg","distance chart");
//	content += MenuEntry("TourTravel","http://www.crossroadsvacations.com","tours and travel");
//	content += MenuEntry("Ranch","http://www.crossroadsvacations.com/ranch.htm","ranch holidays");
//	content += MenuEntry("Photo","http://www.alldrive.com/photogallery.htm","photo galleries");
	content += MenuSpacer();
	
//	content += MenuHeading("Alldrive Info","about.htm");
//	content += MenuEntry("Corporate","about.htm","corporate info");
//	content += MenuEntry("Email","mailto:sales@alldrive.com","email us");
//	content += MenuEntry("Terms","termcond.htm","terms & cond.");
//	content += MenuEntry("Questions","faq.htm","questions");
//		content += MenuEntry("Webmaster","/streamline","webmaster");
//	content += MenuEntry("Locations","locations.htm","locations");
//	content += MenuSpacer();
//	
//	content += MenuHeading("Tell A Friend","http://www.alldrive.com/tellafriend.htm");
//	content += MenuSpacer();
	
//	content += MenuHeading("Gift Card","http://www.alldrive.com/vacationcard.htm");
//	content += MenuSpacer();
	
	return(content);
}

