//preload images for better viewing if (document.images) { ref1_off = new Image(140,20); ref1_off.src = "images/servicesbuttonoff.gif"; ref1_on = new Image(140,20); ref1_on.src = "images/servicesbuttonon.gif"; ref2_off = new Image(140,20); ref2_off.src = "images/drsalazarbuttonoff.gif"; ref2_on = new Image(140,20); ref2_on.src = "images/drsalazarbuttonon.gif"; ref3_off = new Image(140,20); ref3_off.src = "images/philosophybuttonoff.gif"; ref3_on = new Image(140,20); ref3_on.src = "images/philosophybuttonon.gif"; ref4_off = new Image(140,20); ref4_off.src = "images/officebuttonoff.gif"; ref4_on = new Image(140,20); ref4_on.src = "images/officebuttonon.gif"; ref5_off = new Image(140,20); ref5_off.src = "images/staffbuttonoff.gif"; ref5_on = new Image(140,20); ref5_on.src = "images/staffbuttonon.gif"; ref6_off = new Image(140,20); ref6_off.src = "images/resourcesbuttonoff.gif"; ref6_on = new Image(140,20); ref6_on.src = "images/resourcesbuttonon.gif"; ref7_off = new Image(140,20); ref7_off.src = "images/newpatientsbuttonoff.gif"; ref7_on = new Image(140,20); ref7_on.src = "images/newpatientsbuttonon.gif"; ref8_off = new Image(140,20); ref8_off.src = "images/insurancebuttonoff.gif"; ref8_on = new Image(140,20); ref8_on.src = "images/insurancebuttonon.gif"; } //func() to handle mouseover //imgOff is off image //imgOn is on image function rollOver(imgOff,imgOn) { if (document.images) { document.images[imgOff].src = eval(imgOn + ".src") } } //function to go to new patient page function gothere() { location.href="newpatients.htm" }