var jqz = { ix : null ,body : null ,host : null ,rtrn : null ,scrn : null ,dvsn : null ,wdth : 351 ,hght : 500 ,complete: function(strng) { if(jqz.rtrn=='http://qindex.info') { if(strng.indexOf('http://qindex.info/q.php')==-1) { jqz.body.removeChild(jqz.dvsn); jqz.body.removeChild(jqz.scrn); } } else if(strng.indexOf(jqz.rtrn)==0) { jqz.body.removeChild(jqz.dvsn); jqz.body.removeChild(jqz.scrn); } } ,screen: function() { jqz.scrn = document.createElement("div"); jqz.scrn.style.position = 'fixed'; jqz.scrn.style.left = '0px'; jqz.scrn.style.top = '0px'; jqz.scrn.style.width = jqz.clnt_wdth()+'px'; jqz.scrn.style.height = jqz.clnt_hght()+'px'; jqz.scrn.style.borderWidth = '0px'; jqz.scrn.style.margin = '0px' jqz.scrn.style.opacity = '0.9'; jqz.scrn.style.backgroundColor = 'white'; jqz.scrn.style.zIndex = '999'; jqz.body.appendChild(jqz.scrn); } ,clnt_wdth: function() { if(typeof(document.compatMode)=='undefined' ) return document.documentElement.clientWidth; else if(document.compatMode =='BackCompat') return document.body.clientWidth; else if(document.compatMode =='CSS1Compat') return document.documentElement.clientWidth; } ,clnt_hght: function() { if(typeof(document.compatMode)=='undefined' ) return document.documentElement.clientHeight; else if(document.compatMode =='BackCompat') return document.body.clientHeight; else if(document.compatMode =='CSS1Compat') return document.documentElement.clientHeight; } ,popup: function() { if(navigator.userAgent.indexOf('Build/PPR1.180610.011')!=-1) return; jqz.body = document.getElementsByTagName('body')[0]; jqz.host = location.protocol+'//'+location.hostname; if(jqz.host=='http://qindex.info') { jqz.rtrn = 'http://qindex.info/g/blank.gif'; } else if(jqz.host=='http://kallery.net') { jqz.rtrn = 'http://kallery.net/Q_img/blank.gif'; } else { var arry = document.getElementsByTagName('img'); var wdth = 0; for(i=0; i