// Rollovers ==================>
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_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_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];}
}

// Dropdowns =================>
function mmLoadMenus() {
  if (window.about_us) return;
  window.about_us = new Menu("root",220,22,"Georgia, Times New Roman, Times, serif",12,"#63305E","#63305E","#CAE5E3","#FFFFFF","left","middle",5,0,300,-5,7,true,true,true,0,true,true);
  about_us.addMenuItem("Meet&nbsp;Dr.&nbsp;Bigman","location='meet_doctor.html'");
  about_us.addMenuItem("Dr.&nbsp;Bigman's&nbsp;20th&nbsp;Anniversary","location='anniversary.html'");
  about_us.addMenuItem("Meet&nbsp;the&nbsp;Team","location='meet_team.html'");
  about_us.addMenuItem("Top&nbsp;Ten&nbsp;Reasons","location='top-ten.html'");
  about_us.addMenuItem("Office&nbsp;Tour","location='office_tour.html'");
  about_us.addMenuItem("Office&nbsp;Location","location='office_location.html'");
  about_us.addMenuItem("Office&nbsp;Policies&nbsp;and&nbsp;Payment","location='office_policies.html'");
  about_us.addMenuItem("Because&nbsp;We&nbsp;Care","location='because_we_care.html'");
   about_us.fontWeight="bold";
   about_us.hideOnMouseOut=true;
   about_us.bgColor='#CAE5E3';
   about_us.menuBorder=1;
   about_us.menuLiteBgColor='#CAE5E3';
   about_us.menuBorderBgColor='#63305E';
   
   window.specialty = new Menu("root",180,22,"Georgia, Times New Roman, Times, serif",12,"#63305E","#63305E","#CAE5E3","#FFFFFF","left","middle",5,0,300,-5,7,true,true,true,0,true,true);
  specialty.addMenuItem("Types&nbsp;of&nbsp;Braces","location='types_braces.html'");
  specialty.addMenuItem("Types&nbsp;of&nbsp;Appliances","location='types_appliances.html'");
  specialty.addMenuItem("Common&nbsp;Treatments","location='common_treatments.html'");
  specialty.addMenuItem("Orthodontic&nbsp;Myth&nbsp;Busters","location='myth-busters.html'");
  specialty.addMenuItem("Ortho&nbsp;Dictionary","location='ortho_dictionary.html'");
  specialty.addMenuItem("FAQ","location='faq.html'");
   specialty.fontWeight="bold";
   specialty.hideOnMouseOut=true;
   specialty.bgColor='#CAE5E3';
   specialty.menuBorder=1;
   specialty.menuLiteBgColor='#CAE5E3';
   specialty.menuBorderBgColor='#63305E';
   
   window.patient_care = new Menu("root",163,22,"Georgia, Times New Roman, Times, serif",12,"#63305E","#63305E","#CAE5E3","#FFFFFF","left","middle",5,0,300,-5,7,true,true,true,0,true,true);
  patient_care.addMenuItem("Orthodontic&nbsp;Concerns","location='ortho_concerns.html'");
  patient_care.addMenuItem("Comments","location='comments.php'");
  patient_care.addMenuItem("Referrals","location='referrals.php'");
   patient_care.fontWeight="bold";
   patient_care.hideOnMouseOut=true;
   patient_care.bgColor='#CAE5E3';
   patient_care.menuBorder=1;
   patient_care.menuLiteBgColor='#CAE5E3';
   patient_care.menuBorderBgColor='#63305E';
   
   window.events = new Menu("root",215,22,"Georgia, Times New Roman, Times, serif",12,"#63305E","#63305E","#CAE5E3","#FFFFFF","left","middle",5,0,300,-5,7,true,true,true,0,true,true);
  events.addMenuItem("Events","location='events.html'");
  events.addMenuItem("Dr.&nbsp;Bigman’s&nbsp;Trip&nbsp;to&nbsp;China","location='china_trip.html'");
  events.addMenuItem("Contests","location='contests.html'");
  events.addMenuItem("Community&nbsp;Activities","location='community.html'");
  events.addMenuItem("Newsletters:&nbsp;Current&nbsp;and&nbsp;Past","location='newsletters.html'");
  events.addMenuItem("In&nbsp;the&nbsp;News","location='in-the-news.html'")
 // events.addMenuItem("Invisalign&nbsp;Day","location='invisalign_day.html'");
   events.fontWeight="bold";
   events.hideOnMouseOut=true;
   events.bgColor='#CAE5E3';
   events.menuBorder=1;
   events.menuLiteBgColor='#CAE5E3';
   events.menuBorderBgColor='#63305E';

writeMenus();
} // mmLoadMenus()

// External Links ===============>
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;


//-->