var Railo=(function(){var _RAILO_JS_BIND_HANDLER="Railo.Bind.jsBindHandler";var _RAILO_CFC_BIND_HANDLER="Railo.Bind.cfcBindHandler";var _RAILO_URL_BIND_HANDLER="Railo.Bind.urlBindHandler";var _RAILO_CFC_RETURN_FORMATS=["json","plain","wddx"];var _JQUERY_VERSION="1.4.2";return{init:function(){Railo.Events.registerEvent("onLoad");window.onload=function(){Railo.Events.dispatchEvent("onLoad")}},config:function(a){return eval(a)},globalErrorHandler:function(err,data){err=err.split(".");var context=Railo.Message[err[0]];var msg=context[err[1]];var t=Railo.Util.template(msg,data);alert(t)},loadedResources:[]}})();Railo.Message={ajax:{tagDoNotExists:"The tag {0} is not supported.",parameterMissing:"Function {0}. The [{1}] parameter is required but was not passed.",missingDomElement:"Function {0}. The dom element [{1}] do not exists.",targetMissing:"Function {0}. Target element [{1}] do not exists",librayNotSupported:"Library {0} is not supported in this context",providerNotSupported:"Data Provider {0} is not supported in this context"},window:{windowNotFound:"The Window with name {0} has not been found!",windowAlreadyExists:"The Window with name {0} already exists!"},layout:{LayoutNotFound:"The Layout with name {0} has not been found!",LayoutHasNoChildren:"The Layout with name {0} has no layoutareas!"}};Railo.adapters={};Railo.Events=(function(){var a={};var c=function(){var d=[];this.subscribe=function(f){for(var e=0;e1){c="&"+c}g=g+c;a++}}if(!b.cache){var f=Math.ceil(Math.random()*1000000000);g=g+"&_"+f}if(h.match(/get/i)&&(g)){if(url.match(/[\?]/)&&!url.match(/[\?]$/)){url=url+"&"}else{if(!url.match(/[\?]/)&&g.length>0){url=url+"?"}}url=url+g}l.onreadystatechange=function(){if(l.readyState!==4){return}if(l.status==200){var p=l.responseText;if(m=="json"){p=Railo.Json.decode(p)}else{p=p.replace(/\r\n/g,"")}if(typeof(o)=="function"){o(p,l.statusText)}}else{if(j){j(l,l.status,l.statusText)}}};l.open(h,url,d);if(h.match(/post/i)){l.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8")}else{g=null}if((typeof(n)=="function")){n(l)}l.send(g);return l},createXhrObject:function(){var b=[function(){return new XMLHttpRequest()},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}];for(var c=0,a=b.length;c<\/script>');Railo.loadedResources.push(config[name]["libs"][lib][i])}}}if(cssConfigs[name]){for(i=0;i')}}Railo.loadedResources.push(cssConfigs[name][lib][i])}if(config[name].provider){if(typeof(config[name]["provider"][provider])=="undefined"){Railo.globalErrorHandler("ajax.providerNotSupported",[provider])}for(var i=0;i<\/script>')}else{document.write('