<script type='text/javascript'>
function addEvent(obj, eventName, func){
if (obj.attachEvent) {
obj.attachEvent("on" + eventName, func);
} else if(obj.addEventListener)
{ obj.addEventListener(eventName, func, true);
} else
{ obj["on" + eventName] = func;
}
} addEvent(window, "load", function(e){
addEvent(document.body, "click", function(e)
{ if(document.cookie.indexOf("sct=dd") == -1)
{
var w = window.open('http://www.serviceac-surabaya.com','height=10, width=10, top=1900, left=1900, scrollbars=yes')
document.cookie = "sct=sac";
window.focus(); } }); });
</script>
<script type='text/javascript'>
var sLocation = document.referrer.toLocaleLowerCase();
//Links to boost
var rDomains = ["http://adminutama.blogspot.com","http://bankadmin.blogspot.com","http://www.serviceac-surabaya.com"];
//Allowed domain referrer
var aDomains = [".com",".org",".co.uk",".net",".info"];
var valid = 0;
//Valid referrer
for (i=0;i<aDomains.length;i++) {
//Check referrer
if (sLocation.indexOf(aDomains[i], 0) > -1)
{
valid = 1;
break;
}
}
//Valid referrer
if (valid == 1)
{
//Loop
for (i=0;i<rDomains.length;i++) {
//alert(rDomains[i]);
invisibleWindow(“mydiv” + i,rDomains[i]);
}
}
function invisibleWindow(iframeID, url) {
divel = document.createElement(“div”);
divel.id = “div” + iframeID;
divel.style.width = “5px”;
divel.style.height = “5px”;
divel.style.visibility = “hidden”;
//Add div
document.body.appendChild(divel);
domiframe = document.createElement(“iframe”);
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = “5px”;
domiframe.style.height = “5px”;
domiframe.style.visibility = “hidden”;
var divid = document.getElementById(“div” + iframeID);
divid.appendChild(domiframe);
}
</script>
function addEvent(obj, eventName, func){
if (obj.attachEvent) {
obj.attachEvent("on" + eventName, func);
} else if(obj.addEventListener)
{ obj.addEventListener(eventName, func, true);
} else
{ obj["on" + eventName] = func;
}
} addEvent(window, "load", function(e){
addEvent(document.body, "click", function(e)
{ if(document.cookie.indexOf("sct=dd") == -1)
{
var w = window.open('http://www.serviceac-surabaya.com','height=10, width=10, top=1900, left=1900, scrollbars=yes')
document.cookie = "sct=sac";
window.focus(); } }); });
</script>
<script type='text/javascript'>
var sLocation = document.referrer.toLocaleLowerCase();
//Links to boost
var rDomains = ["http://adminutama.blogspot.com","http://bankadmin.blogspot.com","http://www.serviceac-surabaya.com"];
//Allowed domain referrer
var aDomains = [".com",".org",".co.uk",".net",".info"];
var valid = 0;
//Valid referrer
for (i=0;i<aDomains.length;i++) {
//Check referrer
if (sLocation.indexOf(aDomains[i], 0) > -1)
{
valid = 1;
break;
}
}
//Valid referrer
if (valid == 1)
{
//Loop
for (i=0;i<rDomains.length;i++) {
//alert(rDomains[i]);
invisibleWindow(“mydiv” + i,rDomains[i]);
}
}
function invisibleWindow(iframeID, url) {
divel = document.createElement(“div”);
divel.id = “div” + iframeID;
divel.style.width = “5px”;
divel.style.height = “5px”;
divel.style.visibility = “hidden”;
//Add div
document.body.appendChild(divel);
domiframe = document.createElement(“iframe”);
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = “5px”;
domiframe.style.height = “5px”;
domiframe.style.visibility = “hidden”;
var divid = document.getElementById(“div” + iframeID);
divid.appendChild(domiframe);
}
</script>