function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
}

function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}


// Flash Function
//embed flash
function movie01Get() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="739" height="358"><param name="movie" value="multimedia/andersonsean.swf" /><param name="quality" value="high" /><param name="LOOP" value="false" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><embed src="multimedia/andersonsean.swf" width="739" height="358" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#ffffff" wmode="transparent"></embed></object>');
}


function mmLoadMenus() {
  if (window.mm_menu_0313114759_0) return;
  window.mm_menu_0313114759_0 = new Menu("root",140,24,"Arial, Helvetica, sans-serif",13,"#FFFFFF","#393535","#988F8F","#FFFFFF","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0313114759_0.addMenuItem("About&nbsp;Dr.&nbsp;Anderson","location='anderson.html'");
  mm_menu_0313114759_0.addMenuItem("Our&nbsp;Approach","location='approach.html'");
  mm_menu_0313114759_0.addMenuItem("Our&nbsp;Team","location='team.html'");
  
  mm_menu_0313114759_0.addMenuItem("Our&nbsp;Patient&nbsp;Forms","window.open('pdf/Revmedform.pdf', '_blank');");
   mm_menu_0313114759_0.fontWeight="bold";
   mm_menu_0313114759_0.hideOnMouseOut=true;
   mm_menu_0313114759_0.bgColor='#000000';
   mm_menu_0313114759_0.menuBorder=1;
   mm_menu_0313114759_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0313114759_0.menuBorderBgColor='#CCCCCC';

if (window.mm_menu_0313155532_0) return;
  window.mm_menu_0313155532_0 = new Menu("root",76,24,"Arial, Helvetica, sans-serif",13,"#FFFFFF","#393535","#988F8F","#FFFFFF","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0313155532_0.addMenuItem("Directions","location='directions.html'");
   mm_menu_0313155532_0.fontWeight="bold";
   mm_menu_0313155532_0.hideOnMouseOut=true;
   mm_menu_0313155532_0.bgColor='#000000';
   mm_menu_0313155532_0.menuBorder=1;
   mm_menu_0313155532_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0313155532_0.menuBorderBgColor='#CCCCCC';

if (window.mm_menu_0313161039_0) return;
  window.mm_menu_0313161039_0 = new Menu("root",170,24,"Arial, Helvetica, sans-serif",13,"#FFFFFF","#393535","#988F8F","#FFFFFF","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0313161039_0.addMenuItem("Headaches","location='headaches.html'");
  mm_menu_0313161039_0.addMenuItem("Facial&nbsp;Pain","location='facial_pain.html'");
  mm_menu_0313161039_0.addMenuItem("Jaw&nbsp;Pain","location='jaw_pain.html'");
  mm_menu_0313161039_0.addMenuItem("Neck&nbsp;and&nbsp;Shoulder&nbsp;Pain","location='neck_shoulder_pain.html'");
  mm_menu_0313161039_0.addMenuItem("Depression","location='depression.html'");
  mm_menu_0313161039_0.addMenuItem("TMD&nbsp;Symptoms","location='tmd_symptoms.html'");
  mm_menu_0313161039_0.addMenuItem("Sleep&nbsp;Apnea","location='sleep-apnea.html'");
   mm_menu_0313161039_0.fontWeight="bold";
   mm_menu_0313161039_0.hideOnMouseOut=true;
   mm_menu_0313161039_0.bgColor='#000000';
   mm_menu_0313161039_0.menuBorder=1;
   mm_menu_0313161039_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0313161039_0.menuBorderBgColor='#CCCCCC';

if (window.mm_menu_0313161026_0) return;
  window.mm_menu_0313161026_0 = new Menu("root",280,24,"Arial, Helvetica, sans-serif",13,"#FFFFFF","#393535","#988F8F","#FFFFFF","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0313161026_0.addMenuItem("Full&nbsp;Mouth&nbsp;Reconstruction","location='full-mouth-gallery.html'");
  mm_menu_0313161026_0.addMenuItem("Smile&nbsp;Makeover&nbsp;with&nbsp;Porcelain&nbsp;Veneers","location='veneers_gallery.html'");
   mm_menu_0313161026_0.fontWeight="bold";
   mm_menu_0313161026_0.hideOnMouseOut=true;
   mm_menu_0313161026_0.bgColor='#000000';
   mm_menu_0313161026_0.menuBorder=1;
   mm_menu_0313161026_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0313161026_0.menuBorderBgColor='#CCCCCC';


if (window.mm_menu_0313161806_0) return;
  window.mm_menu_0313161806_0 = new Menu("root",156,24,"Arial, Helvetica, sans-serif",13,"#FFFFFF","#393535","#988F8F","#FFFFFF","left","middle",6,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0313161806_0.addMenuItem("Porcelain&nbsp;Crowns","location='porcelain_crowns.html'");
  mm_menu_0313161806_0.addMenuItem("Tooth&nbsp;Colored&nbsp;Fillings","location='tooth_colored_fillings.html'");
  mm_menu_0313161806_0.addMenuItem("Inlays&nbsp;and&nbsp;Onlays","location='inlays_and_onlays.html'");
  mm_menu_0313161806_0.addMenuItem("Implant&nbsp;Dentistry","location='implant_dentistry.html'");
  mm_menu_0313161806_0.addMenuItem("Porcelain&nbsp;Veneers","location='porcelain_veneers.html'");
  mm_menu_0313161806_0.addMenuItem("Tooth&nbsp;Whitening","location='tooth_whitening.html'");
  mm_menu_0313161806_0.addMenuItem("Sedation&nbsp;Dentistry","location='sedation-dentistry.html'");
  mm_menu_0313161806_0.addMenuItem("Oral&nbsp;Cancer&nbsp;Screening","location='oral-cancer-screening.html'");
   mm_menu_0313161806_0.fontWeight="bold";
   mm_menu_0313161806_0.hideOnMouseOut=true;
   mm_menu_0313161806_0.bgColor='#000000';
   mm_menu_0313161806_0.menuBorder=1;
   mm_menu_0313161806_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0313161806_0.menuBorderBgColor='#CCCCCC';

mm_menu_0313161806_0.writeMenus();
} // mmLoadMenus()


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}