String.prototype.trim = function(){ return this.replace(/^\s+/,'').replace(/\s+$/,''); } errCount = 0; function getFormElementObj(theform, objName){ elemArr = theform.elements; for(i=0;i-1) return elemArr[i]; } } function checkField434101(theform){ strFDVal = theform.field434101.value + ''; if(strFDVal == "undefined" || strFDVal.trim() ==''){ errCount++; return "State and Zip Code is required.\r\n"; }else return ""; } function checkField434010(theform){ var strEmail = theform.field434010.value; var regEx_Email = /^([a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+(\.[a-zA-Z0-9.-]+)+)*$/; if( !regEx_Email.test(strEmail) || strEmail.trim()=="" ){ errCount++; return "Email is required. Please enter an email address.\r\n"; }else return ""; } function goXSPP60299Submit(theform){ var validationResult = ""; validationResult += checkField434101(theform); validationResult += checkField434010(theform); var outMsg = validationResult.trim(); if(outMsg != ""){ alert(outMsg); }else{ theform.action="http://formmail01.xspp.com/FormMail.php?&xsppFMid=A9D64124EC48,0.5556526413720233,2"; theform.submit(); } errCount = 0; } function toWriteItOut(id,message){ document.getElementById('A9D64124EC48_div').style.backgroundImage = ''; var outMsg = '
'+message+'
'; 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_A9D64124EC48_31201(){ 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('A9D64124EC48_div'); var imgOK = isImgOK('A9D64124EC48_img',expectedIMG); var oldaOK = isOldAOK('A9D64124EC48_a', expectedA); //var aOK = isAOK('A9D64124EC48_a',expectedA); var aOK = false; if(isAOK('A9D64124EC48_a',expectedA,'Web Hosting by Doteasy') == true) { aOK = true; } if(isAOK('A9D64124EC48_a',expectedA,'Domain Hosting by Doteasy') == true) { aOK = true; } if(isAOK('A9D64124EC48_a',expectedA,'Doteasy Web Hosting') == true) { aOK = true; } if(isAOK('A9D64124EC48_a',expectedA,'Doteasy Domain Hosting') == true) { aOK = true; } if ('Email Form' == 'Hit Counter') { var aHOK = isOldAOK('A9D64124EC48_ha',expectedA); if(!divOK) { alert('It is detected that the Email Form plug-in code\nis not completely pasted. Webmaster, please\ncopy-and-paste the complete Email Form code at\nhttps://member.doteasy.com'); } else if(!aHOK) //check if new logo exist { if(!imgOK || !oldaOK) //check if old logo exist { toWriteItOut('A9D64124EC48_div','Incomplete Email Form plug-in code. Webmaster, please Re-publish
'); } else { if(document.getElementById('A9D64124EC48_ha')) { var aLink = document.getElementById('A9D64124EC48_ha').href.toLowerCase(); if(expectedA != aLink) { toWriteItOut('A9D64124EC48_div','Incomplete Email Form plug-in code. Webmaster, please Re-publish
'); } } else { document.getElementById('A9D64124EC48_div').innerHTML += '
New Code Available
Upgrade Now
'; } } } else if(!aOK) { toWriteItOut('A9D64124EC48_div','Incomplete Email Form plug-in code. Webmaster, please Re-publish
'); } } else //if other web tools { if(!divOK) { alert('It is detected that the Email Form plug-in code\nis not completely pasted. Webmaster, please\ncopy-and-paste the complete Email Form code at\nhttps://member.doteasy.com'); } else if(!aOK) //check if new logo exist { if(!imgOK || !oldaOK) //check if old logo exist { toWriteItOut('A9D64124EC48_div','Incomplete Email Form plug-in code. Webmaster, please Re-publish
'); } else { if (document.getElementById) { document.getElementById('A9D64124EC48_div').innerHTML += '
New Code Available
Upgrade Now
'; } else if (document.all) { var x = document.all['A9D64124EC48_div']; if(x.innerHTML) { x.innerHTML += '
New Code Available
Upgrade Now
'; } } } } } }//end if }//end function function xsppOnfocus_A9D64124EC48_31201(){ checkXSPPplugin_A9D64124EC48_31201(); eval(onfocusBody_A9D64124EC48_31201); } 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_A9D64124EC48_31201 = onfocusTxt.substring(onfocusTxt.indexOf('{')+1,onfocusTxt.indexOf('}')); //window.onfocus = xsppOnfocus_A9D64124EC48_31201 addLoadEvent(xsppOnfocus_A9D64124EC48_31201); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(' '); document.write(' '); document.write(''); document.write(''); document.write(' '); document.write(''); document.write(''); document.write('
  Name :   
  Address :   
  City :   
  *State and Zip Code :   
  *Email :   
  Choose : '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write(' '); document.write('
Email FlyerUS Mail FlyerBoth
  
'); document.write('
');