// JScript source code
function getWndw(pv, hm)
{
   var nw, nwl;
   switch (pv)
   {
    case "wthr":
      nwl = "http://weather.yahoo.com";
      break;
    case "crrn":
      nwl = "http://www.xe.com/ucc/";
      break;  
    case "tzn":
      nwl = "http://www.timeanddate.com/worldclock/";
      break;  
   }   
   nw = open(nwl, "", "resizable,location,scrollbars,width=500,height=300");
   location=hm;   
   return true;
}
function getCrs(cn)
{
  var nwl,nw;

  switch (cn)
  {
    case "rc":
      nwl =  "http://www.royalcaribbean.com/home.do;jsessionid=0000-4widtO3V7aahlrK3YyQWg6:v29bc6gq";
      break;
    case "cl":
      nwl = "http://www.celebrity.com/partnerlink.asp?partnerid=179099";  
      break;
    default:
      nwl = "";
  }
  nw = open(nwl, "", "resizable,location,scrollbars,width=500,height=300");  
  location="bdtCruises.html";
  return true;  
  
  switch (cn)
  {
     case "ch":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/carnival/carnival-home.html";
       break;
     case "cl":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/celebrity.html";
       break;
     case "costa":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/costa.html";
       break;
     case "crstl":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/crystal.html";
       break;
     case "cnrd":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/cunard.html";
       break;
     case "disney":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/disney.html";
       break;
     case "ha":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/hollandamerica.html";
       break;
     case "nw":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/norweigan.html";
       break;
     case "or":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/orient.html";
       break;
     case "pr":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/princess.html";
       break;
     case "rd":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/radison.html";
       break;
     case "rc":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/royal-caribbean.html";
       break;
     case "sb":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/seabourn.html";
       break;
     case "ws":
       nwl = "http://www.cruiseholidaysnj.com/cruiselines/windstar.html";
       break;
  }
  nw = open(nwl, "", "resizable,location,scrollbars,width=500,height=300");
  location="bdtCruises.html";
  return true;
}
function getSpc(cn)
{
  var nwl,nw;
  switch (cn)
  {
     case "rw":
       nwl = "http://www.rockwelltours.com/agents/index.asp?site=5724718C036"
       break;
     case "ap":
       nwl = "http://www.applevacations.com/servlet/QFD2WebSiteController?PAGEID=1004&OPERATIONID=115&DLVENDORID=0000062353";
       break;
  
     case "ac":
       nwl = "http://www.yahoo.com";
       break;
     case "hr":
       nwl = "http://www.astrologyzone.com/";
       break;
     case "mp":
       nwl = "http://maps.yahoo.com/";
       break;
     case "rd":
       nwl = "http://russianinternet.com/radio/";
       break;
     case "gg":
       nwl="http://affiliate.gogowwv.com?RefARC=KKNQPRMO"       
  }
  nw = open(nwl, "", "resizable,location,scrollbars,width=500,height=300");
  location="bdtSpecials.html";
  return true;
}
function getHtl(ct)
{
	   var nwh;
	   switch (ct)
	   {
	     case "prg":
	       nwh = "docs/bdtPrghtl.html#"+document.forms[0].htlprg.options[document.forms[0].htlprg.selectedIndex].value;
	       break;
	     case "kv":
	       nwh = "docs/bdtKVhtl.html#"+document.forms[0].htlkv.options[document.forms[0].htlkv.selectedIndex].value;
	       break;
	     case "ml":
	       nwh = "docs/bdtMLhtl.html#"+document.forms[0].htlml.options[document.forms[0].htlml.selectedIndex].value;
	       break;
	     case "pd":
	       nwh = "docs/bdtPBhtl.html#"+document.forms[0].htlpd.options[document.forms[0].htlpd.selectedIndex].value;
	       break;
	     case "mx":
	       nwh = "docs/bdtMxHtl.html#"+document.forms[0].htlmx.options[document.forms[0].htlmx.selectedIndex].value;
	       break;
	     case "ch1":
	       nwh = "docs/bdtCzchTrs1.html";
	       break; 
	     case "ch2":
   	       nwh = "docs/bdtCzchTrs2.html";
	       break;  
	     case "ch3":
	       nwh = "docs/bdtCzchTrs3.html";	     
	       break;  
	     case "aur":
	       nwh = "docs/bdtAustRsrt.html";
	       break;
	     case "ex1":
	       nwh = "docs/Excursions.html";
	       break;
	     case "rsg":
	       nwh = "docs/rsg.html";
	       break;
	      default:
	       return true; 
	   }
	   if (nwh)
	   {
	      nw = open(nwh,"Hotels","scrollbars,width=750,height=450");
	   }
       location = "bdtHotels.html";
	   return true;
}
function getTrs(ct)
{
	   var nwh;
	   switch (ct)
	   {
	     case "ex1":
	       nwh = "docs/Excurcions.html";
	       break;
	     case "rsg":
	       nwh = "docs/rsg.html";
	       break;
	      default:
	       return true; 
	   }
	   if (nwh)
	   {
	      nw = open(nwh,"Tours","scrollbars,width=750,height=450");
	   }
       location = "bdtTours.html";
	   return true;
}


