/*
	$Id: javascript.js,v1 $

	Ki2 Corporation Japan'sWEB
	Copyright (c) 2007. Ki2 Corporation Japan
	Create and Design by Seiki Nishijima

======================================================================
  Memo
  

======================================================================
*/


/*------------------------------------
  画像読み込み
-------------------------------------*/
if (navigator.appVersion > "3") {
	noneCU = new Image(); noneCU.src = '../switch/head_mail.gif';
	noneSM = new Image(); noneSM.src = '../switch/head_sitemap.gif';
	noneFQ = new Image(); noneFQ.src = '../switch/head_faq.gif';

	headCU = new Image(); headCU.src = '../switch_o/head_mail.gif';
	headSM = new Image(); headSM.src = '../switch_o/head_sitemap.gif';
	headFQ = new Image(); headFQ.src = '../switch_o/head_faq.gif';
	headKa = new Image(); headKa.src = '../switch_o/head_ki2ola.gif';
	headKd = new Image(); headKd.src = '../switch_o/head_ki2old.gif';

	oranMa = new Image(); oranMa.src = '../switch/main_menu01m.gif';
	oranMd = new Image(); oranMd.src = '../switch/main_menu01c.gif';

	mageMa = new Image(); mageMa.src = '../switch/main_menu02m.gif';
	mageMd = new Image(); mageMd.src = '../switch/main_menu02c.gif';

	deepMa = new Image(); deepMa.src = '../switch/main_menu03m.gif';
	deepMd = new Image(); deepMd.src = '../switch/main_menu03c.gif';

	cyanMa = new Image(); cyanMa.src = '../switch/main_menu04m.gif';
	cyanMd = new Image(); cyanMd.src = '../switch/main_menu04c.gif';


	SM010a = new Image(); SM010a.src = '../switch_o/menu01a.gif';
	SM010d = new Image(); SM010d.src = '../switch_o/menu01d.gif';
	SM020a = new Image(); SM020a.src = '../switch_o/menu02a.gif';
	SM020d = new Image(); SM020d.src = '../switch_o/menu02d.gif';
	SM030a = new Image(); SM030a.src = '../switch_o/menu03a.gif';
	SM030d = new Image(); SM030d.src = '../switch_o/menu03d.gif';
	SM040a = new Image(); SM040a.src = '../switch_o/menu04a.gif';
	SM040d = new Image(); SM040d.src = '../switch_o/menu04d.gif';
	SM050a = new Image(); SM050a.src = '../switch_o/menu05a.gif';
	SM050d = new Image(); SM050d.src = '../switch_o/menu05d.gif';
	SM060a = new Image(); SM060a.src = '../switch_o/menu06a.gif';
	SM060d = new Image(); SM060d.src = '../switch_o/menu06d.gif';
	SM070a = new Image(); SM070a.src = '../switch_o/menu07a.gif';
	SM070d = new Image(); SM070d.src = '../switch_o/menu07d.gif';


	SM011a = new Image(); SM011a.src = '../switch_o/submenu11a.gif';
	SM011d = new Image(); SM011d.src = '../switch_o/submenu11d.gif';
	SM012a = new Image(); SM012a.src = '../switch_o/submenu12a.gif';
	SM012d = new Image(); SM012d.src = '../switch_o/submenu12d.gif';
	SM013a = new Image(); SM013a.src = '../switch_o/submenu13a.gif';
	SM013d = new Image(); SM013d.src = '../switch_o/submenu13d.gif';
	SM014a = new Image(); SM014a.src = '../switch_o/submenu14a.gif';
	SM014d = new Image(); SM014d.src = '../switch_o/submenu14d.gif';
	SM015a = new Image(); SM015a.src = '../switch_o/submenu15a.gif';
	SM015d = new Image(); SM015d.src = '../switch_o/submenu15d.gif';
	SM016a = new Image(); SM016a.src = '../switch_o/submenu16a.gif';
	SM016d = new Image(); SM016d.src = '../switch_o/submenu16d.gif';
	SM021a = new Image(); SM021a.src = '../switch_o/submenu21a.gif';
	SM021d = new Image(); SM021d.src = '../switch_o/submenu21d.gif';
	SM022a = new Image(); SM022a.src = '../switch_o/submenu22a.gif';
	SM022d = new Image(); SM022d.src = '../switch_o/submenu22d.gif';
	SM023a = new Image(); SM023a.src = '../switch_o/submenu23a.gif';
	SM023d = new Image(); SM023d.src = '../switch_o/submenu23d.gif';
	SM031a = new Image(); SM031a.src = '../switch_o/submenu31a.gif';
	SM031d = new Image(); SM031d.src = '../switch_o/submenu31d.gif';
	SM032a = new Image(); SM032a.src = '../switch_o/submenu32a.gif';
	SM032d = new Image(); SM032d.src = '../switch_o/submenu32d.gif';
	SM033a = new Image(); SM033a.src = '../switch_o/submenu33a.gif';
	SM033d = new Image(); SM033d.src = '../switch_o/submenu33d.gif';
	SM041a = new Image(); SM041a.src = '../switch_o/submenu41a.gif';
	SM041d = new Image(); SM041d.src = '../switch_o/submenu41d.gif';
	SM042a = new Image(); SM042a.src = '../switch_o/submenu42a.gif';
	SM042d = new Image(); SM042d.src = '../switch_o/submenu42d.gif';
	SM043a = new Image(); SM043a.src = '../switch_o/submenu43a.gif';
	SM043d = new Image(); SM043d.src = '../switch_o/submenu43d.gif';
	SM061a = new Image(); SM061a.src = '../switch_o/submenu61a.gif';
	SM061d = new Image(); SM061d.src = '../switch_o/submenu61d.gif';
	SM062a = new Image(); SM062a.src = '../switch_o/submenu62a.gif';
	SM062d = new Image(); SM062d.src = '../switch_o/submenu62d.gif';
	SM063a = new Image(); SM063a.src = '../switch_o/submenu63a.gif';
	SM063d = new Image(); SM063d.src = '../switch_o/submenu63d.gif';
	SM071a = new Image(); SM071a.src = '../switch_o/submenu71a.gif';
	SM071d = new Image(); SM071d.src = '../switch_o/submenu71d.gif';
	SM072a = new Image(); SM072a.src = '../switch_o/submenu72a.gif';
	SM072d = new Image(); SM072d.src = '../switch_o/submenu72d.gif';
	SM073a = new Image(); SM073a.src = '../switch_o/submenu73a.gif';
	SM073d = new Image(); SM073d.src = '../switch_o/submenu73d.gif';

	con01a = new Image(); con01a.src = '../switch_o/contact01a.gif';
	con01d = new Image(); con01d.src = '../switch_o/contact01d.gif';
	con02a = new Image(); con02a.src = '../switch_o/contact02a.gif';
	con02d = new Image(); con02d.src = '../switch_o/contact02d.gif';

	ShopGa = new Image(); ShopGa.src = '../switch_m/shop_GMa.gif';
	ShopGd = new Image(); ShopGd.src = '../switch_m/shop_GMd.gif';
}


