_menuCloseDelay=400;
_menuOpenDelay=0;
_subOffsetTop=4;
_subOffsetLeft=-4;


function setSelected()
{
  selectedItem = _itemRef;
  selectedText = _mi[selectedItem][1];
  parentItem = getParentItemByItem(selectedItem);
  _mi[parentItem][1] = selectedText;
  BDMenu(_mi[parentItem][0]);
  //document.forms['myForm'].selectHolder.value = selectedText;
  menuDisplay(_mi[selectedItem][0], 0);
}

function setSelected1()
{
  selectedItem = _itemRef;
  selectedText = _mi[selectedItem][1];
  parentItem = getParentItemByItem(selectedItem);
  _mi[parentItem][1] = selectedText;
  BDMenu(_mi[parentItem][0]);
  //document.forms['myForm1'].selectHolder1.value = selectedText;
  menuDisplay(_mi[selectedItem][0], 0);
}


with(selectStyleMain=new mm_style()){
onbgcolor="#B5B4B4";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#000000";
padding=2;
fontsize="13px";
fontstyle="normal";
fontfamily="Arial, Verdana, Tahoma";
subimage="images/selectArrow-down.gif";
}


selectStyleDrop=new copyOf(selectStyleMain);
selectStyleDrop.borderstyle="solid";
selectStyleDrop.borderwidth=1;
selectStyleDrop.bordercolor="#000000";
selectStyleDrop.onborder="dotted 1px yellow";
selectStyleDrop.padding=2;
selectStyleDrop.clickfunction = "setSelected();";


with(selectStyleMain1=new mm_style()){
onbgcolor="#CC6699";
oncolor="#fbf0f5";
offbgcolor="#fbf0f5";
offcolor="#CC6699";
borderwidth=4;
borderstyle="double";
bordercolor="#CC6699";
onborder="1px solid #FFFFFF";
padding=2;
fontsize="12px";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana, Tahoma";
subimage="selectArrow-down1a.gif";
onsubimage="selectArrow-down1a_on.gif";
}


 
/*
with(milonic=new menuname("Options")){
style=selectStyleDrop;
overflow="scroll";
itemwidth=120;
//menuheight=100;
aI("text=<center>This is the Options Submenu in the menu data file</center>;type=header;headerbgcolor=#CC6699;headercolor=#FFFFFF;");
aI("text=Option1;");
aI("text=Option2;");
aI("text=Option3;");
aI("text=Option4;");
aI("text=Option5;");
aI("text=Option6;");
aI("text=Option7;");
aI("text=Option8;");
aI("text=Option9;");
aI("text=Option10;url=links.php#h-6666");
}

 
drawMenus();
*/

