if(document.images) { schedulebuttonoff = new Image(); schedulebuttonoff.src = "images/sidebutton.schedule.gif"; schedulebuttonover = new Image(); schedulebuttonover.src = "images/sidebutton.schedule-over.gif"; homeoff = new Image(); homeoff.src = "images/button.home.gif"; homeover = new Image(); homeover.src = "images/button.home-over.gif"; homeon = new Image(); homeon.src = "images/button.home-down.gif"; aboutoff = new Image(); aboutoff.src = "images/button.about.gif"; aboutover = new Image(); aboutover.src = "images/button.about-over.gif"; abouton = new Image(); abouton.src = "images/button.about-down.gif"; servicesoff = new Image(); servicesoff.src = "images/button.services.gif"; servicesover = new Image(); servicesover.src = "images/button.services-over.gif"; serviceson = new Image(); serviceson.src = "images/button.services-down.gif"; therapistsoff = new Image(); therapistsoff.src = "images/button.therapists.gif"; therapistsover = new Image(); therapistsover.src = "images/button.therapists-over.gif"; therapistson = new Image(); therapistson.src = "images/button.therapists-down.gif"; schedulingoff = new Image(); schedulingoff.src = "images/button.scheduling.gif"; schedulingover = new Image(); schedulingover.src = "images/button.scheduling-over.gif"; schedulingon = new Image(); schedulingon.src = "images/button.scheduling-down.gif"; membershipoff = new Image(); membershipoff.src = "images/button.membership.gif"; membershipover = new Image(); membershipover.src = "images/button.membership-over.gif"; membershipon = new Image(); membershipon.src = "images/button.membership-down.gif"; testimonialsoff = new Image(); testimonialsoff.src = "images/button.testimonials.gif"; testimonialsover = new Image(); testimonialsover.src = "images/button.testimonials-over.gif"; testimonialson = new Image(); testimonialson.src = "images/button.testimonials-down.gif"; contactoff = new Image(); contactoff.src = "images/button.contact.gif"; contactover = new Image(); contactover.src = "images/button.contact-over.gif"; contacton = new Image(); contacton.src = "images/button.contact-down.gif"; directionsoff = new Image(); directionsoff.src = "images/button.directions.gif"; directionsover = new Image(); directionsover.src = "images/button.directions-over.gif"; directionson = new Image(); directionson.src = "images/button.directions-down.gif"; } function setOn(buttonname) { if (document.images) { changeImages("home","homeoff") ; changeImages("about","aboutoff") ; changeImages("services","servicesoff") ; changeImages("therapists","therapistsoff") ; changeImages("scheduling","schedulingoff") ; changeImages("membership","membershipoff") ; changeImages("testimonials","testimonialsoff") ; changeImages("contact","contactoff") ; changeImages("directions","directionsoff") ; if (buttonname=="home") { top.window.menu="home" ; changeImages("home","homeon") ; } if (buttonname=="about") { top.window.menu="about" ; changeImages("about","abouton") ; } if (buttonname=="services") { top.window.menu="services" ; changeImages("services","serviceson") ; } if (buttonname=="therapists") { top.window.menu="therapists" ; changeImages("therapists","therapistson") ; } if (buttonname=="scheduling") { top.window.menu="scheduling" ; changeImages("scheduling","schedulingon") ; } if (buttonname=="membership") { top.window.menu="membership" ; changeImages("membership","membershipon") ; } if (buttonname=="testimonials") { top.window.menu="testimonials" ; changeImages("testimonials","testimonialson") ; } if (buttonname=="contact") { top.window.menu="contact" ; changeImages("contact","contacton") ; } if (buttonname=="directions") { top.window.menu="directions" ; changeImages("directions","directionson") ; } } } function outCheck(bname) { if (document.images) { if (bname=="home") { if (top.window.menu=="home") changeImages("home","homeon") ; else changeImages("home","homeoff") ; } if (bname=="about") { if (top.window.menu=="about") changeImages("about","abouton") ; else changeImages("about","aboutoff") ; } if (bname=="services") { if (top.window.menu=="services") changeImages("services","serviceson") ; else changeImages("services","servicesoff") ; } if (bname=="therapists") { if (top.window.menu=="therapists") changeImages("therapists","therapistson") ; else changeImages("therapists","therapistsoff") ; } if (bname=="scheduling") { if (top.window.menu=="scheduling") changeImages("scheduling","schedulingon") ; else changeImages("scheduling","schedulingoff") ; } if (bname=="membership") { if (top.window.menu=="membership") changeImages("membership","membershipon") ; else changeImages("membership","membershipoff") ; } if (bname=="testimonials") { if (top.window.menu=="testimonials") changeImages("testimonials","testimonialson") ; else changeImages("testimonials","testimonialsoff") ; } if (bname=="contact") { if (top.window.menu=="contact") changeImages("contact","contacton") ; else changeImages("contact","contactoff") ; } if (bname=="directions") { if (top.window.menu=="directions") changeImages("directions","directionson") ; else changeImages("directions","directionsoff") ; } } } function overCheck(bname) { if (document.images) { if (bname=="home") { if (top.window.menu=="home") changeImages("home","homeon") ; else changeImages("home","homeover") ; } if (bname=="about") { if (top.window.menu=="about") changeImages("about","abouton") ; else changeImages("about","aboutover") ; } if (bname=="services") { if (top.window.menu=="services") changeImages("services","serviceson") ; else changeImages("services","servicesover") ; } if (bname=="therapists") { if (top.window.menu=="therapists") changeImages("therapists","therapistson") ; else changeImages("therapists","therapistsover") ; } if (bname=="scheduling") { if (top.window.menu=="scheduling") changeImages("scheduling","schedulingon") ; else changeImages("scheduling","schedulingover") ; } if (bname=="membership") { if (top.window.menu=="membership") changeImages("membership","membershipon") ; else changeImages("membership","membershipover") ; } if (bname=="testimonials") { if (top.window.menu=="testimonials") changeImages("testimonials","testimonialson") ; else changeImages("testimonials","testimonialsover") ; } if (bname=="contact") { if (top.window.menu=="contact") changeImages("contact","contacton") ; else changeImages("contact","contactover") ; } if (bname=="directions") { if (top.window.menu=="directions") changeImages("directions","directionson") ; else changeImages("directions","directionsover") ; } } } function changeImages() { if (document.images) { for (var i=0; i"; } // popup window var popupwin=0; function popup() { if(popupwin) { popupwin.close(); } popupwin = open('', 'popupwin', 'scrollbars=yes,resizable=yes,width=450,height=450'); }