var tg_c=false,tg_={a:null,b:null,c:null,d:null};function tg_b(){if(tg_.b){window.clearTimeout(tg_.b);tg_.b=null}}function tg_j(){if(tg_.c){window.clearTimeout(tg_.c);tg_.c=null}}function tg_l(a){tg_j();var b=document.getElementById(a);if(b.style.display.toLowerCase()!="block"){if(tg_.a&&tg_.a.id!=a){return}b.style.display="block";var c=document.getElementById(a+"l");if(c){c.className="FloatAnchorSelected"}tg_.a=b;var d=document.getElementById("graylayer");if(d){tg_.d=d;tg_d()}}}function tg_a(a){tg_b();
var b=document.getElementById(a);if(b){b.style.display="none"}var c=document.getElementById(a+"l");if(c){c.className="FloatAnchorNormal"}tg_.a=null;tg_h()}function tg_k(){if(tg_.a){tg_d()}}function tg_d(){var a=tg_.d;a.style.width="100%";a.style.height="100%";var b="100%",c="100%";if(document.body&&(document.body.scrollWidth||document.body.scrollHeight)){b=document.body.scrollWidth+"px";c=document.body.scrollHeight+"px"}else if(document.body.offsetWidth){b=document.body.offsetWidth+"px";c=document.body.offsetHeight+
"px"}a.style.width=b;a.style.height=c}function tg_h(){var a=tg_.d;if(a){a.style.width=0;a.style.height=0}}function tg_i(a){if(tg_.a){if(tg_.a.id!=a){tg_a(tg_.elem)}else{tg_b()}}else{tg_.elem=document.getElementById(a);var b=function(){tg_l(a)};tg_.c=window.setTimeout(b,50);if(!tg_c){tg_c=true;var c=window.onresize;window.onresize=function(){if(c){c()}tg_k()}}}}this._openFloat=tg_i;function tg_g(a){if(tg_.a!=a){var b=function(){tg_a(a.id)};tg_.b=window.setTimeout(b,50)}}this._floatsMouseOver=tg_g;
function tg_f(a){tg_b();if(tg_.a!=a){var b=function(){tg_a(a.id)};tg_.b=window.setTimeout(b,50)}}this._floatsMouseOut=tg_f;function tg_e(a){if(tg_.a&&tg_.a.id==a){tg_.a=null}var b=function(){tg_a(a)};tg_.b=window.setTimeout(b,50)}this._closeFloat=tg_e;

