var FrontPublic_slideShow01=function(){this.ce_slide_effect_style=null;this.ce_slide_index=0;this.ce_slide_pic_temple=null;this.ce_slide_open_type=null;this.ce_slide_show_title=null;this.ce_slide_show_content=null;this.ce_slide_tag_style=null;this.ce_slide_recursion_times=null;this.ce_slide_id="";this.ce_requestDataFilePath="";this.ce_slide_settimeout=null;this.ce_slide_autoPlay=null;this.ce_slide_totle=null;this.ce_slide_img_width=null;this.ce_slide_img_height=null;this.ce_slide_thumbnail_width=null;this.ce_slide_thumbnail_height=null;this.ce_slide_tag_text_width=16;this.ce_slide_tag_text_height=16;this.ce_slide_info_mark_height=60;this.ce_slide_thumbnail_max_width=0;this.ce_slide_thumbnail_show_width=0;this.ce_slide_thumbnail_pages=1;this.ce_slide_thumbnail_groups=0;this.ce_slide_thumbnail_tmp=0;this.ce_slide_contes_obj=Object();this.ce_slide_imgs=new Array();this.ce_slide_imgs_hrefs=new Array();this.ce_slide_thumbnails=new Array();this.ce_slide_titles=new Array();this.ce_slide_memos=new Array();this.ce_slide_frame=null;this.ce_slide_contente=null;this.ce_slide_pic=null;this.ce_slide_tag_thumbnail=null;this.ce_slide_thumbnail_list=null;this.ce_slide_thumbnail_arrowhead=null;this.ce_slide_tag_text=null;this.ce_slide_info_mark=null;this.ce_slide_info=null;this.ce_slide_info_title=null;this.ce_slide_text_memo=null;this.ce_slide_arrowhead_left=null;this.ce_slide_arrowhead_right=null;this.FrontPublic_slideShow01_tempSetTimeout=null;this.ce_slide_init=function(setJsonData,querySegment,tempData){window.clearTimeout(this.FrontPublic_slideShow01_tempSetTimeout);if(setJsonData){var setJsonData=this.ce_slide_strToJson(setJsonData);this.ce_slide_open_type=setJsonData.openType;this.ce_slide_tag_style=setJsonData.showType;this.ce_slide_recursion_times=setJsonData.changeTimes;this.ce_slide_show_title=setJsonData.isShowSlideTitle;this.ce_slide_show_content=setJsonData.isShowSlideContent;this.ce_requestDataFilePath=setJsonData.requestDataFilePath;this.ce_slide_id=this.ce_requestDataFilePath.replace("/comp-FrontSlide_listJson01","FrontPublic_slideShow01");var d=new Date();var t=""+d.getFullYear()+d.getMonth()+d.getDate();this.ce_slide_contes_obj=tempData;this.ce_slide_frame=$("#"+this.ce_slide_id+"");this.ce_slide_contente=$("#"+this.ce_slide_id+" .slide-contente");this.ce_slide_pic=$("#"+this.ce_slide_id+" .slide-pic ul");this.ce_slide_tag_thumbnail=$("#"+this.ce_slide_id+" .slide-tag-thumbnail ul");this.ce_slide_thumbnail_list=$("#"+this.ce_slide_id+" .thumbnail-list");this.ce_slide_thumbnail_arrowhead=$("#"+this.ce_slide_id+" .slide-tag-thumbnail .arrowhead");this.ce_slide_tag_text=$("#"+this.ce_slide_id+" .slide-tag-text ul");this.ce_slide_info_mark=$("#"+this.ce_slide_id+" .slide-info-mark");this.ce_slide_info=$("#"+this.ce_slide_id+" .slide-info");this.ce_slide_info_title=$("#"+this.ce_slide_id+" .slide-info h3");this.ce_slide_text_memo=$("#"+this.ce_slide_id+" .slide-text");this.ce_slide_arrowhead_left=$("#"+this.ce_slide_id+" .arrowhead-left");this.ce_slide_arrowhead_right=$("#"+this.ce_slide_id+" .arrowhead-right");this.ce_slide_totle=this.ce_slide_contes_obj.contents.length;this.ce_slide_contents_init();this.ce_slide_tag_init();this.ce_slide_img_init();this.ce_slide_run();var thise=this;this.ce_slide_pic.hover(function(event){window.clearTimeout(thise.FrontPublic_slideShow01_tempSetTimeout)},function(event){thise.ce_slide_loop()})}};this.ce_slide_contents_init=function(){this.ce_slide_effect_style=this.ce_slide_contes_obj.setData.changeStyle;this.ce_slide_autoPlay=this.ce_slide_contes_obj.setData.isPlaysSet;for(var i=0;i"+(i+1)+"")}else{this.ce_slide_tag_text.append("
  • "+(i+1)+"
  • ")}}};this.ce_slide_tag_thumbnail_init=function(){if(this.ce_slide_thumbnails.length){for(var i=0;i")}}this.ce_slide_thumbnail_max_width+=parseInt(this.ce_slide_tag_thumbnail.find("li").width());this.ce_slide_thumbnail_max_width+=parseInt(this.ce_slide_tag_thumbnail.find("li").css("margin-left").replace("px",""));this.ce_slide_thumbnail_max_width+=parseInt(this.ce_slide_tag_thumbnail.find("li").css("margin-right").replace("px",""));this.ce_slide_thumbnail_max_width+=parseInt(this.ce_slide_tag_thumbnail.find("li").css("padding-left").replace("px",""));this.ce_slide_thumbnail_max_width+=parseInt(this.ce_slide_tag_thumbnail.find("li").css("padding-right").replace("px",""));this.ce_slide_thumbnail_max_width=parseInt(this.ce_slide_thumbnail_max_width*this.ce_slide_totle);if(parseInt(this.ce_slide_frame.width())0)?parseInt(this.ce_slide_thumbnail_groups)+1:this.ce_slide_thumbnail_groups;this.ce_slide_arrowhead_left.addClass("no-arrowhead")}else{var li_width=parseInt(this.ce_slide_frame.width())/parseInt(this.ce_slide_totle);li_width=li_width/parseInt(this.ce_slide_frame.width())*100;this.ce_slide_tag_thumbnail.find("li").attr("style","padding:0px;margin:0px;width:"+li_width+"%");this.ce_slide_tag_thumbnail.width(parseInt(this.ce_slide_frame.width()));this.ce_slide_tag_thumbnail.parent().width(parseInt(this.ce_slide_frame.width()));this.ce_slide_thumbnail_arrowhead.attr("style","display:none")}};this.ce_slide_tag_init=function(){switch(parseInt(this.ce_slide_tag_style)){case 1:this.ce_slide_tag_text.parent().css("display","block");this.ce_slide_tag_text_init();break;case 0:this.ce_slide_tag_thumbnail.parent().parent().css("display","block");this.ce_slide_tag_thumbnail_init();break}};this.ce_slide_tag_changeStyle=function(){var nowObj=null;if(this.ce_slide_tag_text.length){this.ce_slide_tag_text.find("li").removeClass();nowObj=this.ce_slide_tag_text.find("li:eq("+this.ce_slide_index+")");nowObj.addClass("slide-hover")}if(this.ce_slide_thumbnails.length){this.ce_slide_tag_thumbnail.find("li").removeClass();nowObj=this.ce_slide_tag_thumbnail.find("li:eq("+this.ce_slide_index+")");nowObj.addClass("slide-hover")}};this.ce_slide_img_init=function(){this.ce_slide_pic.html("");this.ce_slide_contente.css("height",this.ce_slide_img_height);for(var i=0;i0){this.ce_slide_pic.append("
  • ")}else{if(parseInt(this.ce_slide_imgs_hrefs[i].length)<=0){this.ce_slide_pic.append("
  • ")}}}};this.ce_slide_effect_init=function(style){switch(style){case 1:if(!this.ce_slide_pic_temple){this.ce_slide_pic_temple=this.ce_slide_pic.find("li:eq("+(this.ce_slide_imgs.length-1)+")")}this.ce_slide_effect_gradual();break;case 2:this.ce_slide_pic_temple=(this.ce_slide_pic_temple)?this.ce_slide_pic_temple:1;this.ce_slide_pic_temple=(this.ce_slide_index==null)?this.ce_slide_pic_temple:(this.ce_slide_index+1);this.ce_slide_effect_aspect_x("right");break;case 3:this.ce_slide_pic_temple=(this.ce_slide_pic_temple)?this.ce_slide_pic_temple:1;this.ce_slide_pic_temple=(this.ce_slide_index==null)?this.ce_slide_pic_temple:(this.ce_slide_index+1);this.ce_slide_effect_aspect_x("left");break;case 4:this.ce_slide_pic_temple=(this.ce_slide_pic_temple)?this.ce_slide_pic_temple:1;this.ce_slide_pic_temple=(this.ce_slide_index==null)?this.ce_slide_pic_temple:(this.ce_slide_index+1);this.ce_slide_effect_aspect_y("bottom");break;case 5:this.ce_slide_pic_temple=(this.ce_slide_pic_temple)?this.ce_slide_pic_temple:1;this.ce_slide_pic_temple=(this.ce_slide_index==null)?this.ce_slide_pic_temple:(this.ce_slide_index+1);this.ce_slide_effect_aspect_y("top");break}};this.ce_slide_effect_aspect_x=function(aspect){var aspect_float;var slide_pic_width=this.ce_slide_frame.width()*this.ce_slide_imgs.length;var now_position;if(aspect=="left"){aspect_float="right";now_position=-(slide_pic_width-this.ce_slide_frame.width()*this.ce_slide_pic_temple)}if(aspect=="right"){aspect_float="left";now_position=(this.ce_slide_pic_temple==1)?0:-(this.ce_slide_frame.width()*(this.ce_slide_pic_temple-1))}this.ce_slide_pic.css("position","absolute");this.ce_slide_pic.css("width",slide_pic_width);this.ce_slide_pic.animate({left:now_position},"slow");this.ce_slide_pic.find("li").css("float",aspect_float);this.ce_slide_pic_temple=(this.ce_slide_pic_temple>=this.ce_slide_imgs.length)?1:this.ce_slide_pic_temple+1};this.ce_slide_effect_aspect_y=function(aspect){if(aspect=="top"){this.ce_slide_pic.html("");this.ce_slide_pic.css("position","absolute");for(var i=this.ce_slide_imgs.length-1;i>=0;i--){if(parseInt(this.ce_slide_imgs_hrefs[i].length)){this.ce_slide_pic.append("
  • ")}else{this.ce_slide_pic.append("
  • ")}}var now_position=-(this.ce_slide_pic.height()-this.ce_slide_pic.find("li").height()*this.ce_slide_pic_temple);this.ce_slide_pic.animate({top:now_position},"slow")}if(aspect=="bottom"){this.ce_slide_pic.css("position","absolute");var now_position=(this.ce_slide_pic_temple==1)?0:-(this.ce_slide_pic.find("li").height()*(this.ce_slide_pic_temple-1));this.ce_slide_pic.animate({top:now_position},"slow")}this.ce_slide_pic_temple=(this.ce_slide_pic_temple>=this.ce_slide_imgs.length)?1:this.ce_slide_pic_temple+1};this.ce_slide_effect_gradual=function(){this.ce_slide_pic.find("li").css("position","absolute");this.ce_slide_pic.find("li").css("top","0");this.ce_slide_pic.find("li").css("left","0");this.ce_slide_pic.find("li").css("display","none");var nowOBJ=this.ce_slide_pic.find("li:eq("+this.ce_slide_index+")");nowOBJ.fadeIn("slow")};this.ce_slide_show=function(){this.ce_slide_effect_init(this.ce_slide_effect_style);this.ce_slide_contente.width(this.ce_slide_frame.width());this.ce_slide_pic.find("img").width(this.ce_slide_frame.width());this.ce_slide_pic.find("img").height(this.ce_slide_contente.height());this.ce_slide_pic.parent().width(this.ce_slide_frame.width());this.ce_slide_info_title.html("");this.ce_slide_text_memo.html("");this.ce_slide_tag_changeStyle();if(parseInt(this.ce_slide_show_title)){this.ce_slide_info_title.html(this.ce_slide_titles[this.ce_slide_index])}if(parseInt(this.ce_slide_show_content)){this.ce_slide_text_memo.html(this.ce_slide_memos[this.ce_slide_index])}this.ce_slide_index=(this.ce_slide_index>=(this.ce_slide_imgs.length-1))?0:(this.ce_slide_index+1)};this.ce_slide_loop=function(){this.ce_slide_show();var thise=this;if(this.ce_slide_autoPlay){thise.FrontPublic_slideShow01_tempSetTimeout=setTimeout(function(){thise.ce_slide_loop()},thise.ce_slide_recursion_times)}};this.ce_slide_hover_init=function(obj,thise){obj.click(function(){thise.ce_slide_index=obj.index(this);thise.ce_slide_show();if(this.ce_slide_autoPlay){window.clearTimeout(thise.FrontPublic_slideShow01_tempSetTimeout);thise=setTimeout(function(){thise.ce_slide_loop()},thise.ce_slide_recursion_times)}})};this.ce_slide_arrowhead_click_init=function(obj,thise){obj.click(function(){var arrowhead=$(this).attr("class").split(" ");switch(arrowhead[0].replace(/(^\s*)|(\s*$)/g,"")){case"arrowhead-left":if(thise.ce_slide_thumbnail_pages>1&&thise.ce_slide_thumbnail_pages!=1){thise.ce_slide_thumbnail_tmp+=thise.ce_slide_thumbnail_show_width;thise.ce_slide_tag_thumbnail.animate({left:thise.ce_slide_thumbnail_tmp},"slow");thise.ce_slide_thumbnail_pages=((thise.ce_slide_thumbnail_pages-1)<0)?0:(thise.ce_slide_thumbnail_pages-1)}if(thise.ce_slide_thumbnail_pages<=1){$(this).addClass("no-arrowhead");thise.ce_slide_arrowhead_right.removeClass("no-arrowhead")}if(thise.ce_slide_thumbnail_pages=thise.ce_slide_thumbnail_groups){$(this).addClass("no-arrowhead");thise.ce_slide_arrowhead_left.removeClass("no-arrowhead")}if(thise.ce_slide_thumbnail_pages>1&&thise.ce_slide_thumbnail_pages!=1){thise.ce_slide_arrowhead_left.removeClass("no-arrowhead")}break}})};this.ce_slide_run=function(){var arrowhead_h;this.ce_slide_hover_init(this.ce_slide_tag_thumbnail.find("li"),this);this.ce_slide_hover_init(this.ce_slide_tag_text.find("li"),this);this.ce_slide_arrowhead_click_init(this.ce_slide_tag_thumbnail.parent().parent().find(".arrowhead"),this);var thise=this;this.ce_slide_tag_thumbnail.parent().parent().find(".arrowhead").hover(function(){arrowhead_h=$(this).attr("class").split(" ");switch(arrowhead_h[0].replace(/(^\s*)|(\s*$)/g,"")){case"arrowhead-left":if(thise.ce_slide_thumbnail_pages>1){$(this).addClass("arrowhead-left-hover")}break;case"arrowhead-right":if(thise.ce_slide_thumbnail_pages0.5){this.obj.style.left=Math.floor(this.x0+=e)+"px"}var d=(this.N0.5){this.v=d;this.cpt++}else{if(!this.pro){this.pro=true;var g=new Date()-this.start;if(this.cpt>1){f.S=Math.max(2,(28/(g/this.cpt))*f.S0)}}}if(!this.loaded){if(this.img.complete){this.img.style.visibility="visible";this.loaded=true}}},over:function(){this.parent.resize();this.parent.over=true;a(this.parent.view.img,this.parent.oP);this.parent.view=this;this.start=new Date();this.cpt=0;this.pro=false;this.calc();a(this.img,100)}};return{init:function(d){this.s1=new b("slider",d,1.84/3,1/3.2,70);setInterval("FrontPublic_slideShow02.s1.run();",d)}}}();var FrontComContent_list01={alternate:function(A){$("#"+A+" h5").each(function(B){$(this).toggle(function(){$("#"+A+"UL"+B).hide();$(this).find(":first-child").attr("src","../../images/comcontent/2.jpg")},function(){$("#"+A+"UL"+B).show();$(this).find(":first-child").attr("src","../../images/comcontent/1.jpg")})})},getUrlParam:function(C){var B=new RegExp("(^|&)"+C+"=([^&]*)(&|$)");if(C=="c"){var D=window.location.toString().split("c=");if(D!=null&&D.length>=2){return D[1].split("&")[0]}}var A=window.location.toString().match(B);if(A!=null){return unescape(A[2])}return null},d1extContainCategoryAlternate:function(B){var F=this.getUrlParam(B+"CurrentIds");var A="3";if(F==null){F=this.getUrlParam(B+"ContId");A="2";if(F==null){F=this.getUrlParam("c");A="1"}}var D="";var E="";if(F!=null){if(A=="1"){D=this.getUrlParam("i");if(D!=null){D=D.replace(".html","")}E="comContent_"+F}else{D=this.getUrlParam("comContentId");if(D!=null){D=D.replace(".html","")}var C=F.indexOf("__");E="comContent_"+F.substring(0,C)}$("#"+B+" #comContent2_"+D).addClass("current")}else{E=$("#"+B+" .menu-first ul li:first a:first").attr("id");D=$("#"+B+" .menu-first ul li:first ul li:first a").attr("id");$("#"+B+" #"+D).addClass("current")}$("#"+B+" #"+E).addClass("current");$("#"+B+" #"+E+"_second").show();$("#"+B+" .menu-first ul li a.menu-text1").click(function(){if($(this).attr("id")==E){if(!$(this).parent().hasClass("menu-none")){if($("#"+B+" #"+E+"_second").is(":hidden")){$(this).removeClass("current2");$(this).addClass("current");$("#"+B+" #"+E+"_second").show()}else{$(this).removeClass("current");$(this).addClass("current2");$("#"+B+" #"+E+"_second").hide()}}}else{$("#"+B+" #"+E).removeClass("current current2");if(!$("#"+B+" #"+E).parent().hasClass("menu-none")){$("#"+B+" #"+E+"_second").hide()}$(this).addClass("current");E=$(this).attr("id");if(!$(this).parent().hasClass("menu-none")){if(!$("#"+B+" #"+E+"_second").find("a").hasClass("current")){$("#"+B+" #"+E+"_second").find("a:first").addClass("current")}$("#"+B+" #"+E+"_second").show()}}});$("#"+B+" .menu-second ul li a.menu-text2").click(function(){$(this).parent().parent().find("a").removeClass("current");$(this).addClass("current")})},d1extNoContainCategoryAlternate:function(A){var B=this.getUrlParam("comContentId");if(B==null){B=this.getUrlParam("i");if(B!=null){B=B.replace(".html","")}}else{B=B.replace(".html","")}var C="0";if(B!=null&&(B.toLowerCase().indexOf("alert")!=-1||B.toLowerCase().indexOf("onload")!=-1)){C="1"}if(B==null||C=="1"){$("#"+A+" .menu-first ul li:first a").addClass("current")}else{$("#"+A+" #comContent_"+B).addClass("current");$("#"+A+" #comContent2_"+B).addClass("current")}$("#"+A+" .menu-first ul li a.menu-text1").click(function(){$("#"+A+" .menu-first ul li a.menu-text1").removeClass("current");$(this).addClass("current")})}};var FrontLinks_list01={setClickTimes:function(a){$.post("/FrontLinks.do","method=setClickTimes&linkId="+a)}};