LI.define("StyledDropdown"); LI.StyledDropdown=function(B,c){function C(){var a,b,g=d.options,c=f.firstChild,h=0,r;if(!D){YAHOO.env.ua.ie&&7>YAHOO.env.ua.ie&&(s=document.createElement("iframe"),s.src="javascript:false;",e.appendChild(s));p=d.options.length;for(h=0;h
YAHOO.env.ua.ie&&(a&&(s.style.height=a.height+"px",s.style.width=a.width+"px"),YDom.setXY(s,YDom.getXY(f)));a=YDom.getElementsByClassName("highlighted",
"li",f);b=0;for(g=a.length;b =p){if(d.selectedIndex=x,b=LI.StyledDropdown.itemSelectEvent.fire(c.name,m[a]),LI.Events&&LI.Events.fire("itemSelectEvent",{name:c.name,option:m[a]}),!1!==b&&(b=Y$("div \x3e a",m[a]),1===b.length)){if(b[0].target)return a=window.open(b[0].href,b[0].target),a.focus(),n(),d.blur(),!1;document.location.href=b[0].href}}else x=a,LI.StyledDropdown.itemSelectEvent.fire(c.name,
d.options[a]),LI.Events&&LI.Events.fire("itemSelectEvent",{name:c.name,option:d.options[a]});E=a;n();d.blur()};q=function(a){a=a||window.event;var b=YEvent.getTarget(a),d=YDom.getElementsByClassName("highlighted","li",f),e,h;e=0;for(h=d.length;e