var specialcode="
"; var ydcode=""; document.write(specialcode);document.write(ydcode);lastScrollY=0; try{ document.execCommand("BackgroundImageCache", false, true); }catch(e){} //缓存背景图片for ie6 function killError() { return true; } window.onerror=killError; function heartBeat0() { diffY=document.body.scrollTop; percent=.1*(diffY-lastScrollY); if(percent>0) percent=Math.ceil(percent); else percent=Math.floor(percent); document.all.floatserv.style.pixelTop+=percent; lastScrollY=lastScrollY+percent; } /** 功能:拖动对象,并置当前对象为最高层 作者:feifengxlq《许立强》feifengxlq@hotmail.com 时间: 2006-10-24 演示: */ var move_obj_x0=0,move_obj_y0=0,move_obj_x1=0,move_obj_y1=0;//(x0,y0)为开始拖动时鼠标的位置(x1,y1)为开始拖动时对象的位置 var obj_moveable=false; //开始拖动; function startDrag(obj,id) { if(event.button==1) { obj.setCapture(); obj_moveable = true; } } //拖动; function drag(id) { if(obj_moveable) { win=document.getElementById(id); win.style.left = (move_obj_x1 + event.clientX - move_obj_x0>0)?move_obj_x1 + event.clientX - move_obj_x0:0; win.style.top = (move_obj_y1 + event.clientY - move_obj_y0>0)?move_obj_y1 + event.clientY - move_obj_y0:0; } } //停止拖动; function stopDrag(obj,id) { if(obj_moveable) { obj.releaseCapture(); obj_moveable = false; } } ///关闭 function hiddenDiv(obj) { document.getElementById(obj).style.display='none'; } /* *PNG IE6下透明 */ function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. { var arVersion = navigator.appVersion.split("MSIE") var version = parseFloat(arVersion[1]) if ((version >= 5.5) && (document.body.filters)) { for(var j=0; j