	// Sitewide objects
	nav_snork = new Image();
	nav_snork.src = 'img/pennekamp/snorkel0.jpg';
    nav_snork1 = new Image();
	nav_snork1.src = 'img/pennekamp/snorkel1.jpg';
	nav_scuba = new Image();
	nav_scuba.src = 'img/pennekamp/scuba0.jpg';
    nav_scuba1 = new Image();
	nav_scuba1.src = 'img/pennekamp/scuba1.jpg';
	nav_glass = new Image();
	nav_glass.src = 'img/pennekamp/glassbottom0.jpg';
    nav_glass1 = new Image();
	nav_glass1.src = 'img/pennekamp/glassbottom1.jpg';
	nav_rental = new Image();
	nav_rental.src = 'img/pennekamp/rental_boats0.jpg';
    nav_rental1 = new Image();
	nav_rental1.src = 'img/pennekamp/rental_boats1.jpg';
	nav_about = new Image();
	nav_about.src = 'img/pennekamp/pennekamp0.jpg';
    nav_about1 = new Image();
	nav_about1.src = 'img/pennekamp/pennekamp1.jpg';
	nav_home = new Image();
	nav_home.src = 'img/pennekamp/home0.jpg';
    nav_home1 = new Image();
	nav_home1.src = 'img/pennekamp/home1.jpg';
	nav_contact = new Image();
	nav_contact.src = 'img/pennekamp/contact0.jpg';
    nav_contact1 = new Image();
	nav_contact1.src = 'img/pennekamp/contact1.jpg';
	
	sun_safari1_ = new Image();
	sun_safari1_.src = 'img/sun_safari1_0.gif';
    sun_safari1_1 = new Image();
	sun_safari1_1.src = 'img/sun_safari1_1.gif';
    
    coupon_blue = new Image();
    coupon_blue.src = 'img/coupon_blue0.gif';
    coupon_blue1 = new Image();
	coupon_blue1.src = 'img/coupon_blue1.gif';
    coupon_white = new Image();
    coupon_white.src = 'img/coupon_white0.gif';
    coupon_white1 = new Image();
	coupon_white1.src = 'img/coupon_white1.gif';
	
	// Homepage objects
	if (currentPage == 0) {
	  home_logobahia = new Image();
	  home_logobahia.src = 'img/home_logobahia0.gif';
      home_logobahia1 = new Image();
	  home_logobahia1.src = 'img/home_logobahia1.gif';
	  home_pennescuba = new Image();
	  home_pennescuba.src = 'img/home_weather0.gif';
      home_pennescuba1 = new Image();
	  home_pennescuba1.src = 'img/home_weather1.gif';
	  home_klcoc = new Image();
	  home_klcoc.src = 'img/home_contact_us0.gif';
      home_klcoc1 = new Image();
	  home_klcoc1.src = 'img/home_contact_us1.gif';
	  subnav_weather = new Image();
	  subnav_weather.src = 'img/subnav_weather0.gif';
      subnav_weather1 = new Image();
	  subnav_weather1.src = 'img/subnav_weather1.gif';
	  subnav_map = new Image();
	  subnav_map.src = 'img/subnav_map0.gif';
      subnav_map1 = new Image();
	  subnav_map1.src = 'img/subnav_map1.gif';
	  subnav_lodging = new Image();
	  subnav_lodging.src = 'img/subnav_lodging0.gif';
      subnav_lodging1 = new Image();
	  subnav_lodging1.src = 'img/subnav_lodging1.gif';
	  subnav_sponsors = new Image();
	  subnav_sponsors.src = 'img/subnav_sponsors0.gif';
      subnav_sponsors1 = new Image();
	  subnav_sponsors1.src = 'img/subnav_sponsors1.gif';
	  subnav_faqs = new Image();
	  subnav_faqs.src = 'img/subnav_faqs0.gif';
      subnav_faqs1 = new Image();
	  subnav_faqs1.src = 'img/subnav_faqs1.gif';
	  home_reservation = new Image();
	  home_reservation.src = 'img/home_reservation0.gif';
      home_reservation1 = new Image();
	  home_reservation1.src = 'img/home_reservation1.gif';
	}
	
	// Snorkeling section
	if (currentPage == 1) {
	  subnav_snork_sailing = new Image();
	  subnav_snork_sailing.src = 'img/subnav_snork_sailing0.gif';
      subnav_snork_sailing1 = new Image();
	  subnav_snork_sailing1.src = 'img/subnav_snork_sailing1.gif';
	  subnav_snork_snork = new Image();
	  subnav_snork_snork.src = 'img/subnav_snork_snork0.gif';
      subnav_snork_snork1 = new Image();
	  subnav_snork_snork1.src = 'img/subnav_snork_snork1.gif';
	  faqs_about_visitor = new Image();
	  faqs_about_visitor.src = 'img/faqs_about_visitor0.gif';
      faqs_about_visitor1 = new Image();
	  faqs_about_visitor1.src = 'img/faqs_about_visitor1.gif';
	  faqs_sailing = new Image();
	  faqs_sailing.src = 'img/faqs_sailing0.gif';
      faqs_sailing1 = new Image();
	  faqs_sailing1.src = 'img/faqs_sailing1.gif';
	  res_lblue = new Image();
	  res_lblue.src = 'img/res_lblue0.gif';
      res_lblue1 = new Image();
	  res_lblue1.src = 'img/res_lblue1.gif';
	}
	
	// Scuba section
	if (currentPage == 2) {
	  faqs_about_education = new Image();
	  faqs_about_education.src = 'img/faqs_about_education0.gif';
      faqs_about_education1 = new Image();
	  faqs_about_education1.src = 'img/faqs_about_education1.gif';
	  res_blue = new Image();
	  res_blue.src = 'img/res_blue0.gif';
      res_blue1 = new Image();
	  res_blue1.src = 'img/res_blue1.gif';
	}
	
	// Glassbottom section
	if (currentPage == 3) {
	  faqs_glassbottom = new Image();
	  faqs_glassbottom.src = 'img/faqs_glassbottom0.gif';
      faqs_glassbottom1 = new Image();
	  faqs_glassbottom1.src = 'img/faqs_glassbottom1.gif';
	  res_white = new Image();
	  res_white.src = 'img/res_white0.gif';
      res_white1 = new Image();
	  res_white1.src = 'img/res_white1.gif';
	}
	
	// Kayaks section
	if (currentPage == 4) {
	  subnav_kayak_power = new Image();
	  subnav_kayak_power.src = 'img/subnav_kayak_power0.jpg';
      subnav_kayak_power1 = new Image();
	  subnav_kayak_power1.src = 'img/subnav_kayak_power1.jpg';
	  subnav_kayak_canoes = new Image();
	  subnav_kayak_canoes.src = 'img/subnav_kayak_canoes0.jpg';
      subnav_kayak_canoes1 = new Image();
	  subnav_kayak_canoes1.src = 'img/subnav_kayak_canoes1.jpg';
	  subnav_power_canoes = new Image();
	  subnav_power_canoes.src = 'img/subnav_power_canoes0.jpg';
      subnav_power_canoes1 = new Image();
	  subnav_power_canoes1.src = 'img/subnav_power_canoes1.jpg';
	  faqs_kayak = new Image();
	  faqs_kayak.src = 'img/faqs_kayak0.gif';
      faqs_kayak1 = new Image();
	  faqs_kayak1.src = 'img/faqs_kayak1.gif';
	  faqs_power = new Image();
	  faqs_power.src = 'img/faqs_power0.gif';
      faqs_power1 = new Image();
	  faqs_power1.src = 'img/faqs_power1.gif';
	}
	
	// About section
	if (currentPage == 51) {
	  subnav_about_activities_history = new Image();
	  subnav_about_activities_history.src = 'img/subnav_about_activities_history0.jpg';
      subnav_about_activities_history1 = new Image();
	  subnav_about_activities_history1.src = 'img/subnav_about_activities_history1.jpg';
	  subnav_about_activities_education = new Image();
	  subnav_about_activities_education.src = 'img/subnav_about_activities_education0.jpg';
      subnav_about_activities_education1 = new Image();
	  subnav_about_activities_education1.src = 'img/subnav_about_activities_education1.jpg';
	  subnav_about_activities_visitor = new Image();
	  subnav_about_activities_visitor.src = 'img/subnav_about_activities_visitor0.jpg';
      subnav_about_activities_visitor1 = new Image();
	  subnav_about_activities_visitor1.src = 'img/subnav_about_activities_visitor1.jpg';
	  subnav_about_activities_activities = new Image();
	  subnav_about_activities_activities.src = 'img/subnav_about_activities_activities0.jpg';
      subnav_about_activities_activities1 = new Image();
	  subnav_about_activities_activities1.src = 'img/subnav_about_activities_activities1.jpg';
	  nav_faqs = new Image();
	  nav_faqs.src = 'img/nav_faqs0.jpg';
      nav_faqs1 = new Image();
	  nav_faqs1.src = 'img/nav_faqs1.jpg';
	}

	if (currentPage == 52) {
	  subnav_about_history_history = new Image();
	  subnav_about_history_history.src = 'img/subnav_about_history_history0.jpg';
      subnav_about_history_history1 = new Image();
	  subnav_about_history_history1.src = 'img/subnav_about_history_history1.jpg';
	  subnav_about_history_education = new Image();
	  subnav_about_history_education.src = 'img/subnav_about_history_education0.jpg';
      subnav_about_history_education1 = new Image();
	  subnav_about_history_education1.src = 'img/subnav_about_history_education1.jpg';
	  subnav_about_history_visitor = new Image();
	  subnav_about_history_visitor.src = 'img/subnav_about_history_visitor0.jpg';
      subnav_about_history_visitor1 = new Image();
	  subnav_about_history_visitor1.src = 'img/subnav_about_history_visitor1.jpg';
	  subnav_about_history_activities = new Image();
	  subnav_about_history_activities.src = 'img/subnav_about_history_activities0.jpg';
      subnav_about_history_activities1 = new Image();
	  subnav_about_history_activities1.src = 'img/subnav_about_history_activities1.jpg';
	  faqs_about_history = new Image();
	  faqs_about_history.src = 'img/faqs_about_history0.gif';
      faqs_about_history1 = new Image();
	  faqs_about_history1.src = 'img/faqs_about_history1.gif';
	}
	
	if (currentPage == 53) {
	  subnav_about_education_history = new Image();
	  subnav_about_education_history.src = 'img/subnav_about_education_history0.jpg';
      subnav_about_education_history1 = new Image();
	  subnav_about_education_history1.src = 'img/subnav_about_education_history1.jpg';
	  subnav_about_education_education = new Image();
	  subnav_about_education_education.src = 'img/subnav_about_education_education0.jpg';
      subnav_about_education_education1 = new Image();
	  subnav_about_education_education1.src = 'img/subnav_about_education_education1.jpg';
	  subnav_about_education_visitor = new Image();
	  subnav_about_education_visitor.src = 'img/subnav_about_education_visitor0.jpg';
      subnav_about_education_visitor1 = new Image();
	  subnav_about_education_visitor1.src = 'img/subnav_about_education_visitor1.jpg';
	  subnav_about_education_activities = new Image();
	  subnav_about_education_activities.src = 'img/subnav_about_education_activities0.jpg';
      subnav_about_education_activities1 = new Image();
	  subnav_about_education_activities1.src = 'img/subnav_about_education_activities1.jpg';
	  faqs_about_education = new Image();
	  faqs_about_education.src = 'img/faqs_about_education0.gif';
      faqs_about_education1 = new Image();
	  faqs_about_education1.src = 'img/faqs_about_education1.gif';
	}
	
	if (currentPage == 54) {
	  subnav_about_visitor_history = new Image();
	  subnav_about_visitor_history.src = 'img/subnav_about_visitor_history0.jpg';
      subnav_about_visitor_history1 = new Image();
	  subnav_about_visitor_history1.src = 'img/subnav_about_visitor_history1.jpg';
	  subnav_about_visitor_education = new Image();
	  subnav_about_visitor_education.src = 'img/subnav_about_visitor_education0.jpg';
      subnav_about_visitor_education1 = new Image();
	  subnav_about_visitor_education1.src = 'img/subnav_about_visitor_education1.jpg';
	  subnav_about_visitor_visitor = new Image();
	  subnav_about_visitor_visitor.src = 'img/subnav_about_visitor_visitor0.jpg';
      subnav_about_visitor_visitor1 = new Image();
	  subnav_about_visitor_visitor1.src = 'img/subnav_about_visitor_visitor1.jpg';
	  subnav_about_visitor_activities = new Image();
	  subnav_about_visitor_activities.src = 'img/subnav_about_visitor_activities0.jpg';
      subnav_about_visitor_activities1 = new Image();
	  subnav_about_visitor_activities1.src = 'img/subnav_about_visitor_activities1.jpg';
	  faqs_about_visitor = new Image();
	  faqs_about_visitor.src = 'img/faqs_about_visitor0.gif';
      faqs_about_visitor1 = new Image();
	  faqs_about_visitor1.src = 'img/faqs_about_visitor1.gif';
	}
	
