var siteURL = '/'
// function to do the site search
function doSearch()
{
var word = txtSearch.value;
if(word=='')
	alert('Please enter a word to search for');
else
	location.href=siteURL + 'search.htm?s=' + word;
}
// must have full URLS for perlsearch to work properly

//--> 

<!--
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
  var ok=false; document.MM_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins && plugins.length)) {
    ok=(plugins && plugins[plgIn]);
  } else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null) ok=window.MM_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null) ok=window.MM_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->



function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

//-->
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//-->
function openPrivacy(privacy)
{
    NewWin=window.open (privacy, '', 'top=5,left=160,scrollbars=1,resize=0,width=330,height=450');
}

function openTerms(terms)
{
    NewWin=window.open (terms, '', 'top=5,left=160,scrollbars=1,resize=0,width=330,height=450');
}


// validates the feedback form
//var good
function checkemailAddress(email) {
// Note: The next expression must be all on one line...
//       allow no spaces, linefeeds, or carriage returns!
var goodemail = formFback.email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodemail){
   //good = true
} else {
   alert('Please enter a valid e-mail address.')
   formFback.email.focus()
   formFback.email.select()
   //good = false
   }
}
function sendOff()
{
	realname = document.formFback.realname.value
   if (realname.length <1) {
      alert('Please enter your full name.')
	 // good = false
   formFback.realname.focus()
   formFback.realname.select()
    return false;
   }
    Operator = document.formFback.Operator.value
    if (Operator.length <1) {
       alert('Please tell us which tour operator you are using.')
	  good = false
    formFback.Operator.focus()
    formFback.Operator.select()
     return false;
    }
   email = document.formFback.email.value
   if (email.length <1) {
      alert('Please enter your email address.')
	 // good = false
   formFback.email.focus()
   formFback.email.select()
    return false;
   }
   // good = true
   checkemailAddress(document.formFback.email) // calls the checkemailAddress function
}   
// swaps the text on the homepage
function showlink(text)
{
	var f = lnkText;
	f.innerHTML = text;				
}


// sets the date for each page
function setTodaysDate()
{
  var newday = new Date();
  var the_day = newday.getDate();
  var this_day = newday.getDay()+1;
  var the_month = newday.getMonth()+1;
  var the_year = newday.getYear();
  if (the_month == 1){my_month = "January"};
  if (the_month == 2){my_month = "February"};
  if (the_month == 3){my_month = "March"};
  if (the_month == 4){my_month = "April"};
  if (the_month == 5){my_month = "May"};
  if (the_month == 6){my_month = "June"};
  if (the_month == 7){my_month = "July"};
  if (the_month == 8){my_month = "August"};
  if (the_month == 9){my_month = "September"};
  if (the_month == 10){my_month = "October"};
  if (the_month == 11){my_month = "November"};
  if (the_month == 12){my_month = "December"};
  if (the_year <= 1000){the_year = the_year + 1900};
  if (the_day <= 31){the_day = " " + the_day};
  // now set the div
 todaysDate.innerHTML = the_day + ' ' + my_month + ' ' + the_year;
}
// random image 

<!-- Begin
// Set up the image files to be used.
var infoImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.
infoImages[0] = 'images/rotate1.jpg'
infoImages[1] = 'images/rotate2.jpg'
infoImages[2] = 'images/rotate3.jpg'
infoImages[3] = 'images/rotate4.jpg'
infoImages[4] = 'images/rotate5.jpg'
infoImages[5] = 'images/rotate6.jpg'
infoImages[6] = 'images/rotate7.jpg'
infoImages[7] = 'images/rotate8.jpg'
infoImages[8] = 'images/rotate9.jpg'
// do not edit anything below this line
var j = 0
var p = infoImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = infoImages[i]
}
var whichinfoImages = Math.round(Math.random()*(p-1));
function showinfoImage(){
document.write('<img src="'+infoImages[whichinfoImages]+'">');
}
//  End -->

// open the privacy pop up
// must have full URLS for perlsearch to work properly
function openSlideshow()
{
window.open('http://www.bigame.com/accommodation/popup.htm','slideshow','scrollbars=yes,toolbar=no,locationbar=no,width=330,height=400');
}


	
