﻿(function($){$(document).ready(function(){window.$_GET={};document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g,function(){function decode(s){return decodeURIComponent(s).replace(/\+/g," ")};$_GET[decode(arguments[1])]=decode(arguments[2])});if($.fn.bgiframe){$(".subNav").bgiframe()};$("#nav li").hover(function(){$(this).addClass("over")},function(){$(this).removeClass("over")});if($.ui){if($.fn.accordiontab){$(".accordionTab").accordiontab()};$(".blueTab").tabs();$(".tabVertical").tabs().addClass('ui-tabs-vertical ui-helper-clearfix');$(".tabVertical li").removeClass('ui-corner-top').addClass('ui-corner-left');var normalTabs=$(".tabsNormal").tabs({event:"mouseover"});normalTabs.each(function(){var normalTab=$(this);if(!normalTab||!normalTab.hasClass("autoShow")){return};var autoShowTimer=setInterval(autoShow,5000);normalTab.find(".ui-tabs-nav li a").hover(function(){clearInterval(autoShowTimer)},function(){autoShowTimer=setInterval(autoShow,5000)});function autoShow(){var selected=normalTab.tabs("option","selected");var length=normalTab.tabs("length");if(++selected>=length){selected=0};normalTab.tabs("select",selected)}})}})})(jQuery);function addPageToBookmark(document_id,type_sign){var cur_title=document.title;var cur_url=window.location;if(window.sidebar){window.sidebar.addPanel(cur_title,cur_url,"")}else if(document.all){window.external.AddFavorite(cur_url,cur_title);}else if(window.opera&&window.print){return true};insert(document_id,type_sign)};function addBookmark(title,url){if(window.sidebar){window.sidebar.addPanel(title,url,"")}else if(document.all){window.external.AddFavorite(url,title);}else if(window.opera&&window.print){return true}};function copyToClipBoard(displayMsg,clipbordMsg,document_id,type_sign){var clipboardContent=clipbordMsg+"（";clipboardContent+=window.location+"?origin=recommend）";window.clipboardData.setData("Text",clipboardContent);popWindow(displayMsg);insert(document_id,type_sign)};function popWindow(text){document.getElementById('msgbox').style.top=document.documentElement.scrollTop+300;document.getElementById("msgContent").innerHTML=text;document.getElementById('msgbox').style.display='block'};function closeWindow(){document.getElementById('msgbox').style.display='none'};var xmlHttp=false;function createXMLHttpRequest(){try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(e2){xmlHttp=false}};if(!xmlHttp&&typeof XMLHttpRequest!='undefined'){xmlHttp=new XMLHttpRequest()}};function insert(document_id,type_sign){createXMLHttpRequest();var url="/statistics/pageCount.jsp?document_id="+document_id+"&type_sign="+type_sign;if(xmlHttp){xmlHttp.open("post",url,true);xmlHttp.onreadystatechange=callback;xmlHttp.send(null)}};function callback(){if(xmlHttp.readyState==4){if(xmlHttp.status==200){}}}
