oMenu=new menuObj('oMenu') //Place a name for the menu in there. Must be uniqe for each menu

oMenu.clMain='text-align:left; padding:5px; font-family:verdana; font-size:12px; font-weight:bold' //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-align:left; 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

oMenu.makeStyle()

//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=50 //The top placement of the backgroundbar  in pixel or %
//oMenu.backgroundbarsize="100%" //The size of the bar in pixel or %
oMenu.backgroundbarcolor='#CB9E3B' //The backgroundcolor of the bar

oMenu.mainheight=25 //The height of the main menuitems in pixel or %
oMenu.mainwidth=200 //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 // ** NEW ** The width of the submenus
oMenu.subheight=20 //The height if the subitems in pixel or % 

oMenu.subsubwidth=oMenu.mainwidth // ** NEW ** The width of the subsubmenus in pixel or % 
oMenu.subsubheight=oMenu.subheight //** NEW ** The height if the subsubitems in pixel or % 

oMenu.subplacement=oMenu.mainwidth //** NEW ** Relative to the main item
oMenu.subsubXplacement=oMenu.subwidth/2 //** NEW ** The X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=7 //** NEW ** The Y placement of the subsubmenus, relative to the sub item

oMenu.mainbgcoloroff='#022F64' //The backgroundcolor of the main menuitems
oMenu.mainbgcoloron='#3163A0' //The backgroundcolor on mouseover of the main menuitems
oMenu.subbgcoloroff='#E53720' //The backgroundcolor of the sub menuitems
oMenu.subbgcoloron='#FD9385' //The backgroundcolor on mouseover of the sub menuitems
oMenu.subsubbgcoloroff='#FAAC56' //The backgroundcolor of the subsub menuitems
oMenu.subsubbgcoloron='#BF5A00' //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=40 //The speed of the clipping in px
oMenu.menusubspeed=40 //The speed of the submenus clipping in px

oMenu.menurows=0 //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=5 //in pixel or %

//And you can set where it should start from the left here
oMenu.fromleft=27 //in pixel or %

//This is how much from the top the menu should be.
oMenu.fromtop=210 //in pixel or %

//Main items:
// makeMain(MAIN_NUM,'TEXT','LINK','FRAME_TARGET') (set link to 0 if you want submenus of this menu item)
oMenu.makeMain(0,'> HOME','index.htm')
oMenu.makeMain(1,'> FOTOGALLERIA','catalogo.htm')
oMenu.makeMain(2,'> SERVIZI','servizi.htm') 
oMenu.makeMain(3,'> SCHEDE NUOVE','schedenuove.htm') 



	

oMenu.construct()		
