countryISO="";clientCountryISO="";showingRedirection=!1;isAuthenticated=!1,function(n){var i=getStorage("clientCountry"),t=i.get("clientCountryISO");typeof t!="undefined"&&(clientCountryISO=t);showRedirection=function(t){var i=n('#redirection div[data-country="'+t+'"]');typeof i!="undefined"&&(n("#redirection").stop().show(),n(i).stop().show(),n("header").addClass("redirection"))};hideRedirection=function(){n("#redirection").stop().slideUp(100);n("#redirection > div").stop().hide();n("header").removeClass("redirection")};showRedirected=function(){n("#redirected").dialog("open")};initRedirection=function(){if(hideRedirection(),clientCountryISO&&showingRedirection==="true"){var n=getStorage("redirection"),t=n.get("redirection_no");t!=="true"&&isAuthenticated==="false"&&clientCountryISO.toLowerCase()!=countryISO.toLowerCase()&&setTimeout(function(){showRedirection(clientCountryISO.toLowerCase())},20)}};jQuery(document).ready(function(){n(".redirection-no").click(function(n){n.preventDefault();var t=getStorage("redirection");return t.set("redirection_no",!0),hideRedirection(),!1});n("#redirected").dialog({autoOpen:!1,resizable:!1,width:500,modal:!0,buttons:{OK:function(){n(this).dialog("close")}}})})}(jQuery)