//====================================================================== //Mac_NN6.xのCSS対処用パッチ //====================================================================== function fontPatch() { sSheet = document.stylesheets(document.stylesheets.length-1); if (document.defaultView.getComputedStyle(document.body,'"').getPropertyValue("font-size") == "14px") { sSheet.insertRule("body {font-size:16px}" .sSheet.cssRules,length); } } if (document.defaultView && document.styleSheets)window.onload = fontPatch; //====================================================================== //NN4.5のCSS対処用 //====================================================================== function fontPatch() { sSheet = document.stylesheets(document.stylesheets.length-1); if (document.defaultView.getComputedStyle(document.body,'"').getPropertyValue("font-size") == "14px") { sSheet.insertRule("body {font-size:16px}" .sSheet.cssRules,length); } } if (document.defaultView && document.styleSheets)window.onload = fontPatch; //====================================================================== //ウィンドウオープン //====================================================================== function opWin(url,name,width,height){ newWin = window.open(url,name,"width=" + width + ",height=" + height + ",scrollbars=yes,resizable=yes"); newWin.focus(); } //====================================================================== //プルダウンメニュー(日記:月別) //====================================================================== function navi(myURL) { url = myURL.options[myURL.selectedIndex].value; if(url != "") { location.href = url; } } //====================================================================== //ロールオーバー(プリロード) //====================================================================== var menu = Array(11); function loadImage() { for (var i=0; i < 11 ; i++) { menu[i] = new Image(); } menu[0].src = "./img/menu/bu_profile_r.gif"; menu[1].src = "./img/menu/bu_live_r.gif"; menu[2].src = "./img/menu/bu_works_r.gif"; menu[3].src = "./img/menu/bu_media_r.gif"; menu[4].src = "./img/menu/bu_diary_r.gif"; menu[5].src = "./img/menu/bu_letters_r.gif"; menu[6].src = "./img/menu/bu_bbs_r.gif"; menu[7].src = "./img/menu/bu_link_r.gif"; menu[8].src = "./img/bu_english_r.gif"; menu[9].src = "./img/bu_editorsnote_r.gif"; menu[10].src = "./img/bu_contacts_r.gif"; } //====================================================================== //WhatsNewリンク設定 //====================================================================== function ctrlWin() { window.opener.location.href = "../profile/profile.html"; } function ctrlWin1() { window.opener.location.href = "../profile/peformance.html"; } function ctrlWin2() { window.opener.location.href = "../profile/endorcement.html"; } function ctrlWin3() { window.opener.location.href = "../live/schedule.html"; } function ctrlWin4() { window.opener.location.href = "../live/report.html"; } function ctrlWin5() { window.opener.location.href = "../work/work_self.html"; } function ctrlWin6() { window.opener.location.href = "../work/work_discography.html"; } function ctrlWin7() { window.opener.location.href = "../work/work_commercial.html"; } function ctrlWin8() { window.opener.location.href = "../work/work_others.html"; } function ctrlWin9() { window.opener.location.href = "../media/media_radio03.html"; } function ctrlWin10() { window.opener.location.href = "../media/media_tv03.html"; } function ctrlWin11() { window.opener.location.href = "../media/media_magazine03.html"; } function ctrlWin12() { window.opener.location.href = "../media/media_web03.html"; } function ctrlWin13() { window.opener.location.href = "../diary/diary.html"; } function ctrlWin14() { window.opener.location.href = "../diary/colum.html"; } function ctrlWin15() { window.opener.location.href = "../letters/letters.html"; } function ctrlWin16() { window.opener.location.href = "../links.html"; }