var TO,lTO;function popupWindow(f,i,k,e,j,m,l,g,d){if(i=="_self"){return false}var a=(screen.width)?(screen.width-k)/2:0,b=(screen.height)?(screen.height-e)/2:0,c;if(l){a=l}if(g){b=g}c="height="+e+",width="+k+",top="+b+",left="+a+",scrollbars="+j+",resizable="+m+"";top.win=window.open(f,i,c+","+d);return false}function show_hide(f,e){var d=gebid(f),c=gebid(e);if(d!=null){d.style.display="block"}if(c!=null){c.style.display="none"}}function toggleVis(c){var b=gebid(c);if(b!=null){if(b.style.display=="none"){b.style.display="block"}else{b.style.display="none"}}}function gebid(a){return document.getElementById(a)}function setBoxLoc(e,a){var c=gebid(e),d=a.offsetLeft-10,b=a.offsetTop+a.offsetHeight;c.style.left=d+"px";c.style.top=b+"px"}function setVis(c,a){clearTimeout(TO);var b=gebid(c);if(lTO!=null){if(lTO!=b){lTO.style.visibility="hidden";lTO=b}}else{lTO=b}if(a){b.style.visibility="visible"}else{TO=setTimeout(function(){b.style.visibility="hidden"},250)}}function gCg(e,c){var d=document.createElement("img"),a=document.getElementsByTagName("body");d.src="/scripts/rstats.php?p="+e+"&c="+c;d.height=1;d.width=1;a[0].appendChild(d)};
