
// ========================= Edit to fit your needs ========================= //


_alwaysvisible = 1;
_orientation   = "horizontal";
_position      = "relative";

with(eval("menuStyleTopLevel" + DHTMLMenuID + "=new mm_style()")){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="12px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DEC800";
offcolor="#57565B";
onbgcolor="#0A530A";
oncolor="#ffffff";
outfilter="";
overfilter="";
padding=3;
separatorimage="scripts/customseparatorblack.gif";
separatorsize=14;
subimage="";
subimagepadding=2;
}

// ====================No editing needed below this line ==================== //

var aItemSeparator = "\x09";
var aRowSeparator = "#@#";
var aString = eval("DHTML_MENU_ITEMS" + DHTMLMenuID);
if (aString!="") {
  var aRow = aString.split(aRowSeparator);
  var aCol;

  for (i = 0; i < aRow.length; i++) {
    aCol = aRow[i].split(aItemSeparator);

    theLevel =  aCol[0];
    theId =     aCol[1];
    theText =   aCol[2];
    theUrl =    aCol[3];
    theTarget = aCol[4];

    if (i==0) {
      theFirstLevel = theLevel;
      themenu = new menuname("Menu_" + DHTMLMenuID)
      themenu.style=eval("menuStyleTopLevel" + DHTMLMenuID);
      themenu.alwaysvisible = _alwaysvisible;
      themenu.orientation = _orientation;
      themenu.position = _position;
    }

    if (theLevel == theFirstLevel) {
    	aMenuText = "text=" + theText + ";url=" + theUrl + ";" + ";target=" + theTarget + ";showmenu=" + "Menu_" + DHTMLMenuID + "_" +  theId + ";";
    	if ((theUrl!="") && (theUrl!="#")) {
    	  aMenuText = aMenuText + "clickfunction=WriteDHTMLMenuCookie(" + DHTMLMenuID + ", " + theId + ");";
    	}
   		themenu.aI(aMenuText);
    }
  }
drawMenus();
}
