/** * @Name * @Desc LIXIL繝ェ繝輔か繝シ繝�繝阪ャ繝医Ρ繝シ繧ッ * @Date 2012/02/21 18:34 **/ // img繧ソ繧ー縺ョ繝ュ繝シ繝ォ繧ェ繝シ繝先欠螳夲シ医�繝ェ繝ュ繝シ繝芽セシ縺ソ�� function sourceReplace() { if(document.getElementsByTagName) { var images = document.getElementsByTagName("img"); for(var i=0; i < images.length; i++) { if(images[i].getAttribute("src").match("_off.")) { images[i].onmouseover = function() { this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on.")); } images[i].onmouseout = function() { this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off.")); } } } } } // 繝壹�繧ク繝医ャ繝� 繧ケ繧ッ繝ュ繝シ繝ォ $(function() { $("a[href^=#]").click(function() { var Hash = $(this.hash); var HashOffset = $(Hash).offset().top; $("html,body").animate( { scrollTop: HashOffset }, 1000); return false; }); }); // 繧オ繧、繝峨き繝ゥ繝�縺ョ蜈ア騾夐��岼縺ョ譖ク縺榊�縺� function bannerList() { document.write(""); } //繝ュ繝シ繧ォ繝ォ繝翫ン繧イ繝シ繧キ繝ァ繝ウ逕ィ陬�」セ��for Legacy Browser�� $(document).ready(function() { $('ul.localNav li ul li:odd').css('background-color', '#F4ECC8'); }); // 驛ス驕灘コ懃恁縺ョ邨槭j霎シ縺ソ 荳€譁峨メ繧ァ繝�け function areaCheck(checkValue) { for(var i=0; i < document.renvPoint.area.length; i++) { document.renvPoint.area[i].checked = checkValue; } } // 繝ェ繝輔か繝シ繝�蛟区園縺ョ邨槭j霎シ縺ソ 荳€譁峨メ繧ァ繝�け function renvCheck(checkValue) { for(var i=0; i < document.renvPoint.renv.length; i++) { document.renvPoint.renv[i].checked = checkValue; } } // 遞ョ蛻・縺ョ邨槭j霎シ縺ソ 荳€譁峨メ繧ァ繝�け function buildCheck(checkValue) { for(var i=0; i < document.renvPoint.build.length; i++) { document.renvPoint.build[i].checked = checkValue; } } // LightBox(jQuery) $(function() { $('.lightBox a').lightBox({fixedNavigation:false}); }); $(function() { $('a.lightBox').lightBox({fixedNavigation:false}); }); // 繧「繧ウ繝シ繝�ぅ繧ェ繝ウ陦ィ遉コ�育桝蝠上�荳榊ョ芽ァ」豸�150蝠� 逕ィ 繝�せ繝茨シ� /* function faqBlockTgr() { var bgOpenImg = new Image(); bgOpenImg.src = "/images/shared/bg_link_open.gif"; $(document).ready(function() { $("dl.faqBlock > dd").css("display", "none"); $("dl.faqBlock > dt").each(function(i){ $(this).click(function() { $("dl.faqBlock > dd").eq(i).toggle(); if($(this).hasClass("select")) { $(this).removeClass("select"); $(this).css("background-image", "url(/images/shared/bg_link_close.gif)"); $(this).css("background-position", "0 0.4em"); $(this).css("background-repeat", "no-repeat"); } else { $(this).addClass("select"); $(this).css("background-image", "url(/images/shared/bg_link_open.gif)"); $(this).css("background-position", "0 0.4em"); $(this).css("background-repeat", "no-repeat"); } }); }); }); }*/ // 繝ュ繝シ繝�ぅ繝ウ繧ー if(window.addEventListener) { window.addEventListener("load", sourceReplace, false); //window.addEventListener("load", faqBlockTgr, false); } else if(window.attachEvent) { window.attachEvent("onload", sourceReplace); //window.attachEvent("onload", faqBlockTgr); }