//image swap script for rooms 
 if (document.images)
   {
     image_off= new Image(140,90);
     image_off.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Getaway.jpg";  

     pkg_image_2= new Image(140,90);
     pkg_image_2.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Getaway.jpg";
     pkg_image_3= new Image(140,90);
     pkg_image_3.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-SeeAShow.jpg";  
     pkg_image_4= new Image(140,90);
     pkg_image_4.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Dine.jpg";   
     pkg_image_5= new Image(140,90);
     pkg_image_5.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-FuelUp.jpg";  
     pkg_image_6= new Image(140,90);
     pkg_image_6.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Tour.jpg";
     pkg_image_7= new Image(140,90);
     pkg_image_7.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Feast.jpg";
     pkg_image_8= new Image(140,90);
     pkg_image_8.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Romance.jpg";
     pkg_image_9= new Image(140,90);
     pkg_image_9.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-GirlsNightOut.jpg";  
     pkg_image_10= new Image(140,90);
     pkg_image_10.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Bridge.jpg";   
     pkg_image_11= new Image(140,90);
     pkg_image_11.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Poker.jpg";  
     pkg_image_12= new Image(140,90);
     pkg_image_12.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-NewBrunswick.jpg";
     pkg_image_13= new Image(140,90);
     pkg_image_13.src="http://www.casinonovascotia.com/images/sections/package_rollover/pr-Newfoundland.jpg";


   }

function packageswap1(picName,imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + ".src");
      document[picName].src= imgOn;
    }
 }

//for dropdowns on tramonto menu pages
function go1(){
if (document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value != "none") {
location = document.selecter1.select1.options[document.selecter1.select1.selectedIndex].value
		}
	}

function goToNextPage()
{
PageIndex=document.form_menu.My_Choice.selectedIndex
if (document.form_menu.My_Choice.options[PageIndex].value != "none")
{
location = document.form_menu.My_Choice.options[PageIndex].value
}
}


//fix for multi-language 
function jumpToMyEnglish() {

            var myUrl = '<WXWEB>';            

            // remove the first occurance of /fr in the URL

            window.location = myUrl.replace( "/ch/", "/" );         

            }

function flashCalendar( flashFile ){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="562" height="571" title="Calendar"><param name="movie" value="/files/Flash/calendars/'+flashFile+'" /><param name="quality" value="high" /><param name="wmode" value="transparent"><embed src="/files/Flash/calendars/'+flashFile+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="562" height="572" wmode="transparent"></embed></object>');
}