fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helpswith(menuStyle=new mm_style()){itemwidth="85";bordercolor="#ffffff";borderstyle="solid";borderwidth=0;fontfamily="arial";fontsize="12px";fontstyle="normal";align="center";headerbgcolor="red";headercolor="red";offbgcolor="#999999";offcolor="#ffffff";onbgcolor="#CFAB10";oncolor="#000000";outfilter="randomdissolve(duration=0.3)";padding=3;pagebgcolor="#82B6D7";pagecolor="#ffffff";separatorcolor="#ffffff";separatorsize=1;}/// Style Definitions ///with(subStyle=new mm_style()){itemwidth="160";bordercolor="#ffffff";borderstyle="solid";borderwidth=0;fontfamily="Arial";fontsize="12px";fontstyle="normal";headerbgcolor="red";headercolor="red";offbgcolor="#999999";offcolor="#ffffff";onbgcolor="#CFAB10";oncolor="#000000";outfilter="randomdissolve(duration=0.3)";padding=4;pagebgcolor="#82B6D7";pagecolor="#ffffff";separatorcolor="#ffffff";separatorsize=1;}// belmorewith(milonic=new menuname("about")){style=menuStyle;aI("text=News;url=news.htm;");aI("text=Awards;url=awards.htm;");aI("text=The Team;url=team.htm;");aI("text=Practice Info;url=info.htm;");aI("text=Fee Guide;url=fee.htm;");aI("text=Specials;url=specials.htm;");}with(milonic=new menuname("treatments")){style=menuStyle;aI("showmenu=ortho;text=Orthodontics;");aI("text=Crowns;url=crowns.htm;");aI("text=Veneers;url=veneer.htm;");aI("text=Whitening;url=whitening.htm;");aI("text=Root Canal;url=endo.htm;");aI("showmenu=perio;text=Periodontics;");aI("text=Bridges;url=bridges.htm;");aI("showmenu=dis;text=Disorders;");}with(milonic=new menuname("ortho")){style=subStyle;aI("text=Appliance Cleaning;url=appliance.htm;");aI("text=Fixed Appliance;url=fixed.htm;");aI("text=Removable Appliance;url=remove.htm;");aI("text=White Brackets;url=white.htm;");aI("text=Bonded Wire;url=wire.htm;");}with(milonic=new menuname("perio")){style=subStyle;aI("text=Gum Disease;url=gum.htm;");aI("text=Sensitivity;url=sensitive.htm;");}with(milonic=new menuname("dis")){style=subStyle;aI("text=Bruxism;url=brux.htm;");aI("text=Dry Socket;url=dry.htm;");aI("text=TMJ;url=tmj.htm;");}with(milonic=new menuname("patient")){style=menuStyle;aI("text=Testimonials;url=test.htm;");}with(milonic=new menuname("contact")){style=menuStyle;aI("text=Contact Us;url=form.htm;");aI("text=Location;url=contact.htm;");}drawMenus();var imgMouseOverHolder = new Array();var imgMouseDownHolder = new Array();function preloader(imgTags){	var newmouseover, newmouseout, newmouseup, newmousedown, oldmouseover, oldmouseout, oldmouseup, oldmousedown		var AL = imgMouseOverHolder.length + 1;	for (var i = 0; i < imgTags.length; i++) {		if (imgTags[i].getAttribute('srcdown')||imgTags[i].getAttribute('srcover')) {			newmouseover = null; newmouseout = null; newmouseup = null;	newmousedown = null; oldmouseover = null; oldmouseout = null; oldmouseup = null; oldmousedown = null			if (imgTags[i].getAttribute('srcover')) {imgMouseOverHolder[AL] = new Image(); imgMouseOverHolder[AL].src = imgTags[i].getAttribute('srcover');}			if (imgTags[i].getAttribute('srcdown')) {imgMouseDownHolder[AL] = new Image(); imgMouseDownHolder[AL].src = imgTags[i].getAttribute('srcdown');}						if (imgTags[i].src) {imgTags[i].setAttribute("oldsrc", imgTags[i].src);}							if (imgTags[i].getAttribute('srcover')) {							if (imgTags[i].onmouseover) {imgTags[i].oldmouseover = imgTags[i].onmouseover; newmouseover = function (){this.src=this.getAttribute("srcover"); this.oldmouseover();}}				else {newmouseover = function (){this.src=this.getAttribute("srcover");}}				imgTags[i].onmouseover = newmouseover;							if (imgTags[i].onmouseout){imgTags[i].oldmouseout = imgTags[i].onmouseout; newmouseout = function (){this.src=this.getAttribute("oldsrc"); this.oldmouseout();}}				else {newmouseout = function (){this.src=this.getAttribute("oldsrc");}}				imgTags[i].onmouseout = newmouseout;			}						if (imgTags[i].getAttribute('srcdown')) {							if (imgTags[i].onmousedown) {imgTags[i].oldmousedown = imgTags[i].onmousedown; newmousedown = function (){this.src=this.getAttribute("srcdown"); this.oldmousedown();}}			else {newmousedown = function (){this.src=this.getAttribute("srcdown");}}			imgTags[i].onmousedown = newmousedown;							if (imgTags[i].getAttribute('srcover')) {											if (imgTags[i].onmouseup) {imgTags[i].oldmouseup = imgTags[i].onmouseup; newmouseup = function (){this.src=this.getAttribute("srcover"); this.oldmouseup();}}					else {newmouseup = function (){this.src=this.getAttribute("srcover");}}					imgTags[i].onmouseup = newmouseup;								} else {													if (imgTags[i].onmouseup) {imgTags[i].oldmouseup = imgTags[i].onmouseup; newmouseup = function (){this.src=this.getAttribute("oldsrc"); this.oldmouseup();}}					else {newmouseup = function (){this.src=this.getAttribute("oldsrc");}}					imgTags[i].onmouseup = newmouseup;					if (imgTags[i].onmouseout) {imgTags[i].oldmouseout = imgTags[i].onmouseout; newmouseout = function (){this.src=this.getAttribute("oldsrc"); this.oldmouseout();}}					else {newmouseout = function (){this.src=this.getAttribute("oldsrc");}}					imgTags[i].onmouseout = newmouseout;				}							}		}	}}function preloadimgsrc() {	if (!document.getElementById) return;		var imgTags = document.getElementsByTagName('IMG'); 	var imgTags2 = document.getElementsByTagName('INPUT');		preloader(imgTags);	preloader(imgTags2);  // For image type submit buttons }if (window.addEventListener)window.addEventListener("load", preloadimgsrc, false)else if (window.attachEvent)window.attachEvent("onload", preloadimgsrc)else if (document.getElementById)window.onload=preloadimgsrc
