_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['docChooser'].selectHolder.value = selectedText;
  menuDisplay(_mi[selectedItem][0], 0);
}

with(selectStyleMain=new mm_style()){
onbgcolor="#000080";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF";
offcolor="#000000";
padding=2;
fontsize="12px";
fontstyle="normal";
fontfamily="Arial, Verdana, Tahoma";
subimage="images/selectArrow-up.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(milonic=new menuname("Options")){
style=selectStyleDrop;
overflow="scroll";
itemwidth=180;
//menuheight=100;
aI("text=boat or trailer;");
aI("text=deck;");
aI("text=fences and stone walls;");
aI("text=garden equipment;");
aI("text=grill and patio furniture;");
aI("text=gutters and downspouts;");
aI("text=landscape decorations;");
aI("text=surface for painting;");
aI("text=patio or driveway");
aI("text=playset or jungle gym");
aI("text=pool, spa, or whirlpool");
aI("text=sheds and storage buildings");
aI("text=siding and windows");
aI("text=trashcans");
aI("text=vehicle");
}

drawMenus();

