oMenu = new menuObj('oMenu')

if (bw.ns4 && !bw.mac) {
  font_size = '8pt'
} else {
  if (bw.mac && (bw.ns4 || bw.ie4)) {
    font_size = '8pt'
  } else {
    font_size = '7pt'
  }
}
//Style variables
oMenu.clMain='padding:5px; font-family: verdana; font-size:' + font_size  // main menus
oMenu.clSub='padding:5px; font-family: verdana; font-size:' + font_size //submenus
oMenu.clSubSub='padding:5px; font-family:verdana; font-size:10px' //subsubmenus
oMenu.clAMain='font-family: verdana; font-size:' + font_size + '; text-decoration:none; color:White' //main links
oMenu.clAMainOrange='font-family: verdana; font-size:' + font_size + '; text-decoration:none; color:#F56527' //main links
oMenu.clAMainOrangeHover='font-family: verdana; font-size:' + font_size + '; text-decoration:none; color:#FFFFFF' //main links
oMenu.clASub='font-family: verdana; font-size:' + font_size + '; text-decoration:none; color:White' //sub links
oMenu.clASubSub='font-family: verdana; font-size:' + font_size + '; text-decoration:none; color:White' //subsub links

oMenu.backgroundbar=1
oMenu.mainheight=21

oMenu.varwidths = 1 //must be set to 1 for variable main menu widths
oMenu.mainwidth = new Array(66, 60, 40, 65, 40, 40)

oMenu.subwidth=130
oMenu.subheight=21
oMenu.subsubwidth=88
oMenu.subsubheight=oMenu.subheight

oMenu.makeStyle()

oMenu.subplacement=oMenu.mainheight //Relative to the main item
oMenu.subsubXplacement=oMenu.subwidth/2 //X placement of the subsubmenus, relative to the sub item
oMenu.subsubYplacement=7 //Y placement of the subsubmenus, relative to the sub item

oMenu.mainbgcoloroff='#0066cc'
oMenu.mainbgcoloron='#003366'
oMenu.subbgcoloroff='#0066cc'
oMenu.subbgcoloron='#003366'
oMenu.subsubbgcoloroff='#0066cc'
oMenu.subsubbgcoloron='#003366'
oMenu.stayoncolor=0 //Do you want the menus to stay on the mouseovered color when clicked?

oMenu.menuspeed=10 //speed of the clipping in px
oMenu.menusubspeed=15 //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
//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=1 //in pixel or %

window_width = (bw.ns4 || bw.ns5)?innerWidth:document.body.offsetWidth-20;
window_height =(bw.ns4 || bw.ns5)?innerHeight - 2:document.body.offsetHeight-5;
if (window_width < 768) {
  oMenu.fromleft = 0
} else {
  if ((!bw.oldie5 && !bw.ns4 && !bw.mac) || (bw.mac && bw.ns5)) {
    // for IE5.5 & NS5 on PC or NS5 on Mac
    oMenu.fromleft = 0
  } else {
    if (bw.ns4 && !bw.mac) {
      // for NS4
      oMenu.fromleft = 0
    } else {
      if (!bw.ns4 && !bw.mac) {
        // for IE5.0 on PC
        oMenu.fromleft = 0
      } else {
        // for NS4 on Mac
        if (bw.ns4 && bw.mac) {
          oMenu.fromleft = 0
        } else {
          // for IE5 on Mac
          if (bw.ie5 && bw.mac) {
            oMenu.fromleft = 0
          } else {
            // for ie4 on Mac
            oMenu.fromleft = 0
          }
        }
      }
    }
  }
}

oMenu.fromtop = 100

if (bw.ie4 && bw.mac) {
  oMenu.fromtop = 100
}

var current_left_pos = oMenu.fromleft - 1
top_pos = oMenu.fromtop + 1

for (i = 0; i < oMenu.mainwidth.length; i++) {
  document.writeln('<div style="position:absolute; left:' + current_left_pos + 'px; top: ' + top_pos + 'px"><img src="" width="1" height="20" border="0" alt=""></div>')
  current_left_pos += oMenu.mainwidth[i] + 1
}