var referrer=window.document.referrer;
var referrarArray=referrer.split("//");if(window.location.protocol.toLowerCase() != referrarArray[0]){
referrer = window.location.protocol.toLowerCase() + "//" + referrarArray[1];}//if (window.location.protocol.toLowerCase()!='https:') window.location='https://'+window.location.host+window.location.pathname;if (!referrer) referrer='';if(referrer.indexOf('undefined') != -1){ referrer = '/';}var uri=window.location.search;if (!!uri && uri!=''){ if (/[&\?]{1,1}uri\=[^&]*/gi.test(uri)) referrer=uri.replace(/[&\?]{1,1}uri\=([^&]*)/gi,'$1');}if (/register\.[s]?htm[l]?/gi.test(referrer) || /retrievepwd\.[s]?htm[l]?/gi.test(referrer)) referrer='';User.initData={referrer:referrer,operateType:'login'};