nexusMenu=new makeCoolMenu("nexusMenu") //Making the menu object. Argument: menuname
nexusMenu.useframes=0 //Do you want to use the menus as coolframemenu or not? (in frames or not) - Value: 0 || 1
nexusMenu.frame="" //The name of your main frame (where the menus should appear). Leave empty if you're not using frames - Value: "main_frame_name"
nexusMenu.useclick=0 //If you want the menu to be activated and deactivated onclick only set this to 1. - Value: 0 || 1
nexusMenu.useNS4links=1  //If you set this to 1 you will get a "hand" cursor when moving over the links in NS4. NOTE: This does not apply to the submenus if the menu is used in frames due some mayor problems with NS4
nexusMenu.NS4padding=2 //After adding the "hover effect" for netscape as well, all styles are lost. But if you want padding add it here.
nexusMenu.checkselect=0 //If you have select boxes close to your menu the menu will check for that and hide them if they are in the way of the menu. This feature does unfortunatly not work in NS4!\
nexusMenu.offlineUrl="" //Value: "path_to_menu_file_offline/"
nexusMenu.onlineUrl="" //Value: "path_to_menu_file_online/"
nexusMenu.pagecheck=1 //Do you want the menu to check whether any of the subitems are out of the bouderies of the page and move them in again (this is not perfect but it hould work) - Value: 0 || 1
nexusMenu.checkscroll=0 //Do you want the menu to check whether the page have scrolled or not? For frames you should always set this to 1. You can set this to 2 if you want this feature only on explorer since netscape doesn't support the window.onscroll this will make netscape slower (only if not using frames) - Value: 0 || 1 || 2
nexusMenu.resizecheck=1 //Do you want the page to reload if it's resized (This should be on or the menu will crash in Netscape4) - Value: 0 || 1
nexusMenu.wait=500 //How long to wait before hiding the menu on mouseout. Netscape 6 is a lot slower then Explorer, so to be sure that it works good enough there you should not have this lower then 500 - Value: milliseconds

//Placement properties
nexusMenu.rows=0 //This controls whether the top items is supposed to be laid out in rows or columns. Set to 0 for columns and 1 for row - Value 0 || 1
nexusMenu.fromleft=0 //This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
nexusMenu.fromtop=0 //This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
nexusMenu.pxbetween=0 //How much space you want between each of the top items. - Value: px || "%"
nexusMenu.menuplacement=0 //You have several different ways to place the top items. You can have them right beside eachother (only adding the pxbetween variable)

//Background bar properties
nexusMenu.usebar=0 //If you want to use a background-bar for the top items set this on - Value: 1 || 0
nexusMenu.barcolor="#FF9900" //The color of the background bar - Value: "color"
nexusMenu.barwidth="menu" //The width of the background bar. Set this to "menu" if you want it to be the same width as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
nexusMenu.barheight="menu" //The height of the background bar. Set this to "menu" if you want it to be the same height as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
nexusMenu.barx="menu"//The left position of the bar. Set this to "menu" if you want it be the same as the left position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
nexusMenu.bary="menu" //The top position of the bar Set this to "menu" if you want it be the same as the top position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
nexusMenu.barinheritborder=0 //Set this to 1 if you want the bar to have the same border as the top menus - Value: 0 || 1

//Level 0 properties
nexusMenu.level[0]=new Array() //Add this for each new level
nexusMenu.level[0].width=182 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
nexusMenu.level[0].height=24 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
nexusMenu.level[0].bgcoloroff="#0F64A4" //The default background color for each level[0] (top) items. You can override this on each item by spesifying the backgroundcolor when making the item. - Value: "color"
nexusMenu.level[0].bgcoloron="#003C82" //The default "on" background color for each level[0] (top) items. You can override this on each item by spesifying the "on" background color when making the item. - Value: "color"
nexusMenu.level[0].textcolor="#FFFFFF" //The default text color for each level[0] (top) items. You can override this on each item by spesifying the text color when making the item. - Value: "color"
nexusMenu.level[0].hovercolor="#FFFFFF" //The default "on" text color for each level[0] (top) items. You can override this on each item by spesifying the "on" text color when making the item. - Value: "color"
nexusMenu.level[0].style="padding-top:4px; padding-right:0px; padding-left:5px; font-family:arial,helvetica,tahoma,verdana,sans-serif; font-size:9pt; font-weight:normal; text-align:left;" //The style for all level[0] (top) items. - Value: "style_settings" (TiaanB: padding-right seems to have no effect on NS and Mozilla)
nexusMenu.level[0].border=0 //The border size for all level[0] (top) items. - Value: px
nexusMenu.level[0].bordercolor="#95C8E0" //The border color for all level[0] (top) items. - Value: "color"
nexusMenu.level[0].offsetX=1 //The X offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[0].offsetY=-2 //The Y offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[0].NS4font="arial,helvetica,tahoma,verdana"
nexusMenu.level[0].NS4fontSize="2"
nexusMenu.level[0].align="left"

