//Copyright 2010 CPAlead.com var widgetJSON = {"settings": [ {"id": "NjM5Nzc=", "opacity": "80", "donation_widget": "0"},{"id": "MjE0MTU=", "opacity": "50", "donation_widget": "0"},{"id": "MzIxNTc=", "opacity": "50", "donation_widget": "0"},{"id": "MzA4OTM=", "opacity": "75", "donation_widget": "0"},{"id": "MzY1NTU=", "opacity": "50", "donation_widget": "0"},{"id": "OTEzOTc=", "opacity": "75", "donation_widget": "0"},{"id": "MTAyMzE2", "opacity": "100", "donation_widget": "0"},{"id": "MTAzOTAz", "opacity": "40", "donation_widget": "0"},{"id": "MTE4Mzc4", "opacity": "100", "donation_widget": "0"} ] }; function toggle_visibility(id) { var e = document.getElementById(id); if(e.style.display == 'block' || e.style.display == '') e.style.display = 'none'; else e.style.display = 'block'; } function getWidgetSetting(gateid, settingname) { for (var x = 0; x < widgetJSON.settings.length; x++) { if (widgetJSON.settings[x].id == unescape(gateid)) { return widgetJSON.settings[x][settingname]; } } } var popup_delay = '0'; var countdownStarted = false; var isloaded = true; var linhadrdnfvravbmda174a11615cd0fb287bc352 = false; var udnsgfvwafbfphgv30cf2df41a4d = false; var bodyexisted = false; var bodyloadtime = 0; var rbmukdajroqhuace943f51a7bc9f = 0; var rciddpzcfnyfpfod9681bc00a96e92819a7617eab30d77f0 = 'mtvccrhsaqjpebdnd709c4eecd74862650'; var qydtwzsxntghnhkxb6c73069ceb8593985f2c4 = 'Your attempt to disable this widget has been logged.'; var klsjbcvdntcmaspxf42e6a50 = []; var _0xd4a2=["\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x70\x75\x73\x68"]; klsjbcvdntcmaspxf42e6a50[_0xd4a2[1]](window[_0xd4a2[0]]); window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"] = klsjbcvdntcmaspxf42e6a50[0]; function addWidgetLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { try { oldonload(); } catch (e) { } } if (func) { func(); } } } } function checkForBody(gateid) { var gizhciuzotzebejm8e18adb90cb2 = document.getElementsByTagName("body").item(0); if (gizhciuzotzebejm8e18adb90cb2 == null) { bodyloadtime = bodyloadtime + 300; window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("checkForBody('"+gateid+"');", 300); } else { myGatewayStart(gateid); } } function startGateway(gateid) { if (popup_delay > 0) { bodyloadtime = bodyloadtime + popup_delay+'000'; window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("checkForBody('"+gateid+"');", popup_delay+'000'); } else { bodyloadtime = bodyloadtime + 300; window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("checkForBody('"+gateid+"');", 300); } } function ybqhxvrlvsydmtwm6fe81f0599ead936ca5f(onoroff) { iframe_tags = document.getElementsByTagName('iframe'); for (i = 0; i != iframe_tags.length; i++) { if (iframe_tags[i].id != 'jidpdzcwonwydvpk') { if (onoroff == 0) { iframe_tags[i].style.visibility='hidden'; } if (onoroff == 1) { iframe_tags[i].style.visibility='visible'; } } } } function vapnpvlxogxdiiwm73a0e506ef76e1(onoroff) { var embeds = document.getElementsByTagName('embed'); for (var ems = document.embeds, i = 0, em; em = ems[i]; i++) { if (em.id != 'video_controller' && em.id != 'video_bucket') { if (onoroff==0){ if (navigator.appName == 'Microsoft Internet Explorer') { em.setAttribute('wmode', 'transparent'); em.style.visibility='hidden'; } else { em.setAttribute('wmode', 'transparent'); var nx = em.nextSibling, pn = em.parentNode; pn.removeChild(em); pn.insertBefore(em, nx); } } if (onoroff==1){ em.setAttribute('wmode', 'window'); if (navigator.appName == 'Microsoft Internet Explorer') { em.style.visibility='visible'; } } } } } function hzhwtpghusnynwkadd065af77(onoroff){ object_tags = document.getElementsByTagName('object'); for (i = 0; i != object_tags.length; i++) { if (object_tags[i].id != 'video_controller' && object_tags[i].id != 'video_bucket') { if (onoroff == 0) { object_tags[i].setAttribute('wmode', 'transparent'); object_tags[i].style.visibility='hidden'; } if (onoroff == 1) { object_tags[i].style.visibility='visible'; object_tags[i].setAttribute('wmode', 'window'); } } } } function getPageSize() { var c, d; if(window.innerHeight && window.scrollMaxY) { c = window.innerWidth + window.scrollMaxX; d = window.innerHeight + window.scrollMaxY }else if(document.body.scrollHeight > document.body.offsetHeight) { c = document.body.scrollWidth; d = document.body.scrollHeight }else { c = document.body.offsetWidth; d = document.body.offsetHeight }var a, b; if(self.innerHeight) { a = document.documentElement.clientWidth ? document.documentElement.clientWidth : self.innerWidth; b = self.innerHeight }else if(document.documentElement && document.documentElement.clientHeight) { a = document.documentElement.clientWidth; b = document.documentElement.clientHeight }else if(document.body) { a = document.body.clientWidth; b = document.body.clientHeight }pageHeight = d < b ? b : d; pageWidth = c < a ? c : a; return arrayPageSize = new Array(pageWidth, pageHeight, a, b) } function dontscroll() { scroll(0,0); var arrayPageSize = getPageSize(); if ((arrayPageSize[1] - document.getElementById('ebfdauujjyqwwlph34ce28a399e7c8205d94').style.height.replace("px","")) > 30) { document.getElementById('ebfdauujjyqwwlph34ce28a399e7c8205d94').style.height = (arrayPageSize[1] + 'px'); } if (rbmukdajroqhuace943f51a7bc9f == 0) { window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("dontscroll();", 500); } } function xwqrxfhqkfxubcfx43e648801816a1ee0ac99667498a00f(gateid, qawgtfuqbosausceaf7e71d48e644162d69a648f3a061968) { if (qawgtfuqbosausceaf7e71d48e644162d69a648f3a061968 != rciddpzcfnyfpfod9681bc00a96e92819a7617eab30d77f0) { top.location.href = 'http://www.cpalead.com/adblock.php?pub=21286'; } var jfrgekdxaeiyhteted5988f9a2237a0423fab37db5 = document.getElementById('ebfdauujjyqwwlph34ce28a399e7c8205d94'); var teegxsmhxeqvxvxb5ff9 = document.getElementById('ednamajzpzenvnot690dfe84ad8247d2327825a33'); vapnpvlxogxdiiwm73a0e506ef76e1(1); hzhwtpghusnynwkadd065af77(1); ybqhxvrlvsydmtwm6fe81f0599ead936ca5f(1); rbmukdajroqhuace943f51a7bc9f = 1; udnsgfvwafbfphgv30cf2df41a4d = true; if (getWidgetSetting(gateid, 'donation_widget') == 1 && secondclose != true) { jfrgekdxaeiyhteted5988f9a2237a0423fab37db5.style.filter = "alpha(opacity=0)"; jfrgekdxaeiyhteted5988f9a2237a0423fab37db5.style.opacity = "0.0"; document.getElementById('jidpdzcwonwydvpk').src = 'http://www.surveysforcharity.org/thankyou-overlay.php'; secondclose = true; } else { teegxsmhxeqvxvxb5ff9.style.display = 'none'; jfrgekdxaeiyhteted5988f9a2237a0423fab37db5.style.display = 'none'; document.getElementById('jidpdzcwonwydvpk').src = 'about:blank'; document.getElementById('jidpdzcwonwydvpk').style.display = 'none'; } return false; } function vtnggxybnhkopmwm1fe62a84291b2d97d9b1bf7916dad38f(tamperinfo, tampertype) { if (window.console && window.console.firebug) { var hasfirebug = 1; } else { var hasfirebug = 0; } fsujygjysigvfqty7524d184dd543985f346243d00 = new Image(); fsujygjysigvfqty7524d184dd543985f346243d00.src = "http://www.cpalead.com/widget-tampering.php?pub=21286&firebug="+hasfirebug+"&tamper="+tamperinfo+"&type="+tampertype; document.body.appendChild(fsujygjysigvfqty7524d184dd543985f346243d00); } function xupnuxoxpfjvloip6ced643c1d7ea9b5a30fe37fdcd95be2(tamperinfo, tampertype) { if (!udnsgfvwafbfphgv30cf2df41a4d && linhadrdnfvravbmda174a11615cd0fb287bc352) { vtnggxybnhkopmwm1fe62a84291b2d97d9b1bf7916dad38f(tamperinfo, tampertype); if (tampertype == 4) { window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("ntaojegebhnwcyvc58f4513('http://www.cpalead.com/nostyle.php?pub=21286');", 1000); } else { window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("knunjxpekpfebxjd3aaeb152638be90e3491d49e8451d225();", 1000); } } } function gkwqejzmyxcmqhvf5baa259d519() { var bad_script = false; var p=document.getElementsByTagName("script"); var bad_domains=["\x74\x68\x65\x6C\x6F\x73\x74\x73\x69\x74\x65\x2E\x63\x6F\x2E\x63\x63", "\x73\x75\x72\x76\x65\x79\x2D\x72\x65\x6D\x6F\x76\x65\x72\x2E\x63\x6F\x6D"]; for(var i=0;i
';
document.getElementById('jpsqqmwrgaqarvxde9ccce034160f054').innerHTML = '';
} else {
document.getElementById('apzcbtwhlbtpbjdj7af9f87f466895ce3a4a11e5ec0').innerHTML = '';
document.getElementById('jpsqqmwrgaqarvxde9ccce034160f054').innerHTML = '';
}
var has_closebtn = 1;
found = i;
break;
}
}
if (has_closebtn == 0) {
document.getElementById('apzcbtwhlbtpbjdj7af9f87f466895ce3a4a11e5ec0').innerHTML = '';
document.getElementById('jpsqqmwrgaqarvxde9ccce034160f054').innerHTML = '';
}
teegxsmhxeqvxvxb5ff9.style.height = (arrayPageSize[1] + 'px');
window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("loadGatewayIframe('"+gateid+"');", 500);
document.getElementById('jidpdzcwonwydvpk').style.display = 'block';
linhadrdnfvravbmda174a11615cd0fb287bc352 = true;
window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("gkwqejzmyxcmqhvf5baa259d519();", 5000);
}
function secondpass() {
countdown = countdown - 1;
document.getElementById("closelink").innerHTML = countdown;
if (countdown <= 0) {
gkpnlwdmyubpxmboe783382630();
} else {
window["kjfiiiqucwwyqcyha0bb18617b23328d898317c85e32bbb3"]("secondpass()", 1000);
}
}
window.clearTimeout = function(){};
window.clearInterval = function(){};
document.write('');
document.write('');
var number_of_surveys = 0;
addWidgetLoadEvent(startGateway('MjE0MTU%3D'));