Warning: Cannot modify header information - headers already sent by (output started at /home/widgeo/public_html/wiboost/widgetboost.php:1) in /home/widgeo/public_html/wiboost/widgetboost.php on line 5
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/widgeo/public_html/wiboost/widgetboost.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /home/widgeo/public_html/wiboost/widgetboost.php:1) in /home/widgeo/public_html/wiboost/widgetboost.php on line 50
var wiboostURL = 'http://www.widgeo.net/wiboost/widgetboost_redirect.php?id=1457785274149999';
if (document.referrer.search('widgetboost_redirect')==-1){
console.log('No widgetboost_redirect');
} else {
console.log(document.referrer);
wiboostURL = 'http://www.widgeo.net';
}
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
wiboostURL = wiboostURL;
}
function setInterCookie(n, v, e) {
var d = new Date();
d.setTime(d.getTime() + e * 60 * 1000);
document.cookie = n + "=" + v + "; expires=" + d.toGMTString() + "; path=/";
}
function getInterCookie(n) {
var re = new RegExp("(\;|^)[^;]*(" + n + ")\=([^;]*)(;|$)");
var res = re.exec(document.cookie);
return res != null ? res[3] : null;
}
function isIE() {
return (navigator.appVersion.indexOf("MSIE") != -1);
}
function inter69() {
var i = 1440;
if (i > 0) {
var seen = getInterCookie('SeenWiBoost_1457785274149999');
if (seen != null) {
return false;
}
setInterCookie('SeenWiBoost_1457785274149999', 'yes', i);
}
var ifrm = document.createElement('iframe');
ifrm.id = 'ifrm_AS_Inter';
ifrm.name = 'ifrm_AS_Inter';
ifrm.marginHeight = 0;
ifrm.marginWidth = 0;
ifrm.frameBorder = 0;
ifrm.setAttribute('frameborder', '0');
ifrm.setAttribute('marginheight', '0');
ifrm.setAttribute('marginwidth', '0');
ifrm.style.position = 'absolute';
ifrm.style.overflow = 'hidden';
ifrm.style.top = 0;
ifrm.style.left = 0;
ifrm.style.background = '#eeeeee';
ifrm.style.display = 'block';
ifrm.style.zIndex = 99999;
var height;
var width;
if (typeof(window.innerHeight) == 'number') {
height = window.innerHeight;
width = window.innerWidth;
} else if (document.documentElement.clientWidth && document.documentElement.clientHeight) {
height = document.documentElement.clientHeight;
width = document.documentElement.clientWidth - 1;
} else if (document.body.clientWidth && document.body.clientHeight) {
height = document.body.clientHeight;
width = document.body.clientWidth - 1;
}
ifrm.width = width;
ifrm.height = height;
ifrm.src = 'about:blank';
if (!isIE() && true) {
document.oldBody = document.body;
var newBody = document.createElement('body');
document.body = newBody;
} else {
document.oldOverflow = document.body.style.overflow;
document.body.style.overflow = 'hidden';
}
ifrm = document.body.insertBefore(ifrm, document.body.firstChild);
var idoc = InterAd_getIFRAMEDoc(ifrm);
var c = '';
c += '<' + 'html>\n <' + 'head>\n <' + 'title>Widgeo WiBoost<' + '/title>\n\n';
c += '<' + 'link rel="stylesheet" type="text/css" href="http://www.widgeo.net/wiboost/style_wi.css">\n';
c += '<' + 'script type="text/javascript" >var AS_interSecLeft=20; function InterAd_countingDownInter(){var s=document.getElementById("AS_InterSecLeft");if (s!=null){ s.innerHTML=AS_interSecLeft; }AS_interSecLeft--;window.setTimeout("InterAd_countingDownInter()",1000);} window.setTimeout("parent.closeASInter();",AS_interSecLeft*1000);<' + '/script>\n\n ';
c += '<' + '/head>\n\n <' + 'body>\n\n <' + 'div class="maindiv">\n ';
c += '<' + 'a href="http://www.widgeo.net" target="_top"><' + 'img src="http://www.widgeo.net/wiboost/boost_banner_slogan.png" border="0" style="vertical-align:middle"><' + '/a> ';
c += '<' + 'span class="countdown"><' + 'a href="javascript:parent.closeASInter();">Skip this ad<' + '/a> or wait <' + 'span id="AS_InterSecLeft">_<' + '/span>';
c += '<' + 'script type="text/javascript">InterAd_countingDownInter();<' + '/script> seconds<' + '/span>\n\n';
c += '<' + '/div>\n <' + '/div>\n\n';
c += '<' + 'iframe src="'+wiboostURL+'" width="100%" height="'+(height-100)+'" frameborder="0" marginheight="0" marginwidth="0"><' + '/iframe>';
c += '<' + '/body>\n<' + '/html>';
idoc.write(c);
idoc.close();
return true;
}
function closeASInter() {
document.body.removeChild(document.getElementById('ifrm_AS_Inter'));
if (!isIE() && true) {
document.body = document.oldBody;
} else {
document.body.style.overflow = document.oldOverflow;
}
}
function InterAd_getIFRAMEDoc(ifrm) {
if (ifrm.contentDocument) {
return ifrm.contentDocument;
} else if (ifrm.contentWindow) {
return ifrm.contentWindow.document;
} else if (ifrm.document) {
return ifrm.document;
} else {
return null;
}
}
function wiboost_initmouse() {
if (window.Event) { document.captureEvents(Event.MOUSEMOVE); }
document.onmousemove = wiboost_getXY;
}
function wiboost_getXY(e) {
y = (window.Event) ? e.pageY : event.clientY;
if(y < 15){
inter69();
} else {
}
}
if ( window.addEventListener ) {
window.addEventListener( "load", wiboost_initmouse, false );
}
else
if ( window.attachEvent ) {
window.attachEvent( "onload", wiboost_initmouse );
} else
if ( window.onLoad ) {
window.onload = wiboost_initmouse;
}
/*
var w = 5;
if (w > 0) {
window.setTimeout("inter69();", w * 1000);
} else {
if ( window.addEventListener ) {
window.addEventListener( "load", inter69, false );
}
else
if ( window.attachEvent ) {
window.attachEvent( "onload", inter69 );
} else
if ( window.onLoad ) {
window.onload = inter69;
}
}
*/