if (document.images) { if(!rootPath) var rootPath = ''; var menu01on = new Image() menu01on.src = rootPath + "images/buttons/on/menu_01.gif" var menu01off = new Image() menu01off.src = rootPath + "images/buttons/off/menu_01.gif" var menu02on = new Image() menu02on.src = rootPath + "images/buttons/on/menu_02.gif" var menu02off = new Image() menu02off.src = rootPath + "images/buttons/off/menu_02.gif" var menu02_1on = new Image() menu02_1on.src = rootPath + "images/buttons/on/menu_02_01.gif" var menu02_1off = new Image() menu02_1off.src = rootPath + "images/buttons/off/menu_02_01.gif" var menu02_2on = new Image() menu02_2on.src = rootPath + "images/buttons/on/menu_02_02.gif" var menu02_2off = new Image() menu02_2off.src = rootPath + "images/buttons/off/menu_02_02.gif" var menu02_3on = new Image() menu02_3on.src = rootPath + "images/buttons/on/menu_02_03.gif" var menu02_3off = new Image() menu02_3off.src = rootPath + "images/buttons/off/menu_02_03.gif" var menu03on = new Image() menu03on.src = rootPath + "images/buttons/on/menu_03.gif" var menu03off = new Image() menu03off.src = rootPath + "images/buttons/off/menu_03.gif" var menu03_1on = new Image() menu03_1on.src = rootPath + "images/buttons/on/menu_03_01.gif" var menu03_1off = new Image() menu03_1off.src = rootPath + "images/buttons/off/menu_03_01.gif" var menu03_2on = new Image() menu03_2on.src = rootPath + "images/buttons/on/menu_03_02.gif" var menu03_2off = new Image() menu03_2off.src = rootPath + "images/buttons/off/menu_03_02.gif" var menu04on = new Image() menu04on.src = rootPath + "images/buttons/on/menu_04.gif" var menu04off = new Image() menu04off.src = rootPath + "images/buttons/off/menu_04.gif" var menu04_1on = new Image() menu04_1on.src = rootPath + "images/buttons/on/menu_04_01.gif" var menu04_1off = new Image() menu04_1off.src = rootPath + "images/buttons/off/menu_04_01.gif" var menu05on = new Image() menu05on.src = rootPath + "images/buttons/on/menu_05.gif" var menu05off = new Image() menu05off.src = rootPath + "images/buttons/off/menu_05.gif" var menu05_1on = new Image() menu05_1on.src = rootPath + "images/buttons/on/menu_05_01.gif" var menu05_1off = new Image() menu05_1off.src = rootPath + "images/buttons/off/menu_05_01.gif" var menu05_2on = new Image() menu05_2on.src = rootPath + "images/buttons/on/menu_05_02.gif" var menu05_2off = new Image() menu05_2off.src = rootPath + "images/buttons/off/menu_05_02.gif" var menu05_3on = new Image() menu05_3on.src = rootPath + "images/buttons/on/menu_05_03.gif" var menu05_3off = new Image() menu05_3off.src = rootPath + "images/buttons/off/menu_05_03.gif" var menu05_4on = new Image() menu05_4on.src = rootPath + "images/buttons/on/menu_05_04.gif" var menu05_4off = new Image() menu05_4off.src = rootPath + "images/buttons/off/menu_05_04.gif" var menu05_5on = new Image() menu05_5on.src = rootPath + "images/buttons/on/menu_05_05.gif" var menu05_5off = new Image() menu05_5off.src = rootPath + "images/buttons/off/menu_05_05.gif" var menu06on = new Image() menu06on.src = rootPath + "images/buttons/on/menu_06.gif" var menu06off = new Image() menu06off.src = rootPath + "images/buttons/off/menu_06.gif" var menu06_1on = new Image() menu06_1on.src = rootPath + "images/buttons/on/menu_06_01.gif" var menu06_1off = new Image() menu06_1off.src = rootPath + "images/buttons/off/menu_06_01.gif" var menu06_2on = new Image() menu06_2on.src = rootPath + "images/buttons/on/menu_06_02.gif" var menu06_2off = new Image() menu06_2off.src = rootPath + "images/buttons/off/menu_06_02.gif" var menu07_1on = new Image() menu07_1on.src = rootPath + "images/buttons/on/menu_07_01.gif" var menu07_1off = new Image() menu07_1off.src = rootPath + "images/buttons/off/menu_07_01.gif" var menu07_2on = new Image() menu07_2on.src = rootPath + "images/buttons/on/menu_07_02.gif" var menu07_2off = new Image() menu07_2off.src = rootPath + "images/buttons/off/menu_07_02.gif" var langon = new Image() langon.src = rootPath + "images/buttons/on/lang_jp.gif" var langoff = new Image() langoff.src = rootPath + "images/buttons/off/lang_jp.gif" var emailon = new Image() emailon.src = rootPath + "images/buttons/on/tomailform.gif" var emailoff = new Image() emailoff.src = rootPath + "images/buttons/off/tomailform.gif" } function inact(imgName) { if (document.images) document[imgName].src = eval(imgName + 'off.src'); } function act(imgName) { if (document.images) document[imgName].src = eval(imgName + 'on.src'); }