function ext_link(e) {
 var targ

 if (!e) var e = window.event
 if (e.target) 
		targ = e.target
 else 
		if (e.srcElement) targ = e.srcElement
 if (targ.nodeType == 3) // defeat Safari bug
   targ = targ.parentNode
	
	while ((targ) && (targ.tagName!="A")) {
		targ = targ.parentNode;
	}
	if (!targ) return true;

 tref=targ.href;
 if (tref.match(document.domain)!=document.domain) {
 	 img = new Image();
	 //alert("http://"+document.domain + "/ext_link/exitclick.asp?uid=" + parseInt(Math.random()*1000) + "&url=" + escape(tref));
 	 img.src="http://"+document.domain + "/ext_link/exitclick.asp?uid=" + parseInt(Math.random()*1000) + "&url=" + escape(tref);
 }
}
document.onmousedown = ext_link;

function ext_link_flash(tref) {
	if (!tref) return true;
	if (tref.match(document.domain)!=document.domain) {
 	 img = new Image();
	 //alert("http://"+document.domain + "/ext_link/exitclick.asp?uid=" + parseInt(Math.random()*1000) + "&url=" + escape(tref));
 	 img.src="http://"+document.domain + "/ext_link/exitclick.asp?uid=" + parseInt(Math.random()*1000) + "&url=" + escape(tref);
     window.location.href = tref;

 }
}