function addlist(){
var selectList = document.sexch.exch;
if (selectList.value == "ca" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option( "Select hotel and book a room",'sl');
}
//alert(hname);
//alert(category);
if (selectList.value == "anuradhapura-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Palm Garden Village Hotel","anuradhapura-hotels/palm-garden-village-hotel-anuradhapura.html");  }

if (selectList.value == "bentota-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Bentota Beach Hotel Bentota","bentota-hotels/bentota-beach-hotel-bentota.html");
sellst.options[2] = new Option("Lihiniya Surf Hotel Bentota","bentota-hotels/lihiniya-surf-hotel-bentota.html");
sellst.options[3] = new Option("Saman Villa Hotel Bentota","bentota-hotels/saman-villa-hotel-bentota.html");
sellst.options[4] = new Option("Serendib Hotel Bentota Bentota","bentota-hotels/serendib-hotel-bentota-bentota.html");
sellst.options[5] = new Option("Taj Exotica Hotel Bentota","bentota-hotels/taj-exotica-hotel-bentota.html");
  }
  
      if (selectList.value == "beruwela-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Eden Hotel Beruwela","beruwela-hotels/eden-hotel-beruwela.html");
sellst.options[2] = new Option("Neptune Hotel Beruwela","beruwela-hotels/neptune-hotel-beruwela.html");
sellst.options[3] = new Option("Riverina Hotel Beruwela","beruwela-hotels/riverina-hotel-beruwela.html");
//loadpage('nsegraphfeed1.xml');
//document.aa.ind.value=
  }
     if (selectList.value == "colombo-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Airport Garden Hotel Colombo","colombo-hotels/airport-garden-hotel-colombo.html");
sellst.options[2] = new Option("Ceylon Continental Colombo","colombo-hotels/ceylon-continental-colombo.html");
sellst.options[3] = new Option("Cinnamon Grand Hotel","colombo-hotels/cinnamon-grand-hotel-colombo-plaza.html");
sellst.options[4] = new Option("Galadari Hotel Colombo","colombo-hotels/galadari-hotel-colombo.html");
sellst.options[5] = new Option("Galle Face Hotel Colombo","colombo-hotels/galle-face-hotel-colombo.html");
sellst.options[6] = new Option("Grand Oriental Hotel Colombo","colombo-hotels/grand-oriental-hotel-colombo.html");
sellst.options[7] = new Option("Hilton Hotel Colombo","colombo-hotels/hilton-hotel-colombo.html");
sellst.options[8] = new Option("Holiday Inn Hotel Colombo","colombo-hotels/holiday-inn-hotel-colombo.html");
sellst.options[9] = new Option("Induruwa Beach Hotel Colombo","colombo-hotels/induruwa-beach-hotel-colombo.html");
sellst.options[10] = new Option("Taj Samudra Colombo","colombo-hotels/taj-samudra-colombo.html");
sellst.options[11] = new Option("Trans Asia Hotel Colombo","colombo-hotels/trans-asia-hotel-colombo.html");

  }
     if (selectList.value == "dambulla-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Culture Club Dambulla","dambulla-hotels/culture-club-dambulla.html");

}


if (selectList.value == "giritale-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Deer Park Hotel Giritale","giritale-hotels/deer-park-hotel-giritale.html");
}
     if (selectList.value == "habarana-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Habarana Lodge","habarana-hotels/habarana-lodge.html");

  }
if (selectList.value == "hambantota-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Oasis Hotel Hambantota ","hambantota-hotels/oasis-hotel-hambantota.html");
sellst.options[2] = new Option("Peacock Beach Hotel","hambantota-hotels/peacock-beach-hotel-hambantota.html");
}
if (selectList.value == "hendala-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Pegasus Reef Hotel Hendala","hendala-hotels/pegasus-reef-hotel-hendala.html");
}
if (selectList.value == "hikkaduwa-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Coral Gardens Hikkaduwa","hikkaduwa-hotels/coral-gardens-hikkaduwa.html");
}

