ჩასვით
Code:
var cnt_start = 20; var allow_link_secs = 3; var link_set = 0;
var tempX = 0; var tempY = 0; var ptempX = 0; var ptempY = 0;
var mEvents = 0; var mDownEvents = 0; var timer = ""; function cancelTime()
{ clearTimeout(timer); var message = document.getElementById("connectSite");
message.innerHTML = 'Please click the link to proceed to <strong id="domain">
[url=http://kavkasioni.com.ge/]kavkasioni.com.ge[/url]</strong>'; };
function checkTime()
{ var time_element = document.getElementById("time_count");
var time = time_element.innerHTML; time = time - 1; if((cnt_start - allow_link_secs) >= time && 0 == link_set)
{domain.innerHTML = '[url=http://kavkasioni.com.ge/]kavkasioni.com.ge
[/url]'; link_set = 1; }; time_element.innerHTML = time; if(0 < time)
{ setTimeout("checkTime()", 1000); } else { gatewayRedirect(); }; };
function handleMouseMove(e) { mEvents++; ptempX = tempX;
ptempY = tempY; if (IE) { tempX = event.clientX + document.body.scrollLeft; tempY = event.clientY + document.body.scrollTop; }
else { tempX = e.pageX; tempY = e.pageY; }; if (tempX < 0) { tempX = 0 }; if (tempY < 0)
{ tempY = 0 }; if(25 < mEvents && 90 ptempY) { mDownEvents++; if(10 < mDownEvents)
{ cancelTime(); }; }; return true; } function handleMouseClick(e) { cancelTime(); }
function gatewayRedirect() { window.location.replace("http://kavkasioni.com.ge/"); }
function gatewayCancel() { window.close(); }
p {
font-size:18px;
text-align:center;
vertical-align:top;
padding-top:10px;
color:
}
a {
color:
padding:4px;
}
a:hover {
color:
}