browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);

if(browserVer >=3) {
        version="3";
}
else {
        version="2";
}

if (document.images) {

tutoron = new Image();
tutoron.src = imgPath + "onTuition.gif";
tutoroff = new Image();
tutoroff.src = imgPath + "offTuition.gif";
tutorguff = "What do you get being taught by Reef...";

tutor1on = new Image();
tutor1on.src = imgPath + "onPackages.gif";
tutor1off = new Image();
tutor1off.src = imgPath + "offPackages.gif";
tutor1guff = "What packages do we offer...";

tutor2on = new Image();
tutor2on.src = imgPath + "onDeals.gif";
tutor2off = new Image();
tutor2off.src = imgPath + "offDeals.gif";
tutor2guff = "Deals that we offer...";

tutor3on = new Image();
tutor3on.src = imgPath + "onVideo.gif";
tutor3off = new Image();
tutor3off.src = imgPath + "offVideo.gif";
tutor3guff = "Have your surfing analysed on video...";

tutor4on = new Image();
tutor4on.src = imgPath + "onTandem.gif";
tutor4off = new Image();
tutor4off.src = imgPath + "offTandem.gif";
tutor4guff = "Share the experience with two on a board...";

tutor5on = new Image();
tutor5on.src = imgPath + "onBSACertification.gif";
tutor5off = new Image();
tutor5off.src = imgPath + "offBSACertification.gif";
tutor5guff = "Get your surfing graded...";

tutor6on = new Image();
tutor6on.src = imgPath + "onSurfCarribean.gif";
tutor6off = new Image();
tutor6off.src = imgPath + "offSurfCarribean.gif";
tutor6guff = "Learn in the Carribean...";

tutor7on = new Image();
tutor7on.src = imgPath + "onPrices.gif";
tutor7off = new Image();
tutor7off.src = imgPath + "offPrices.gif";
tutor7guff = "Down to business, how much does it cost...";

tutor8on = new Image();
tutor8on.src = imgPath + "onXmas.gif";
tutor8off = new Image();
tutor8off.src = imgPath + "offXmas.gif";
tutor8guff = "Christmas Party Deals...";

tutor9on = new Image();
tutor9on.src = imgPath + "onNewyear.gif";
tutor9off = new Image();
tutor9off.src = imgPath + "offNewyear.gif";
tutor9guff = "New Years Party...";

crewon = new Image();
crewon.src = imgPath + "onCrew.gif";
crewoff = new Image();
crewoff.src = imgPath + "offCrew.gif";
crewguff = "Meet the Reef crew...";

crew0on = new Image();
crew0on.src = imgPath + "onCarla.gif";
crew0off = new Image();
crew0off.src = imgPath + "offCarla.gif";
crew0guff = "Meet the Reef crew...";

crew1on = new Image();
crew1on.src = imgPath + "onAntony.gif";
crew1off = new Image();
crew1off.src = imgPath + "offAntony.gif";
crew1guff = "Meet the Reef crew...";

crew2on = new Image();
crew2on.src = imgPath + "onPete1.gif";
crew2off = new Image();
crew2off.src = imgPath + "offPete1.gif";
crew2guff = "Meet the Reef crew...";

crew3on = new Image();
crew3on.src = imgPath + "onMartin.gif";
crew3off = new Image();
crew3off.src = imgPath + "offMartin.gif";
crew3guff = "Meet the Reef crew...";

crew4on = new Image();
crew4on.src = imgPath + "onJonny.gif";
crew4off = new Image();
crew4off.src = imgPath + "offJonny.gif";
crew4guff = "Meet the Reef crew...";

crew5on = new Image();
crew5on.src = imgPath + "onTim.gif";
crew5off = new Image();
crew5off.src = imgPath + "offTim.gif";
crew5guff = "Meet the Reef crew...";

campon = new Image();
campon.src = imgPath + "onCamps.gif";
campoff = new Image();
campoff.src = imgPath + "offCamps.gif";
campguff = "Where does Reef operate from...";

camp1on = new Image();
camp1on.src = imgPath + "onNewquay.gif";
camp1off = new Image();
camp1off.src = imgPath + "offNewquay.gif";
camp1guff = "Reef HQ...";

camp3on = new Image();
camp3on.src = imgPath + "onCarribean.gif";
camp3off = new Image();
camp3off.src = imgPath + "offCarribean.gif";
camp3guff = "Sun, sand, surf...";

linkon = new Image();
linkon.src = imgPath + "onLinks.gif";
linkoff = new Image();
linkoff.src = imgPath + "offLinks.gif";
linkguff = "Links to other surf sites...";

snowon = new Image();
snowon.src = imgPath + "red.gif";
snowoff = new Image();
snowoff.src = imgPath + "black.gif";
snowguff = "snowboarding";

snowinfoon = new Image();
snowinfoon.src = imgPath + "reefred2.gif";
snowinfooff = new Image();
snowinfooff.src = imgPath + "reefblack2.gif";
snowinfoguff = "snowboarding";

galleryon = new Image();
galleryon.src = imgPath + "onGalleries.gif";
galleryoff = new Image();
galleryoff.src = imgPath + "offGalleries.gif";
galleryguff = "Picture gallery...";

gallery1on = new Image();
gallery1on.src = imgPath + "onGallery1.gif";
gallery1off = new Image();
gallery1off.src = imgPath + "offGallery1.gif";
gallery1guff = "Picture gallery 1...";

gallery2on = new Image();
gallery2on.src = imgPath + "onGallery2.gif";
gallery2off = new Image();
gallery2off.src = imgPath + "offGallery2.gif";
gallery2guff = "Picture gallery 2...";

gallery3on = new Image();
gallery3on.src = imgPath + "onGallery3.gif";
gallery3off = new Image();
gallery3off.src = imgPath + "offGallery3.gif";
gallery3guff = "Picture gallery 3...";

contacton = new Image();
contacton.src = imgPath + "onContact.gif";
contactoff = new Image();
contactoff.src = imgPath + "offContact.gif";
contactguff = "Contact Reef Surf School...";

accommodationon = new Image();
accommodationon.src = imgPath + "accommbutred.gif";
accommodationoff = new Image();
accommodationoff.src = imgPath + "accommbut1.gif";
accommodationguff = "Accommodation";

newdealson = new Image();
newdealson.src = imgPath + "onNewDeals.gif";
newdealsoff = new Image();
newdealsoff.src = imgPath + "offNewDeals.gif";
newdealsguff = "Last minute deals through Reef...";

voucherson = new Image();
voucherson.src = imgPath + "onVoucher.gif";
vouchersoff = new Image();
vouchersoff.src = imgPath + "offVoucher.gif";
vouchersguff = "Gift Vouchers for Reef...";
}


function img_act(imgName){
        if (document.images) {
                imgOn = eval(imgName + "on.src");
                document [imgName].src = imgOn;
                blurb = eval(imgName + "guff");
                self.status = blurb;
                return;
        }
}

function img_inact(imgName){
        if (document.images) {
                imgOff = eval(imgName + "off.src");
                document [imgName].src = imgOff;
                self.status = " ";
                return;
        }
}