var FrontColumns_navigation01={currentColumn:0,isShowSecondColumn:"",compId:"",addClickEvent:function(){$(".navMenu li").each(function(a){$(this).bind("click",function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).removeClass("navMenubg"+FrontColumns_navigation01.currentColumn);$(this).addClass("navMenubg"+a);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).show()}FrontColumns_navigation01.currentColumn=a})})},addMouseOverEvent:function(){$(".navMenu li").each(function(a){$(this).bind("mouseover",function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).removeClass("navMenubg"+FrontColumns_navigation01.currentColumn);$(this).addClass("navMenubg"+a);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).show()}})})},addMouseOutEvent:function(){$(".navMenu li").each(function(a){$(this).bind("mouseout",function(){$(this).removeClass("navMenubg"+a);$("#columns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).addClass("navMenubg"+FrontColumns_navigation01.currentColumn);if(FrontColumns_navigation01.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+a).hide();$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+FrontColumns_navigation01.currentColumn).show()}})})},setSelectedColumn:function(a){var b=this.getUrlParam(a);if(b!=null){this.currentColumn=b}},setFocusColumn:function(){$("#columns-"+FrontColumns_navigation01.compId+"-"+this.currentColumn).addClass("navMenubg"+this.currentColumn);if(this.isShowSecondColumn.length>0){$("#secondColumns-"+FrontColumns_navigation01.compId+"-"+this.currentColumn).show()}},getUrlParam:function(a){var b=new RegExp("(^|&)"+a+"=([^&]*)(&|$)");var c=window.location.toString().match(b);if(c!=null){return unescape(c[2])}return null},init:function(c,b,a){this.compId=c;this.isShowSecondColumn=a;this.setSelectedColumn(c+"-"+b);this.addClickEvent();this.addMouseOverEvent();this.addMouseOutEvent();this.setFocusColumn()},extEvents:function(d,a){var b=this.getUrlParam(d+"FirstColumnId");var c=this.getUrlParam(d+"SecondColumnId");if(b==null){b=$("#"+d+" ul.nav-first .first").attr("id")}else{b="columns"+b}if(c==null){c=$("#"+d+" #"+b+" .nav-second .nav-sec-main ul li:first a").attr("id")}else{c="cols"+c}$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+c).addClass("current-a");$("#"+d+" #"+b+"Sub").show();if(a){$("#"+d+" ul.nav-first li[id^='columns']").hover(function(){if($(this).attr("id")!=b){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();$(this).addClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").show();if(!$(this).find(".nav-second .nav-sec-main a").hasClass("current-a")){$(this).find(".nav-second .nav-sec-main a:first").addClass("current-a")}}},function(){$(this).removeClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").hide();$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+b+"Sub").show()});$("#"+d+" ul.nav-first li[id^='columns']").click(function(){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();$(this).addClass("current");$("#"+d+" #"+$(this).attr("id")+"Sub").show();b=$("#"+d+" ul.nav-first li.current").attr("id")});$("#"+d+" ul.nav-first .nav-second .nav-sec-main a").click(function(){$(this).parent().parent().find("a").removeClass("current-a");$(this).addClass("current-a");var e=$(this).parents(".nav-second").attr("id");if(e!==b+"Sub"){$("#"+d+" #"+b).removeClass("current");$("#"+d+" #"+b+"Sub").hide();b=e.substring(0,e.length-3);$("#"+d+" #"+b).addClass("current");$("#"+d+" #"+e).show()}})}else{$("#"+d+" ul.nav-first li[id^='columns']").hover(function(){if($(this).attr("id")!=b){$("#"+d+" #"+b).removeClass("current");$(this).addClass("current")}},function(){$(this).removeClass("current");$("#"+d+" #"+b).addClass("current")});$("#"+d+" ul.nav-first li[id^='columns']").click(function(){$("#"+d+" #"+b).removeClass("current");$(this).addClass("current");b=$("#"+d+" ul.nav-first li.current").attr("id")})}},ddlevelsmenu:{enableshim:true,arrowpointers:{downarrow:["../images/columns/arrow-down.gif",11,7],rightarrow:["../images/columns/arrow-right.gif",12,12],showarrow:{toplevel:true,sublevel:true}},hideinterval:200,effects:{enableswipe:true,enablefade:true,duration:200},httpsiframesrc:"blank.htm",topmenuids:[],topitems:{},subuls:{},lastactivesubul:{},topitemsindex:-1,ulindex:-1,hidetimers:{},shimadded:false,nonFF:!/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),getoffset:function(b,a){return(b.offsetParent)?b[a]+this.getoffset(b.offsetParent,a):b[a]},getoffsetof:function(a){a._offsets={left:this.getoffset(a,"offsetLeft"),top:this.getoffset(a,"offsetTop")}},getwindowsize:function(){this.docwidth=window.innerWidth?window.innerWidth-10:this.standardbody.clientWidth-10;this.docheight=window.innerHeight?window.innerHeight-15:this.standardbody.clientHeight-18},gettopitemsdimensions:function(){for(var a=0;a0){this.shimmy.topshim.style.left=f+"px";this.shimmy.topshim.style.top=e+"px";this.shimmy.topshim.style.width="99%";this.shimmy.topshim.style.height=d+"px"}if(b>0){this.shimmy.bottomshim.style.left=f+"px";this.shimmy.bottomshim.style.top=g._offsets.top+g._dimensions.h+"px";this.shimmy.bottomshim.style.width="99%";this.shimmy.bottomshim.style.height=b+"px"}}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0;this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(d,f,c,e,a,b){f._master=d;f._pos=e;f._istoplevel=a;if(a){this.addEvent(f,function(g){FrontColumns_navigation01.ddlevelsmenu.hidemenu(FrontColumns_navigation01.ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},"click")}this.subuls[d][e]=c;f._dimensions={w:f.offsetWidth,h:f.offsetHeight,submenuw:c.offsetWidth,submenuh:c.offsetHeight};this.getoffsetof(f);c.style.visibility="hidden";this.addEvent(f,function(j){if(!FrontColumns_navigation01.ddlevelsmenu.isContained(this,j)){var h=FrontColumns_navigation01.ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){FrontColumns_navigation01.ddlevelsmenu.css(this,"selected","add");clearTimeout(FrontColumns_navigation01.ddlevelsmenu.hidetimers[this._master][this._pos])}FrontColumns_navigation01.ddlevelsmenu.getoffsetof(f);var l=window.pageXOffset?window.pageXOffset:FrontColumns_navigation01.ddlevelsmenu.standardbody.scrollLeft;var i=window.pageYOffset?window.pageYOffset:FrontColumns_navigation01.ddlevelsmenu.standardbody.scrollTop;var n=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?0:this._dimensions.w);var g=this._offsets.top+this._dimensions.submenuh;var m=(this._istoplevel?this._offsets.left+(b=="sidebar"?this._dimensions.w:0):this._dimensions.w);if(n-l>FrontColumns_navigation01.ddlevelsmenu.docwidth){m+=-this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?this._dimensions.w:-this._dimensions.w)}h.style.left=m+"px";var k=(this._istoplevel?this._offsets.top+(b=="sidebar"?0:this._dimensions.h):this.offsetTop);if(g-i>FrontColumns_navigation01.ddlevelsmenu.docheight){if(this._dimensions.submenuh0){this.addEvent(window,function(){a()},"load")}},init:function(b,e){this.standardbody=(document.compatMode=="CSS1Compat")?document.documentElement:document.body;this.topitemsindex=-1;this.ulindex=-1;this.topmenuids.push(b);this.topitems[b]=[];this.subuls[b]=[];this.hidetimers[b]=[];if(this.enableshim&&!this.shimadded){this.shimmy={};this.shimmy.topshim=this.addshimmy(document.body);this.shimmy.bottomshim=this.addshimmy(document.body);this.shimadded=true}var j=document.getElementById(b);var d=j.getElementsByTagName("a");this.getwindowsize();for(var g=0;g0){this.shimmy.topshim.style.left=f+"px";this.shimmy.topshim.style.top=e+"px";this.shimmy.topshim.style.width="99%";this.shimmy.topshim.style.height=d+"px"}if(b>0){this.shimmy.bottomshim.style.left=f+"px";this.shimmy.bottomshim.style.top=g._offsets.top+g._dimensions.h+"px";this.shimmy.bottomshim.style.width="99%";this.shimmy.bottomshim.style.height=b+"px"}}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0;this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0},buildmenu:function(d,f,c,e,a,b){f._master=d;f._pos=e;f._istoplevel=a;if(a){this.addEvent(f,function(g){FrontColumns_navigation01.d2ddlevelsmenu.hidemenu(FrontColumns_navigation01.d2ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},"click")}this.subuls[d][e]=c;f._dimensions={w:f.offsetWidth,h:f.offsetHeight,submenuw:c.offsetWidth,submenuh:c.offsetHeight};this.getoffsetof(f);c.style.visibility="hidden";this.addEvent(f,function(j){if(!FrontColumns_navigation01.d2ddlevelsmenu.isContained(this,j)){var h=FrontColumns_navigation01.d2ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){FrontColumns_navigation01.d2ddlevelsmenu.css(this,"selected","add");clearTimeout(FrontColumns_navigation01.d2ddlevelsmenu.hidetimers[this._master][this._pos])}FrontColumns_navigation01.d2ddlevelsmenu.getoffsetof(f);var l=window.pageXOffset?window.pageXOffset:FrontColumns_navigation01.d2ddlevelsmenu.standardbody.scrollLeft;var i=window.pageYOffset?window.pageYOffset:FrontColumns_navigation01.d2ddlevelsmenu.standardbody.scrollTop;var n=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?0:this._dimensions.w);var g=this._offsets.top+this._dimensions.submenuh;var m=(this._istoplevel?this._offsets.left+(b=="sidebar"?this._dimensions.w:0):this._dimensions.w);if(n-l>FrontColumns_navigation01.d2ddlevelsmenu.docwidth){m+=-this._dimensions.submenuw+(this._istoplevel&&b=="topbar"?this._dimensions.w:-this._dimensions.w)}h.style.left=m+"px";var k=(this._istoplevel?this._offsets.top+(b=="sidebar"?0:this._dimensions.h):this.offsetTop);if(g-i>FrontColumns_navigation01.d2ddlevelsmenu.docheight){if(this._dimensions.submenuhul");var d=c.find("ul").parent();d.each(function(g){var h=e(this);var f=e(this).find("ul:eq(0)");this._dimensions={w:this.offsetWidth,h:this.offsetHeight,subulw:f.outerWidth(),subulh:f.outerHeight()};this.istopheader=h.parents("ul").length==1?true:false;h.hover(function(l){var j=e(this).children("ul:eq(0)");_offsets={left:e(this).offset().left,top:e(this).offset().top};if(e(this).parents("ul").length==1){e(this).attr("class","current")}var m=this.istopheader?0:this._dimensions.w;var k=j.find("li");k.each(function(n){if(e(this).children("ul").length!=0){if(_offsets.left+m+this._dimensions.subulw*2>a){e(this).children("a").attr("class","has-left")}else{e(this).children("a").attr("class","has-right")}}});if(_offsets.left+m+this._dimensions.subulw*2>a){j.addClass(j.parents("ul").length==1||j.parents("ul").attr("class").indexOf("left-slid")!=-1?"left-slid":"left-forward")}e(this).attr("style",j.parents("ul").length==1?"position:relative;z-index:12;":"position:relative;");var i=e(this).children("a").attr("class");if(i!=undefined){if(i.indexOf("left")!=-1){e(this).children("a").addClass(" left-current")}else{if(i.indexOf("right")!=-1){e(this).children("a").addClass(" right-current")}}}e(this).find("ul").attr("style","visibility:visible");e(this).children("ul:eq(0)").find("ul").attr("style","visibility:hidden")},function(i){e(this).children("a").removeClass("right-current");e(this).children("a").removeClass("left-current");e(this).removeClass("current");e(this).find("ul").attr("style","visibility:hidden")})})})}};$(document).ready(function(){var a=null;function b(){if(a){return}a=setInterval(function(){$("#feature li.current a span").animate({top:"-55px"},"fast");$("#feature li.current a p").animate({top:"-55px"},"fast")},200)}function c(){if(!a){return}$("#feature li.current a span").animate({top:"0px"},"fast");$("#feature li.current a p").animate({top:"0px"},"fast");$("#feature li.current").removeClass("current");clearInterval(a);a=null}$("#feature li").hover(function(){$(this).addClass("current");b()},c)});var FrontProducts_generalSearch01={patternDate:/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/,patternCurrency:/^\d{1,8}(\.\d{0,2})?$/,compId:"",mustInputKeyword:"false",inputkeyword:"",keyover:function(a,b){if(jQuery("#"+a+"_keyword").val()==b){jQuery("#"+a+"_keyword").val("");jQuery("#"+a+"_keyword").focus()}},keyout:function(a,b){if(this.trim(jQuery("#"+a+"_keyword").val())==""){jQuery("#"+a+"_keyword").val(b);jQuery("#"+a+"_keyword").addClass("input-keyword")}else{jQuery("#"+a+"_keyword").val(this.trim(jQuery("#"+a+"_keyword").val()));jQuery("#"+a+"_keyword").removeClass("input-keyword")}},trim:function(b,c){b=""+b;if(c=="l"||c=="L"){RegularExp=/^\s+/gi;return b.replace(RegularExp,"")}else{if(c=="r"||c=="R"){RegularExp=/\s+$/gi;return b.replace(RegularExp,"")}else{RegularExp=/^\s+|\s+$/gi;var a=b.replace(RegularExp,"");return a}}},validateForm:function(k,c,g){this.compId=k;this.mustInputKeyword=c;this.inputkeyword=g;if(this.checkKeywords()==false){return false}var j=jQuery("#"+this.compId+"_beginValue").val();var i=jQuery("#"+this.compId+"_endValue").val();var d=jQuery("#"+this.compId+"_propertyId").val();var b=jQuery("#"+this.compId+"_propertyType").val();var a=jQuery("#"+this.compId+"_areaType").val();var f=this.trim(jQuery("#"+this.compId+"_keyword").val());jQuery("#"+this.compId+"_keyword").val(f);if(f==this.inputkeyword){jQuery("#"+this.compId+"_keyword").val("")}var h="1";if(d!=null&&d!=""){if(b=="3"){h="3"}else{h="2"}}jQuery("#"+this.compId+"_searchType").val(h);if(a!=""){if(a=="BigDecimal"){if(this.checkNumber()==false){return false}}else{if(a=="Date"){if(this.isCheckAreaDate()==false){return false}}}}var e=jQuery("#"+this.compId+"_keyword").serialize();jQuery.ajax({type:"POST",url:"/FrontProducts.do?method=keywordStat",data:e,dataType:"text",cache:false,success:function(l){}});return true},checkKeywords:function(){if(this.mustInputKeyword=="true"){if(this.trim(jQuery("#"+this.compId+"_keyword").val())==this.inputkeyword||this.trim(jQuery("#"+this.compId+"_keyword").val())==""){alert(this.inputkeyword);jQuery("#"+this.compId+"_keyword").val("");jQuery("#"+this.compId+"_keyword").focus();return false}}return true},checkNumber:function(){if(jQuery("#"+this.compId+"_beginValue").val()&&!this.patternCurrency.test(jQuery("#"+this.compId+"_beginValue").val())){alert(i18n_products_error_beginValue);jQuery("#"+this.compId+"_beginValue").focus();return false}if(jQuery("#"+this.compId+"_endValue").val()&&!this.patternCurrency.test(jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_error_endValue);jQuery("#"+this.compId+"_endValue").focus();return false}if(jQuery("#"+this.compId+"_beginValue").val()&&jQuery("#"+this.compId+"_endValue").val()&&(parseInt(jQuery("#"+this.compId+"_beginValue").val())>parseInt(jQuery("#"+this.compId+"_endValue").val()))){alert(i18n_products_mustaboveprice);jQuery("#"+this.compId+"_endValue").focus();return false}return true},queryadvance:function(a,b){if(b=="_self"){location.href=a}else{window.open(a)}},changecategory:function(b,d,c,a){jQuery.getJSON("/FrontProducts.do?method=doGetTemplatePropertiesByCategoryId",{pmcId:c},function(g){if(g){var f="";_getElementById(b,d,"template").innerHTML=f}})},isCheckAreaDate:function(){if(jQuery("#"+this.compId+"_beginValue").val()&&!this.patternDate.test(jQuery("#"+this.compId+"_beginValue").val())){alert(i18n_products_inputcorrectdate);jQuery("#"+this.compId+"_beginValue").focus();return false}if(jQuery("#"+this.compId+"_endValue").val()&&!this.patternDate.test(jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_inputcorrectdate);jQuery("#"+this.compId+"_endValue").focus();return false}if(jQuery("#"+this.compId+"_beginValue").val()&&jQuery("#"+this.compId+"_endValue").val()&&(jQuery("#"+this.compId+"_beginValue").val()>jQuery("#"+this.compId+"_endValue").val())){alert(i18n_products_mustlessenddate);jQuery("#"+this.compId+"_endValue").focus();return false}return true}};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 FrontProducts_list01={changeOrderby:function(d,c,a){var g=d.value;var f=document.getElementById(c);f.orderby.value=g;try{f.action_page.value=a}catch(b){}f.submit()},changeOrderby2:function(d,c,a){var g=d;var f=document.getElementById(c);f.orderby.value=g;try{f.action_page.value=a}catch(b){}f.submit()},changeView:function(a,d,b){var f=document.getElementById(d);f.spType.value=a;try{f.action_page.value=b}catch(c){}f.submit()},loadMemberLevelID:function(e){var b=document.getElementsByName(e);var g=document.cookie;var d=g.indexOf("c_memberInfo=");if(d==-1){for(var c=0;c0){this.parent.calc(-1)}}}b.prototype={calc:function(l){if(l){this.view+=l}var p=0;var m=0;var j=this.diapos[this.view];if(j&&j.loaded){var h=this.diapos[this.back];if(h&&h!=j){h.img.className="diapo";h.z1=1}this.title.replaceChild(document.createTextNode(j.title),this.title.firstChild);this.legend.replaceChild(document.createTextNode(j.text),this.legend.firstChild);if(j.url){j.img.className="diapo link";window.status="hyperlink: "+j.url}else{j.img.className="diapo";window.status=""}j.w1=Math.min(j.iw,this.wh*0.5)*j.z1;var k=j.x1=(this.wh*0.5)-(j.w1*0.5);var q=k+j.w1+this.bdw;for(var n=this.view+1,j;j=this.diapos[n];n++){if(j.loaded){j.x1=q;j.w1=(this.ht/j.r)*this.size;q+=j.w1+this.bdw;p+=j.w1+this.bdw}}q=k-this.bdw;for(var n=this.view-1,j;j=this.diapos[n];n--){if(j.loaded){j.w1=(this.ht/j.r)*this.size;j.x1=q-j.w1;q-=j.w1+this.bdw;p+=j.w1+this.bdw;m+=j.w1+this.bdw}}if(!this.scr&&p){var g=(this.ws-this.alw-this.arw-this.bw)/p;this.bar.style.left=Math.round(this.alw+m*g)+"px"}this.back=this.view}},scroll:function(g){if(g<0){if(this.view0){this.calc(-1)}}},resize:function(){this.wh=this.oc.clientWidth;this.ht=this.oc.clientHeight;this.ws=this.scrollbar.offsetWidth;this.calc();this.run(true)},run:function(h){var g=this.NF;while(g--){this.diapos[g].move(h)}}};Diapo=function(h,m,l,k,j,g,i){this.parent=h;this.loaded=false;this.title=k;this.text=j;this.url=g;this.target=i;this.N=m;this.img=document.createElement("img");this.img.src=l;this.img.parent=this;this.img.className="diapo";this.x0=this.parent.oc.clientWidth;this.x1=this.x0;this.w0=0;this.w1=0;this.z1=1;this.img.parent=this;this.img.onclick=function(){this.parent.click()};this.parent.oc.appendChild(this.img);if(g){this.img.onmouseover=function(){this.className="diapo link"};this.img.onmouseout=function(){this.className="diapo"}}};Diapo.prototype={move:function(i){if(this.loaded){var l=this.x1-this.x0;var g=this.w1-this.w0;if(Math.abs(l)>2||Math.abs(g)>2||i){this.x0+=l*0.1;this.w0+=g*0.1;if(this.x00){this.visible=true;var k=this.img.style;var j=this.w0*this.r;k.left=Math.round(this.x0)+"px";k.bottom=Math.floor(this.parent.ht*0.25)+"px";k.width=Math.round(this.w0)+"px";k.height=Math.round(j)+"px";if(this.flx){var k=this.flx.style;k.left=Math.round(this.x0)+"px";k.top=Math.ceil(this.parent.ht*0.75+1)+"px";k.width=Math.round(this.w0)+"px";k.height=Math.round(j)+"px"}}else{if(this.visible){this.visible=false;this.img.style.width="0px";if(this.flx){this.flx.style.width="0px"}}}}}else{if(this.img.complete&&this.img.width){this.iw=this.img.width;this.ih=this.img.height;this.r=this.ih/this.iw;this.loaded=true;this.flx=d(this.parent.oc,this.img);if(this.parent.view<0){this.parent.view=this.N}this.parent.calc()}}},click:function(){if(this.parent.view==this.N){if(this.url){window.open(this.url,this.target)}else{this.z1=this.z1==1?this.parent.zoom:1;this.parent.calc()}}else{this.parent.view=this.N;this.parent.calc()}return false}};return{create:function(k,h,i,g){var j=function(){var l=false;var m=e.length;while(m--){if(e[m].oCont==k){l=true}}if(!l){e.push(new b(k,h,i,g));if(!imf.initialized){imf.initialized=true;c(window,"resize",function(){var n=e.length;while(n--){e[n].resize()}});c(document.getElementById(k),"mouseout",function(p){if(!p){p=window.event}var o=p.relatedTarget||p.toElement;if(o&&o.tagName=="HTML"){var n=e.length;while(n--){e[n].oc.onmousemove=null}}return false});setInterval(function(){var n=e.length;while(n--){e[n].run()}},16)}}};c(window,"load",function(){j()})}}}();