// pre-cache all 'off' button imagesvar offImgArray = new Array()offImgArray["services"] = new Image(165,20)offImgArray["models"] = new Image(165,20)offImgArray["features"] = new Image(165,20)offImgArray["planning"] = new Image(165,20)offImgArray["maintenance"] = new Image(165,20)offImgArray["month"] = new Image(165,20)offImgArray["chemicals"] = new Image(165,20)offImgArray["gazebos"] = new Image(165,20)offImgArray["gallery"] = new Image(165,20)offImgArray["contact"] = new Image(165,20)offImgArray["links"] = new Image(165,20)offImgArray["downloads"] = new Image(165,20)offImgArray["home"] = new Image(165,20)offImgArray["modelc104"] = new Image(165,15)offImgArray["modelc105"] = new Image(165,15)offImgArray["modelc107"] = new Image(165,15)offImgArray["model351"] = new Image(165,15)offImgArray["model461"] = new Image(165,15)offImgArray["model470"] = new Image(165,15)offImgArray["model471"] = new Image(165,15)offImgArray["model480"] = new Image(165,15)offImgArray["model482"] = new Image(165,15)offImgArray["model705"] = new Image(165,15)offImgArray["colours"] = new Image(165,15)offImgArray["back_gallery"] = new Image(165,15)offImgArray["location"] = new Image(165,15)offImgArray["surface"] = new Image(165,15)offImgArray["delivery"] = new Image(165,15)offImgArray["electrics"] = new Image(165,15)offImgArray["chemistry"] = new Image(165,15)offImgArray["draining"] = new Image(165,15)offImgArray["filter"] = new Image(165,15)offImgArray["winterizing"] = new Image(165,15)offImgArray["cabinet"] = new Image(165,15)offImgArray["spasurface"] = new Image(165,15)// off image array -- set 'off' image path for each buttonoffImgArray["services"].src = "images/buttons/services.gif"offImgArray["models"].src = "images/buttons/models.gif"offImgArray["features"].src = "images/buttons/features.gif"offImgArray["planning"].src = "images/buttons/planning.gif"offImgArray["maintenance"].src = "images/buttons/maintenance.gif"offImgArray["month"].src = "images/buttons/month.gif"offImgArray["chemicals"].src = "images/buttons/chemicals.gif"offImgArray["gazebos"].src = "images/buttons/gazebos.gif"offImgArray["gallery"].src = "images/buttons/gallery.gif"offImgArray["contact"].src = "images/buttons/contact.gif"offImgArray["links"].src = "images/buttons/links.gif"offImgArray["downloads"].src = "images/buttons/downloads.gif"offImgArray["home"].src = "images/buttons/home.gif"offImgArray["modelc104"].src = "images/buttons/c104.gif"offImgArray["modelc105"].src = "images/buttons/c105.gif"offImgArray["modelc107"].src = "images/buttons/c107.gif"offImgArray["model351"].src = "images/buttons/351.gif"offImgArray["model461"].src = "images/buttons/461.gif"offImgArray["model470"].src = "images/buttons/470.gif"offImgArray["model471"].src = "images/buttons/471.gif"offImgArray["model480"].src = "images/buttons/480.gif"offImgArray["model482"].src = "images/buttons/482.gif"offImgArray["model705"].src = "images/buttons/705.gif"offImgArray["colours"].src = "images/buttons/colours.gif"offImgArray["back_gallery"].src = "images/buttons/back_gallery.gif"offImgArray["location"].src = "images/buttons/location.gif"offImgArray["surface"].src = "images/buttons/surface.gif"offImgArray["delivery"].src = "images/buttons/delivery.gif"offImgArray["electrics"].src = "images/buttons/electrics.gif"offImgArray["chemistry"].src = "images/buttons/chemistry.gif"offImgArray["draining"].src = "images/buttons/draining.gif"offImgArray["filter"].src = "images/buttons/filter.gif"offImgArray["winterizing"].src = "images/buttons/winterizing.gif"offImgArray["cabinet"].src = "images/buttons/cabinet.gif"offImgArray["spasurface"].src = "images/buttons/spasurface.gif"// pre-cache all 'on' button imagesvar onImgArray = new Array()onImgArray["services"] = new Image(165,20)onImgArray["models"] = new Image(165,20)onImgArray["features"] = new Image(165,20)onImgArray["planning"] = new Image(165,20)onImgArray["maintenance"] = new Image(165,20)onImgArray["month"] = new Image(165,20)onImgArray["chemicals"] = new Image(165,20)onImgArray["gazebos"] = new Image(165,20)onImgArray["gallery"] = new Image(165,20)onImgArray["contact"] = new Image(165,20)onImgArray["links"] = new Image(165,20)onImgArray["downloads"] = new Image(165,20)onImgArray["home"] = new Image(165,20)onImgArray["modelc104"] = new Image(165,15)onImgArray["modelc105"] = new Image(165,15)onImgArray["modelc107"] = new Image(165,15)onImgArray["model351"] = new Image(165,15)onImgArray["model461"] = new Image(165,15)onImgArray["model470"] = new Image(165,15)onImgArray["model471"] = new Image(165,15)onImgArray["model480"] = new Image(165,15)onImgArray["model482"] = new Image(165,15)onImgArray["model705"] = new Image(165,15)onImgArray["colours"] = new Image(165,15)onImgArray["back_gallery"] = new Image(165,15)onImgArray["location"] = new Image(165,15)onImgArray["surface"] = new Image(165,15)onImgArray["delivery"] = new Image(165,15)onImgArray["electrics"] = new Image(165,15)onImgArray["chemistry"] = new Image(165,15)onImgArray["draining"] = new Image(165,15)onImgArray["filter"] = new Image(165,15)onImgArray["winterizing"] = new Image(165,15)onImgArray["cabinet"] = new Image(165,15)onImgArray["spasurface"] = new Image(165,15)// on image array -- set 'on' image path for each buttononImgArray["services"].src = "images/buttons/services_on.gif"onImgArray["models"].src = "images/buttons/models_on.gif"onImgArray["features"].src = "images/buttons/features_on.gif"onImgArray["planning"].src = "images/buttons/planning_on.gif"onImgArray["maintenance"].src = "images/buttons/maintenance_on.gif"onImgArray["month"].src = "images/buttons/month_on.gif"onImgArray["chemicals"].src = "images/buttons/chemicals_on.gif"onImgArray["gazebos"].src = "images/buttons/gazebos_on.gif"onImgArray["gallery"].src = "images/buttons/gallery_on.gif"onImgArray["contact"].src = "images/buttons/contact_on.gif"onImgArray["links"].src = "images/buttons/links_on.gif"onImgArray["downloads"].src = "images/buttons/downloads_on.gif"onImgArray["home"].src = "images/buttons/home_on.gif"onImgArray["modelc104"].src = "images/buttons/c104_on.gif"onImgArray["modelc105"].src = "images/buttons/c105_on.gif"onImgArray["modelc107"].src = "images/buttons/c107_on.gif"onImgArray["model351"].src = "images/buttons/351_on.gif"onImgArray["model461"].src = "images/buttons/461_on.gif"onImgArray["model470"].src = "images/buttons/470_on.gif"onImgArray["model471"].src = "images/buttons/471_on.gif"onImgArray["model480"].src = "images/buttons/480_on.gif"onImgArray["model482"].src = "images/buttons/482_on.gif"onImgArray["model705"].src = "images/buttons/705_on.gif"onImgArray["colours"].src = "images/buttons/colours_on.gif"onImgArray["back_gallery"].src = "images/buttons/back_gallery_on.gif"onImgArray["location"].src = "images/buttons/location_on.gif"onImgArray["surface"].src = "images/buttons/surface_on.gif"onImgArray["delivery"].src = "images/buttons/delivery_on.gif"onImgArray["electrics"].src = "images/buttons/electrics_on.gif"onImgArray["chemistry"].src = "images/buttons/chemistry_on.gif"onImgArray["draining"].src = "images/buttons/draining_on.gif"onImgArray["filter"].src = "images/buttons/filter_on.gif"onImgArray["winterizing"].src = "images/buttons/winterizing_on.gif"onImgArray["cabinet"].src = "images/buttons/cabinet_on.gif"onImgArray["spasurface"].src = "images/buttons/spasurface_on.gif"// functions that swap images & status barfunction imageOn(imgName) {	if (document.images) {		document.images[imgName].src = onImgArray[imgName].src	}}function imageOff(imgName) {	if (document.images) {		document.images[imgName].src = offImgArray[imgName].src	}}
