function mmLoadMenus() {

  if (window.braces) return;

  window.braces = new Menu("root",161,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#2E5375","#2E5375","#D5E0EA","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);

  braces.addMenuItem("Orthodontics&nbsp;for&nbsp;kids","location='ortho_kids.html'");

  braces.addMenuItem("Orthodontics&nbsp;for&nbsp;adults","location='ortho_adults.html'");

  braces.addMenuItem("FAQs","location='faqs.html'");

  braces.addMenuItem("Types&nbsp;of&nbsp;Appliances","location='types_appliances.html'");

  braces.addMenuItem("Before&nbsp;you&nbsp;leave","location='before_leave.html'");

  braces.addMenuItem("What&nbsp;to&nbsp;expect","location='what_expect.html'");

  braces.addMenuItem("Braces&nbsp;Diagram","location='braces_diagram.html'");

  braces.addMenuItem("Braces&nbsp;Painter","location='brace_painter.html'");

  braces.addMenuItem("Patient&nbsp;Care&nbsp;Video","window.open('http://www.orthosesame.com/ptcare-video/video/choice.html','','scrollbars=no,resizable=no,width=500,height=500,left=10,top=10')");

  braces.addMenuItem("What&nbsp;you&nbsp;should&nbsp;eat","location='what_to_eat.html'");

  braces.addMenuItem("Seeing&nbsp;your&nbsp;dentist","location='seeing_dentist.html'");

  braces.addMenuItem("Home&nbsp;care","location='home_care.html'");

  braces.addMenuItem("After&nbsp;braces","location='after_braces.html'");

   braces.hideOnMouseOut=true;

   braces.menuBorder=1;

   braces.bgColor='';

   braces.menuLiteBgColor='';

   braces.menuBorderBgColor='#2E5375';

   

  window.emergencies = new Menu("root",161,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#2E5375","#2E5375","#D5E0EA","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);

  emergencies.addMenuItem("Mouth/teeth&nbsp;injuries","location='mouth_injuries.html'");

  emergencies.addMenuItem("Appliance&nbsp;issues","location='appliance_issues.html'");

  emergencies.addMenuItem("After-hours","location='after_hours.html'");

  emergencies.addMenuItem("Patient&nbsp;Care&nbsp;Video","window.open('http://www.orthosesame.com/ptcare-video/video/choice.html','','scrollbars=no,resizable=no,width=500,height=500,left=10,top=10')");

   emergencies.hideOnMouseOut=true;

   emergencies.menuBorder=1;

   emergencies.bgColor='';

   emergencies.menuLiteBgColor='';

   emergencies.menuBorderBgColor='#2E5375';

   

   window.office_happenings = new Menu("root",161,17,"Verdana, Arial, Helvetica, sans-serif",11,"#FFFFFF","#2E5375","#2E5375","#D5E0EA","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);

   office_happenings.addMenuItem("Office Happenings","location='office_happenings.html'");

   office_happenings.addMenuItem("Patient Contest","location='patient-contest-plano.html'");

   office_happenings.hideOnMouseOut=true;

   office_happenings.menuBorder=1;

   office_happenings.bgColor='';

   office_happenings.menuLiteBgColor='';

   office_happenings.menuBorderBgColor='#2E5375';



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_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_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];

	}

}

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_openBrWindow(theURL,winName,features) { //v2.0

	window.open(theURL,winName,features);

}

window.onload = function() {

	MM_preloadImages(

		'images/nav/about_us_over.gif',

		'images/nav/our_doctors_over.gif',

		'images/nav/locations_over.gif',

		'images/nav/scheduling_over.gif',

		'images/nav/patient_forms_over.gif',

		'images/nav/insurance_over.gif',

		'images/nav/common_problems_over.gif',

		'images/nav/craniofacial_over.gif',

		'images/nav/about_braces_over.gif',

		'images/nav/ortho_emergencies_over.gif',

		'images/nav/smiles_over.gif',

		'images/nav/office_happenings_over.gif',

		'images/nav/related_links_over.gif',

		'images/nav/game_room_over.gif',

		'images/nav/patient_login_over.gif',

		'images/nav/ortho_dictionary_over.gif'

	);

}