/* image swaps */

homeon = new Image; homeon.src="images/home-gold.gif";
homeoff = new Image; homeoff.src="images/home-blue.gif";
seasonon = new Image; seasonon.src="images/season-gold.gif";
seasonoff = new Image; seasonoff.src="images/season-blue.gif";
ticketson = new Image; ticketson.src="images/tickets-gold.gif";
ticketsoff = new Image; ticketsoff.src="images/tickets-blue.gif";
paston = new Image; paston.src="images/past-gold.gif";
pastoff = new Image; pastoff.src="images/past-blue.gif";
bwon = new Image; bwon.src="images/bw-gold.gif";
bwoff = new Image; bwoff.src="images/bw-blue.gif";
wyson = new Image; wyson.src="images/wys-gold.gif";
wysoff = new Image; wysoff.src="images/wys-blue.gif";
sllon = new Image; sllon.src="images/sll-gold.gif";
slloff = new Image; slloff.src="images/sll-blue.gif";
paon = new Image; paon.src="images/pa-gold.gif";
paoff = new Image; paoff.src="images/pa-blue.gif";
kernon = new Image; kernon.src="images/kern-gold.gif";
kernoff = new Image; kernoff.src="images/kern-blue.gif";
mbron = new Image; mbron.src="images/mbr-gold.gif";
mbroff = new Image; mbroff.src="images/mbr-blue.gif";
sutbon = new Image; sutbon.src="images/sutb-gold.gif";
sutboff = new Image; sutboff.src="images/sutb-blue.gif";
reviewson = new Image; reviewson.src="images/reviews-gold.gif";
reviewsoff = new Image; reviewsoff.src="images/reviews-blue.gif";
linkon = new Image; linkon.src="images/links-gold.gif";
linkoff = new Image; linkoff.src="images/links-blue.gif";
contacton = new Image; contacton.src="images/contact-gold.gif";
contactoff = new Image; contactoff.src="images/contact-blue.gif";
blossomon = new Image; blossomon.src="images/blossom-gold.gif";
blossomoff = new Image; blossomoff.src="images/blossom-blue.gif";
fmfon = new Image; fmfon.src="images/fmf-gold.gif";
fmfoff = new Image; fmfoff.src="images/fmf-blue.gif";
yyyon = new Image; yyyon.src="images/yyy-gold.gif";
yyyoff = new Image; yyyoff.src="images/yyy-blue.gif";

browsernum = parseInt(navigator.appVersion)

function SwapIn(ButtonName){

if (browsernum >= 3) {

if (ButtonName == "home") {document.home.src=homeon.src}
if (ButtonName == "season") {document.season.src=seasonon.src}
if (ButtonName == "photos") {document.photos.src=photoson.src}
if (ButtonName == "cds") {document.cds.src=cdson.src}
if (ButtonName == "tickets") {document.tickets.src=ticketson.src}
if (ButtonName == "amclass") {document.amclass.src=amclasson.src}
if (ButtonName == "past") {document.past.src=paston.src}
if (ButtonName == "bw") {document.bw.src=bwon.src}
if (ButtonName == "wys") {document.wys.src=wyson.src}
if (ButtonName == "sll") {document.sll.src=sllon.src}
if (ButtonName == "pa") {document.pa.src=paon.src}
if (ButtonName == "kern") {document.kern.src=kernon.src}
if (ButtonName == "mbr") {document.mbr.src=mbron.src}
if (ButtonName == "sutb") {document.sutb.src=sutbon.src}
if (ButtonName == "reviews") {document.reviews.src=reviewson.src}
if (ButtonName == "link") {document.link.src=linkon.src}
if (ButtonName == "contact") {document.contact.src=contacton.src}
if (ButtonName == "blossom") {document.blossom.src=blossomon.src}
if (ButtonName == "fmf") {document.fmf.src=fmfon.src}
if (ButtonName == "yyy") {document.yyy.src=yyyon.src}
}
}
function SwapOut(ButtonName){

if (browsernum >= 3) {

if (ButtonName == "home") {document.home.src=homeoff.src}
if (ButtonName == "season") {document.season.src=seasonoff.src}
if (ButtonName == "photos") {document.photos.src=photosoff.src}
if (ButtonName == "cds") {document.cds.src=cdsoff.src}
if (ButtonName == "tickets") {document.tickets.src=ticketsoff.src}
if (ButtonName == "amclass") {document.amclass.src=amclassoff.src}
if (ButtonName == "past") {document.past.src=pastoff.src}
if (ButtonName == "bw") {document.bw.src=bwoff.src}
if (ButtonName == "wys") {document.wys.src=wysoff.src}
if (ButtonName == "sll") {document.sll.src=slloff.src}
if (ButtonName == "pa") {document.pa.src=paoff.src}
if (ButtonName == "kern") {document.kern.src=kernoff.src}
if (ButtonName == "mbr") {document.mbr.src=mbroff.src}
if (ButtonName == "sutb") {document.sutb.src=sutboff.src}
if (ButtonName == "reviews") {document.reviews.src=reviewsoff.src}
if (ButtonName == "link") {document.link.src=linkoff.src}
if (ButtonName == "contact") {document.contact.src=contactoff.src}
if (ButtonName == "blossom") {document.blossom.src=blossomoff.src}
if (ButtonName == "fmf") {document.fmf.src=fmfoff.src}
if (ButtonName == "yyy") {document.yyy.src=yyyoff.src}
}
}

/* Bandwagon pop-ups */

function FLAG() {
    window.open('flag.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=245,height=495');
}

function HOOPS() {
    window.open('hoops.html','WINDOW2','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=325,height=480');
}

function LOUISA() {
    window.open('louisa.html','WINDOW3','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=435,height=430');
}

/* Peggy-Ann pop-ups */

function PEGDREAM() {
    window.open('pegdream.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=535,height=440');
}

function POLICEMAN() {
    window.open('policeman.html','WINDOW2','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=380,height=530');
}

function PIRATES() {
    window.open('pirates.html','WINDOW3','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=760,height=460');
}

function FISH() {
    window.open('fish.html','WINDOW4','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=475,height=390');
}

function BOARDINGHOUSE() {
    window.open('boardinghouse.html','WINDOW5','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=690,height=410');
}

function RAINBOW() {
    window.open('rainbow.html','WINDOW6','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=310,height=510');
}

function WEDDING() {
    window.open('wedding.html','WINDOW7','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=460,height=440');
}
/* Stop! Look! Listen! pop-ups */
function RAGTIME() {
    window.open('ragtime.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=440,height=395');
}

function GIRL() {
    window.open('girl.html','WINDOW2','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=450,height=380');
}

function HAWAII() {
    window.open('hawaii.html','WINDOW3','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=630,height=570');
}

/* Blossom Time pop-ups */
function shubert() {
    window.open('shubert.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=450,height=380');
}

function romberg() {
    window.open('romberg.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=450,height=400');
}

function doughboy() {
    window.open('doughboy.html','WINDOW1','toolbar=no,location=no,directories=no,status=yes,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,width=450,height=450');
}