if (selectList.value == "kalutara-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Golden Sun Hotel Kalutara","kalutara-hotels/golden-sun-hotel-kalutara.html");
sellst.options[2] = new Option("Kani Lanka Resort Spa","kalutara-hotels/kani-lanka-resort-spa.html");
sellst.options[3] = new Option("Mermaid Hotel & Club  Kalutara","kalutara-hotels/mermaid-hote-club-kalutara.html");
sellst.options[4] = new Option("Royal Palms Kalutara","kalutara-hotels/royal-palms-kalutara.html");
sellst.options[5] = new Option("Tangerine Beach Hotel Kalutara","kalutara-hotels/tangerine-beach-hotel-kalutara.html");
}

if (selectList.value == "kandalama-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Kandalama Hotel","kandalama-hotels/kandalama-hotel.html");
}

if (selectList.value == "kandy-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Earls Regency Hotel Kandy","kandy-hotels/earls-regency-hotel-kandy.html");
sellst.options[2] = new Option("Hotel Swiss Residence Kandy","kandy-hotels/hotel-swiss-residence-kandy.html");
sellst.options[3] = new Option("Hotel Topaz Kandy","kandy-hotels/hotel-topaz-kandy.html");
sellst.options[4] = new Option("Le Kandyan Hotel Kandy","kandy-hotels/le-kandyan-hotel-kandy.html");
sellst.options[5] = new Option("Mahaweli Reach Hotel Kandy","kandy-hotels/mahaweli-reach-hotel-kandy.html");
sellst.options[6] = new Option("Tree of Life Kandy","kandy-hotels/tree-of-life-kandy.html");
}

if (selectList.value == "kataragama-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Rosen Renaissance Kataragama","kataragama-hotels/rosen-renaissance-kataragama.html");
}

if (selectList.value == "marawila-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Club Palm Bay Marawila","marawila-hotels/club-palm-bay-marawila.html");
}

if (selectList.value == "mount-lavinia" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Mount Lavinia Hotel","mount-lavinia/mount-lavinia-hotel.html");
}

if (selectList.value == "negombo-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Browns Beach Hotel Negombo","negombo-hotels/browns-beach-hotel-negombo.html");
}

if (selectList.value == "nuwara-eliya-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Grand Hotel Nuwara Eliya","nuwara-eliya-hotels/grand-hotel-nuwara-eliya.html");
sellst.options[2] = new Option("Hill Club Nuwara Eliya","nuwara-eliya-hotels/hill-club-nuwara-eliya.html");
sellst.options[3] = new Option("The Tea Factory Nuwara Eliya","nuwara-eliya-hotels/the-tea-factory-nuwara-eliya.html");
}

if (selectList.value == "sigiriya-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Sigiriya Village","sigiriya-hotels/sigiriya-village.html");
}


if (selectList.value == "tissamaharama-hotels" ){
//alert("im in nse");
var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Yala Safari Game Lodge","tissamaharama-hotels/yala-safari-game-lodge-tissamaharama.html");
sellst.options[2] = new Option("Yala Village Tissaamaharame","tissamaharama-hotels/yala-village-tissaamaharame.html");

}

if (selectList.value == "wadduwa-hotels" ){
//alert("im in nse");
//var llen = document.sexch.indxs.length;
var sellst = document.sexch.indxs;
for (i=1; i<=parseInt(llen); i++){
document.sexch.indxs.length--;
}
sellst.options[0] = new Option("Select Hotel",""); 
sellst.options[1] = new Option("Blue Water Hotel Wadduwa","wadduwa-hotels/blue-water-hotel-wadduwa.html");
sellst.options[2] = new Option("Privilege All Suites Hotel","wadduwa-hotels/privilege-all-suites-hotel-wadduwa.html");
sellst.options[3] = new Option("The Villa Ocean View Wadduwa","wadduwa-hotels/the-villa-ocean-view-wadduwa.html");
//loadpage('nsegraphfeed1.xml');
//document.aa.ind.value=
  }
var len = selectList.options.length;
//selectList.options[len] = new Option("cc", "cc");
  }
    function loadPage()
  {
  var i
  i=document.sexch.indxs.value
  if(i=="sl")
	{
	return false;
	}
  //alert(i)  
    window.location.href=i
	  }













                                                                                                       
                                                                                                       
