// IMAGE ROLL OVERS
if (document.images) {
  homeOn = new Image();
  homeOn.src = "imgs/bt_nav_home1.gif";
  boatOn = new Image();
  boatOn.src = "imgs/bt_nav_boat1.gif";
  tripsOn = new Image();
  tripsOn.src = "imgs/bt_nav_trips1.gif";
  ratesOn = new Image();
  ratesOn.src = "imgs/bt_nav_rates1.gif";
  clipsOn = new Image();
  clipsOn.src = "imgs/bt_nav_clips1.gif";
  linksOn = new Image();
  linksOn.src = "imgs/bt_nav_links1.gif";
  contactOn = new Image();
  contactOn.src = "imgs/bt_nav_contact1.gif";
  
  homeOff = new Image();
  homeOff.src = "imgs/bt_nav_home0.gif";
  boatOff = new Image();
  boatOff.src = "imgs/bt_nav_boat0.gif";
  tripsOff = new Image();
  tripsOff.src = "imgs/bt_nav_trips0.gif";
  ratesOff = new Image();
  ratesOff.src = "imgs/bt_nav_rates0.gif";
  clipsOff = new Image();
  clipsOff.src = "imgs/bt_nav_clips0.gif";
  linksOff = new Image();
  linksOff.src = "imgs/bt_nav_links0.gif";
  contactOff = new Image();
  contactOff.src = "imgs/bt_nav_contact0.gif";
  
  th01On = new Image();
  th01On.src = "imgs/bt_boat_th011.jpg";
  th02On = new Image();
  th02On.src = "imgs/bt_boat_th021.jpg";
  th03On = new Image();
  th03On.src = "imgs/bt_boat_th031.jpg";
  th04On = new Image();
  th04On.src = "imgs/bt_boat_th041.jpg";
  th05On = new Image();
  th05On.src = "imgs/bt_boat_th051.jpg";
  th06On = new Image();
  th06On.src = "imgs/bt_boat_th061.jpg";
  th07On = new Image();
  th07On.src = "imgs/bt_boat_th071.jpg";
  th08On = new Image();
  th08On.src = "imgs/bt_boat_th081.jpg";
  th09On = new Image();
  th09On.src = "imgs/bt_boat_th091.jpg";
  th10On = new Image();
  th10On.src = "imgs/bt_boat_th101.jpg";
  th11On = new Image();
  th11On.src = "imgs/bt_boat_th111.jpg";
  th12On = new Image();
  th12On.src = "imgs/bt_boat_th121.jpg";
  th13On = new Image();
  th13On.src = "imgs/bt_boat_th131.jpg";
  th14On = new Image();
  th14On.src = "imgs/bt_boat_th141.jpg";
  th15On = new Image();
  th15On.src = "imgs/bt_boat_th151.jpg";
  th16On = new Image();
  th16On.src = "imgs/bt_boat_th161.jpg";
  th17On = new Image();
  th17On.src = "imgs/bt_boat_th171.jpg";
  th18On = new Image();
  th18On.src = "imgs/bt_boat_th181.jpg";
  th19On = new Image();
  th19On.src = "imgs/bt_boat_th191.jpg";
  th20On = new Image();
  th20On.src = "imgs/bt_boat_th201.jpg";
  th21On = new Image();
  th21On.src = "imgs/bt_boat_th211.jpg";
  th22On = new Image();
  th22On.src = "imgs/bt_boat_th221.jpg";
  th23On = new Image();
  th23On.src = "imgs/bt_boat_th231.jpg";
  th24On = new Image();
  th24On.src = "imgs/bt_boat_th241.jpg";
  
  th01Off = new Image();
  th01Off.src = "imgs/bt_boat_th010.jpg";
  th02Off = new Image();
  th02Off.src = "imgs/bt_boat_th020.jpg";
  th03Off = new Image();
  th03Off.src = "imgs/bt_boat_th030.jpg";
  th04Off = new Image();
  th04Off.src = "imgs/bt_boat_th040.jpg";
  th05Off = new Image();
  th05Off.src = "imgs/bt_boat_th050.jpg";
  th06Off = new Image();
  th06Off.src = "imgs/bt_boat_th060.jpg";
  th07Off = new Image();
  th07Off.src = "imgs/bt_boat_th070.jpg";
  th08Off = new Image();
  th08Off.src = "imgs/bt_boat_th080.jpg";
  th09Off = new Image();
  th09Off.src = "imgs/bt_boat_th090.jpg";
  th10Off = new Image();
  th10Off.src = "imgs/bt_boat_th100.jpg";
  th11Off = new Image();
  th11Off.src = "imgs/bt_boat_th110.jpg";
  th12Off = new Image();
  th12Off.src = "imgs/bt_boat_th120.jpg";
  th13Off = new Image();
  th13Off.src = "imgs/bt_boat_th130.jpg";
  th14Off = new Image();
  th14Off.src = "imgs/bt_boat_th140.jpg";
  th15Off = new Image();
  th15Off.src = "imgs/bt_boat_th150.jpg";
  th16Off = new Image();
  th16Off.src = "imgs/bt_boat_th160.jpg";
  th17Off = new Image();
  th17Off.src = "imgs/bt_boat_th170.jpg";
  th18Off = new Image();
  th18Off.src = "imgs/bt_boat_th180.jpg";
  th19Off = new Image();
  th19Off.src = "imgs/bt_boat_th190.jpg";
  th20Off = new Image();
  th20Off.src = "imgs/bt_boat_th200.jpg";
  th21Off = new Image();
  th21Off.src = "imgs/bt_boat_th210.jpg";
  th22Off = new Image();
  th22Off.src = "imgs/bt_boat_th220.jpg";
  th23Off = new Image();
  th23Off.src = "imgs/bt_boat_th230.jpg";
  th24Off = new Image();
  th24Off.src = "imgs/bt_boat_th240.jpg";
}
function imgAct(imgName)
{
  if (document.images)
  {
    document[imgName].src = eval(imgName + "On.src");
  }
}
function imgInact(imgName)
{
  if (document.images)
  {
    document[imgName].src = eval(imgName + "Off.src");
  }
}
function popup(myURL, myName, myWidth, myHeight)
{
  flashPopUp = window.open(myURL,myName,'width=' + myWidth + ',height=' + myHeight + ',toolbar=no,menubar=no,scrollbars=yes,status=no,location=no,resizable=yes');
  flashPopUp.focus();
}
function validate(object,text)
{
    if (object.value.length > 0)
        return true;
    else
	{
        alert(text + ' field empty!');
        if (navigator.appName.indexOf('Netscape') > -1)
		{
            object.focus();
        }
        return false;
    }
}
function formvalidate()
{
    var validated = true;
    if (!validate(document.form.First,'First Name'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Last,'Last Name'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Street,'Street Address'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.City,'City'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.State,'State'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Zip,'Zip'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Email,'Email Address'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Phone,'Phone Number'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Month,'Month'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Day,'Day'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Year,'Year'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Number,'Number of people in your party including yourself'))
	{
        validated = false;
		return validated;
	}
    else if (!validate(document.form.Duration,'How many days would you like to charter her?'))
	{
        validated = false;
		return validated;
	}
	return validated;
}
