e_skip = "rxpg.org,rxpgonline.com,newsnow.co.uk,google.com,yahoo.com,nerve.in,msn.com,rxbds.com,72.14.207.104"; var e_skip; function link(str) { open("/out.php?url=" +str,"outsidelink",'resizable=no,scrollbars=yes,menubar=no,status=no'); }; function findlinks() { if(document.getElementsByTagName && document.getElementsByTagName("a") && document.getElementsByTagName("a").length > 0) { var a_tags = document.getElementsByTagName("a") var link_url = ""; try { var loacation_url = ("" + top.location.href).replace("http://", "").replace("https://", "").replace("www.", ""); } catch(e) { var loacation_url = ("" + document.location.href).replace("http://", "").replace("https://", "").replace("www.", ""); } if(loacation_url.indexOf("/") > 5) loacation_url = loacation_url.substr(0, loacation_url.indexOf("/", 5)); for(i=0; i 3) && (" " + a_tags[i].href).indexOf("script:") <= 0 && (" " + a_tags[i].href).indexOf("#") != 1 && (" " + a_tags[i].href).indexOf("mailto:") <= 0 && (" " + a_tags[i].href).indexOf("file:") <= 0 && (" " + a_tags[i].href).indexOf("#exit") <= 0 && !(!isNaN(parseInt(domain_url.substr(0,1))) && (!isNaN(parseInt(domain_url.substr(0,2))) || domain_url.substr(0,2) == "."))) { a_tags[i].target = "_self"; if(a_tags[i].target == "_self") a_tags[i].href = "javascript:link('" + a_tags[i].href.replace("'", "").replace("\"", "") + "');"; } } } } function skip_links(url) { if("" + e_skip != "undefined" && e_skip != "" && e_skip.replace(/\s/g,"") != "" && url != "") { if((" " + e_skip).indexOf(",") > 0) params_to_skip = e_skip.split(","); else params_to_skip = new Array(e_skip); for(s=0; s 0) { return false; break; } } return true } else return true; } if("" + window.onload == "" || "" + window.onload == "null") window.onload = findlinks; else var tempsearch = window.setTimeout("findlinks(); clearTimeout(tempsearch)", 4000)