
function routemaster() {

var optTex2 = "";for (var v=0; v < document.QUOTEREQFORM.recoger.length; v++) {if (document.QUOTEREQFORM.recoger[v].selected) {optTex1 = document.QUOTEREQFORM.recoger[v].value;startingfrom=document.QUOTEREQFORM.recoger[v].text; break;}}

var optTex2 = "";for (var v=0; v < document.QUOTEREQFORM.devolver.length; v++) {if (document.QUOTEREQFORM.devolver[v].selected) {optTex2 = document.QUOTEREQFORM.devolver[v].value; endingat=document.QUOTEREQFORM.devolver[v].text; break;}}  


if (optTex1 == "zzz" || optTex2 == "zzz"){alert("instanQuote : help : error in locations\n\nIn order that we can prepare your quotation we need to                \nknow where the rental will start & end.\n\nPlease select these and press the button to Continue.\n\n");}

s=false;

// options from Alicante Airport

if (optTex1 == "ALC" && optTex2 == "ALC"){ s=true; self.location="../alicante/alicante.shtml";}
if (optTex1 == "ALC" && optTex2 == "VLC"){ s=true; self.location="../alicante/alicante.shtml";}
if (optTex1 == "ALC" && optTex2 == "MJV"){ s=true; self.location="../alicante/alicante.shtml";}

// options from Albir Playa

if (optTex1 == "ALB" && optTex2 == "ALB"){ s=true; self.location="../albir-playa/albir-playa.shtml";}

// options from Malaga Airport

if (optTex1 == "AGP" && optTex2 == "AGP"){ s=true; self.location="../malaga/malaga.shtml";}

// options from Alcantarilla

if (optTex1 == "ACR" && optTex2 == "ACR"){ s=true; self.location="../alcantarilla/alcantarilla.shtml";}

// options from Altea

if (optTex1 == "ALT" && optTex2 == "ALT"){ s=true; self.location="../altea/altea.shtml";}


// options from Benidorm

if (optTex1 == "BND" && optTex2 == "ALC"){ s=true; self.location="../benidorm/benidorm.shtml";}
if (optTex1 == "BND" && optTex2 == "VLC"){ s=true; self.location="../benidorm/benidorm.shtml";}
if (optTex1 == "BND" && optTex2 == "MJV"){ s=true; self.location="../benidorm/benidorm.shtml";}
if (optTex1 == "BND" && optTex2 == "BND"){ s=true; self.location="../benidorm/benidorm.shtml";}

// options from Denia

if (optTex1 == "DEN" && optTex2 == "ALC"){ s=true; self.location="../denia/denia.shtml";}
if (optTex1 == "DEN" && optTex2 == "VLC"){ s=true; self.location="../denia/denia.shtml";}
if (optTex1 == "DEN" && optTex2 == "MJV"){ s=true; self.location="../denia/denia.shtml";}
if (optTex1 == "DEN" && optTex2 == "BND"){ s=true; self.location="../denia/denia.shtml";}
if (optTex1 == "DEN" && optTex2 == "DEN"){ s=true; self.location="../denia/denia.shtml";}

// options from Javea

if (optTex1 == "JAV" && optTex2 == "JAV"){ s=true; self.location="../javea/javea.shtml";}
if (optTex1 == "JAV" && optTex2 == "ALC"){ s=true; self.location="../javea/javea.shtml";}
if (optTex1 == "JAV" && optTex2 == "VLC"){ s=true; self.location="../javea/javea.shtml";}

// options from La Marina


if (optTex1 == "LAM" && optTex2 == "LAM"){ s=true; self.location="../la-marina/la-marina.shtml";}

// options from La Nucia

if (optTex1 == "LNC" && optTex2 == "LNC"){ s=true; self.location="../la-nucia/la-nucia.shtml";}

// options from La Union

if (optTex1 == "LUN" && optTex2 == "LUN"){ s=true; self.location="../la-union/la-union.shtml";}

// options from Los Alcazares

if (optTex1 == "LAZ" && optTex2 == "LAZ"){ s=true; self.location="../los-alcazares/los-alcazares.shtml";}

// options from La Manga

if (optTex1 == "LMG" && optTex2 == "LMG"){ s=true; self.location="../lamanga/lamanga.shtml";}

// options from Murcia Airport

if (optTex1 == "MJV" && optTex2 == "MJV"){ s=true; self.location="../murcia/murciaairport.shtml";}
if (optTex1 == "MJV" && optTex2 == "ALC"){ s=true; self.location="../murcia/murciaairport.shtml";}
if (optTex1 == "MJV" && optTex2 == "VLC"){ s=true; self.location="../murcia/murciaairport.shtml";}

// options from Murcia City

if (optTex1 == "MUR" && optTex2 == "MUR"){ s=true; self.location="../murciacity/murcia.shtml";}
if (optTex1 == "MUR" && optTex2 == "ALC"){ s=true; self.location="../murciacity/murcia.shtml";}
if (optTex1 == "MUR" && optTex2 == "VLC"){ s=true; self.location="../murciacity/murcia.shtml";}

// options from San Pedro

if (optTex1 == "SPP" && optTex2 == "SPP"){ s=true; self.location="../san-pedro-pinatar/san-pedro-pinatar.shtml";}

// options from San Javier

if (optTex1 == "SJV" && optTex2 == "SJV"){ s=true; self.location="../san-javier/san-javier.shtml";}

// options from Santa Pola

if (optTex1 == "SPO" && optTex2 == "SPO"){ s=true; self.location="../santa-pola/santa-pola.shtml";}

// options from Santiago de la Ribera

if (optTex1 == "SAR" && optTex2 == "SAR"){ s=true; self.location="../santiago-de-la-ribera/santiago-de-la-ribera.shtml";}

// options from Torrevieja

if (optTex1 == "TVJ" && optTex2 == "ALC"){ s=true; self.location="../torrevieja/torrevieja.shtml";}
if (optTex1 == "TVJ" && optTex2 == "VLC"){ s=true; self.location="../torrevieja/torrevieja.shtml";}
if (optTex1 == "TVJ" && optTex2 == "MJV"){ s=true; self.location="../torrevieja/torrevieja.shtml";}
if (optTex1 == "TVJ" && optTex2 == "BND"){ s=true; self.location="../torrevieja/torrevieja.shtml";}
if (optTex1 == "TVJ" && optTex2 == "DEN"){ s=true; self.location="../torrevieja/torrevieja.shtml";}
if (optTex1 == "TVJ" && optTex2 == "TVJ"){ s=true; self.location="../torrevieja/torrevieja.shtml";}

// options from Valencia Airport

if (optTex1 == "VLC" && optTex2 == "MJV"){ s=true; self.location="../valencia/valencia.shtml";}
if (optTex1 == "VLC" && optTex2 == "ALC"){ s=true; self.location="../valencia/valencia.shtml";}
if (optTex1 == "VLC" && optTex2 == "VLC"){ s=true; self.location="../valencia/valencia.shtml";}

if (s == false){
alert("instanQuote : help : selection not available\n\nYou have requested a rate for the following locations :      \n\nCollection : "+startingfrom+"\nReturn      : "+endingat+"\n\nThis combination of locations is not currently available\nfrom our automated quote system. Please contact us\nby e-mail for assistance.\n\n");}


 }
