var counts = [], linkUrls = [], targets = [], ids = [];IDHasLoaded = true;counts[0] = 'Comments (0)';linkUrls[0] = 'http://www.pasthorizonspr.com/index.php/archives/06/2011/drugs-barons-accused-of-destroying-guatemalas-rainforest#idc-container';targets[0] = '';ids[0] = 'IDShowCommentLink13611';counts[1] = 'Comments (2)';linkUrls[1] = 'http://www.pasthorizonspr.com/index.php/archives/02/2010/chum-balam-nal-excavations-at-blue-creek-belize#idc-container';targets[1] = '';ids[1] = 'IDShowCommentLink961';counts[2] = 'Comments (0)';linkUrls[2] = 'http://www.pasthorizonspr.com/index.php/archives/01/2009/colouring-the-past-at-el-pilar#idc-container';targets[2] = '';ids[2] = 'IDShowCommentLink1094';var theCount = 0; var idLinksToReplace = Array(); var spans = document.getElementsByTagName("span"); for ( var i = 0, sp_lng = spans.length; i < sp_lng; i++ ) { if ( spans[i].className == "IDCommentsReplace" ) { idLinksToReplace[idLinksToReplace.length] = spans[i].parentNode; theCount++; } } for ( var i = 0, repl_lng = idLinksToReplace.length; i < repl_lng; i++ ) { if ( !linkUrls[i] ) break; if ( typeof idLinksToReplace[i].href != 'undefined' ) idLinksToReplace[i].href = idLinksToReplace[i].href.replace( /#.*/, '#idc-container' ); idLinksToReplace[i].id = ids[i]; idLinksToReplace[i].target = targets[i]; idLinksToReplace[i].innerHTML = counts[i]; } if( typeof(IDCounted) == "undefined" ) { var IDCounted; _qoptions = [{ labels:"comment-links", qacct:"p-94D6e1NDscLvI"},{qacct:"p-18-mFEk4J448M", labels:"type.intensedebate.embed"}]; IDcountIT(); } function IDcountIT() { var newScript = document.createElement('script'); newScript.type = 'text/javascript'; newScript.src = 'http://edge.quantserve.com/quant.js'; document.getElementsByTagName('head')[0].appendChild(newScript); }