function w3menu_v(obj_name, box_id, left, hide_timeout) { this.obj=obj_name; this.box_id=box_id; this.left=left; this.hide_timeout=hide_timeout; this.sel=new Array(10); this.sel_it=0; this.t=false; this.ht=0; this.items=new Array(); var b=this.e(this.box_id); this.loop(b, true, 1); b.onmouseover=function () { this.w3menu_object.toff(); }; b.onmouseout=function () { this.w3menu_object.out(); }; this.ie=(navigator.userAgent.indexOf("MSIE")!=-1); } w3menu_v.prototype.in_sel=function(value) { if (this.sel_it==0) return false; for (var i=0; i=l-1; i--) { this.items[this.sel[i]].box.style.display='none'; this.sel_it--; } } } w3menu_v.prototype.s=function(index) { o=this.items[index]; if (this.in_sel(index)) { this.c(o.level+1); } else this.c(o.level); if (o.box!==0) this.o(index); }