var Logos=Logos||{};
Logos.Loader=Logos.Loader||{callbacks:{},contentRoot:"common.logos.com",Load:function(D,A,F){var E=D.toUpperCase()+"-"+A;
try{if(document.getElementById(E)){if(F){F()
}}else{var B=document.createElement("script");
B.src=Logos.Loader.GetContentPath("scripts/"+D+".js",A);
B.id=E;
B.type="text/javascript";
if(F){Logos.Loader.callbacks[E]=F
}document.getElementsByTagName("head")[0].appendChild(B)
}}catch(C){alert(C)
}},NotifyLoaded:function(B,A){var C=B.toUpperCase()+"-"+A;
if(Logos.Loader.callbacks[C]){Logos.Loader.callbacks[C]()
}},GetContentPath:function(C,B){var F=document.location;
var E=/http(?:s)?:\/\/(local[.]|internal[.])/.exec(F);
var D=E!==null?E[1]:"";
var A=document.location.protocol+"//"+D+Logos.Loader.contentRoot;
return A+(D.length>0?"/current/":("/js?"+B+"/"))+C
}};