if (document.images) {

 homeon = new Image();
 homeon.src = "/images/menu_home_on.gif";

 homeoff = new Image();
 homeoff.src = "/images/menu_home_off.gif";

 visiton = new Image();
 visiton.src = "/images/menu_visit_on.gif";

 visitoff = new Image();
 visitoff.src = "/images/menu_visit_off.gif";

 animalson = new Image();
 animalson.src = "/images/menu_animals_on.gif";

 animalsoff = new Image();
 animalsoff.src = "/images/menu_animals_off.gif";

 eventson = new Image();
 eventson.src = "/images/menu_events_on.gif";

 eventsoff = new Image();
 eventsoff.src = "/images/menu_events_off.gif";

 educationon = new Image();
 educationon.src = "/images/menu_education_on.gif";

 educationoff = new Image();
 educationoff.src = "/images/menu_education_off.gif";

 newson = new Image();
 newson.src = "/images/menu_news_on.gif";

 newsoff = new Image();
 newsoff.src = "/images/menu_news_off.gif";

 about_the_zooon = new Image();
 about_the_zooon.src = "/images/menu_about_the_zoo_on.gif";

 about_the_zoooff = new Image();
 about_the_zoooff.src = "/images/menu_about_the_zoo_off.gif";

 membershipon = new Image();
 membershipon.src = "/images/menu_membership_on.gif";

 membershipoff = new Image();
 membershipoff.src = "/images/menu_membership_off.gif";

 contributeon = new Image();
 contributeon.src = "/images/menu_contribute_on.gif";

 contributeoff = new Image();
 contributeoff.src = "/images/menu_contribute_off.gif";

 contact_uson = new Image();
 contact_uson.src = "/images/menu_contact_us_on.gif";

 contact_usoff = new Image();
 contact_usoff.src = "/images/menu_contact_us_off.gif";

 }

 
function View(filename, caption) {
LeftPosition = (screen.width) ? (screen.width-309)/2 : 0;
TopPosition = (screen.height) ? (screen.height-370)/2 : 0;
OpenWin = this.open("/view.php?filename="+filename+"&caption="+caption,"PhotoWindow","toolbar=no,width=309,height=370,left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}


function Open(page, width, height) {
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = this.open(page,"PopupWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=yes,resize=no,menubar=no")
}
