var NS;

try
{
    if (!(NS=window.top && window.top.__editorNS) && window.location.host == window.top.location.host)
        NS=window.top.__editorNS=new Object();
}
catch(ex) {}

if (!NS)
    NS=window.__editorNS=new Object();

var BrowserInfo;
if (!(BrowserInfo=NS.BrowserInfo)){BrowserInfo=NS.BrowserInfo=new Object();var sAgent=navigator.userAgent.toLowerCase();BrowserInfo.IsIE=(sAgent.indexOf("msie")!=-1);BrowserInfo.IsGecko=!BrowserInfo.IsIE;BrowserInfo.IsSafari=(sAgent.indexOf("safari")!=-1);BrowserInfo.IsNetscape=(sAgent.indexOf("netscape")!=-1);};
var ScriptLoader=new Object();ScriptLoader.IsLoading=false;ScriptLoader.Queue=new Array();ScriptLoader.AddScript=function(A){ScriptLoader.Queue[ScriptLoader.Queue.length]=A;if (!this.IsLoading) this.CheckQueue();};
ScriptLoader.CheckQueue=function(){if (this.Queue.length>0){this.IsLoading=true;var A=this.Queue[0];var B=new Array();for (i=1;i<this.Queue.length;i++) B[i-1]=this.Queue[i];this.Queue=B;this.LoadFile(A);}else{this.IsLoading=false;if (this.OnEmpty) this.OnEmpty();};};
ScriptLoader.LoadFile=function(A){var e;if (A.lastIndexOf('.css')>0){e=document.createElement('LINK');e.rel='stylesheet';e.type='text/css';}else{e=document.createElement("script");e.type="text/javascript";};
document.getElementsByTagName("head")[0].appendChild(e);if (e.tagName=='LINK'){if (BrowserInfo.IsIE) e.onload=ScriptLoader_OnLoad;elseScriptLoader.CheckQueue();e.href=A;}else{e.onload=e.onreadystatechange=ScriptLoader_OnLoad;e.src=A;};};
function ScriptLoader_OnLoad(){if (this.tagName=='LINK'||!this.readyState||this.readyState=='loaded') ScriptLoader.CheckQueue();}

