function set_click(){
var aElements = document.getElementsByTagName("a");
for (var i=0;i<aElements.length;i++) {
if ((aElements[i].href != '') && (aElements[i].hostname != window.location.hostname) && (aElements[i].hostname != '') && ((aElements[i].protocol == 'http:') || (aElements[i].protocol == 'https:'))) {
aElements[i].target = "_blank";
}}}

function view_pr(path){
if (document.getElementById('pagerank')){
var xmlHttp = null;
if (typeof XMLHttpRequest != 'undefined') {xmlHttp = new XMLHttpRequest();}
if (!xmlHttp){try{xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e_vf_1){try{xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}catch(e_vf_2){xmlHttp = null;}}}
if (xmlHttp) {
xmlHttp.open('GET', '/cgi-bin/pr_counter.pl?target='+path, true);
xmlHttp.onreadystatechange = function () {
if (xmlHttp.readyState == 4) {
var footer_div = document.getElementById('pagerank');
footer_div.innerHTML = xmlHttp.responseText;
}};
xmlHttp.send(null);
}}
return false;
}
