var location_ajax$=jQuery.noConflict(true);location_ajax$(document).ready(function(){getMaxMindLocation(location_ajax$("#serverNamePath").val());});function getHTTPObject(){var xmlhttp;
/*@cc_on
        @if (@_jscript_version >= 5)
        try {
            xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
        } catch (e) {
            try {
            xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
            } catch (E) {
            xmlhttp = false;
        }
        }
        @else
            xmlhttp = false;
        @end @*/
if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){try{xmlhttp=new XMLHttpRequest();}catch(e){xmlhttp=false;}}return xmlhttp;}var httpLocationajax=getHTTPObject();function getMaxMindLocation(e){var a;var d="http";var c=location_ajax$("#idSession").val();var b=getRandomeNumber();if(e.search(/sec/)>-1){d="https";a=d+"://"+e+"/userLocation.ajx;jsessionid="+c;}else{a=d+"://"+e+"/userLocation.ajx";}a=a+"?randomNumber="+b;httpLocationajax.open("GET",a,true);httpLocationajax.onreadystatechange=getCountryName;httpLocationajax.send(null);}function getRandomeNumber(){return Math.random();}function getCountryName(){var m=location_ajax$("#idDomain").val();if(httpLocationajax.readyState==4){var e=httpLocationajax.responseText;var j=XML_FOLDER+"OfficeLocation_en_US.xml";loadXMLDoc_MaxMind(j);var d=searchCountryName_MaxMind(e);var b="";if($chk(d)){b=getNodeValueForLocation(d,"link1");}var a=location_ajax$("#serverNameFlag").val();var k=$("globalDomainNameFlag").value;var g=location_ajax$("#insSec").val();var l;if(m==100&&(g==k)){var f=location_ajax$("#LocalSiteKey").val();var i=location_ajax$("#visitSiteKey").val();location_ajax$("#subMenuVisitSite").css("visibility","visible");var h=f.replace("replaceCountryName",e);var c=i.replace("replaceCountryName",e);l='<a href="'+b+'">'+h+"</a>";location_ajax$("#visitSite").html(l);}}}
