//window.onerror = function(){return true;} string.prototype.trim = function(){ return this.replace(/(^\s*)|(\s*$)/g, "");} function imagezoom(img,width,height) { var image=new image(); image.src=img.src; if(image.width>width||image.height>height) { w=image.width/width; h=image.height/height; if(w>h) { img.width=width; img.height=image.height/w; } else { img.height=height; img.width=image.width/h; } } } function imageopen(img) { window.open(img.src); } function ok3w_search(frm) { if(frm.q.value.trim()=="") { alert("请输入查询关键词。"); frm.q.focus() return false; } frm.action = "search.asp"; frm.bntsub.disabled = true; frm.submit(); } function setcwinheight(obj) { var cwin=obj; if (document.getelementbyid) { if (cwin && !window.opera) { if (cwin.contentdocument && cwin.contentdocument.body.offsetheight) cwin.height = cwin.contentdocument.body.offsetheight; else if(cwin.document && cwin.document.body.scrollheight) cwin.height = cwin.document.body.scrollheight; } } } function ocopy(a,type,str){ if(str=="" || str=="http://") { alert("该员工没有填写相关内容"); return false; } a.target="_blank"; if(type==1) a.href = str; if(type==2) a.href = "mailto:" + str; if(type==3) a.href = "tencent://message/?uin="+ str + "&site=im.qq.com&menu=yes"; } function ok3w_insertflash(base_url, focus_width, focus_height, swf_height, text_height, pics, links, texts) { document.write(''); } function ok3w_marquee(rndid,strgd,width,height,speed) { document.write('
'+strgd+' | '); document.write(''); document.write(' |