					
function gotocountrywebsite()
{


if (document.website.countrywebsite.value == "WW")
{
 location.href="index.htm";
 document.cookie =  "countrywebsite=WW; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "WF")
{
 location.href="index_fri.htm";
 document.cookie =  "countrywebsite=WF; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "MU")
{
 
 location.href="index_mu.htm";
document.cookie =  "countrywebsite=MU; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}						          

if (document.website.countrywebsite.value == "MUF")
{
 
 location.href="index_mu_fr.htm";
document.cookie =  "countrywebsite=MUF; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "AU")
{
 location.href="index_au.htm";
 document.cookie =  "countrywebsite=AU; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "AT")
{
 location.href="index_at.htm";
 document.cookie =  "countrywebsite=AT; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "BE")
{
 location.href="index_be.htm";
 document.cookie =  "countrywebsite=BE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "DK")
{
 location.href="index_dk.htm";
 document.cookie =  "countrywebsite=DK; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "FR")
{
 location.href="index_fr.htm";
 document.cookie =  "countrywebsite=FR; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";
}	

if (document.website.countrywebsite.value == "DE")
{
 location.href="index_de.htm";
 document.cookie =  "countrywebsite=DE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "HK")
{
 location.href="index_hk.htm";
 document.cookie =  "countrywebsite=HK; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "IN")
{
 location.href="index_in.htm";
 document.cookie =  "countrywebsite=IN; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "IE")
{
 location.href="index_ie.htm";
 document.cookie =  "countrywebsite=IE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "IT")
{
 location.href="index_it.htm";
 document.cookie =  "countrywebsite=IT; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "KE")
{
 location.href="index_ke.htm";
 document.cookie =  "countrywebsite=KE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	




if (document.website.countrywebsite.value == "MY")
{
 location.href="index_my.htm";
 document.cookie =  "countrywebsite=MY; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "NL")
{
 location.href="index_nl.htm";
 document.cookie =  "countrywebsite=NL; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "NO")
{
 location.href="index_no.htm";
 document.cookie =  "countrywebsite=NO; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "PL")
{
 location.href="index_pl.htm";
 document.cookie =  "countrywebsite=PL; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "RE")
{
 location.href="index_re.htm";
 document.cookie =  "countrywebsite=RE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "SG")
{
 location.href="index_sg.htm";
 document.cookie =  "countrywebsite=SG; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "ZA")
{
 location.href="index_za.htm";
 document.cookie =  "countrywebsite=ZA; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "ES")
{
 location.href="index_es.htm";
 document.cookie =  "countrywebsite=ES; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "SE")
{
 location.href="index_se.htm";
 document.cookie =  "countrywebsite=SE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "CH")
{
 location.href="index_ch.htm";
 document.cookie =  "countrywebsite=CH; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "CHFR")
{
 location.href="index_ch_fr.htm";
 document.cookie =  "countrywebsite=CHFR; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "AE")
{
 location.href="index_ae.htm";
 document.cookie =  "countrywebsite=AE; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

					        
if (document.website.countrywebsite.value == "GB")
{
 location.href="index_gb.htm";
 document.cookie =  "countrywebsite=GB; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "MD")
{
 location.href="index_md.htm";
 document.cookie =  "countrywebsite=MD; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	

if (document.website.countrywebsite.value == "FI")
{
 location.href="index_fi.htm";
 document.cookie =  "countrywebsite=FI; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "LU")
{
 location.href="index_lu.htm";
 document.cookie =  "countrywebsite=LU; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "PT")
{
 location.href="index_pt.htm";
 document.cookie =  "countrywebsite=PT; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


if (document.website.countrywebsite.value == "SK")
{
 location.href="index_sk.htm";
 document.cookie =  "countrywebsite=SK; expires=Fri, 13 Jul 2999 05:28:21 UTC; path=/";

}	


}



function updatecitypairfirst()
		
		{ 
				
//document.amadeus.DATE_RANGE_VALUE_FRADIO.disabled = true;
var str = location.href 
var number_1 = str.lastIndexOf('/') + 1 
var number_2 = str.lastIndexOf('htm') + 3 
var filename = str.substring(number_1, number_2) 
//document.write(myVar) 

			


			
			if ((filename=="index.htm") || (location.href=="http://www.airmauritius.com/")||(location.href=="http://www.airmauritius.com/index.htm"))
			{
			country = GetCookie('countrywebsite');
			
			
			if (country=="MU")
			{ 
			
		     location.href="index_mu.htm";
		    }
		    
		 	if (country=="MUF")
			{ 
			
		     location.href="index_mu_fr.htm";
		    }



           if (country=="WF")
			{ 
			
		     location.href="index_fri.htm";
		    }
		    
		     if (country=="AU")
			{ 
			
		     location.href="index_au.htm";
		    }
           
           if (country=="AT")
			{ 
			
		     location.href="index_at.htm";
		    }

		  if (country=="BE")
			{ 
			
		     location.href="index_be.htm";
		    }
		    
		     if (country=="DK")
			{ 
			
		     location.href="index_dk.htm";
		    }
        
         if (country=="FR")
			{ 
			
		     location.href="index_fr.htm";
		    }

         if (country=="DE")
			{ 
			
		     location.href="index_de.htm";
		    }
		    
		 if (country=="HK")
			{ 
			
		     location.href="index_hk.htm";
		    }
         if (country=="IN")
			{ 
			
		     location.href="index_in.htm";
		    }


         if (country=="IE")
			{ 
			
		     location.href="index_ie.htm";
		    }
		    
		     if (country=="IT")
			{ 
			
		     location.href="index_it.htm";
		    }
           if (country=="KE")
			{ 
			
		     location.href="index_ke.htm";
		    }

           if (country=="MY")
			{ 
			
		     location.href="index_my.htm";
		    }
		    
		     if (country=="NL")
			{ 
			
		     location.href="index_nl.htm";
		    }
           if (country=="NO")
			{ 
			
		     location.href="index_no.htm";
		    }


          if (country=="PL")
			{ 
			
		     location.href="index_pl.htm";
		    }
		    
		     if (country=="RE")
			{ 
			
		     location.href="index_re.htm";
		    }
           if (country=="SG")
			{ 
			
		     location.href="index_sg.htm";
		    }

    
         if (country=="ZA")
			{ 
			
		     location.href="index_za.htm";
		    }
		    
		     if (country=="ES")
			{ 
			
		     location.href="index_es.htm";
		    }
           if (country=="SE")
			{ 
			
		     location.href="index_se.htm";
		    }

    
           if (country=="CH")
			{ 
			
		     location.href="index_ch.htm";
		    }
		    
		     if (country=="CHFR")
			{ 
			
		     location.href="index_ch_fr.htm";
		    }

		     if (country=="AE")
			{ 
			
		     location.href="index_ae.htm";
		    }
           if (country=="GB")
			{ 
			
		     location.href="index_gb.htm";
		    }

       if (country=="MD")
			{ 
			
		     location.href="index_md.htm";
		    }
		    
		    
       if (country=="FI")
			{ 
			
		     location.href="index_fi.htm";
		    }

       if (country=="LU")
			{ 
			
		     location.href="index_lu.htm";
		     
		    }

       if (country=="PT")
			{ 
			
		     location.href="index_pt.htm";
		    }

       if (country=="SK")
			{ 
			
		     location.href="index_sk.htm";
		    }


		    }


		    

			
			if (countryresidence=="MUFR")
           { 
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "MRU";
             var departurecityvalue = new Array("MRU","RRG");
             var departurecityname = new Array("Maurice","Rodrigues");
             
             var destinationcityvalue = new Array("ABZ","ADL","AMS","TNR","OVD","ATH","AKL","BLR","BKK","BCN","BRI","PEK","BSL","TXL","BEY","BIO","BHX","BLQ","BOD",
             "BES","BNE","BRU","BRS","BUD","CPT","CTA","CBR","MAA","CFE","CPH","DPS","DXB","DUB","DUR","DUS","EDI","FRA","GVA","CAN","HAM",
             "HEL","HKG","JNB","JKT","KHH","KHI","KBP","KUL","LHR","LUX","LYS","MAD","MAN","MRS","MRU","MEL","MXP","MPL","MOW","MLH","BOM",
             "MUC","NBO","NTE","DEL","NCL","NCE",
             "OSL","PMO","CDG","PUF","PER","PRG","RNS","RUN","ZSE","RRG","FCO","SEL","PVG","SIN","LED","STO","SXB","SYD","TPE",
             "TLS","VCE","VIE","VGO","WAW","ZRH","JHB","LGK","KBR","KUA","PEN"); 
   			
			 var destinationcityname = new Array("Aberdeen(ABZ) - UK","Adelaide(ADL) - Australie","Amsterdam(AMS)","Antananarive(TNR)","Asturias(OVD) - Espagne",
             "Athens(ATH) - Grèce","Auckland(AKL)-Nouvelle-Zélande","Bengaluru(BLR) - Inde","Bangkok(BKK) - Thailande","Barcelone(BCN) - Espagne","Bari(BRI) - Italie",
             "Beijing(PEK) - Chine","Basel(BSL) - Suisse","Berlin (TXL) - Allemagne","Beirut(BEY) - Liban","Bilbao(BIO) - Espagne","Birmingham(BHX) - UK",
             "Bologne(BLQ) - Italie","Bordeaux(BOD) - France","Brest(BES) - France",
			"Brisbane(BNE)-Australie","Brussels(BRU) - Belgique","Bristol(BRS) - UK","Budapest(BUD) - Hongrie","Cape Town(CPT) - Af du Sud","Catania(CTA) - Italie",
			"Canberra(CBR) - Australie","Chennai(MAA) - Inde","C.Ferrand(CFE) - France","Copenghagen(CPH) - Danemark","Denpasar Bali(DPS)-Indonesie",
			"Dubai(DXB) - UAE","Dublin(DUB) - Irelande","Durban(DUR) - Af du Sud","Duesseldorf(DUS) - Allemagne","Edinburgh(EDI) - UK","Frankfort(FRA) - Allemagne",
			"Geneve(GVA) - Suisse","Guangzhou(CAN) - Chine","Hambourg(HAM) - Allemagne",
			"Helsinki(HEL) - Finlande","Hong Kong(HKG)","Johannesbourg(JNB) - Af du Sud","Jakarta(JKT)-Indonesie","Kaohsiung(KHH) - Taiwan",
			"Karachi(KHI)-Pakistan","Kiev-Borispol(KBP) - Ukraine",
			"K.Lumpur(KUL) - Malaysie",
			"Londres(LHR) - UK","Luxembourg(LUX)","Lyon(LYS) - France","Madrid(MAD) - Espagne","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Maurice(MRU)","Melbourne(MEL) - Australie","Milan(MXP) - Italie","Montpellier(MPL) - France","Moscow(MOW) - Russie",
			"Mulhouse(MLH) - France","Mumbai(BOM) - Inde","Munich(MUC) - Allemagne","Nairobi(NBO) - Kenya","Nantes(NTE) - France",
			"New Delhi(DEL) - Inde","Newcastle(NCL) - UK","Nice(NCE) - France","Oslo(OSL) - Norway","Palermo(PMO) - Italie",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australie","Prague(PRG) - République Tchèque",
			"Rennes(RNS) - France","Réunion(RUN) - St Denis","Réunion(ZSE) - St Pierre","Rodrigues(RRG)","Rome(FCO) - Italie","Seoul(SEL) - Corée Du Sud",
			"Shanghai(PVG) - Chine","Singapour(SIN)","St Petersburg(LED) - Russie","Stockholm(STO) - Suède",
			"Strasbourg(SXB) - France","Sydney(SYD) - Australie","Taipei(TPE) - Taiwan","Toulouse(TLS) - France",
			"Venice(VCE) - Italie","Vienna(VIE) - Autriche","Vigo(VGO) - Espagne","Warsaw(WAW) - Pologne","Zurich(ZRH) - Suisse",
			"Johar Bahru(JHB) - Malaysie","Langkawi(LGK) - Malaysie","Kota Bahru(KBR) - Malaysie","Kuantan(KUA) - Malaysie","Penang(PEN) - Malaysie"); 



   

   
             
           }
           
			
			if (countryresidence=="WFR")
           { 
              document.amadeus.SO_SITE_POINT_OF_SALE.value = "MRU";
             var departurecityvalue = new Array(""); 
             var departurecityname = new Array("Sélectionnez "); 

             var destinationcityvalue = new Array("");
             var destinationcityname = new Array("Sélectionnez ");

                   

   
             
           }
           
			
			
			

           if (countryresidence=="MUEN")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "MRU";

              var departurecityvalue = new Array("");
             var departurecityname = new Array("Select City");
             
             var destinationcityvalue = new Array(""); 
             var destinationcityname = new Array("Select City"); 
             
             
           }

			

           if (countryresidence=="MU")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "MRU";

             var departurecityvalue = new Array("MRU","RRG");
             var departurecityname = new Array("Mauritius","Rodrigues");
             
               
             var destinationcityvalue = new Array("ABZ","ADL","AMS","TNR","OVD","ATH","AKL","BLR","BKK","BCN","BRI","PEK","BSL","TXL","BEY","BIO","BHX","BLQ","BOD",
             "BES","BNE","BRU","BRS","BUD","CPT","CTA","CBR","MAA","CFE","CPH","DPS","DXB","DUB","DUR","DUS","EDI","FRA","GVA","CAN","HAM",
             "HEL","HKG","JNB","JKT","KHH","KHI","KBP","KUL","LHR","LUX","LYS","MAD","MAN","MRS","MRU","MEL","MXP","MPL","MOW","MLH","BOM",
             "MUC","NBO","NTE","DEL","NCL","NCE",
             "OSL","PMO","CDG","PUF","PER","PRG","RNS","RUN","ZSE","RRG","FCO","SEL","PVG","SIN","LED","STO","SXB","SYD","TPE",
             "TLS","VCE","VIE","VGO","WAW","ZRH","JHB","LGK","KBR","KUA","PEN"); 

             var destinationcityname = new Array("Aberdeen(ABZ) - UK","Adelaide(ADL) - Australia","Amsterdam(AMS)","Antananarivo(TNR)","Asturias(OVD) - Spain",
             "Athens(ATH) - Greece","Auckland(AKL)-New Zealand","Bengaluru(BLR) - India","Bangkok(BKK) - Thailand","Barcelona(BCN) - Spain","Bari(BRI) - Italy",
             "Beijing(PEK) - China","Basel(BSL) - Switzerland","Berlin (TXL) - Germany","Beirut(BEY) - Lebanon","Bilbao(BIO) - Spain","Birmingham(BHX) - UK",
             "Bologna(BLQ) - Italy","Bordeaux(BOD) - France","Brest(BES) - France",
			"Brisbane(BNE)-Australia","Brussels(BRU) - Belgium","Bristol(BRS) - UK","Budapest(BUD) - Hungary","Cape Town(CPT) - S.Africa","Catania(CTA) - Italy",
			"Canberra(CBR) - Australia","Chennai(MAA) - India","C.Ferrand(CFE) - France","Copenghagen(CPH) - Denmark","Denpasar Bali(DPS)-Indonesia",
			"Dubai(DXB) - UAE","Dublin(DUB) - Ireland","Durban(DUR) - S.Africa","Duesseldorf(DUS) - Germany","Edinburgh(EDI) - UK","Frankfurt(FRA) - Germany",
			"Geneva(GVA) - Switzerland","Guangzhou(CAN) - China","Hamburg(HAM) - Germany",
			"Helsinki(HEL) - Finland","Hong Kong(HKG)","Johannesburg(JNB) - S.Africa","Jakarta(JKT)-Indonesia","Kaohsiung(KHH) - Taiwan",
			"Karachi(KHI)-Pakistan","Kiev-Borispol(KBP) - Ukraine",
			"K.Lumpur(KUL) - Malaysia",
			"London(LHR) - UK","Luxembourg(LUX)","Lyon(LYS) - France","Madrid(MAD) - Spain","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Mauritius(MRU)","Melbourne(MEL) - Australia","Milan(MXP) - Italy","Montpellier(MPL) - France","Moscow(MOW) - Russia",
			"Mulhouse(MLH) - France","Mumbai(BOM) - India","Munich(MUC) - Germany","Nairobi(NBO) - Kenya","Nantes(NTE) - France",
			"New Delhi(DEL) - India","Newcastle(NCL) - UK","Nice(NCE) - France","Oslo(OSL) - Norway","Palermo(PMO) - Italy",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australia","Prague(PRG) - Czech Republic",
			"Rennes(RNS) - France","Reunion(RUN) - St Denis","Reunion(ZSE) - St Pierre","Rodrigues(RRG)","Rome(FCO) - Italy","Seoul(SEL) - Korea",
			"Shanghai(PVG) - China","Singapore(SIN)","St Petersburg(LED) - Russia","Stockholm(STO) - Sweden",
			"Strasbourg(SXB) - France","Sydney(SYD) - Australia","Taipei(TPE) - Taiwan","Toulouse(TLS) - France",
			"Venice(VCE) - Italy","Vienna(VIE) - Austria","Vigo(VGO) - Spain","Warsaw(WAW) - Poland","Zurich(ZRH) - Switzerland",
			"Johar Bahru(JHB) - Malaysia","Langkawi(LGK) - Malaysia","Kota Bahru(KBR) - Malaysia","Kuantan(KUA) - Malaysia","Penang(PEN) - Malaysia"); 

            
             
           }
           
           if (countryresidence=="AU")
           { 
            
            
           document.amadeus.SO_SITE_POINT_OF_SALE.value = "SYD";

                         
             var departurecityvalue = new Array("MEL","PER","SYD","","ADL","BNE","CBR")
             var departurecityname = new Array("Melbourne", "Perth","Sydney","----------------------------","Adelaide","Brisbane","Canberra"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","LHR","CDG","DXB","CPT",
             "DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "London(LHR)","Paris-CDG","Dubai","Cape Town","Durban","Johannesburg","Nairobi");
          

           }

          
			if (countryresidence=="AT")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "VIE";

             var departurecityvalue = new Array("VIE"); 
             var departurecityname = new Array("Vienna"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
           
     

			if (countryresidence=="AE")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "DXB";

             var departurecityvalue = new Array("DXB"); 
             var departurecityname = new Array("Dubai"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi","Melbourne","Perth","Sydney");
             
           }


           if (countryresidence=="FR")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "CDG";

             var departurecityvalue = new Array("CDG","","BOD","BES","CFE",
            "LYS","MRS","MPL","MLH","NTE","NCE","PUF","RNS","SXB","TLS");
             var departurecityname = new Array("Paris","----------------------------","Bordeaux","Brest","Clermont Ferrand","Lyon","Marseille",
             "Montpellier","Mulhouse","Nantes","Nice","Pau","Rennes","Strasbourg","Toulouse");

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Maurice","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesbourg","Melbourne","Perth","Sydney");
             
             
           }

           if (countryresidence=="DE")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "FRA";

               var departurecityvalue = new Array("FRA","MUC","","BER","DUS","HAM"); 
             var departurecityname = new Array("Frankfurt","Munich","----------------------------","Berlin","Duesseldorf","Hamburg"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
                          
           }

           if (countryresidence=="NL")
           { 
           
			document.amadeus.SO_SITE_POINT_OF_SALE.value = "AMS";
            
			 var departurecityvalue = new Array("AMS"); 
             var departurecityname = new Array("Amsterdam"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
			if (countryresidence=="HK")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "HKG";

             var departurecityvalue = new Array("HKG"); 
             var departurecityname = new Array("Hong Kong"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }


			if (countryresidence=="IN")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "NYC";

             var departurecityvalue = new Array("BLR","MAA","BOM","DEL"); 
             var departurecityname = new Array("Bengaluru","Chennai","Mumbai","New Delhi"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }

			

		if (countryresidence=="IT")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "MIL";

           var departurecityvalue = new Array("MXP","","BRI","BLQ","CTA","PMO","FCO","VCE"); 
             var departurecityname = new Array("Milan","----------------------------","Bari","Bologna","Catania","Palermo","Rome","Venice"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
             
           }


		if (countryresidence=="KE")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "NBO";

             var departurecityvalue = new Array("NBO"); 
             var departurecityname = new Array("Nairobi"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Melbourne","Perth","Sydney");
             
           }

		if (countryresidence=="MY")
		
          { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "NYC";

             var departurecityvalue = new Array("KUL","","JHB","KBR","KUA","LGK","PEN","PVG"); 
             var departurecityname = new Array("Kuala Lumpur","----------------------------","Johar Bahru","Kota Bahru","Kuantan","Langkawi","Penang"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi","Shanghai");
             
           }

		  

		if (countryresidence=="RE")
           { 
           
            
            
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "RUN";

             var departurecityvalue = new Array("RUN","ZSE"); 
             var departurecityname = new Array("St Denis","St Pierre"); 

            
            
            var destinationcityvalue = new Array("ABZ","AMS","TNR","OVD","BLR","BKK","BCN","BSL","BIO","BHX","BLQ","BOD",
             "BES","BRS","MAA","CFE","DXB","DUS","EDI","FRA","GVA","HKG","JNB","KUL","LHR","LYS","MAD","MAN","MRS","MRU","MEL",
             "MXP","MPL","MLH","BOM","MUC","NTE","DEL","NCL","NCE","CDG","PUF","PER",
             "RNS","RRG","FCO","PVG","SIN","SXB","SYD",
             "TLS","VIE","VGO","ZRH","JHB","LGK","KBR","KUA","PEN"); 
             var destinationcityname = new Array("Aberdeen(ABZ) - UK","Amsterdam(AMS)","Antananarive(TNR)","Asturias(OVD) - Espagne",
           "Bengaluru(BLR) - Inde","Bangkok(BKK) - Thailande","Barcelone(BCN) - Espagne","Basel(BSL) - Suisse","Bilbao(BIO) - Espagne","Birmingham(BHX) - UK","Bologna(BLQ) - Italie","Bordeaux(BOD) - France","Brest(BES) - France",
			"Bristol(BRS) - UK","Chennai(MAA) - Inde","C.Ferrand(CFE) - France","Dubai(DXB) - UAE","Duesseldorf(DUS) - Allemagne","Edinburgh(EDI) - UK",
			"Frankfurt(FRA) - Allemagne","Geneva(GVA) - Suisse","Hong Kong(HKG)","Johannesburg(JNB) - Af du Sud","K.Lumpur(KUL) - Malaysie","Londres(LHR) - UK",
			"Lyon(LYS) - France","Madrid(MAD) - Espagne","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Maurice(MRU)","Melbourne(MEL) - Australie","Milan(MXP) - Italie",
			"Montpellier(MPL) - France","Mulhouse(MLH) - France","Mumbai(BOM) - Inde","Munich(MUC) - Allemagne","Nantes(NTE) - France",
			"New Delhi(DEL) - Inde","Newcastle(NCL) - UK","Nice(NCE) - France",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australie","Rennes(RNS) - France","Rodrigues(RRG)",
			"Rome(FCO) - Italie",
			"Shanghai(PVG) - Chine","Singapour(SIN)","Strasbourg(SXB) - France","Sydney(SYD) - Australie","Toulouse(TLS) - France",
			"Vienne(VIE) - Autriche","Vigo(VGO) - Espagne","Zurich(ZRH) - Suisse","Johar Bahru(JHB) - Malaysie","Langkawi(LGK) - Malaysie","Kota Bahru(KBR) - Malaysie","Kuantan(KUA) - Malaysie","Penang(PEN) - Malaysie"); 

                   
           }

		
			if (countryresidence=="SG")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "SIN";

             var departurecityvalue = new Array("SIN"); 
             var departurecityname = new Array("Singapore"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }

			if (countryresidence=="ZA")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "JNB";

             var departurecityvalue = new Array("CPT","DUR","JNB"); 
             var departurecityname = new Array("Cape Town","Durban","Johannesburg"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","BLR","MAA","BOM","DEL","MEL","PER","SYD","HKG","KUL","SIN","PVG","CDG","LHR","DXB");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Bengaluru","Chennai","Mumbai","New Delhi","Melbourne","Perth","Sydney","Hong Kong","Kuala Lumpur","Singapore","Shanghai","Paris(CDG)","London(LHR)","Dubai");
             
           }

		if (countryresidence=="ES")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "MAD";

            var departurecityvalue = new Array("OVD","BCN","BIO","MAD","VGO"); 
             var departurecityname = new Array("Asturias","Barcelona","Bilbao","Madrid","Vigo"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


			
		if (countryresidence=="CH")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "GVA";

             var departurecityvalue = new Array("GVA","","BSL","ZRH"); 
             var departurecityname = new Array("Geneva","----------------------------","Basel","Zurich"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","Sydney");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
             
           }
           
           if (countryresidence=="CHFR")
           { 
           
             document.amadeus.SO_SITE_POINT_OF_SALE.value = "GVA";

             var departurecityvalue = new Array("GVA","","BSL","ZRH"); 
             var departurecityname = new Array("Genève","----------------------------","Basel","Zurich"); 

                
             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Maurice","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarive",
             "Cape Town","Durban","Johannesbourg","Melbourne","Perth","Sydney");

           }


		if (countryresidence=="GB")
           { 
           
document.amadeus.SO_SITE_POINT_OF_SALE.value = "LHR";
            
 var departurecityvalue = new Array("LHR","","ABZ","BHX","BRS","EDI","MAN","NCL"); 
             var departurecityname = new Array("London","----------------------------","Aberdeen","Birmingham","Bristol","Edinburgh","Manchester","Newcastle"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","SYD","MEL","PER");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Sydney","Melbourne","Perth");
             
           }
           
           
          	if (countryresidence=="MD")
           { 
           document.amadeus.SO_SITE_POINT_OF_SALE.value = "MAD";
           
            var departurecityvalue = new Array("TNR"); 
             var departurecityname = new Array("Antananarive"); 

             var destinationcityvalue = new Array("ABZ","AMS","OVD","BLR","BKK","BCN","BSL","BIO","BHX","BLQ","BOD",
             "BES","BRS","CPT","MAA","CFE","DXB","DUR","DUS","EDI","FRA","GVA","HKG","JNB","KUL","LHR","LYS","MAD","MAN","MRS","MRU","MEL",
             "MXP","MPL","MLH","BOM","MUC","NBO","NTE","DEL","NCL","NCE","CDG","PUF","PER",
             "RNS","RUN","ZSE","RRG","FCO","PVG","SIN","SXB","SYD",
             "TLS","VIE","VGO","ZRH","JHB","LGK","KBR","KUA","PEN"); 
             var destinationcityname = new Array("Aberdeen(ABZ) - UK","Amsterdam(AMS)","Asturias(OVD) - Espagne",
           "Bengaluru(BLR) - Inde","Bangkok(BKK) - Thailande","Barcelone(BCN) - Espagne","Basel(BSL) - Suisse","Bilbao(BIO) - Espagne","Birmingham(BHX) - UK","Bologna(BLQ) - Italie","Bordeaux(BOD) - France","Brest(BES) - France",
			"Bristol(BRS) - UK","Cape Town(CPT) - Af. du Sud","Chennai(MAA) - Inde","C.Ferrand(CFE) - France","Dubai(DXB) - UAE","Durban(DUR) - Af. du Sud","Duesseldorf(DUS) - Allemagne","Edinburgh(EDI) - UK",
			"Frankfurt(FRA) - Allemagne","Geneva(GVA) - Suisse","Hong Kong(HKG)","Johannesburg(JNB) - Af du Sud","K.Lumpur(KUL) - Malaysie","Londres(LHR) - UK",
			"Lyon(LYS) - France","Madrid(MAD) - Espagne","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Maurice(MRU)","Melbourne(MEL) - Australie","Milan(MXP) - Italie",
			"Montpellier(MPL) - France","Mulhouse(MLH) - France","Mumbai(BOM) - Inde","Munich(MUC) - Allemagne","Nairobi(NBO) - Kenya","Nantes(NTE) - France",
			"New Delhi(DEL) - Inde","Newcastle(NCL) - UK","Nice(NCE) - France",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australie","Rennes(RNS) - France","Reunion(RUN) - St Denis","Reunion(ZSE) - St Pierre","Rodrigues(RRG)",
			"Rome(FCO) - Italie",
			"Shanghai(PVG) - Chine","Singapour(SIN)","Strasbourg(SXB) - France","Sydney(SYD) - Australie","Toulouse(TLS) - France",
			"Vienne(VIE) - Autriche","Vigo(VGO) - Espagne","Zurich(ZRH) - Suisse","Johar Bahru(JHB) - Malaysie","Langkawi(LGK) - Malaysie","Kota Bahru(KBR) - Malaysie","Kuantan(KUA) - Malaysie","Penang(PEN) - Malaysie"); 

                   

             
           }





// F I L L I N G    O F     D R O P   D O W N     L I S T S///////////////////
           
           for (var i=0; i < departurecityvalue.length;++i)
           {
                
				document.amadeus.Departure_City.options[i]=new Option(departurecityname[i],departurecityvalue[i]);	
				
			}         

  		  for (var i=0; i < destinationcityvalue.length;++i)
            {
     
				document.amadeus.Destination_City.options[i]=new Option(destinationcityname[i],destinationcityvalue[i]);	
			}


 }   
           



function DeleteCookie (name,path,domain) {

  if (GetCookie(name)) {

    document.cookie = name + "=" +

      ((path) ? "; path=" + path : "") +

      ((domain) ? "; domain=" + domain : "") +

      "; expires=Thu, 01-Jan-70 00:00:01 GMT";

  }

}



function getCookieVal (offset)
{

  var endstr = document.cookie.indexOf (";", offset);

  if (endstr == -1)

    endstr = document.cookie.length;

  return unescape(document.cookie.substring(offset, endstr));

}




function GetCookie (name) {

  var arg = name + "=";

  var alen = arg.length;

  var clen = document.cookie.length;

  var i = 0;

  while (i < clen) {

    var j = i + alen;

    if (document.cookie.substring(i, j) == arg)

      return getCookieVal (j);

    i = document.cookie.indexOf(" ", i) + 1;

    if (i == 0) break; 

  }

  return null;

}



function updatetocitylist()
		
{ 
 
if (document.amadeus.countryofdeparture.value=="MAU")
{
 var l;
		for(l=document.amadeus.Destination_City.options.length-1;l>=0;l--)
		{
					document.amadeus.Destination_City.remove(l);
		}

      
  
    
                          
             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
         

for (var i=0; i < destinationcityvalue.length;++i)
            {
     
				document.amadeus.Destination_City.options[i]=new Option(destinationcityname[i],destinationcityvalue[i]);	
			}
}

}


















function updatecitypair()
		
		{ 
			
			
			
			var k;
			for(k=document.amadeus.Departure_City.options.length-1;k>=0;k--)
			{
				document.amadeus.Departure_City.remove(k);
			}

			var l;
			for(l=document.amadeus.Destination_City.options.length-1;l>=0;l--)
			{
					document.amadeus.Destination_City.remove(l);
			}
	
           if (document.amadeus.countryofdeparture.value=="MAU")
           { 
           
             var departurecityvalue = new Array("MRU","RRG");
             var departurecityname = new Array("Mauritius","Rodrigues");
             
               var destinationcityvalue = new Array("ABZ","ADL","AMS","TNR","OVD","ATH","AKL","BLR","BKK","BCN","BRI","PEK","BSL","TXL","BEY","BIO","BHX","BLQ","BOD",
             "BES","BNE","BRU","BRS","BUD","CPT","CTA","CBR","MAA","CFE","CPH","DPS","DXB","DUB","DUR","DUS","EDI","FRA","GVA","CAN","HAM",
             "HEL","HKG","JNB","JKT","KHH","KHI","KBP","KUL","LHR","LUX","LYS","MAD","MAN","MRS","MRU","MEL","MXP","MPL","MOW","MLH","BOM",
             "MUC","NBO","NTE","DEL","NCL","NCE",
             "OSL","PMO","CDG","PUF","PER","PRG","RNS","RUN","ZSE","RRG","FCO","SEL","PVG","SIN","LED","STO","SXB","SYD","TPE",
             "TLS","VCE","VIE","VGO","WAW","ZRH","JHB","LGK","KBR","KUA","PEN"); 

             var destinationcityname = new Array("Aberdeen(ABZ) - UK","Adelaide(ADL) - Australia","Amsterdam(AMS)","Antananarivo(TNR)","Asturias(OVD) - Spain",
             "Athens(ATH) - Greece","Auckland(AKL)-New Zealand","Bengaluru(BLR) - India","Bangkok(BKK) - Thailand","Barcelona(BCN) - Spain","Bari(BRI) - Italy",
             "Beijing(PEK) - China","Basel(BSL) - Switzerland","Berlin (TXL) - Germany","Beirut(BEY) - Lebanon","Bilbao(BIO) - Spain","Birmingham(BHX) - UK",
             "Bologna(BLQ) - Italy","Bordeaux(BOD) - France","Brest(BES) - France",
			"Brisbane(BNE)-Australia","Brussels(BRU) - Belgium","Bristol(BRS) - UK","Budapest(BUD) - Hungary","Cape Town(CPT) - S.Africa","Catania(CTA) - Italy",
			"Canberra(CBR) - Australia","Chennai(MAA) - India","C.Ferrand(CFE) - France","Copenghagen(CPH) - Denmark","Denpasar Bali(DPS)-Indonesia",
			"Dubai(DXB) - UAE","Dublin(DUB) - Ireland","Durban(DUR) - S.Africa","Duesseldorf(DUS) - Germany","Edinburgh(EDI) - UK","Frankfurt(FRA) - Germany",
			"Geneva(GVA) - Switzerland","Guangzhou(CAN) - China","Hamburg(HAM) - Germany",
			"Helsinki(HEL) - Finland","Hong Kong(HKG)","Johannesburg(JNB) - S.Africa","Jakarta(JKT)-Indonesia","Kaohsiung(KHH) - Taiwan",
			"Karachi(KHI)-Pakistan","Kiev-Borispol(KBP) - Ukraine",
			"K.Lumpur(KUL) - Malaysia",
			"London(LHR) - UK","Luxembourg(LUX)","Lyon(LYS) - France","Madrid(MAD) - Spain","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Mauritius(MRU)","Melbourne(MEL) - Australia","Milan(MXP) - Italy","Montpellier(MPL) - France","Moscow(MOW) - Russia",
			"Mulhouse(MLH) - France","Mumbai(BOM) - India","Munich(MUC) - Germany","Nairobi(NBO) - Kenya","Nantes(NTE) - France",
			"New Delhi(DEL) - India","Newcastle(NCL) - UK","Nice(NCE) - France","Oslo(OSL) - Norway","Palermo(PMO) - Italy",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australia","Prague(PRG) - Czech Republic",
			"Rennes(RNS) - France","Reunion(RUN) - St Denis","Reunion(ZSE) - St Pierre","Rodrigues(RRG)","Rome(FCO) - Italy","Seoul(SEL) - Korea",
			"Shanghai(PVG) - China","Singapore(SIN)","St Petersburg(LED) - Russia","Stockholm(STO) - Sweden",
			"Strasbourg(SXB) - France","Sydney(SYD) - Australia","Taipei(TPE) - Taiwan","Toulouse(TLS) - France",
			"Venice(VCE) - Italy","Vienna(VIE) - Austria","Vigo(VGO) - Spain","Warsaw(WAW) - Poland","Zurich(ZRH) - Switzerland",
			"Johar Bahru(JHB) - Malaysia","Langkawi(LGK) - Malaysia","Kota Bahru(KBR) - Malaysia","Kuantan(KUA) - Malaysia","Penang(PEN) - Malaysia"); 

            

            
 
             
           }
           
if (document.amadeus.countryofdeparture.value=="CCC")
           { 
           
             var departurecityvalue = new Array(""); 
             var departurecityname = new Array("Select City"); 

             var destinationcityvalue = new Array("");
             var destinationcityname = new Array("Select City");
             
      }
      
       if (document.amadeus.countryofdeparture.value=="CCF")
           { 
           
             var departurecityvalue = new Array(""); 
             var departurecityname = new Array("Sélectionnez "); 

             var destinationcityvalue = new Array("");
             var destinationcityname = new Array("Sélectionnez ");
             
      }



       if (document.amadeus.countryofdeparture.value=="AUD")
           { 
           
             var departurecityvalue = new Array("MEL","PER","SYD","","ADL","BNE","CBR")
             var departurecityname = new Array("Melbourne", "Perth","Sydney","----------------------------","Adelaide","Brisbane","Canberra"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","LHR","CDG","DXB","CPT",
             "DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "London(LHR)","Paris-CDG","Dubai","Cape Town","Durban","Johannesburg","Nairobi");
           }


    if (document.amadeus.countryofdeparture.value=="AUS")
           { 
           
             var departurecityvalue = new Array("VIE"); 
             var departurecityname = new Array("Vienna"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
      }
           
            if (document.amadeus.countryofdeparture.value=="BEL")
           { 
           
             var departurecityvalue = new Array("BRU"); 
             var departurecityname = new Array("Brussels"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
 

                    if (document.amadeus.countryofdeparture.value=="CHI")
           { 
           
             var departurecityvalue = new Array("PVG","","PEK","CAN"); 
             var departurecityname = new Array("Shanghai","----------------------------","Beijing","Guangzhou"); 

             var destinationcityvalue = new Array("MRU","KUL");
             var destinationcityname = new Array("Mauritius","Kuala Lumpur");
             
           }

        if (document.amadeus.countryofdeparture.value=="CZE")
          { 
           
             var departurecityvalue = new Array("PRG"); 
             var departurecityname = new Array("Prague"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
           
if (document.amadeus.countryofdeparture.value=="DEN")
           { 
           
             var departurecityvalue = new Array("CPH"); 
             var departurecityname = new Array("Copenhagen"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
           
 		if (document.amadeus.countryofdeparture.value=="FIN")
           { 
           
             var departurecityvalue = new Array("HEL"); 
             var departurecityname = new Array("Helsinki"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }




           if (document.amadeus.countryofdeparture.value=="FRA")
           { 
           
             var departurecityvalue = new Array("CDG","","BOD","BES","CFE",
            "LYS","MRS","MPL","MLH","NTE","NCE","PUF","RNS","SXB","TLS");
             var departurecityname = new Array("Paris","----------------------------","Bordeaux","Brest","Clermont Ferrand","Lyon","Marseille",
             "Montpellier","Mulhouse","Nantes","Nice","Pau","Rennes","Strasbourg","Toulouse");

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Maurice","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesbourg","Melbourne","Perth","Sydney");
             

             
           }

          if (document.amadeus.countryofdeparture.value=="GER")
           { 
           
                          var departurecityvalue = new Array("FRA","MUC","","BER","DUS","HAM"); 
             var departurecityname = new Array("Frankfurt","Munich","----------------------------","Berlin","Duesseldorf","Hamburg"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
                          
           }
           
            if (document.amadeus.countryofdeparture.value=="GRE")
           { 
           
             var departurecityvalue = new Array("ATH"); 
             var departurecityname = new Array("Athens"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


           

if (document.amadeus.countryofdeparture.value=="HON")
           { 
           
             var departurecityvalue = new Array("HKG"); 
             var departurecityname = new Array("Hong Kong"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }

if (document.amadeus.countryofdeparture.value=="HUN")
           { 
           
             var departurecityvalue = new Array("BUD"); 
             var departurecityname = new Array("Budapest"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

	if (document.amadeus.countryofdeparture.value=="IRE")
           { 
           
             var departurecityvalue = new Array("DUB"); 
             var departurecityname = new Array("Dublin"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }



	if (document.amadeus.countryofdeparture.value=="IND")
           { 
           
             var departurecityvalue = new Array("BOM","BLR","MAA","DEL"); 
             var departurecityname = new Array("Mumbai","Bengaluru","Chennai","New Delhi"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }



if (document.amadeus.countryofdeparture.value=="INA")
           { 
           
             var departurecityvalue = new Array("DPS","CGK"); 
             var departurecityname = new Array("Denpasar Bali","Jakarta"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }








	if (document.amadeus.countryofdeparture.value=="ITA")
           { 
           
          	           var departurecityvalue = new Array("MXP","","BRI","BLQ","CTA","PMO","FCO","VCE"); 
             var departurecityname = new Array("Milan","----------------------------","Bari","Bologna","Catania","Palermo","Rome","Venice"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
             
           }

	

	
	if (document.amadeus.countryofdeparture.value=="JAP")
           { 
           
             var departurecityvalue = new Array("TYO"); 
             var departurecityname = new Array("Tokyo"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }








		if (document.amadeus.countryofdeparture.value=="KEN")
           { 
           
             var departurecityvalue = new Array("NBO"); 
             var departurecityname = new Array("Nairobi"); 
			
			 var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Melbourne","Perth","Sydney");

             
  
           }

		if (document.amadeus.countryofdeparture.value=="KOR")
           { 
           
             var departurecityvalue = new Array("SEL"); 
             var departurecityname = new Array("Seoul"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

if (document.amadeus.countryofdeparture.value=="LEB")
           { 
           
             var departurecityvalue = new Array("BEY"); 
             var departurecityname = new Array("Beirut"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


       if (document.amadeus.countryofdeparture.value=="LUX")
           { 
           
             var departurecityvalue = new Array("LUX"); 
             var departurecityname = new Array("Luxemburg"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }




		if (document.amadeus.countryofdeparture.value=="MAD")
           { 
           
             var departurecityvalue = new Array("TNR"); 
             var departurecityname = new Array("Antananarivo"); 

             var destinationcityvalue = new Array("MRU","ABZ","AMS","OVD","BLR","BKK","BCN","BSL","BIO","BHX","BLQ","BOD",
             "BES","BRS","CPT","MAA","CFE","DXB","DUR","DUS","EDI","FRA","GVA","HKG","JNB","KUL","LHR","LYS","MAD","MAN","MRS","MEL",
             "MXP","MPL","MLH","BOM","MUC","NBO","NTE","DEL","NCL","NCE","CDG","PUF","PER",
             "RNS","RUN","ZSE","RRG","FCO","PVG","SIN","SXB","SYD",
             "TLS","VIE","VGO","ZRH","JHB","LGK","KBR","KUA","PEN"); 
             var destinationcityname = new Array("Maurice(MRU)","Aberdeen(ABZ) - UK","Amsterdam(AMS)","Asturias(OVD) - Espagne",
           "Bengaluru(BLR) - Inde","Bangkok(BKK) - Thailande","Barcelone(BCN) - Espagne","Basel(BSL) - Suisse","Bilbao(BIO) - Espagne","Birmingham(BHX) - UK","Bologna(BLQ) - Italie","Bordeaux(BOD) - France","Brest(BES) - France",
			"Bristol(BRS) - UK","Cape Town(CPT) - Af. du Sud","Chennai(MAA) - Inde","C.Ferrand(CFE) - France","Dubai(DXB) - UAE","Durban(DUR) - Af. du Sud","Duesseldorf(DUS) - Allemagne","Edinburgh(EDI) - UK",
			"Frankfurt(FRA) - Allemagne","Geneva(GVA) - Suisse","Hong Kong(HKG)","Johannesburg(JNB) - Af du Sud","K.Lumpur(KUL) - Malaysie","Londres(LHR) - UK",
			"Lyon(LYS) - France","Madrid(MAD) - Espagne","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Melbourne(MEL) - Australie","Milan(MXP) - Italie",
			"Montpellier(MPL) - France","Mulhouse(MLH) - France","Mumbai(BOM) - Inde","Munich(MUC) - Allemagne","Nairobi(NBO) - Kenya","Nantes(NTE) - France",
			"New Delhi(DEL) - Inde","Newcastle(NCL) - UK","Nice(NCE) - France",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australie","Rennes(RNS) - France","Reunion(RUN) - St Denis","Reunion(ZSE) - St Pierre","Rodrigues(RRG)",
			"Rome(FCO) - Italie",
			"Shanghai(PVG) - Chine","Singapour(SIN)","Strasbourg(SXB) - France","Sydney(SYD) - Australie","Toulouse(TLS) - France",
			"Vienne(VIE) - Autriche","Vigo(VGO) - Espagne","Zurich(ZRH) - Suisse","Johar Bahru(JHB) - Malaysie","Langkawi(LGK) - Malaysie","Kota Bahru(KBR) - Malaysie","Kuantan(KUA) - Malaysie","Penang(PEN) - Malaysie"); 
             
           }
		if (document.amadeus.countryofdeparture.value=="MAL")
           { 
           
               var departurecityvalue = new Array("KUL","","JHB","KBR","KUA","LGK","PEN"); 
             var departurecityname = new Array("Kuala Lumpur","----------------------------","Johar Bahru","Kota Bahru","Kuantan","Langkawi","Penang"); 
 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO","PVG");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi","Shanghai");
             
           }



           if (document.amadeus.countryofdeparture.value=="NET")
           { 
           
             var departurecityvalue = new Array("AMS"); 
             var departurecityname = new Array("Amsterdam"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }
	

 if (document.amadeus.countryofdeparture.value=="NOR")
           { 
           
             var departurecityvalue = new Array("OSL"); 
             var departurecityname = new Array("Oslo"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

if (document.amadeus.countryofdeparture.value=="NZL")
           { 
           
             var departurecityvalue = new Array("AKL"); 
             var departurecityname = new Array("Auckland"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


if (document.amadeus.countryofdeparture.value=="PAK")
           { 
           
             var departurecityvalue = new Array("KHI"); 
             var departurecityname = new Array("Karachi"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


if (document.amadeus.countryofdeparture.value=="POL")
           { 
           
            
            var departurecityvalue = new Array("WAW"); 
             var departurecityname = new Array("Warsaw"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }






		if (document.amadeus.countryofdeparture.value=="REU")
           { 
           
            
            
             var departurecityvalue = new Array("RUN","ZSE"); 
             var departurecityname = new Array("St Denis","St Pierre"); 

            
            
             var destinationcityvalue = new Array("MRU","ABZ","AMS","TNR","OVD","BLR","BKK","BCN","BSL","BIO","BHX","BLQ","BOD",
             "BES","BRS","MAA","CFE","DXB","DUS","EDI","FRA","GVA","HKG","JNB","KUL","LHR","LYS","MAD","MAN","MRS","MEL",
             "MXP","MPL","MLH","BOM","MUC","NTE","DEL","NCL","NCE","CDG","PUF","PER",
             "RNS","RRG","FCO","PVG","SIN","SXB","SYD",
             "TLS","VIE","VGO","ZRH","JHB","LGK","KBR","KUA","PEN"); 
             var destinationcityname = new Array("Maurice(MRU)","Aberdeen(ABZ) - UK","Amsterdam(AMS)","Antananarive(TNR)","Asturias(OVD) - Espagne",
           "Bengaluru(BLR) - Inde","Bangkok(BKK) - Thailande","Barcelone(BCN) - Espagne","Basel(BSL) - Suisse","Bilbao(BIO) - Espagne","Birmingham(BHX) - UK","Bologna(BLQ) - Italie","Bordeaux(BOD) - France","Brest(BES) - France",
			"Bristol(BRS) - UK","Chennai(MAA) - Inde","C.Ferrand(CFE) - France","Dubai(DXB) - UAE","Duesseldorf(DUS) - Allemagne","Edinburgh(EDI) - UK",
			"Frankfurt(FRA) - Allemagne","Geneva(GVA) - Suisse","Hong Kong(HKG)","Johannesburg(JNB) - Af du Sud","K.Lumpur(KUL) - Malaysie","Londres(LHR) - UK",
			"Lyon(LYS) - France","Madrid(MAD) - Espagne","Manchester(MAN) - UK",
			"Marseille(MRS) - France","Melbourne(MEL) - Australie","Milan(MXP) - Italie",
			"Montpellier(MPL) - France","Mulhouse(MLH) - France","Mumbai(BOM) - Inde","Munich(MUC) - Allemagne","Nantes(NTE) - France",
			"New Delhi(DEL) - Inde","Newcastle(NCL) - UK","Nice(NCE) - France",
			"Paris(CDG) - France","Pau(PUF) - France","Perth(PER) - Australie","Rennes(RNS) - France","Rodrigues(RRG)",
			"Rome(FCO) - Italie",
			"Shanghai(PVG) - Chine","Singapour(SIN)","Strasbourg(SXB) - France","Sydney(SYD) - Australie","Toulouse(TLS) - France",
			"Vienne(VIE) - Autriche","Vigo(VGO) - Espagne","Zurich(ZRH) - Suisse","Johar Bahru(JHB) - Malaysie","Langkawi(LGK) - Malaysie","Kota Bahru(KBR) - Malaysie","Kuantan(KUA) - Malaysie","Penang(PEN) - Malaysie"); 
         {
           
       //// To appear in French, Reunion, WF and MU French only when user choose Reunion///////////////////
        
             function open_win()
{
if ((document.website.countrywebsite.value == "RE") || (document.website.countrywebsite.value == "FR") || (document.website.countrywebsite.value == "WF")|| (document.website.countrywebsite.value == "MUF"))
window.open("message.htm","_blank","toolbar=no, location=yes, directories=no, status=no, menubar=no, scrollbars=yes, resizable=no, copyhistory=yes, width=450, height=200,left=400,top=200");
}
    open_win();
   
    
    }
			




  }

		
				
		

			if (document.amadeus.countryofdeparture.value=="RUS")
           { 
           
             var departurecityvalue = new Array("MOW","LED"); 
             var departurecityname = new Array("Moscow","Saint Petersburg"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }


		

		





			if (document.amadeus.countryofdeparture.value=="SIN")
           { 
           
             var departurecityvalue = new Array("SIN"); 
             var departurecityname = new Array("Singapore"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","NBO");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Nairobi");
             
           }

	
	
			if (document.amadeus.countryofdeparture.value=="SOU")
           { 
           
             var departurecityvalue = new Array("CPT","DUR","JNB"); 
             var departurecityname = new Array("Cape Town","Durban","Johannesburg"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","BLR","MAA","BOM","DEL","MEL","PER","SYD","HKG","KUL","SIN","PVG","CDG","LHR","DXB");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Bengaluru","Chennai","Mumbai","New Delhi","Melbourne","Perth","Sydney","Hong Kong","Kuala Lumpur","Singapore","Shanghai","Paris(CDG)","London(LHR)","Dubai");
     
           }

		if (document.amadeus.countryofdeparture.value=="SPA")
           { 
           
             var departurecityvalue = new Array("OVD","BCN","BIO","MAD","VGO"); 
             var departurecityname = new Array("Asturias","Barcelona","Bilbao","Madrid","Vigo"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

		
			if (document.amadeus.countryofdeparture.value=="SWI")
           { 
           
              var departurecityvalue = new Array("GVA","","BSL","ZRH"); 
             var departurecityname = new Array("Geneva","----------------------------","Basel","Zurich"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","Sydney");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
             
           }

if (document.amadeus.countryofdeparture.value=="SWE")
           { 
           
             var departurecityvalue = new Array("STO"); 
             var departurecityname = new Array("Stockholm"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

if (document.amadeus.countryofdeparture.value=="TAI")
           { 
           
             var departurecityvalue = new Array("KHH","TPE"); 
             var departurecityname = new Array("Kaohsiung","Taipei"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
         }


		
		
		if (document.amadeus.countryofdeparture.value=="THA")
           { 
           
             var departurecityvalue = new Array("BKK"); 
             var departurecityname = new Array("Bangkok"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
           }

		if (document.amadeus.countryofdeparture.value=="UAE")
           { 
           
             var departurecityvalue = new Array("DXB"); 
             var departurecityname = new Array("Dubai"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","MEL","PER","SYD");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Melbourne","Perth","Sydney");
             
           }


	if (document.amadeus.countryofdeparture.value=="UKR")
           { 
           
             var departurecityvalue = new Array("KBP"); 
             var departurecityname = new Array("Kiev-Borispol"); 

             var destinationcityvalue = new Array("MRU");
             var destinationcityname = new Array("Mauritius");
             
         }






		if (document.amadeus.countryofdeparture.value=="UNI")
           { 
           
              var departurecityvalue = new Array("LHR","","ABZ","BHX","BRS","EDI","MAN","NCL"); 
             var departurecityname = new Array("London","----------------------------","Aberdeen","Birmingham","Bristol","Edinburgh","Manchester","Newcastle"); 

             var destinationcityvalue = new Array("MRU","RRG","RUN","ZSE","TNR","CPT","DUR","JNB","SYD","MEL","PER");
             var destinationcityname = new Array("Mauritius","Rodrigues","Reunion(St Denis)","Reunion(St Pierre)","Antananarivo",
             "Cape Town","Durban","Johannesburg","Sydney","Melbourne","Perth");
             
           }





// F I L L I N G    O F     D R O P   D O W N     L I S T S///////////////////
           
           
           for (var i=0; i < departurecityvalue.length;++i)
           {
                
				document.amadeus.Departure_City.options[i]=new Option(departurecityname[i],departurecityvalue[i]);	
				
			}         

  		  for (var i=0; i < destinationcityvalue.length;++i)
            {
     
				document.amadeus.Destination_City.options[i]=new Option(destinationcityname[i],destinationcityvalue[i]);	
			}

 }   
           


function disableflexfield()
{

var scheduledrivencities = new Array("ADL","AKL","BEY","BKK","BNE","BRI","BSL","CAN","CBR","CTA","DPS","JKT","LUX","PMO","SYD");

var match=0;
document.amadeus.DATE_RANGE_VALUE_FRADIO.disabled = false;

//if (document.amadeus.Destination_City.value == "CMB") 
for(i = 0; i < scheduledrivencities.length; i++)
{
if ((document.amadeus.Destination_City.value == scheduledrivencities[i])|| (document.amadeus.Departure_City.value == scheduledrivencities[i]))
{

	document.amadeus.DATE_RANGE_VALUE_FRADIO.disabled = true;
	match=1;
}

}



//if (document.amadeus.countryofdeparture.value=="SOU")
//{

//document.amadeus.DATE_RANGE_VALUE_FRADIO.disabled = true;
//	match=1;
//}


}




function checkexpedia()
{

if (countryresidence == "MU")
     {
     document.expediaform.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";    
     document.expediaform.eapid.value="36676-30001";
//      document.expediaform.GOTO.value="PKGLAUNCH";
     document.expediaform.lang.value="1033";

     }




if (countryresidence == "IN")
     {
     document.expediaform.action="http://in.wwte38.com/pubspec/scripts/eap.asp";    
     document.expediaform.eapid.value="508-30038";
//      document.expediaform.GOTO.value="PKGLAUNCH";
     document.expediaform.lang.value="0";

     }


if (countryresidence == "AU")
     {
     document.expediaform.action="http://aus.wwte8.com/pubspec/scripts/eap.asp";    
     document.expediaform.eapid.value="731-30008"; 
     //document.expediaform.lang.value="2057";

     }

  

   if ((countryresidence=="GB") || (countryresidence=="MUEN"))
   
    {
     document.expediaform.action="http://uk.wwte4.com/pubspec/scripts/eap.asp";    
     document.expediaform.eapid.value="842-30004"; 
     //document.expediaform.lang.value="2057";

     }
     
     if ((countryresidence=="FR") || (countryresidence=="MUFR")||(countryresidence=="CHFR") ||(countryresidence=="MD") ||(countryresidence=="MUF"))
     
     {
     document.expediaform.action="http://euro.wwte7.com/pubspec/scripts/eap.asp";
     document.expediaform.eapid.value="901-30007";
     document.expediaform.lang.value="1036";
     }
     
         
   
     if (countryresidence == "RE")
     {
     document.expediaform.action="http://euro.wwte7.com/pubspec/scripts/eap.asp";
     document.expediaform.eapid.value="902-30007";
     //document.expediaform.lang.value="1036";
     }
     
     

     if (countryresidence == "IT")
     {
     document.expediaform.action="http://it.wwte33.com/pubspec/scripts/eap.asp";
     document.expediaform.eapid.value="783-30033";
     //document.expediaform.lang.value="1040";

     }
     
     
     if (countryresidence == "ES")
     {
     document.expediaform.action="http://es.wwte34.com/pubspec/scripts/eap.asp";
     document.expediaform.eapid.value="800-30034";
     //document.expediaform.lang.value="3082";

     }
     
        
     if (countryresidence == "DE")
     {
     document.expediaform.action="http://de.wwte32.com/pubspec/scripts/eap.asp";
     document.expediaform.eapid.value="770-30032";
     //document.expediaform.lang.value="1031";

     }
     
    

    
    
    if (
       (countryresidence == "AT")
       ||
       (countryresidence == "BE")
       ||
       (countryresidence == "DK")
       ||
       (countryresidence == "HK")
       ||
       (countryresidence == "IE")
       ||
       (countryresidence == "KE")
       ||
       (countryresidence == "MY")
       ||
       (countryresidence == "NO")
       ||
       (countryresidence == "PL")
       ||
       (countryresidence == "SG")
       ||
       (countryresidence == "ZA")
       ||
       (countryresidence == "SE")
       ||
       (countryresidence == "CH")
       ||
       (countryresidence == "AE")
       ||
       (countryresidence == "sc")
		||
       (countryresidence == "FI")
 		||
       (countryresidence == "LU")
 		||
       (countryresidence == "PT")
 		||
       (countryresidence == "SK")

       )
     {
     document.expediaform.action="http://uk.wwte4.com/pubspec/scripts/eap.asp";    
     document.expediaform.eapid.value="842-30004"; 
     //document.expediaform.lang.value="2057";

     }

    
    
    
     document.expediaform.submit();

     
}     
    

function checkexpediahotel()
{

if ((countryresidence=="MU") || (countryresidence=="MUFR") ||(countryresidence=="MUEN"))
     {
     document.expediaformhotel.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";    
     document.expediaformhotel.eapid.value="36676-30001"; 
     //document.expediaform.lang.value="2057";

     }

  

   if (countryresidence == "AE")
     {
     document.expediaformhotel.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";    
     document.expediaformhotel.eapid.value="36679-30001"; 
     //document.expediaform.lang.value="2057";

     }
     
     if (countryresidence == "HK")
     {
     document.expediaformhotel.action="http://hk.wwte37.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="482-30037";
     document.expediaformhotel.lang.value="1036";
     }
     
         
   
     if (countryresidence == "IN")
     {
     document.expediaformhotel.action="http://in.wwte38.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="508-30038";
     //document.expediaform.lang.value="1036";
     }
     
     

     if (countryresidence == "KE")
     {
     document.expediaformhotel.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="36680-30001";
     //document.expediaform.lang.value="1040";

     }
     
     
     if (countryresidence == "MY")
     {
     document.expediaformhotel.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="36677-30001";
     //document.expediaform.lang.value="3082";

     }
     
        
     if (countryresidence == "RE") 
     {
     document.expediaformhotel.action="http://euro.wwte7.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="902-30007";
     //document.expediaform.lang.value="1031";

     }
    
    if (countryresidence == "SG")
     {
     document.expediaformhotel.action="http://sg.wwte39.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="581-30039";
     //document.expediaform.lang.value="1031";

     }

if (countryresidence == "ZA")
     {
     document.expediaformhotel.action="http://travel.wwte1.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="36678-30001";
     //document.expediaform.lang.value="1031";

     }


if (countryresidence == "CH" || (countryresidence=="CHFR"))
     {
     document.expediaformhotel.action="http://euro.wwte7.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="909-30007";
     //document.expediaform.lang.value="1031";

     }
//////////////////////

if (countryresidence == "AU")
     {
     document.expediaformhotel.action="http://aus.wwte8.com/pubspec/scripts/eap.asp";    
     document.expediaformhotel.eapid.value="731-30008"; 
     //document.expediaform.lang.value="2057";

     }

  

   if (countryresidence == "GB")
     {
     document.expediaformhotel.action="http://uk.wwte4.com/pubspec/scripts/eap.asp";    
     document.expediaformhotel.eapid.value="842-30004"; 
     //document.expediaform.lang.value="2057";

     }
     
     if ((countryresidence == "FR") ||(countryresidence=="MD")||(countryresidence=="MUF"))
     {
     document.expediaformhotel.action="http://euro.wwte7.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="901-30007";
     document.expediaformhotel.lang.value="1036";
     }
     
            
     

     if (countryresidence == "IT")
     {
     document.expediaformhotel.action="http://it.wwte33.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="783-30033";
     //document.expediaform.lang.value="1040";

     }
     
     
     if (countryresidence == "ES")
     {
     document.expediaformhotel.action="http://es.wwte34.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="800-30034";
     //document.expediaform.lang.value="3082";

     }
     
        
     if (countryresidence == "DE")
     {
     document.expediaformhotel.action="http://de.wwte32.com/pubspec/scripts/eap.asp";
     document.expediaformhotel.eapid.value="770-30032";
     //document.expediaform.lang.value="1031";

     }

    
    if (
       (countryresidence == "AT")
       ||
       (countryresidence == "BE")
       ||
       (countryresidence == "DK")    
       ||
       (countryresidence == "IE")
       ||
       (countryresidence == "NO")
       ||
       (countryresidence == "PL")   
       ||
       (countryresidence == "SE")     
       ||
       (countryresidence == "sc")
	||
       (countryresidence == "FI")
 		||
       (countryresidence == "LU")
 		||
       (countryresidence == "PT")
 		||
       (countryresidence == "SK")

       )
     {
     document.expediaformhotel.action="http://uk.wwte4.com/pubspec/scripts/eap.asp";    
     document.expediaformhotel.eapid.value="842-30004"; 
     //document.expediaform.lang.value="2057";

     }
     // codechange:1 // //Change made for calendar format
if ( countryresidence=="KE" || countryresidence=="MY" || countryresidence=="ZA" || countryresidence=="AE" || countryresidence=="MUEN" || countryresidence=="MUFR" ||  countryresidence=="MU" )
{

var expmonth=document.expediaformhotel.indate.value.substring(3,5);
var expday=document.expediaformhotel.indate.value.substring(0,2);
var expyear=document.expediaformhotel.indate.value.substring(6,10);

document.expediaformhotel.indate.value = expmonth+'/'+expday+'/'+expyear;

var expmonth=document.expediaformhotel.outdate.value.substring(3,5);
var expday=document.expediaformhotel.outdate.value.substring(0,2);
var expyear=document.expediaformhotel.outdate.value.substring(6,10);

document.expediaformhotel.outdate.value = expmonth+'/'+expday+'/'+expyear;

 }
 document.expediaformhotel.submit();

 return true;
}     




