$random:function(b,d){return Math.floor(Math.random()*(d-b+1)+b)},error:function(b){arale.log("error:"+b)},exec:function(b){if(!b)return b;if(window.execScript)window.execScript(b);else{var d=document.createElement("script");d.setAttribute("type","text/javascript");d[arale.browser.Engine.webkit&&420>arale.browser.Engine.ver?"innerText":"text"]=b;document.getElementsByTagName("head")[0].appendChild(d);document.getElementsByTagName("head")[0].removeChild(d)}return b},hitch:function(b,d){d||(d=b,b=null);
if(arale.isString(d)){b=b||window;if(!b[d])throw['arlea.hitch: scope["',d,'"] is null (scope="',b,'")'].join("");return function(){return b[d].apply(b,arguments||[])}}return!b?d:function(){return d.apply(b,arguments||[])}},now:function(){return(new Date).getTime()},logError:function(b,d){(new Image).src="sev="+encodeURIComponent(b)+"&msg="+encodeURIComponent(d)},log:function(){araleConfig.debug&&"console"in window&&console.log.apply(console,arguments)},getUniqueId:function(b){var d=arale.getUniqueId._id||
1;arale.getUniqueId._id=++d;return b?b+d:d},getModulePath:function(b){return araleConfig.module_path+"/"+b},each:function(b,d,c){var e;if("object"===arale.typeOf(b))for(e in b)this.obj.hasOwnProperty(e)&&d.call(c,e,b[e]);else{if(Array.prototype.forEach)return[].forEach.call(b,d,c);e=0;for(var g=b.length;e<g;e++)d.call(c,b[e],e,b)}},checkVersion:function(){}};