function mover(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + "1.src;");
		return 1;
	}
}

function mout(obj) {
	if (document.images) {
		eval( "document." + obj + ".src = " + obj + ".src;");
		return 1;
	}
}

function PopUp(nURL,winName,popW,popH,nShowControls) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	if (nShowControls=="1") {
		var windowprops = "location=yes,scrollbars=yes,menubar=yes,toolbar=yes,resizable=yes,status=yes" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	} else {
		var windowprops = "location=no,scrollbars=yes,menubar=no,toolbar=no,resizable=no,status=yes" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	}
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}

function PopUpPDF(nURL,winName,popW,popH) {
  	w = screen.width ; h = screen.height
  	if (document.layers) {
    		if ((w >= 800) && (w <= 1028)) {w = 1028}
    		if ((h >= 600) && (h <= 780))  {h = 780}
    		if ((w >= 640) && (w <= 800))  {w = 800}
    		if ((h >= 480) && (h <= 600))  {h = 600}
    		if (w <= 640) {w = 640}
    		if (h <= 480) {h = 480}
  	}
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	var windowprops = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes" + ",left=" + leftPos + ",top=" + topPos + ",width=" + popW + ",height=" + popH;
	popup = window.open(nURL,winName,windowprops);
	if (popup.blur) {
	  popup.focus();
	}
}