var $RP={};$RP.Util={};$RP.GlobalVars={};$RP.GlobalVars.Division={};$RP.GlobalVars.URL={};$RP.GlobalVars.Env={};$RP.GlobalVars.Env.Helpers={};$RP.App={};$RP.Widget={};(function(){$RP.buildNamespace=function(a){var d=a.split("."),c=$RP,b;for(b=0;b<d.length;b++){if(!c[d[b]]){c[d[b]]={}}c=c[d[b]]}};$RP.Util.ProfileCollection={_headStartTime:new Date(),_profileAry:[],logProfile:function(a){if(!$RP.GlobalVars.URL.QueryString.profileJS){return false}var d=true;var c;for(var b=0;b<this._profileAry.length;b++){if(this._profileAry[b].name==a){d=false;c=b;break}}if(d){this._profileAry.push({name:a,start:new Date()})}else{this._profileAry[c].end=new Date()}},printProfile:function(){var d=document;if($RP.GlobalVars.Env.runmode==="development"){var c=d.createElement("ul"),e=d.createElement("div"),a;e.style.position="absolute";e.style.border="3px solid black";for(var b=0;b<this._profileAry.length;b++){a=d.createElement("li");a.appendChild(d.createTextNode(this._profileAry[b].name+" : "));a.appendChild(d.createTextNode(this._profileAry[b].end-this._profileAry[b].start+" ms"));c.appendChild(a)}a=d.createElement("li");a.appendChild(d.createTextNode("Head through onload: "));a.appendChild(d.createTextNode(new Date()-this._headStartTime-1000+" ms"));c.appendChild(a);e.appendChild(c);d.body.appendChild(e)}}};$RP.profile=function(a){if($RP.GlobalVars.Env.runmode==="development"){$RP.Util.ProfileCollection.logProfile(a)}};$RP.log=function(a){if($RP.GlobalVars.Env.runmode==="development"){if(typeof console!="undefined"){console.log(a)}else{alert(a)}}};$RP.GlobalVars.URL.QueryString={};$RP.GlobalVars.URL.urlPathAry=[];(function(){var h=window.location.href,f=/[?&]([^=&]*)(?:=([^&]*))?/g,e,g={};while((e=f.exec(h))!==null){g[e[1]]=e[2]||null}for(var b in g){if(g.hasOwnProperty(b)){$RP.GlobalVars.URL.QueryString[b]=g[b]}}var c=h.split("?")[0].split("/");for(var d=0;d<c.length;d++){if(c[d]&&c[d]!=="http:"&&c[d]!=="https:"){$RP.GlobalVars.URL.urlPathAry.push(c[d])}}})()})();