//Level 1 properties - only specify what is different from level 0 otherwise everything in here can be deleted
nexusMenu.level[1]=new Array() //Add this for each new level
nexusMenu.level[1].width=250 //The default width for each level[1] items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
nexusMenu.level[1].height=24 //The default height for each level[1] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
nexusMenu.level[1].bgcoloroff="#0F64A4" //The default background color for each level[1] (top) items. You can override this on each item by spesifying the backgroundcolor when making the item. - Value: "color"
nexusMenu.level[1].bgcoloron="#003C82" //The default "on" background color for each level[1] (top) items. You can override this on each item by spesifying the "on" background color when making the item. - Value: "color"
nexusMenu.level[1].textcolor="#FFFFFF" //The default text color for each level[1] (top) items. You can override this on each item by spesifying the text color when making the item. - Value: "color"
nexusMenu.level[1].hovercolor="#FFFFFF" //The default "on" text color for each level[1] (top) items. You can override this on each item by spesifying the "on" text color when making the item. - Value: "color"
nexusMenu.level[1].style="padding-top:5px; padding-left:4px; font-family:arial,helevetica,tahoma,verdana,sans-serif; font-size:9pt; font-weight:normal" //The style for all level[0] (top) items. - Value: "style_settings"
nexusMenu.level[1].border=1 //The border size for all level[1] (top) items. - Value: px
nexusMenu.level[1].bordercolor="#95C8E0" //The border color for all level[1] (top) items. - Value: "color"
nexusMenu.level[1].offsetX=0 //The X offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[1].offsetY=0 //The Y offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[1].NS4font="arial,helvetica,tahoma,verdana"
nexusMenu.level[1].NS4fontSize="1"
nexusMenu.level[1].align="left"

//Level 1 properties - only specify what is different from level 0 otherwise everything in here can be deleted
nexusMenu.level[2]=new Array() //Add this for each new level
nexusMenu.level[2].width=250 //The default width for each level[1] items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
nexusMenu.level[2].height=24 //The default height for each level[1] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
nexusMenu.level[2].bgcoloroff="#0F64A4" //The default background color for each level[1] (top) items. You can override this on each item by spesifying the backgroundcolor when making the item. - Value: "color"
nexusMenu.level[2].bgcoloron="#003C82" //The default "on" background color for each level[1] (top) items. You can override this on each item by spesifying the "on" background color when making the item. - Value: "color"
nexusMenu.level[2].textcolor="#FFFFFF" //The default text color for each level[1] (top) items. You can override this on each item by spesifying the text color when making the item. - Value: "color"
nexusMenu.level[2].hovercolor="#FFFFFF" //The default "on" text color for each level[1] (top) items. You can override this on each item by spesifying the "on" text color when making the item. - Value: "color"
nexusMenu.level[2].style="padding-top:5px; padding-left:4px; font-family:arial,helevetica,tahoma,verdana,sans-serif; font-size:9pt; font-weight:normal" //The style for all level[0] (top) items. - Value: "style_settings"
nexusMenu.level[2].border=1 //The border size for all level[1] (top) items. - Value: px
nexusMenu.level[2].bordercolor="#95C8E0" //The border color for all level[1] (top) items. - Value: "color"
nexusMenu.level[2].offsetX=0 //The X offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[2].offsetY=0 //The Y offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
nexusMenu.level[2].NS4font="arial,helvetica,tahoma,verdana"
nexusMenu.level[2].NS4fontSize="1"
nexusMenu.level[2].align="left"