 /***********************************************
*	(c) Ger Versluis 2000 version 13.21 April 28, 2008    *
*	You may use this script on non commercial sites.	          *
*	www.burmees.nl/menu			          *
*	You may remove all comments for faster loading	          *		
************************************************/
	var NoOffFirstLineMenus=10;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="#ac5126";			// Background color when mouse is not over
	var HighBgColor="#f4d7af";			// Background color when mouse is over
	var FontLowColor="#ffffff";			// Font color when mouse is not over
	var FontHighColor="#000000";			// Font color when mouse is over
	var BorderColor="#ffffff";			// Border color
	var BorderWidthMain=0;			// Border width main items
	var BorderWidthSub=0;			// Border width sub items
 	var BorderBtwnMain=0;			// Borderwidth between elements
	var BorderBtwnSub=0;			// Borderwidth between elements sub items
	var FontFamily="Verdana";	// Font family menu items
	var FontSize=11;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";		// Item text position left, center or right
	//Rk made the menu centered
	//var MenuCentered="left";
	var MenuCentered="center";			// Menu horizontal position can be: left, center, right
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=106;				// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
	// Rk var StartLeft=228;				// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
	//var StartLeft=100;		
	//var StartLeft=0.02;		
	var StartLeft=0;		
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var DistFrmFrameBrdr=0;			// Distance between main menu and frame border
	var LeftPaddng=5;				// Left padding
	var TopPaddng=-1;			// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="";			// Frame where first level appears
	var SecLineFrame="";			// Frame where sub levels appear
	var DocTargetFrame="";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	//var Arrws=[BaseHref+"tri.gif",5,10,BaseHref+"tridown.gif",10,5,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",10,5];
var Arrws=["",5,10,"",10,5,"",5,10,"",10,5];
						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1
	var OverFormElements=1;			// Set this to 0 when the menu does not need to cover form elements.
	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
	var BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=5;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						//	<script type="text/javascript">var SetMenu="2_2_1";</script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

	var HooverBold=0;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.8, transition=80)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.8, wipeStyle=1)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=1)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=90)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}


var siteRoot="/";	

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("rollover?"+BaseHref+"images/menus_01.jpg?"+BaseHref+"images/menus_01.jpg","","",0,50,47,"","","","","","",-1,-1,-1,"","");

