
/*******************************************************************************
Copyright (c) 1999 Thomas Brattli (www.bratta.com)

eXperience DHTML coolMenus - Get it at www.bratta.com
Version 1.0
This script can be used freely as long as all copyright messages are
intact. Visit www.bratta.com/dhtml for the latest version of the script.

This is the actual script page. You shouldn't really have to edit anything in
here.
*******************************************************************************/

			oMenu=new menuObj('oMenu') //Place a name for the menu in there. Must be uniqe for each menu
				
			//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
			oMenu.clMain='padding:2px; font-family:arial; font-size:10px; font-weight:normal; text-align:center' //The style for the main menus
			oMenu.clSub='padding:0px; font-family:arial; font-size:10px' //The style for the submenus
			oMenu.clSubSub='padding:1px; font-family:arial; font-size:10px' //The style for the subsubmenus
			oMenu.clAMain='text-decoration:none; color:White' //The style for the main links
			oMenu.clASub='text-decoration:none; color:White' //The style for the sub links
			oMenu.clASubSub='text-decoration:none; color:White' //The style for the subsub links
			
			//Background bar properties
			oMenu.backgroundbar=1 //Set to 0 if no backgroundbar
			oMenu.backgroundbarfromleft=0 //The left placement of the backgroundbar in pixel or %
			oMenu.backgroundbarfromtop=0 //The top placement of the backgroundbar  in pixel or %
			oMenu.backgroundbarsize="100%" //The size of the bar in pixel or %
			oMenu.backgroundbarcolor="003399" //The backgroundcolor of the bar
			
			oMenu.mainheight=20 //The height of the main menuitems in pixel or %
			oMenu.mainwidth=80 //The width of the main menuitems  in pixel or %
			
			/*These are new variables. In this example they are set like the previous version*/
			oMenu.subwidth=100 // ** NEW ** The width of the submenus
			oMenu.subheight=12 //The height if the subitems in pixel or % 
			
			oMenu.subsubwidth=100 // ** NEW ** The width of the subsubmenus in pixel or % 
			oMenu.subsubheight=oMenu.subheight //** NEW ** The height if the subsubitems in pixel or % 
			
			//Writing out the style for the menu (leave this line!)
			oMenu.makeStyle()
			
			oMenu.subplacement=oMenu.mainheight //** NEW ** Relative to the main item
			oMenu.subsubXplacement=oMenu.subwidth //** NEW ** The X placement of the subsubmenus, relative to the sub item
			oMenu.subsubYplacement=0 //** NEW ** The Y placement of the subsubmenus, relative to the sub item
			
			oMenu.mainbgcoloroff='' //The backgroundcolor of the main menuitems
				oMenu.mainbgcoloron='666666' //The backgroundcolor on mouseover of the main menuitems
				oMenu.subbgcoloroff='003399' //The backgroundcolor of the sub menuitems
				oMenu.subbgcoloron='666666' //The backgroundcolor on mouseover of the sub menuitems
				oMenu.subsubbgcoloroff='003399' //The backgroundcolor of the subsub menuitems
				oMenu.subsubbgcoloron='666666' //The backgroundcolor on mouseover of the subsub menuitems
				oMenu.stayoncolor=1 //Do you want the menus to stay on the mouseovered color when clicked?
			
			oMenu.menuspeed=10 //The speed of the clipping in px
			oMenu.menusubspeed=15 //The speed of the submenus clipping in px
			oMenu.menusubsubspeed=15 //The speed of the subsubmenus clipping in px

			oMenu.menurows=1 //Set to 0 if you want rows and to 1 if you want columns
			
			oMenu.menueventon="mouse" //Set this to "mouse" if you want the menus to appear onmouseover, set it to "click" if you want it to appear onclick
			oMenu.menueventoff="mouse" //Set this to "mouse" if you them to disappear onmouseout, if not set it to "click"
			
			//Placement of the menuitems
			
			//Example in %:
			//oMenu.menuplacement=new Array("20%","40%","60%","50%","65%") //Remember to make the arrays contain as many values as you have main menuitems
			
			//Example in px: (remember to use the ' ' around the numbers)
			//oMenu.menuplacement=new Array(10,200,300,400,500)
			
			//Example right beside eachother (only adding the pxbetween variable)
			oMenu.menuplacement=new Array("30%","40%","50%","60%","70%","80%","90%")
			
			//If you use the "right beside eachother" you cant how many pixel there should be between each here
			oMenu.pxbetween=0 //in pixel or %
			
			//And you can set where it should start from the left here
			oMenu.fromleft= oMenu.backgroundbarfromleft //in pixel or %
			
			//This is how much from the top the menu should be.
			oMenu.fromtop= oMenu.backgroundbarfromtop  //in pixel or %
			
			/********************************************************************************
			Construct your menus below
			********************************************************************************/
			
			//MAIN 0
			
			//Main items:
			// makeMain(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
			oMenu.makeMain(0,'Products','http://www.oakmgt.com/products.html','')
				//Sub items:
				// makeSub(MAIN_NUM,SUB_NUM,'TEXT','LINK',TOTAL,'FRAME_TARGET') (set link to 0 if you want submenus of this menu item)

				oMenu.makeSub(0,0,'Movex','http://www.oakmgt.com/products/movex.html',2,'')
				oMenu.makeSub(0,1,'Optimum Solutions','http://www.oakmgt.com/products/optimum.html',2,'')
								
					oMenu.makeSubSub(0,0,0,'ERP','http://www.oakmgt.com/products/movex/erp.html',6,'')
					oMenu.makeSubSub(0,0,1,'E-Business','http://www.oakmgt.com/products/movex/ebusiness.html',6,'')
					oMenu.makeSubSub(0,0,2,'CRM','http://www.oakmgt.com/products/movex/crm.html',6,'')
					oMenu.makeSubSub(0,0,3,'SCP&E','http://www.oakmgt.com/products/movex/scpe.html',6,'')
					oMenu.makeSubSub(0,0,4,'PRM','http://www.oakmgt.com/products/movex/prm.html',6,'')
					oMenu.makeSubSub(0,0,5,'BPM','http://www.oakmgt.com/products/movex/bpm.html',6,'')
					oMenu.makeSubSub(0,1,0,'Applicant Tracking','http://www.oakmgt.com/products/optimum/apptrack.html',4,'')
					oMenu.makeSubSub(0,1,1,'Human Resources','http://www.oakmgt.com/products/optimum/hr.html',4,'')
					oMenu.makeSubSub(0,1,2,'Payroll','http://www.oakmgt.com/products/optimum/payroll.html',4,'')
					oMenu.makeSubSub(0,1,3,'Time & Attendance','http://www.oakmgt.com/products/optimum/timeattend.html',4,'')

			//Main 1
			oMenu.makeMain(1,'Services','http://www.oakmgt.com/services.html','')
				oMenu.makeSub(1,0,'Systems Planning','http://www.oakmgt.com/services/plan.html',8,'')
				oMenu.makeSub(1,1,'Product Evaluation','http://www.oakmgt.com/services/plan.html#eval',8,'')
				oMenu.makeSub(1,2,'Implementation','http://www.oakmgt.com/services/implement.html',8,'')
				oMenu.makeSub(1,3,'Training','http://www.oakmgt.com/services/implement.html#training',8,'')
				oMenu.makeSub(1,4,'Programming','http://www.oakmgt.com/services/programming.html',8,'')
				oMenu.makeSub(1,5,'Conversions','http://www.oakmgt.com/services/programming.html#conversion',8,'')
				oMenu.makeSub(1,6,'Management','http://www.oakmgt.com/services/manage.html',8,'')
				oMenu.makeSub(1,7,'Maintenance','http://www.oakmgt.com/services/manage.html#maintain',8,'')				

			//Main 2
			oMenu.makeMain(2,'Solutions','http://www.oakmgt.com/solutions.html','')

			//Main 3
			oMenu.makeMain(3,'Resources','http://www.oakmgt.com/resources.html','')
				oMenu.makeSub(3,0,'Company','http://www.oakmgt.com/resources/company.html',4,'')
				oMenu.makeSub(3,1,'Employment','http://www.oakmgt.com/resources/employment.html',4,'')
				oMenu.makeSub(3,2,'Partners','http://www.oakmgt.com/resources/partners.html',4,'')
				oMenu.makeSub(3,3,'Downloads','http://www.oakmgt.com/resources/downloads.html',4,'')

			//Main 4
			oMenu.makeMain(4,'Site Map','http://www.oakmgt.com/sitemap.html','')

			//Main 5
			oMenu.makeMain(5,'Contact Us','http://www.oakmgt.com/contact.html','')

			//Main 6
			oMenu.makeMain(6,'Home','http://www.oakmgt.com/','')
						


			oMenu.construct()	
