// cached javascript
var Spenet = {
insertMsg:function(code,pro,department,yourname,phones,addr,email,message,proid,userId,cid,url,callback,context){return new ajax_request(this.url + '?_method=insertMsg&_session=r','code=' + enc(code)+ '\r\npro=' + enc(pro)+ '\r\ndepartment=' + enc(department)+ '\r\nyourname=' + enc(yourname)+ '\r\nphones=' + enc(phones)+ '\r\naddr=' + enc(addr)+ '\r\nemail=' + enc(email)+ '\r\nmessage=' + enc(message)+ '\r\nproid=' + enc(proid)+ '\r\nuserId=' + enc(userId)+ '\r\ncid=' + enc(cid)+ '\r\nurl=' + enc(url),callback, context);},
url:'/ajax/ZhlBooth.Spenet,ZhlBooth.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