var TO,lTO;function popupWindow(F,H,J,E,I,L,K,G,D){if(H=="_self"){return false}var A=(screen.width)?(screen.width-J)/2:0,B=(screen.height)?(screen.height-E)/2:0,C;if(K){A=K}if(G){B=G}C="height="+E+",width="+J+",top="+B+",left="+A+",scrollbars="+I+",resizable="+L+"";top.win=window.open(F,H,C+","+D);return false}function show_hide(D,C){var B=gebid(D),A=gebid(C);if(B!=null){B.style.display="block"}if(A!=null){A.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(D,B){var C=document.createElement("img"),A=document.getElementsByTagName("body");C.src="/scripts/rstats.php?p="+D+"&c="+B;C.height=1;C.width=1;A[0].appendChild(C)};