function at_show_aux(a,g){var e=document.getElementById(a);var f=document.getElementById(g);var d=(f.at_position=="y")?e.offsetHeight+2:0;var b=(f.at_position=="x")?e.offsetWidth+2:0;for(;e;e=e.offsetParent){d+=e.offsetTop;b+=e.offsetLeft}f.style.position="absolute";f.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(d,h,b,a,f){var e=document.getElementById(d);var g=document.getElementById(h);e.at_parent=e.id;g.at_parent=e.id;e.at_child=g.id;g.at_child=g.id;e.at_position=a;g.at_position=a;g.style.position="absolute";g.style.visibility="hidden";if(f!=undefined){e.style.cursor=f}switch(b){case"click":e.onclick=at_click;e.onmouseout=at_hide;g.onmouseover=at_show;g.onmouseout=at_hide;break;case"hover":e.onmouseover=at_show;e.onmouseout=at_hide;g.onmouseover=at_show;g.onmouseout=at_hide;break}};
