function LinkTrack(){if(handlerPath==""){return}var D=arguments[0];var E=document.createElement("img");var B=window.location.href.toString().replace("http://","");var A=B.split("/");var C;if(arguments.length==1){C=D.name}else{if(arguments.length==2){C=arguments[1]}}if(C.substring(0,4)=="UIID"){C=D.name.substr(5)}if(D.href!=null){E.setAttribute("src",handlerPath+"/handler/LinkLog.ashx?LinkName="+C+"&URL="+escape(window.location.href)+"&LinkHref="+escape(D.href))}else{E.setAttribute("src",handlerPath+"/handler/LinkLog.ashx?LinkName="+C+"&URL="+escape(window.location.href)+"&LinkHref=")}}var links_log=document.anchors;var handlerPath;if(typeof(currentRegionName)=="undefined"){var js=document.getElementsByTagName("script");var jsPath="";for(var i=0;i<js.length;i++){if(js[i].src.toLowerCase().indexOf("linklog.js")>-1){jsPath=js[i].src;handlerPath=jsPath.replace(/\/js\/linklog.js/i,"");break}}if(jsPath==""){handlerPath=""}}else{handlerPath="http://"+location.host+"/"+currentRegionName}for(i in links_log){if(links_log[i].name!=undefined){if(links_log[i].name.substring(0,4)=="UIID"){var curLink=links_log[i];curLink.onclick=function(){LinkTrack(this)}}}};
