var isIE = (document.getElementById && document.all)?true:false;var isNS4 = (document.layers)?true:false;var isNS6 = (document.getElementById && !document.all)?true:false;var pageWidth;var pageHeight;var url;function myGetElementById (id){    if ( isIE )    {	var str = "document.all('" + id + "')";	var o = eval(str);	return o;    }    return document.getElementById(id);}function findDimensions() {    var frameWidth;    var frameHeight;    if (self.innerWidth)    {	frameWidth = self.innerWidth;	frameHeight = self.innerHeight;    }    else if (document.documentElement && document.documentElement.clientWidth)    {	frameWidth = document.documentElement.clientWidth;	frameHeight = document.documentElement.clientHeight;    }    else if (document.body)    {	frameWidth = document.body.clientWidth;	frameHeight = document.body.clientHeight;    }    else	return;    // if there's valid info, update the globals so they can be used elsehere    pageWidth = frameWidth;    pageHeight = frameHeight;		myGetElementById('content').style.height = pageHeight + "px";	myGetElementById('content').style.width = ( pageWidth - 500) + "px";	myGetElementById('signup').style.width = ( pageWidth - 517) + "px";}function bgLeft() {    if ( pageHeight < 800 ) {	myGetElementById('background').style.left = "500px";	myGetElementById('background').style.top = "330px";    } else {	myGetElementById('background').style.left = "500px";	myGetElementById('background').style.bottom = "0";	}}function bgRight() {    if ( pageHeight < 800 ) {	myGetElementById('background').style.right = "0";	myGetElementById('background').style.top = "330px";	myGetElementById('background').style.left = "";    } else {	myGetElementById('background').style.right = "0";	myGetElementById('background').style.bottom = "0";	myGetElementById('background').style.left = "";	}}/************************************************ Dynamic Ajax Content- ? Dynamic Drive DHTML code library (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code***********************************************/var loadedobjects=""var rootdomain="http://"+window.location.hostnamefunction ajaxpage(url, containerid){var page_request = falseif (window.XMLHttpRequest) // if Mozilla, Safari etcpage_request = new XMLHttpRequest()else if (window.ActiveXObject){ // if IEtry {page_request = new ActiveXObject("Msxml2.XMLHTTP")} catch (e){try{page_request = new ActiveXObject("Microsoft.XMLHTTP")}catch (e){}}}elsereturn falsepage_request.onreadystatechange=function(){loadpage(page_request, containerid)}page_request.open('GET', url, true)page_request.send(null)findDimensions();}function loadpage(page_request, containerid){if (page_request.readyState == 4 && (page_request.status==200 || window.location.href.indexOf("http")==-1))document.getElementById(containerid).innerHTML=page_request.responseText}function loadobjs(){if (!document.getElementById)returnfor (i=0; i<arguments.length; i++){var file=arguments[i]var fileref=""if (loadedobjects.indexOf(file)==-1){ //Check to see if this object has not already been added to page before proceedingif (file.indexOf(".js")!=-1){ //If object is a js filefileref=document.createElement('script')fileref.setAttribute("type","text/javascript");fileref.setAttribute("src", file);}else if (file.indexOf(".css")!=-1){ //If object is a css filefileref=document.createElement("link")fileref.setAttribute("rel", "stylesheet");fileref.setAttribute("type", "text/css");fileref.setAttribute("href", file);}}if (fileref!=""){document.getElementsByTagName("head").item(0).appendChild(fileref)loadedobjects+=file+" " //Remember this object as being already added to page}}}function passIt() {var testV = 1;var pass1 = prompt('Enter Your Password',' ');while (testV < 3) {if (!pass1) history.go(-1);if (pass1.toLowerCase() == "easytiger") {alert('by sea or by air, the eaglesharks are there.');window.open('/v3/eaglesharksmain.html');break;} testV+=1;var pass1 = prompt('Access Denied - Password Incorrect, Please Try Again.','Password');}if (pass1.toLowerCase()!="password" & testV ==3) history.go(-1);return " ";} // Photo pagefunction setPhoto (url,caption){	myGetElementById("copy-and-paste").innerHTML = "Copy the following and paste it into your page:<br>&lt;img src=http://www.menwomenandchildren.com/" + url + "&gt;";    myGetElementById("main-photo").src = url;	myGetElementById("caption").innerHTML = ":: "+caption+" ::";	myGetElementById("click-to-add").style.display = "block";	myGetElementById("copy-and-paste").style.display = "none";}function addPhoto () {	myGetElementById("click-to-add").style.display = "none";	myGetElementById("copy-and-paste").style.display = "block";}// Load pagesfunction news() {	if (isMacIE) {		warnMacIE();	} else {	findDimensions();	ajaxpage('news.jsp','content');	ajaxpage('tiger.html','background');	bgRight();	}}function media() {	findDimensions();	ajaxpage('media.html','content');	ajaxpage('frog.html','background');	bgRight();}function tour() {	findDimensions();	ajaxpage('tour.jsp','content');	ajaxpage('zebra.html','background');	bgRight();}function eaglesharks() {	findDimensions();	ajaxpage('eaglesharks.html','content');	ajaxpage('nothing.html','background');}function photos() {	findDimensions();	ajaxpage('photos.html','content');	ajaxpage('nothing.html','background');}function links() {	findDimensions();	ajaxpage('links.html','content');	ajaxpage('nothing.html','background');}function contact() {	findDimensions();	ajaxpage('contact.html','content');	ajaxpage('giraffe-cat.html','background');	bgLeft();}function mailinglist() { findDimensions(); ajaxpage('mailinglist.html','content'); ajaxpage('nothing.html','background');}function signup() {	findDimensions();	ajaxpage('signup.html','content');	ajaxpage('nothing.html','background');}function esthanks() {	findDimensions();	ajaxpage('esthanks.html','content');	ajaxpage('nothing.html','background');}function esnews() {	findDimensions();	ajaxpage('streetnews.html','content');	ajaxpage('nothing.html','background');}function esstuff() {	findDimensions();	ajaxpage('streetstuff.html','content');	ajaxpage('nothing.html','background');}function esthings() {	findDimensions();	ajaxpage('streetthings.html','content');	ajaxpage('nothing.html','background');}// Clear form inputsfunction clear_email(){if (myGetElementById('email').value == "your email address")myGetElementById('email').value = "";}function clear_mobile(){if (myGetElementById('mobile').value == "your mobile #")myGetElementById('mobile').value = "";}// Hide signup after submitfunction clear_signup(){	myGetElementById('signup').style.display = "none";}function validate(thisForm){  var haveerrors = false;       var zip = thisForm.age_consent.value;    if (!haveerrors && (zip == null || isBlank(zip))) {        alert("Please enter your zip code.");        thisForm.field_zip.focus();        haveerrors = true;    }        return !haveerrors;}function isBlank(s) {    for (var i=0; i< s.length; i++)  {        var c = s.charAt(i);        if ((c != ' ') && (c !='\n') && (c != '\t')) return false;    }    return true;}