function at_display(a){var d=window.open();for(var b in a){d.document.write(b+" = "+a[b]+"<br>")}}var at_timeout=50;function at_show_aux(g,b){var a=document.getElementById(g);var d=document.getElementById(b);a.className="active";if(d.offsetWidth<=0){d.style.position="absolute";d.style.visibility="visible";d.style.display="block"}var f=undefined;if(a.parentNode&&a.parentNode.at_position=="x"){f=a.parentNode.at_direction}var e=(d.at_position=="y")?a.offsetHeight:0;var j=(d.at_position=="x")?a.offsetWidth:0;var i=(d.at_position=="x")?-d.offsetWidth:0;var h=(d.at_position=="x")?a.offsetWidth:0;for(;a;a=a.offsetParent){if(a.style.position!="absolute"){j+=a.offsetLeft;i+=a.offsetLeft;e+=a.offsetTop}h+=a.offsetLeft}if(f){left=(f=="right")?j:i;d.at_direction=f}else{left=(h+d.offsetWidth<document.body.offsetWidth)?j:i;d.at_direction=(h+d.offsetWidth<document.body.offsetWidth)?"right":"left"}d.style.position="absolute";d.style.visibility="visible";d.style.display="block";d.style.top=e+"px";d.style.left=left+"px"}function at_hide_aux(a,b){document.getElementById(a).className="parent";document.getElementById(b).style.visibility="hidden";document.getElementById(b).style.display="block"}function at_show(b){var a=document.getElementById(this["at_parent"]);var d=document.getElementById(this["at_child"]);at_show_aux(a.id,d.id);clearTimeout(d.at_timeout)}function at_hide(){var a=document.getElementById(this["at_child"]);a.at_timeout=setTimeout("at_hide_aux('"+this["at_parent"]+"', '"+this["at_child"]+"')",at_timeout)}function at_attach(b,d,a){p=document.getElementById(b);c=document.getElementById(d);p.at_child=c.id;c.at_child=c.id;p.at_parent=p.id;c.at_parent=p.id;c.at_position=a;p.onmouseover=at_show;p.onmouseout=at_hide;c.onmouseover=at_show;c.onmouseout=at_hide}function dhtmlmenu_build_aux(d,f,a){document.getElementById(d).className="parent";document.write('<div class="vert_menu" id="'+d+'_child">');var e=0;for(var b in f){if(b=="-"){document.getElementById(d).href=f[b];continue}if(typeof f[b]=="object"){document.write('<a class="parent" id="'+d+"_"+e+'">'+b+"</a>");dhtmlmenu_build_aux(d+"_"+e,f[b],"x")}else{document.write('<a id="'+d+"_"+e+'" href="'+f[b]+'">'+b+"</a>")}e++}document.write("</div>");at_attach(d,d+"_child",a)}function dhtmlmenu_build(b){for(var a in b){dhtmlmenu_build_aux(a,b[a],"y")}};
