function ShowMenu(el,target){Element.extend(el);if(el.up().style.position!="absolute"){pos=Position.cumulativeOffset(el);tx=(pos[0]+el.getWidth()-0)+"px";ty=pos[1]+"px";}else{tx=(parseInt(el.up().style.width)-2)+'px';hh=0;hx=0;while(el.previous(".MenuItem",hx)!=undefined){hh+=20
hx+=1;}
ty=hh+"px";}
$(target).style.left=tx;$(target).style.top=ty;$(target).show();}

function ShowMenu2(target){$(target).show();}
function HideMenu(target){$(target).hide();}

