function at_show_aux(A,F){var D=document.getElementById(A);var E=document.getElementById(F);var C=(E.at_position=="y")?D.offsetHeight:0;var B=(E.at_position=="x")?D.offsetWidth:0;for(;D;D=D.offsetParent){C+=D.offsetTop;B+=D.offsetLeft}E.style.position="absolute";E.style.top=C+"px";E.style.left=B+"px";E.style.visibility="visible"}function at_show(){var A=document.getElementById(this["at_parent"]);var B=document.getElementById(this["at_child"]);at_show_aux(A.id,B.id);clearTimeout(B.at_timeout)}function at_hide(){var A=document.getElementById(this["at_parent"]);var B=document.getElementById(this["at_child"]);B.at_timeout=setTimeout("document.getElementById('"+B.id+"').style.visibility = 'hidden'",333)}function at_click(){var A=document.getElementById(this["at_parent"]);var B=document.getElementById(this["at_child"]);if(B.style.visibility!="visible"){at_show_aux(A.id,B.id)}else{B.style.visibility="hidden"}return false}function at_attach(C,G,B,A,E){var D=document.getElementById(C);var F=document.getElementById(G);D.at_parent=D.id;F.at_parent=D.id;D.at_child=F.id;F.at_child=F.id;D.at_position=A;F.at_position=A;F.style.position="absolute";F.style.visibility="hidden";if(E!=undefined){D.style.cursor=E}switch(B){case"click":D.onclick=at_click;D.onmouseout=at_hide;F.onmouseover=at_show;F.onmouseout=at_hide;break;case"hover":D.onmouseover=at_show;D.onmouseout=at_hide;F.onmouseover=at_show;F.onmouseout=at_hide;break}};