var scripts = document.getElementsByTagName('SCRIPT');
var theHTML4 = '
Top 1 commenters
';
for(var i=0; i0)
{
if(scripts[i].defer)
{
if (window.addEventListener)
{
window.addEventListener("load", initIDWidget4, false);
}
else if (window.attachEvent)
{
window.attachEvent('onload', initIDWidget4);
}
}
else
{
document.write(''+theHTML4+'
');
}
break;
}
}
function initIDWidget4()
{
var IDWidgetCSSLoaded41 = document.createElement('link');
IDWidgetCSSLoaded41.rel = 'stylesheet';
IDWidgetCSSLoaded41.href = 'http://www.intensedebate.com/wCSS.php?widget=2';
IDWidgetCSSLoaded41.type = 'text/css';
document.getElementsByTagName("HEAD")[0].appendChild(IDWidgetCSSLoaded41);
theDiv = document.createElement("DIV");
theDiv.className = "idw-container";
theDiv.id = "IDWidget4";
var scripts = document.getElementsByTagName("script");
var parentObj;
var theObj;
for(var i=0; i0)
{
parentObj = scripts[i].parentNode;
theObj = scripts[i];
break;
}
}
theDiv.innerHTML = theHTML4;
if(parentObj)
parentObj.insertBefore(theDiv,theObj);
};if(typeof(IDCounted)=="undefined")
{
var IDCounted;
window.onload=IDcountIT;
}
function IDcountIT()
{
if(IDCounted == undefined)
{
scriptArray = document.getElementsByTagName("SCRIPT");
var srcString;
var countPageUrl = "http://www.intensedebate.com/js/countIt.php?accountid=1699";
var commentLinkCount = 0;
for(var i=0; i0)
commentLinkCount++;
}
// Typepad
var elements = document.getElementsByTagName("A");
var postCountForCheck = 0;
for(var k=0; k=1))// If Typepad
{
if ((postCountForCheck==1) && (srcString.search(/\/comment\//) != -1))
postCountForCheck = 0;
clinkCount = postCountForCheck;
}
else {
if (commentLinkCount>0) clinkCount = commentLinkCount;
}
if (typeof(theCount)!= "undefined")
clinkCount = theCount;
if (clinkCount == 0) // Tumblr
{
linksArray = document.getElementsByTagName("A");
for (var i=0; i< linksArray.length; i++)
{
if (linksArray[i].className == "IDCommentsReplace")
clinkCount++
}
}
if (typeof(commentObj)!= "undefined")
countPageUrl += "&IDC=1";
countPageUrl += "&commentLinkCount="+clinkCount;
var countScript = document.createElement('SCRIPT');
countScript.type = "text/javascript";
countScript.src = countPageUrl;
document.getElementsByTagName("HEAD")[0].appendChild(countScript);
IDCounted = true;
}
}