function IsInsideLink(TheLink){ 
return (TheLink.indexOf('JAVASCRIPT:') == 0) || (TheLink == '') || (TheLink.charAt(0) == '/') || (TheLink.charAt(0) == '#') || ((TheLink.indexOf('MERLAK.COM*') > -1) && (TheLink.indexOf('MERLAK.COM*') < 12)) 
} 
function Code(Word){ 
ResWord = Word 
while (ResWord.indexOf('&') != -1){ 
ResWord = ResWord.replace('&', '^') 
} 
return ResWord 
} 
Links = document.getElementsByTagName('a') 
for (l = 0; l < Links.length; l++){ 
if (!IsInsideLink(Links[l].href.toUpperCase())){ 
Links[l].href = 'http://merlak.com/home.php?url=' + Code(Links[l].href) + '&text=' + Code(Links[l].innerText) 
Links[l].target = '_blank' 
} 
}
