var panelWidth=240;var slideSpeed=20;var slideTimer=10;var slideActive=true;var initBodyMargin=10;var pushMainContentOnSlide=true;var panelPosition=0;var slideLeftPanelObj=false;var slideInProgress=false;var startScrollPos=false;var panelVisible=false;function initSlideLeftPanel(expandOnly){if(slideInProgress)return;if(!slideLeftPanelObj){if(document.getElementById('leftPanel')){slideLeftPanelObj=document.getElementById('leftPanel');if(panelPosition==1)slideLeftPanelObj.style.width='100%'}else{slideLeftPanelObj=document.createElement('DIV');slideLeftPanelObj.id='leftPanel';slideLeftPanelObj.style.display='none';document.body.appendChild(slideLeftPanelObj)}if(panelPosition==1){slideLeftPanelObj.style.top="-"+panelWidth+'px';slideLeftPanelObj.style.left='0px';slideLeftPanelObj.style.height=panelWidth+'px'}else{slideLeftPanelObj.style.left="-"+panelWidth+'px';slideLeftPanelObj.style.top='0px';slideLeftPanelObj.style.width=panelWidth+'px'}if(!document.all||navigator.userAgent.indexOf('Opera')>=0)slideLeftPanelObj.style.position='fixed'}if(panelPosition==0){if(document.documentElement.clientHeight){slideLeftPanelObj.style.height=document.documentElement.clientHeight+'px'}else if(document.body.clientHeight){slideLeftPanelObj.style.height=document.body.clientHeight+'px'}var leftPos=slideLeftPanelObj.style.left.replace(/[^0-9\-]/g,'')/1}else{if(document.documentElement.clientWidth){slideLeftPanelObj.style.width=document.documentElement.clientWidth+'px'}else if(document.body.clientHeight){slideLeftPanelObj.style.width=document.body.clientWidth+'px'}var leftPos=slideLeftPanelObj.style.top.replace(/[^0-9\-]/g,'')/1}slideLeftPanelObj.style.display='block';if(panelPosition==1)startScrollPos=Math.max(document.body.scrollTop,document.documentElement.scrollTop);else startScrollPos=Math.max(document.body.scrollLeft,document.documentElement.scrollLeft);if(leftPos<(0+startScrollPos)){if(slideActive){slideLeftPanel(slideSpeed)}else{document.body.style.marginLeft=panelWidth+'px';slideLeftPanelObj.style.left='0px'}}else{if(expandOnly)return;if(slideActive){slideLeftPanel(slideSpeed*-1)}else{if(panelPosition==0){if(pushMainContentOnSlide)document.body.style.marginLeft=initBodyMargin+'px';slideLeftPanelObj.style.left=(panelWidth*-1)+'px'}else{if(pushMainContentOnSlide)document.body.style.marginTop=initBodyMargin+'px';slideLeftPanelObj.style.top=(panelWidth*-1)+'px'}}}if(navigator.userAgent.indexOf('MSIE')>=0&&navigator.userAgent.indexOf('Opera')<0){window.onscroll=repositionHelpDiv;repositionHelpDiv()}window.onresize=resizeLeftPanel}function resizeLeftPanel(){if(panelPosition==0){if(document.documentElement.clientHeight){slideLeftPanelObj.style.height=document.documentElement.clientHeight+'px'}else if(document.body.clientHeight){slideLeftPanelObj.style.height=document.body.clientHeight+'px'}}else{if(document.documentElement.clientWidth){slideLeftPanelObj.style.width=document.documentElement.clientWidth+'px'}else if(document.body.clientWidth){slideLeftPanelObj.style.width=document.body.clientWidth+'px'}}}function slideLeftPanel(slideSpeed){slideInProgress=true;var scrollValue=0;if(panelPosition==1)var leftPos=slideLeftPanelObj.style.top.replace(/[^0-9\-]/g,'')/1;else var leftPos=slideLeftPanelObj.style.left.replace(/[^0-9\-]/g,'')/1;leftPos+=slideSpeed;okToSlide=true;if(slideSpeed<0){if(leftPos<((panelWidth*-1)+startScrollPos)){leftPos=(panelWidth*-1)+startScrollPos;okToSlide=false}}if(slideSpeed>0){if(leftPos>(0+startScrollPos)){leftPos=0+startScrollPos;okToSlide=false}}if(panelPosition==0){slideLeftPanelObj.style.left=leftPos+startScrollPos+'px';if(pushMainContentOnSlide)document.body.style.marginLeft=leftPos-startScrollPos+panelWidth+'px'}else{slideLeftPanelObj.style.top=leftPos+'px';if(pushMainContentOnSlide)document.body.style.marginTop=leftPos-startScrollPos+panelWidth+'px'}if(okToSlide)setTimeout('slideLeftPanel('+slideSpeed+')',slideTimer);else{slideInProgress=false;if(slideSpeed>0)panelVisible=true;else panelVisible=false}}function repositionHelpDiv(){if(panelPosition==0){var maxValue=Math.max(document.body.scrollTop,document.documentElement.scrollTop);slideLeftPanelObj.style.top=maxValue}else{var maxValue=Math.max(document.body.scrollLeft,document.documentElement.scrollLeft);slideLeftPanelObj.style.left=maxValue;var maxTop=Math.max(document.body.scrollTop,document.documentElement.scrollTop);if(!slideInProgress)slideLeftPanelObj.style.top=(maxTop-(panelVisible?0:panelWidth))+'px'}}function cancelEvent(){return false}function keyboardShowLeftPanel(){initSlideLeftPanel();return false}function leftPanelKeyboardEvent(e){if(document.all)return;if(e.keyCode==112){initSlideLeftPanel();return false}}function NCCE_QM(a){var a1="业务",a2="技术";if (a==1){a1="業務";a2="技術"}var qp="<a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=9bcc98ba4314465acd383c2d6c019277526d26339b094cc4f71da1fc056d4478\"; target=_blank; onclick=\"var tempSrc=\'http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=9bcc98ba4314465acd383c2d6c019277526d26339b094cc4f71da1fc056d4478\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\" rel=\"nofollow\"><img border=\"0\" SRC=\'http://wp.qq.com/img/status/45_phone_online.gif\' alt=\"业务咨询\" width=21 height=21 align=absmiddle> QQ:"+a1+"</a> <a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=35a79aa753a9c354755b09cba0bf0c889528544468000e3c5bd6b6c70ce00681\"; target=_blank; onclick=\"var tempSrc=\'http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=35a79aa753a9c354755b09cba0bf0c889528544468000e3c5bd6b6c70ce00681\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\" rel=\"nofollow\"><img border=\"0\" SRC=\'http://wp.qq.com/img/status/45_phone_online.gif\' alt=\"技术支持\" width=21 height=21 align=absmiddle> QQ:"+a2+"</a> <a href=\"http://www.ncce.cn/LianXiNCCE/zaixianliaotianzixun/#MSN_NCCE_CHAT\"><img src=\"http://img.ncce.cn/Public/images/msn.gif\" width=21 height=21 align=absmiddle alt=\"业务咨询\"> MSN:"+a1+"</a>";$get('J_NCCE_QQ').innerHTML=qp;$get('J_NC_CE_QQ').innerHTML=qp}function setLeftPanelContent(text){document.getElementById('leftPanelContent').innerHTML=text;initSlideLeftPanel(true)}if(!document.all)document.documentElement.onkeypress=leftPanelKeyboardEvent;document.documentElement.onhelp=keyboardShowLeftPanel;function NCCE_H_B(t){t.className='b5o2'}function NCCE_H_B_(t){t.className='border-5-o2'}function NCCE_H_BI_(t){t.className='border-5-o'}function $get(id){return document.getElementById(id)}function Jaychan_ChangeNav(i){$get('nccenav-'+i).className='active'}function setY(){$get('Ncce-Language').className='';}function setN(){$get('Ncce-Language').className='dn';}function a_a(){document.oncontextmenu=new Function("return false;");}var J_C="/public/css/";var n_=new Date().getTime();a_a();document.domain="ncce.cn";function document.ondragstart(){return false}window.onfocus=a_a
