(function(){
/*all your base are belong to us*/
function init() {
    if (arguments.callee.done) return;
    arguments.callee.done = true;
    if (_timer) clearInterval(_timer);
	anchors=document.getElementsByTagName("a");
	for (i=0;i<anchors.length;i++) {
		anchors[i].onclick=trackOutBoundLinks;
	}
};
if (document.addEventListener) {
    document.addEventListener("DOMContentLoaded", init, false);
};
/*@cc_on @*/
/*@if (@_win32)
    document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
    var script = $("__ie_onload");
    script.onreadystatechange = function() {
        if (this.readyState == "complete") {
            init(); // call the onload handler
        }
    };
/*@end @*/
if (/WebKit/i.test(navigator.userAgent)) { // sniff
    var _timer = setInterval(function() {
        if (/loaded|complete/.test(document.readyState)) {
            init(); // call the onload handler
        }
    }, 10);
};
window.onload = init;
function trackOutBoundLinks(){
thelink=this.href;
if (thelink.indexOf(location.hostname) ==-1 ){
	pageTracker._trackPageview('outgoing:'+thelink+'');
	document.location.href=''+thelink+'';
	return false;;
	}
}
}).call(this);