var IsWeek='0';var RZuserID='227';var RZcount='005896';var RZserver='ac.happy-counter.net';var RZhost='ac.happy-counter.net';var Description='
';var LinkUrl='http://www.happy-counter.net/';var PopupHTML='';
function RZfn(flg){
var posX, posY;
var spn = document.getElementById("Spn");
var ppcont = document.getElementById("PPContainer");
var ctimg = document.getElementById("CounterImg");
var cli_w = document.body.clientWidth;
var cli_h = document.body.clientHeight;
if(document.getElementById){
var ppcont = document.getElementById("PPContainer");
if (!flg) {
ppcont.style.display = 'none';
} else {
ppcont.style.display = 'block';
if (ppcont.innerHTML == '') {
ppcont.innerHTML = PopupHTML;
}
// Set Pop-up window position.
posX = 0;
posY = ctimg.offsetTop + ctimg.clientHeight;
if (ctimg.clientWidth && ppcont.clientWidth) {
if (spn.offsetLeft < Math.abs((ctimg.clientWidth / 2) - (ppcont.clientWidth / 2))) {
posX = 0;
} else if(spn.offsetLeft + ppcont.clientWidth > cli_w ){
posX = cli_w - (spn.offsetLeft + ppcont.clientWidth);
} else {
posX = (ctimg.clientWidth / 2) - (ppcont.clientWidth / 2);
}
}
if(navigator.userAgent.indexOf("Opera",0) == -1) {
if ((spn.offsetTop + ppcont.clientHeight) > cli_h) {
posY = (ppcont.clientHeight) * -1;
}
}
if(navigator.userAgent.indexOf("Safari")!=-1){
posY += spn.offsetTop;
posX += spn.offsetLeft;
}
ppcont.style.left = posX + "px";
ppcont.style.top = posY + "px";
}
}
return false;
}
document.write('');
document.write('');
document.write('
');
document.write('');
document.write('');
document.write('' + Description + '
');
document.write('');