var STYLE_0 = {
backgroundClass: [ "menuBackground", "menuBackground_over" ],
backgroundColor:"#b9bedf",
textClass:[ "menuText_out", "menuText_over" ],
size:[ 23, "+self" ], /* maxItem */
itemoff:[ 0, "+previousItem" ],
leveloff:[ "+parentItem", 0 ]
};
var STYLE_1 =
{
backgroundClass: [ "submenuBackground", "submenuBackground_over" ],
backgroundColor:"#b9bedf",
textClass:[ "submenuText_out", "submenuText_over" ],
itemoff:[ "+previousItem", 0 ],
leveloff:[ "+parentItem", 0 ],
borderWidth:[ 1, 0, 1, 0 ],
color: { border:"#101f96" },
ifFirst:{ borderWidth:[ 1, 1, 1, 0 ] },
ifLast:{ borderWidth:[ 1, 0, 1, 1 ] }
};
var STYLE_2 =
{
backgroundClass: [ "submenuBackground", "submenuBackground_over" ],
backgroundColor:"#b9bedf",
textClass:[ "submenuText_out", "submenuText_over" ],
itemoff:[ "+previousItem", 0 ],
leveloff:[ 0, "+parentItem"],
borderWidth:[ 1, 0, 1, 0 ],
color: { border:"#101f96" },
ifFirst:{ borderWidth:[ 1, 1, 1, 0 ] },
ifLast:{ borderWidth:[ 1, 0, 1, 1 ] }
};
var MENU_ITEMS = [
{pos:"relative", style:[ STYLE_0, STYLE_1, STYLE_2 ], blankImage:"/images/menu.blank.gif", autosize:true, imgsize:[24,24] },
{code:"Home", url:"/"},
{code:"Contact Us", url:"/show/contactus"},
{code:"About Us", url:"/show/aboutus"},
{code:"Login", url:"/login"},
];
var mainmenu = new COOLjsMenuPRO("mainmenu", MENU_ITEMS);
mainmenu.initTop();