

/********************************************************************************
Variables to set.

Remember that to set fontsize and fonttype you set that in the stylesheet
above!
********************************************************************************/

//Making a menu object
oMenu=new menuObj('oMenu') //Place a name for the menu in there. Must be uniqe for each menu

//Setting menu object variables

//Style variables NOTE: The stylesheet have been removed. Use this instead! (some styles are there by default, like position:absolute ++)
oMenu.clMain='padding:5px; font-family:Verdana; font-size:10px; font-weight:bold; text-align:center' //The style for the main menus
oMenu.clSub='padding:5px; font-family:Verdana; font-size:10px' //The style for the submenus
oMenu.clSubSub='padding:5px; font-family:Verdana; 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=80 //The top placement of the backgroundbar  in pixel or %
oMenu.backgroundbarsize="100%" //The size of the bar in pixel or %
oMenu.backgroundbarcolor="Navy" //The backgroundcolor of the bar

oMenu.mainheight=20 //The height of the main menuitems in pixel or %
oMenu.mainwidth=67 //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=oMenu.mainwidth + 50 // ** NEW ** The width of the submenus
oMenu.subheight=20 //The height if the subitems in pixel or % 

oMenu.subsubwidth=oMenu.mainwidth + 50// ** 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/4 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=oMenu.subheight //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu.mainbgcoloroff='Navy' //The backgroundcolor of the main menuitems
oMenu.mainbgcoloron='#996699' //The backgroundcolor on mouseover of the main menuitems
oMenu.subbgcoloroff='#006699' //The backgroundcolor of the sub menuitems
oMenu.subbgcoloron='#9966cc' //The backgroundcolor on mouseover of the sub menuitems
oMenu.subsubbgcoloroff='#003399' //The backgroundcolor of the subsub menuitems
oMenu.subsubbgcoloron='#996666' //The backgroundcolor on mouseover of the subsub menuitems
oMenu.stayoncolor=0 //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=10 //The speed of the submenus 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=0

//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=0 //in pixel or %

//This is how much from the top the menu should be.
oMenu.fromtop=80 //in pixel or %

/********************************************************************************
Construct your menus below
********************************************************************************/


//MAIN 0

oMenu.makeMain(0,'H O M E','index.html')


//MAIN 1		
oMenu.makeMain(1,'About ME',0)
        oMenu.makeSub(1,0,'Me','mefamily.htm',2)
	oMenu.makeSub(1,1,'Family','family.htm',2)

//MAIN 2		
oMenu.makeMain(2,'Friends','friends.htm')


//MAIN 3		
oMenu.makeMain(3,'College',0)
         oMenu.makeSub(3,0,'GotoPage','college.htm',2)
	 oMenu.makeSub(3,1,'Specific',0,2)
             oMenu.makeSubSub(3,1,0,'About','college.htm#about',4)
             oMenu.makeSubSub(3,1,1,'Syllabus','college.htm#syllabus',4)
             oMenu.makeSubSub(3,1,2,'Societies','college.htm#socs',4)
             oMenu.makeSubSub(3,1,3,'Students in US','college.htm#usa',4)


//MAIN 4		
oMenu.makeMain(4,'Potpourri',0)
	oMenu.makeSub(4,0,'Pictures','pictures.htm',3)
	oMenu.makeSub(4,1,'Music 4 You','music4u.htm',3)
        oMenu.makeSub(4,2,'Download','download.htm',3)
  

//MAIN 5
oMenu.makeMain(5,'TECH',0)
	oMenu.makeSub(5,0,'Programming','programming.htm',2)
        oMenu.makeSub(5,1,'Today\'s Tech News','technews.htm',2)


//MAIN 6		
oMenu.makeMain(6,'Coolinks','coolinks.htm')



//MAIN 7		
oMenu.makeMain(7,'Board','http://members.sitegadgets.com/jungleekabootar/board.html')


//MAIN 8		
oMenu.makeMain(8,'Guestbook',0)
	oMenu.makeSub(8,0,'View','http://guestbooks.netservices.gr/readgb.cgi?name=vthukral',2)
	oMenu.makeSub(8,1,'Sign','http://guestbooks.netservices.gr/addgb.cgi?name=vthukral',2)

//MAIN 9		
oMenu.makeMain(9,'Contact','contactme.htm')



/********************************************************************************
End menu construction
********************************************************************************/
	
		
//When all the menus are written out we initiates the menu
oMenu.construct()
