/* JavaScript for http://www.inuiyosuke.jp/last updated on 2006.11.09(c) 2006 YOSUKE INUI Design Office-- */ var ST = new Object();var NAVI = { on:function () { if (!ST.flag && load.flag) ST = new OBJ('ST');PPID (arguments[0]);if (arguments[0] < 9) { PTPD (arguments[0]); }move.Set('ST',3,(arguments[0] * -32));sweep.Set('ST',0,(arguments[0] * 32 + 32 - 5),218,(arguments[0] * 32 + 5));},off:function () {PPID (0);if (!TOOLTIP.flag) TOOLTIP = new OBJ('TOOLTIP');TOOLTIP.setV(0);}}var PPI		= new Object();var PPI_NAMEs	= new Array('','icon64_news.png','icon64_menu.png','icon64_access.png','icon64_reservation.png','icon64_staff.png','icon64_history.png','icon64_sukiyaki.png','icon64_gallery.png','icon64_email.png');var PPI_IMGs	= new Array();for (i = 1; i < PPI_NAMEs.length; i ++) { PPI_IMGs[i] = new Image(); PPI_IMGs[i].src = '/com/img/' + PPI_NAMEs[i]; }function PPID () {if (!PPI.flag) PPI = new OBJ('PPI');if (!PPI_IMGs[0]) { PPI_IMGs[0] = new Image(); PPI_IMGs[0].src = PPI.path.src; }PPI.path.src = PPI_IMGs[(arguments[0])].src;}var PTP		= new Object();var PTP_NAMEs	= new Array('','tip_news.png','tip_menu.png','tip_access.png','tip_reservation.png','tip_staff.png','tip_history.png','tip_sukiyaki.png','tip_gallery.png','tip_news.png');var PTP_IMGs	= new Array();for (i = 1; i < PTP_NAMEs.length; i ++) { PTP_IMGs[i] = new Image(); PTP_IMGs[i].src = '/com/img/' + PTP_NAMEs[i]; }var TOOLTIP	= new Object();mouse.Set('TTM();',('BOTTON'));function PTPD () {if (!TOOLTIP.flag) TOOLTIP = new OBJ('TOOLTIP');TOOLTIP.setY(arguments[0] * 48 + 48);TOOLTIP.setV(1);if (!PTP.flag) PTP = new OBJ('PTP');if (!PTP_IMGs[0]) { PTP_IMGs[0] = new Image(); PTP_IMGs[0].src = PTP.path.src; }PTP.path.src = PTP_IMGs[(arguments[0])].src;}function TTM () {if (!TOOLTIP.flag) TOOLTIP = new OBJ('TOOLTIP');if (TOOLTIP.V) { TOOLTIP.setX(MX + 10); }}var RCCSlist	= new Array('', 'B_COVER','B_TEL','B_FAX','B_EMAIL');var RCCSobjs	= new Array(new Object(),new Object());var RCCBlist	= new Array('', 'S_COVER','S_TEL','S_FAX','S_EMAIL');var RCCBobjs	= new Array();var RCC = {on:function () { 	if (!RCCSobjs[1].flag) { for (i = 1; i < RCCSlist.length; i ++) { RCCSobjs[i] = new OBJ(RCCSlist[i]); RCCBobjs[i] = new OBJ(RCCBlist[i]);  }}	for (i = 1; i < RCCSobjs.length; i ++) { if (i == arguments[0]) { RCCSobjs[i].setV(0); RCCBobjs[i].setV(1); } else { RCCSobjs[i].setV(1); RCCBobjs[i].setV(0); }}},off:function () {  }}var IMG_HT	= new Object();var IMG_HT_NAMEs	= new Array('','img_ht01.jpg','img_ht02.jpg','img_ht03.jpg','img_ht04.jpg','img_ht05.jpg');var IMG_HT_IMGs	= new Array();for (i = 1; i < IMG_HT_NAMEs.length; i ++) { IMG_HT_IMGs[i] = new Image(); IMG_HT_IMGs[i].src = '/structure/access/img/' + IMG_HT_NAMEs[i]; }function PHTI () {if (!IMG_HT.flag) IMG_HT = new OBJ('IMG_HT');if (!IMG_HT_IMGs[0]) { IMG_HT_IMGs[0] = new Image(); IMG_HT_IMGs[0].src = IMG_HT.path.src; }IMG_HT.path.src = IMG_HT_IMGs[(arguments[0])].src;}var IMG_KT	= new Object();var IMG_KT_NAMEs	= new Array('','img_kt01.jpg','img_kt02.jpg','img_kt03.jpg','img_kt04.jpg');var IMG_KT_IMGs	= new Array();for (i = 1; i < IMG_KT_NAMEs.length; i ++) { IMG_KT_IMGs[i] = new Image(); IMG_KT_IMGs[i].src = '/structure/access/img/' + IMG_KT_NAMEs[i]; }function PKTI () {if (!IMG_KT.flag) IMG_KT = new OBJ('IMG_KT');if (!IMG_KT_IMGs[0]) { IMG_KT_IMGs[0] = new Image(); IMG_KT_IMGs[0].src = IMG_KT.path.src; }IMG_KT.path.src = IMG_KT_IMGs[(arguments[0])].src;}function hashJump () {scroll.Set(arguments[0].toUpperCase());}