function toWriteItOut(id,message){
document.getElementById('AA08AE7CC0F0_div').style.backgroundImage = '';
var outMsg = '
';
if (document.getElementById){
document.getElementById(id).innerHTML = outMsg;
}else if (document.all){
var x = document.all[id];
if(x.innerHTML){
x.innerHTML = '';
x.innerHTML = outMsg;
}
}
/*
else if (document.layers){
var x = document.layers[id];
if(x) alert('div true');
var outText = 'incorrect src
';
x.document.open();
x.document.write(outText);
x.document.close();
}
*/
}//end function
function isDivOK(id){
if (document.getElementById){
if(document.getElementById(id)) return true;
else return false;
}
else if (document.all){
if(document.all[id]) return true;
else return false;
}
/*
else if (document.layers){
if(document.layers[id]) return true;
else return false;
}
*/
return true;
}
function isImgOK(id,url){
if (document.getElementById){
if(document.getElementById(id)){
var imgLink = document.getElementById(id).src.toLowerCase();
if( imgLink.indexOf(url)!=-1) return true;
else return false;
}else return false;
}
else if (document.all){
if(document.all[id]){
var imgLink = document.all[id].src.toLowerCase();
if( imgLink.indexOf(url)!=-1) return true;
else return false;
}else return false;
}
else if (document.layers){
if(document.images[id]){
var imgLink = document.images[id].src;
imgLink = imgLink.toLowerCase();
if( imgLink.indexOf(url)!=-1) return true;
else return false;
}else return false;
}
return true;
}
function isAOK(id,url,hyperlink)
{
if (document.getElementById)
{
if(document.getElementById(id))
{
var aLink = document.getElementById(id);
if( url.indexOf(aLink)!=-1 || aLink.href.toLowerCase().indexOf(url)!=-1 )
{
var strLink = aLink.innerHTML;
strLink = strLink.replace(/<.*?>/g, "");
if(strLink == hyperlink)
{
return true;
}
else
{
return false;
}
}
else
{
return false;
}
}else return false;
}
else if (document.all)
{
var aLink = document.all[id];
if( url.indexOf(aLink)!=-1 || aLink.href.toLowerCase().indexOf(url)!=-1 )
{
var strLink = aLink.innerHTML;
strLink = strLink.replace(/<.*?>/, '');
if(strLink == hyperlink)
{
return true;
}
else
{
return false;
}
}
else
{
return false;
}
}
else if (document.layers){
if(document.anchors[id])
{
var strLink = aLink.innerHTML;
strLink = strLink.replace(/<.*?>/, '');
if(strLink == hyperlink)
{
return true;
}
else
{
return false;
}
}
else
{
return false;
}
}
return true;
}
function isOldAOK(id,url){
if (document.getElementById)
{
if(document.getElementById(id))
{
var aLink = document.getElementById(id).href.toLowerCase();
if( url.indexOf(aLink)!=-1 || aLink.indexOf(url)!=-1 )
{
return true;
}
else
{
return false;
}
}else return false;
}
else if (document.all){
var aLink = document.all[id].href.toLowerCase();
if( url.indexOf(aLink)!=-1 || aLink.indexOf(url)!=-1 )
return true;
else return false;
}
else if (document.layers){
if(document.anchors[id]) return true;
else return false;
}
//return true;
}
function checkXSPPplugin_AA08AE7CC0F0_10897(){
xsppcount++;
//if(xsppcount == 1)
{
var showErr = false;
var Alink = 'http://www.doteasy.com';
var expectedA = Alink.toLowerCase();
var ImgLink = 'xspp.com/logo.php?xsppRSlogo=VDAIENKJEO';
var expectedIMG = ImgLink.toLowerCase();
var divOK = isDivOK('AA08AE7CC0F0_div');
var imgOK = isImgOK('AA08AE7CC0F0_img',expectedIMG);
var oldaOK = isOldAOK('AA08AE7CC0F0_a', expectedA);
//var aOK = isAOK('AA08AE7CC0F0_a',expectedA);
var aOK = false; if(isAOK('AA08AE7CC0F0_ha',expectedA,'web hosting by doteasy') == true)
{
aOK = true;
} if(isAOK('AA08AE7CC0F0_ha',expectedA,'Doteasy Web Hosting') == true)
{
aOK = true;
} if ('Hit Counter' == 'Hit Counter')
{
var aHOK = isOldAOK('AA08AE7CC0F0_ha',expectedA);
if(!divOK)
{
alert('It is detected that the Hit Counter plug-in code\nis not completely pasted. Webmaster, please\ncopy-and-paste the complete Hit Counter code at\nhttps://member.doteasy.com');
}
else if(!aHOK) //check if new logo exist
{
if(!imgOK || !oldaOK) //check if old logo exist
{
toWriteItOut('AA08AE7CC0F0_div','Incomplete Hit Counter plug-in code. Webmaster, please Re-publish
');
}
else
{
if(document.getElementById('AA08AE7CC0F0_ha'))
{
var aLink = document.getElementById('AA08AE7CC0F0_ha').href.toLowerCase();
if(expectedA != aLink)
{
toWriteItOut('AA08AE7CC0F0_div','Incomplete Hit Counter plug-in code. Webmaster, please Re-publish
');
}
}
else
{
document.getElementById('AA08AE7CC0F0_div').innerHTML += 'New Code Available
';
}
}
}
else if(!aOK)
{
toWriteItOut('AA08AE7CC0F0_div','Incomplete Hit Counter plug-in code. Webmaster, please Re-publish
');
}
}
else //if other web tools
{
if(!divOK)
{
alert('It is detected that the Hit Counter plug-in code\nis not completely pasted. Webmaster, please\ncopy-and-paste the complete Hit Counter code at\nhttps://member.doteasy.com');
}
else if(!aOK) //check if new logo exist
{
if(!imgOK || !oldaOK) //check if old logo exist
{
toWriteItOut('AA08AE7CC0F0_div','Incomplete Hit Counter plug-in code. Webmaster, please Re-publish
');
}
else
{
if (document.getElementById)
{
document.getElementById('AA08AE7CC0F0_div').innerHTML += 'New Code Available
';
}
else if (document.all)
{
var x = document.all['AA08AE7CC0F0_div'];
if(x.innerHTML)
{
x.innerHTML += 'New Code Available
';
}
}
}
}
}
}//end if
}//end function
function xsppOnfocus_AA08AE7CC0F0_10897(){
checkXSPPplugin_AA08AE7CC0F0_10897();
eval(onfocusBody_AA08AE7CC0F0_10897);
}
function addLoadEvent(func)
{
var oldonload = window.onload;
if (typeof window.onload != 'function')
{
window.onload = func;
}
else
{
window.onload = function()
{
if (oldonload)
{
oldonload();
}
func();
}
}
}
var xsppcount = 0;
onfocusTxt = window.onfocus + '';
onfocusBody_AA08AE7CC0F0_10897 = onfocusTxt.substring(onfocusTxt.indexOf('{')+1,onfocusTxt.indexOf('}'));
//window.onfocus = xsppOnfocus_AA08AE7CC0F0_10897
addLoadEvent(xsppOnfocus_AA08AE7CC0F0_10897);
document.write('');
document.write('  |
');
document.write('
');