Menu2=new Array("rollover?"+BaseHref+"images/menus_02.jpg?"+BaseHref+"images/menus_02.jpg","","",4,50,69,"#DF561F","","","","","",-1,-1,-1,"","Home ");
Menu2_1=new Array("Doctors",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=7&Itemid=11","",0,21,95,"","","","","","",-1,-1,-1,"","Doctors");
Menu2_2=new Array("Aesthetician",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=9&Itemid=13","",0,21,95,"","","","","","",-1,-1,-1,"","Aesthitician");
Menu2_3=new Array("The Staff",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=8&Itemid=12","",0,21,95,"","","","","","",-1,-1,-1,"","The Staff");
Menu2_4=new Array("Our Facility",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=6&Itemid=10","",0,21,95,"","","","","","",-1,-1,-1,"","Doctors");



		
Menu3=new Array("rollover?"+BaseHref+"images/menus_03.jpg?"+BaseHref+"images/menus_03.jpg","","",8,50,107,"#DF561F","","","","","",-1,-1,-1,"","Services");
Menu3_1=new Array("Wisdom Teeth",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=10&Itemid=14","",0,21,170,"","","","","","",-1,-1,-1,"","Wisdom Teeth");
Menu3_2=new Array("Dental Implants",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=11&Itemid=15","",0,21,170,"","","","","","",-1,-1,-1,"","Dental Implants");
Menu3_3=new Array("Bone Grafting",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=12&Itemid=16","",0,21,170,"","","","","","",-1,-1,-1,"","Bone Grafting");
Menu3_4=new Array("Oral Pathology",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=13&Itemid=17","",0,21,170,"","","","","","",-1,-1,-1,"","Oral Pathology");

Menu3_5=new Array("TMJ Disorders",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=15&Itemid=19","",0,21,170,"","","","","","",-1,-1,-1,"","TMJ Disorders");
Menu3_6=new Array("Corrective Jaw Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=16&Itemid=20","",0,21,170,"","","","","","",-1,-1,-1,"","Corrective Jaw Surgery");
Menu3_7=new Array("Facial Trauma",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=17&Itemid=21","",0,21,170,"","","","","","",-1,-1,-1,"","Facial Trauma");
Menu3_8=new Array("Anesthesia",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=18&Itemid=22","",0,21,170,"","","","","","",-1,-1,-1,"","Anesthesia");




Menu4=new Array("rollover?"+BaseHref+"images/menus_04.jpg?"+BaseHref+"images/menus_04.jpg","","",8,50,112,"#DF561F","","","","","",-1,-1,-1,"","Clinets");
Menu4_1=new Array("Face Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=19&Itemid=23","",0,21,205,"","","","","","",-1,-1,-1,"","Face Lift");
Menu4_2=new Array("Mini Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=20&Itemid=24","",0,21,205,"","","","","","",-1,-1,-1,"","Mini Lift");
Menu4_3=new Array("Eyelid Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=21&Itemid=25","",0,21,205,"","","","","","",-1,-1,-1,"","Eyelid Surgery");
Menu4_4=new Array("Nose Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=22&Itemid=26","",0,21,205,"","","","","","",-1,-1,-1,"","Nose Surgery");
Menu4_5=new Array("Forehead Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=23&Itemid=27","",0,21,205,"","","","","","",-1,-1,-1,"","Forehead Lift");
Menu4_6=new Array("Ear Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=24&Itemid=28","",0,21,205,"","","","","","",-1,-1,-1,"","Ear Surgery");
Menu4_7=new Array("Laser Skin Resurfacing",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=25&Itemid=29","",0,21,205,"","","","","","",-1,-1,-1,"","Laser Skin Resurfacing");

Menu4_8=new Array("Choosing a Cosmetic Surgeon",siteRoot+"index.php?option=com_content&view=article&id=58&Itemid=80","",0,21,205,"","","","","","",-1,-1,-1,"","Choosing a Cosmetic Surgeon");


Menu5=new Array("rollover?"+BaseHref+"images/menus_05.jpg?"+BaseHref+"images/menus_05.jpg", siteRoot+"index.php?option=com_content&view=article&id=44&Itemid=75","",0,50,129,"#DF561F","","","","","",-1,-1,-1,"","Company");
/*Menu5_1=new Array("Face Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=19&Itemid=23","",0,21,160,"","","","","","",-1,-1,-1,"","Face Lift");
Menu5_2=new Array("Mini Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=20&Itemid=24","",0,21,160,"","","","","","",-1,-1,-1,"","Mini Lift");
Menu5_3=new Array("Eyelid Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=21&Itemid=25","",0,21,160,"","","","","","",-1,-1,-1,"","Eyelid Surgery");
Menu5_4=new Array("Nose Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=22&Itemid=26","",0,21,160,"","","","","","",-1,-1,-1,"","Nose Surgery");
Menu5_5=new Array("Forehead Lift",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=23&Itemid=27","",0,21,160,"","","","","","",-1,-1,-1,"","Forehead Lift");
Menu5_6=new Array("Ear Surgery",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=24&Itemid=28","",0,21,160,"","","","","","",-1,-1,-1,"","Ear Surgery");
Menu5_7=new Array("Laser Skin Resurfacing",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=25&Itemid=29","",0,21,160,"","","","","","",-1,-1,-1,"","Laser Skin Resurfacing");*/

	
Menu6=new Array("rollover?"+BaseHref+"images/menus_06.jpg?"+BaseHref+"images/menus_06.jpg","","",4,50,114,"#DF561F","","","","","",-1,-1,-1,"","Builders Login");
Menu6_1=new Array("Referral Forms",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=28&Itemid=32","",0,21,130,"","","","","","",-1,-1,-1,"","Referral Forms");
Menu6_2=new Array("Links of Interest",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=29&Itemid=33","",0,21,130,"","","","","","",-1,-1,-1,"","Links of Interest");
Menu6_3=new Array("CE Credits",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=30&Itemid=34","",0,21,130,"","","","","","",-1,-1,-1,"","CE Credits");
Menu6_4=new Array("Journal Club",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=31&Itemid=35","",0,21,130,"","","","","","",-1,-1,-1,"","Journal Club");



Menu7=new Array("rollover?"+BaseHref+"images/menus_07.jpg?"+BaseHref+"images/menus_07.jpg","","",1,50,125,"#DF561F","","","","","",-1,-1,-1,"","Builders Login");
/*Menu7_1=new Array("Surgical",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=26&Itemid=30","",0,21,130,"","","","","","",-1,-1,-1,"","Surgical");*/
Menu7_1=new Array("Post Op forms",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=27&Itemid=31","",0,21,130,"","","","","","",-1,-1,-1,"","Post of forms");


Menu8=new Array("rollover?"+BaseHref+"images/menus_08.jpg?"+BaseHref+"images/menus_08.jpg","","",5,50,127,"#DF561F","","","","","",-1,-1,-1,"","Builders Login");
Menu8_1=new Array("New Patient Forms",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=1&Itemid=5","",0,21,202,"","","","","","",-1,-1,-1,"","New Patient Forms");
Menu8_2=new Array("First Visit -->",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=2&Itemid=6","",3,21,202,"","","","","","",-1,-1,-1,"","First Visit");
Menu8_2_1=new Array("Referral","index.php?option=com_content&view=category&layout=blog&id=35&Itemid=39","",0,21,85,"","","","","","",-1,-1,-1,"","Referral");
Menu8_2_2=new Array("X-rays","index.php?option=com_content&view=category&layout=blog&id=36&Itemid=40","",0,21,85,"","","","","","",-1,-1,-1,"","x-rays");
Menu8_2_3=new Array("Insurance","index.php?option=com_content&view=category&layout=blog&id=37&Itemid=41","",0,21,85,"","","","","","",-1,-1,-1,"","Insurance");
Menu8_3=new Array("Financial Policy",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=3&Itemid=7","",0,21,202,"","","","","","",-1,-1,-1,"","Financial Policy");
Menu8_4=new Array("Insurance",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=4&Itemid=8","",0,21,202,"","","","","","",-1,-1,-1,"","Insurance");
Menu8_5=new Array("Patients undergoing Sedation",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=5&Itemid=9","",0,21,202,"","","","","","",-1,-1,-1,"","Patients undergoing Sedation");






Menu9=new Array("rollover?"+BaseHref+"images/menus_09.jpg?"+BaseHref+"images/menus_09.jpg",siteRoot+"index.php?option=com_user&view=login&Itemid=49&id=52","",2,50,79,"#DF561F","","","","","",-1,-1,-1,"","Login");
Menu9_1=new Array("Directions / Map",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=32&Itemid=36","",0,21,170,"","","","","","",-1,-1,-1,"","Directions / Map");
Menu9_2=new Array("Scheduling Appointment",siteRoot+"index.php?option=com_content&view=category&layout=blog&id=33&Itemid=37","",0,21,170,"","","","","","",-1,-1,-1,"","Scheduling Appointment");
/*Menu9_3=new Array("Admin Login",siteRoot+"index.php?option=com_user&view=login&Itemid=49&id=52","",0,21,170,"","","","","","",-1,-1,-1,"","Admin Login");*/


Menu10=new Array("rollover?"+BaseHref+"images/menus_10.jpg?"+BaseHref+"images/menus_10.jpg","","",0,50,93,"#DF561F","","","","","",-1,-1,-1,""," Login");
