// cached javascript var NewSearchControl = { GetSuggestData:function(DataType,KeyWord,ClientID,doAssociationLookup,timerID,callback,context){return new ajax_request(this.url + '?_method=GetSuggestData&_session=no','DataType=' + enc(DataType)+ '\r\nKeyWord=' + enc(KeyWord)+ '\r\nClientID=' + enc(ClientID)+ '\r\ndoAssociationLookup=' + enc(doAssociationLookup)+ '\r\ntimerID=' + enc(timerID),callback, context);}, url:'/ajax/InMaven.Web.Controls.Search.NewSearchControl,InMaven.Web.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