window.onload=function(){var a=document.getElementsByTagName("a");var e=a.length;for(var b=0;b<e;b++){if(a[b].href==""||a[b].href=="#"){continue}var d=parseURL(a[b].href);if(d.hostname.indexOf(location.host)==-1){var c=null;if(typeof a[b].onclick!="undefined"){c=a[b].onclick}registerLinkClick(a[b],c)}}};function registerLinkClick(a,b){a.onclick=function(){var d=a.href.replace(/[^a-z|A-Z]/g,"_");var c=a.innerHTML.replace(/[^a-z|A-Z]/g,"_");var f="/externallinks/"+d+"/"+c;try{pageTracker._trackPageview(f)}catch(e){}if(b!=null){b();return false}}}function parseURL(a){var c={href:a};var b=a.replace("//","/").split("/");c.protocol=b[0];c.host=b[1];b[1]=b[1].split(":");c.hostname=b[1][0];c.port=b[1].length>1?b[1][1]:"";b.splice(0,2);c.pathname="/"+b.join("/");c.pathname=c.pathname.split("#");c.hash=c.pathname.length>1?"#"+c.pathname[1]:"";c.pathname=c.pathname[0];c.pathname=c.pathname.split("?");c.search=c.pathname.length>1?"?"+c.pathname[1]:"";c.pathname=c.pathname[0];return c};