// JavaScript Document
function mmLoadMenus() {
  if (window.mm_menu_0821112455_0) return;
  window.mm_menu_0821112455_0 = new Menu("root",186,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#FFFFFF","#71ABB6","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0821112455_0.addMenuItem("Smile&nbsp;Makeovers","location='smile_makeovers.html'");
  mm_menu_0821112455_0.addMenuItem("Porcelain&nbsp;Veneers","location='veneers.html'");
  mm_menu_0821112455_0.addMenuItem("Instant&nbsp;Orthodontics","location='instant_ortho.html'");
  mm_menu_0821112455_0.addMenuItem("Porcelain&nbsp;Crowns/Bonding","location='crowns_bonding.html'");
  mm_menu_0821112455_0.addMenuItem("Tooth&nbsp;Whitening","location='tooth_whitening.html'");
  mm_menu_0821112455_0.addMenuItem("Porcelain&nbsp;Fillings","location='fillings.html'");
  mm_menu_0821112455_0.addMenuItem("Laser&nbsp;Gum&nbsp;Treatment","location='gum_treatment.html'");
  mm_menu_0821112455_0.addMenuItem("Laser&nbsp;Tooth&nbsp;Whitening","location='laser_whitening.html'");
  mm_menu_0821112455_0.addMenuItem("Dentures/Partials","location='dentures.html'");
  mm_menu_0821112455_0.addMenuItem("Am&nbsp;I&nbsp;A&nbsp;Candidate?","location='candidate.html'");
   mm_menu_0821112455_0.hideOnMouseOut=true;
   mm_menu_0821112455_0.bgColor='#555555';
   mm_menu_0821112455_0.menuBorder=1;
   mm_menu_0821112455_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0821112455_0.menuBorderBgColor='#FFFFFF';

              window.mm_menu_0821113028_0 = new Menu("root",186,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#FFFFFF","#71ABB6","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0821113028_0.addMenuItem("Smile&nbsp;Makeovers","location='smile_makeovers.html'");
  mm_menu_0821113028_0.addMenuItem("Porcelain&nbsp;Veneers","location='veneers.html'");
  mm_menu_0821113028_0.addMenuItem("Instant&nbsp;Orthodontics","location='instant_ortho.html'");
  mm_menu_0821113028_0.addMenuItem("Porcelain&nbsp;Crowns/Bonding","location='crowns_bonding.html'");
  mm_menu_0821113028_0.addMenuItem("Tooth&nbsp;Whitening","location='tooth_whitening.html'");
  mm_menu_0821113028_0.addMenuItem("Porcelain&nbsp;Fillings","location='porcelain_fillings.html'");
  mm_menu_0821113028_0.addMenuItem("Laser&nbsp;Gum&nbsp;Treatment","location='laser_gum_treatment.html'");
  mm_menu_0821113028_0.addMenuItem("Laser&nbsp;Tooth&nbsp;Whitening","location='tooth_whitening.html#laser'");
  mm_menu_0821113028_0.addMenuItem("Dentures/Partials","location='dentures_partials.html'");
  mm_menu_0821113028_0.addMenuItem("Are&nbsp;you&nbsp;a&nbsp;candidate?","location='candidate.html'");
   mm_menu_0821113028_0.hideOnMouseOut=true;
   mm_menu_0821113028_0.bgColor='#555555';
   mm_menu_0821113028_0.menuBorder=1;
   mm_menu_0821113028_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0821113028_0.menuBorderBgColor='#71ABB6';

  window.mm_menu_0930135534_0 = new Menu("root",88,18,"Arial, Helvetica, sans-serif",12,"#000000","#FFFFFF","#FFFFFF","#71ABB6","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0930135534_0.addMenuItem("Dr.&nbsp;Nab","location='dr_nabizadeh.html'");
  mm_menu_0930135534_0.addMenuItem("Our&nbsp;Team","location='about_our_team.html'");
   mm_menu_0930135534_0.hideOnMouseOut=true;
   mm_menu_0930135534_0.bgColor='#555555';
   mm_menu_0930135534_0.menuBorder=1;
   mm_menu_0930135534_0.menuLiteBgColor='#FFFFFF';
   mm_menu_0930135534_0.menuBorderBgColor='#71abb6';

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

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_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

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

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