function debug(s) {
}
targetDiv = document.getElementById('peSiteTargetDiv774073518');
content = "
\n
\n
NC Businesses Stop Oil and Natural Gas Exploration off of North Carolina\n\n
\n\n\n\n \n
\n\n
Newest 20 of 46 signatures
\n\n\n
\n \n | 46 | \n joe finley | \n 11/8 | \n
\n \n | 45 | \n Helle Collin | \n 10/31 | \n
\n \n | 44 | \n Scott Free | \n 10/10 | \n
\n \n | 43 | \n glenn brown | \n 9/30 | \n
\n \n | 42 | \n Cheri Woods Flynn | \n 9/22 | \n
\n \n | 41 | \n Tatiana Costa | \n 8/20 | \n
\n \n | 40 | \n Chelsea Hess | \n 8/6 | \n
\n \n | 39 | \n Jessica Horbach | \n 7/20 | \n
\n \n | 38 | \n Ben Miller | \n 7/14 | \n
\n \n | 37 | \n Claudia Ioannidou | \n 7/12 | \n
\n \n | 36 | \n Molly Harrison | \n 7/9 | \n
\n \n | 35 | \n Vanessa Ng | \n 7/8 | \n
\n \n | 34 | \n michelle smith | \n 7/6 | \n
\n \n | 33 | \n Janice Lane | \n 7/5 | \n
\n \n | 32 | \n Molly Kirkland | \n 7/5 | \n
\n \n | 31 | \n Mieke Bernaards | \n 7/2 | \n
\n \n | 30 | \n Steve Dale | \n 7/2 | \n
\n \n | 29 | \n Carl Rosenstock | \n 7/1 | \n
\n \n | 28 | \n Razvan V. | \n 7/1 | \n
\n \n | 27 | \n L Waldron | \n 6/30 | \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[774073518]) {
document.write(already);
} else {
pesiteWidgetAlready[774073518] = 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')
}
}