/*------------------------------------
  通常イメージチェンジ
-------------------------------------*/
function icT01(imgName3,imgNum3) {
	if (navigator.appVersion > "3") {
		document.images[imgName3].src = eval(imgNum3 + '.src');
	}
}

/*------------------------------------
  ヒット時２カ所切り替え
-------------------------------------*/
function icT02(imgName1,imgNum1,imgName2,imgNum2) {
	if (navigator.appVersion > "3") {
		document.images[imgName1].src = eval(imgNum1 + '.src');
		document.images[imgName2].src = eval(imgNum2 + '.src');
    }
}

/*------------------------------------
  オープンウィンド１、窓サイズ500*415　スクロール有り／リサイズ可
-------------------------------------*/
function oW01(url) {
	window.open(url,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=auto,resizable=yes,width=500,height=415");
}

/*------------------------------------
  オープンウィンド2、窓サイズ640*480　スクロール有り／リサイズ可
-------------------------------------*/
function oW02(url) {
	window.open(url,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=auto,resizable=yes,width=650,height=490");
}

/*------------------------------------
  オープンウィンド3、窓サイズ480*640　スクロール有り／リサイズ可
-------------------------------------*/
function oW03(url) {
	window.open(url,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=auto,resizable=yes,width=490,height=650");
}
