function debug(s) {
}
targetDiv = document.getElementById('peSiteTargetDiv192284409');
content = "
\n
\n
Kids for Earth Day Unite\n\n
\n\n\n\n \n
\n\n
Newest 11 of 11 signatures
\n\n\n
\n \n | 11 | \n Teresa Mac Tavish | \n 2/3 | \n
\n \n | 10 | \n Sharon Hope | \n 2/1 | \n
\n \n | 9 | \n Jacolin Schultz | \n 2/1 | \n
\n \n | 8 | \n JOCELYNE ANNIE STROKOWSKI | \n 2/1 | \n
\n \n | 7 | \n Katherine Hales | \n 1/31 | \n
\n \n | 6 | \n Larry Sheehy | \n 1/31 | \n
\n \n | 5 | \n Margaret Edwards | \n 1/31 | \n
\n \n | 4 | \n Hunter Grey Spicer | \n 1/29 | \n
\n \n | 3 | \n Harley Rose Spicer | \n 1/29 | \n
\n \n | 2 | \n Kamerin Vincent | \n 1/29 | \n
\n \n | 1 | \n Nick Watson | \n 1/29 | \n
\n \n
\n\n
";
error = "Couldn't load petition!
This is most likely because the code to show your petition was cut off or otherwise corrupted.
You can fix this by getting a fresh copy of the code. Go to your petition's Add this petition to your website page, and copy the code under the How do I add this petition to my website? heading. Then, paste this code, without modifying it, into the source of your web page.
";
already = ""
+ "
Couldn't load petition!
"
+ "
Please don't include any petition on your web page more than once.
You may include two different petitions on the same page, but not two copies of the same petition.
"
+ "
";
if (typeof(pesiteWidgetAlready) == 'undefined') {
pesiteWidgetAlready = new Array();
}
function chk_link(targetDiv) {
childNodes = targetDiv.getElementsByTagName("*")
if (! targetDiv) {
return false;
}
if (childNodes.length != 1) {
return false;
}
child = childNodes[0];
if ( (child.tagName != 'a') && (child.tagName != 'A') ) {
return chk_link_malformed(child);
}
if (child.href != "http://www.thepetitionsite.com/") {
return false;
}
var test_HTML = child.innerHTML.replace(/^\s+|\s+$/, '')
if (test_HTML != "Petition powered by ThePetitionSite.com") {
return false;
}
return true;
}
function chk_link_malformed(chkElt) {
while (chkElt) {
if ((chkElt.tagName == 'a') || (chkElt.tagName == 'A')) {
if (chkElt.href != "http://www.thepetitionsite.com/") {
return false;
}
if (chkElt.innerHTML != "Petition powered by ThePetitionSite.com") {
return false;
}
return true;
} else {
childNodes = chkElt.childNodes;
if (! childNodes) {
return false;
}
if (childNodes.length != 1) {
return false;
}
chkElt = childNodes[0];
}
}
return false;
}
if (pesiteWidgetAlready[192284409]) {
document.write(already);
} else {
pesiteWidgetAlready[192284409] = true;
if (targetDiv) {
if (chk_link(targetDiv)) {
targetDiv.innerHTML = content + targetDiv.innerHTML;
debug('targetDiv sets good content')
} else {
targetDiv.innerHTML = error;
debug('targetDiv sets error content')
}
} else {
document.write(error);
debug('Invalid embed -- targetDiv.id not found')
}
}