var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); $(function(){ totalInit(); MaskPreventDefault(); $(window).resize(function(){ minHeight(); }); }); function totalInit() { minHeight(); Prev(); } function minHeight() { var $Map = $("#dituContent"); var WinH = $(window).height(); $Map.css("height",WinH-50); } function LazyLoad() { var $Obj = $(".LazyLoad"); $Obj.lazyload({effect: "fadeIn"}); } function Prev() { var $btnPrev = $("#Hea_FixTop").children("a").eq(0); $btnPrev.click(function(){ history.go(-1); }); } function insideSearchW() { var $inpKeyword = $(".Div_InsideSearch").find("input"); var Value = 110; inputW($inpKeyword,Value); $(window).resize(function(){ inputW($inpKeyword,Value); }); } function insideProductsTitle() { var $inpKeyword = $("#Div_Accordion").find("a"); var Value = 130; inputW($inpKeyword,Value); $(window).resize(function(){ inputW($inpKeyword,Value); }); } function inputW(aim,Value) { var WinW = $(window).width(); var InpW; /输入框宽度 if(WinW > 720) { WinW = 720; } InpW = (WinW - Value) + "px"; aim.css("width",InpW); } function MaskPreventDefault() { var $norMask = $(".Div_norMask"); var animateTime = 250; $norMask.bind("touchmove",touchMove); function touchMove(touchEvent) { touchEvent.preventDefault(); } $norMask.click(function(){ $norMask.stop().fadeOut(animateTime); }); } function disFunction() { var $disContainer = $("#Div_disContainer"); var $btnMenu = $("#Hea_FixTop").children("a").eq(1); var $FunctionMenu = $("#Ul_disFunction"); var $ProductShare = $("#DIV_ProductShare"); var $btnShareMenu = $FunctionMenu.children("li").eq(0); var $btnTextMenu = $FunctionMenu.children("li").eq(1); var $botShareMenu = $("#Foo_fooMenu").children("a").eq(2); var $norMask = $(".Div_norMask"); var $ShareMenu = $(".Div_ShareMenu"); var $actElement = $ShareMenu.children("div"); var $TextSizeMenu = $(".Div_TextSizeMenu"); var animateTime = 250; $norMask.hide(); /隐藏字号菜单 $disContainer.bind("touchstart",FunctionMenuHide); function FunctionMenuHide() { $FunctionMenu.fadeOut(animateTime); } $btnShareMenu.click(function(){ $ShareMenu.stop().fadeIn(animateTime); $actElement.addClass("Act"); }); $ProductShare.click(function(){ $ShareMenu.stop().fadeIn(animateTime); $actElement.addClass("Act"); }); $botShareMenu.click(function(){ $ShareMenu.stop().fadeIn(animateTime); $actElement.addClass("Act"); }); $norMask.click(function(){ $norMask.stop().fadeOut(animateTime); $actElement.removeClass("Act"); }); $btnMenu.click(function(){ /按图标出现菜单 $FunctionMenu.stop().fadeToggle(animateTime); }); $FunctionMenu.click(function(){ /按选项退出菜单 $FunctionMenu.stop().fadeOut(animateTime); }); $btnTextMenu.click(function(){ $TextSizeMenu.fadeIn(animateTime); }); choTextSize($TextSizeMenu,animateTime); /传递参数 } function choTextSize(TextMenu,animateTime) { var $TextSizeItem = TextMenu.find("li"); var $AimArea = $(".Art_norArticle"); var OptItem; var SizeTextArray = new Array("21px","19px","17px","15px"); $TextSizeItem.click(function(){ OptItem = $(this).index(); $TextSizeItem.removeClass("Act"); $(this).addClass("Act"); $AimArea.css("font-size",SizeTextArray[OptItem]); TextMenu.fadeOut(animateTime); }); } function Accordion() { var $Accordion = $("#Div_Accordion"); var $ColTitle = $Accordion.find("h4"); $ColTitle.click(function(){ $(this).next(".Div_proColOpt").stop().slideToggle(); $ColTitle.removeClass("Act"); $(this).addClass("Act"); }); } function colMessage() { var $GoMessage = $("#A_GoMessage"); var $Feedback = $("#Div_Feedback"); var $StopChildren = $Feedback.find("*"); var $norMask = $(".Div_norMask"); var animateTime = 250; $norMask.hide(); $GoMessage.click(function(){ $Feedback.fadeIn(animateTime); }); $StopChildren.click(function(event){ event.stopPropagation(); }); } function switchMenu() { var $Menu = $("#Asi_AsideMenu"); var $OpenSlide = $("#A_SwiSlide"); var $CloseSlide = $("#Div_MenuMask"); var $SubMenu = $Menu.children("ul").children("li"); var ShowMenu = "Asi_ShowMenu"; $OpenSlide.click(function () { $Menu.toggleClass(ShowMenu); $CloseSlide.fadeToggle(); }); $CloseSlide.click(function () { $Menu.removeClass(ShowMenu); $CloseSlide.fadeOut(); }); $CloseSlide.bind("touchmove",touchMove); function touchMove(touchEvent) { touchEvent.preventDefault(); } $SubMenu.click(function(){ $(this).next("ul").slideToggle(function(){ dragMove(); }); }); } function dragMove() { var $Menu = $("#Asi_AsideMenu"); var $MenuContent = $Menu.children("ul"); var WinH,MenuH,DragH; var objY,touY,newY; $Menu.bind("touchstart", Start); $Menu.bind("touchmove", Move); function Start(e) { WinH = $(window).height(); MenuH = $MenuContent.height(); DragH = MenuH - WinH; objY = parseInt($Menu.css("top")); touY = e.originalEvent.targetTouches[0].pageY; } function Move(e) { e.preventDefault(); if(DragH > -100) { newY = objY + e.originalEvent.targetTouches[0].pageY - touY; if (newY <= -DragH - 150){ newY = -DragH - 150; } else if (newY >= 0){ newY = 0; } $Menu.css("top", newY); } } } function cancelDownLoad() { var $DownLoadTips = $("#Div_DownLoadTips"); var $LinkDownLoad = $DownLoadTips.children("a"); var $SkipTips = $DownLoadTips.children("span"); var $DownLoadApp = $("#A_DownLoadApp"); $DownLoadTips.bind("touchmove",touchMove); if(sessionStorage.KeepNum == null && navigator.userAgent.toLowerCase().indexOf("kenfor")==-1) { $DownLoadTips.show(); } if(navigator.userAgent.toLowerCase().indexOf("kenfor")!=-1) { $DownLoadApp.hide(); } $LinkDownLoad.click(function(){ sessionStorage.KeepNum= 1; }); $SkipTips.click(function(){ $DownLoadTips.hide(); sessionStorage.KeepNum= 1; }); function touchMove(e) { e.preventDefault(); } } function MarkSubmitState() { var $Submit = $("#INP_Submit"); var SubmitState = "false"; $Submit.click(function(){ sessionStorage.SubmitState = "true"; }); } function Submitted() { var $Submitted = $(".Div_Submitted"); var Time = 500; if( sessionStorage.SubmitState != null && sessionStorage.SubmitState == "true" ) { $Submitted.fadeIn(Time,function(){ $(this).delay(Time*3).fadeOut(Time,function(){ sessionStorage.SubmitState = false; }); }); } } } /* FILE ARCHIVED ON 22:42:59 Jul 11, 2016 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 22:24:30 Apr 09, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.77 exclusion.robots: 0.05 exclusion.robots.policy: 0.035 esindex: 0.014 cdx.remote: 8.603 LoadShardBlock: 319.829 (3) PetaboxLoader3.datanode: 129.307 (4) PetaboxLoader3.resolve: 373.859 (2) load_resource: 290.74 */