// cached javascript var Controls_LastNews_Ctrl = { GetNews:function(lang,k,sk,z,repeat,callback,context){return new ajax_request(this.url + '?_method=GetNews&_session=no','lang=' + enc(lang)+ '\r\nk=' + enc(k)+ '\r\nsk=' + enc(sk)+ '\r\nz=' + enc(z)+ '\r\nrepeat=' + enc(repeat),callback, context);}, url:'/fa/ajax/Controls_LastNews_Ctrl,App_Web_lastnews_ctrl.ascx.1fc9f761.ashx' } function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i