/*
	$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_m/head_mail.gif';
	headSM = new Image(); headSM.src = '../switch_m/head_sitemap.gif';
	headFQ = new Image(); headFQ.src = '../switch_m/head_faq.gif';
	headKa = new Image(); headKa.src = '../switch_m/head_ki2ola.gif';
	headKd = new Image(); headKd.src = '../switch_m/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_m/menu01a.gif';
	SM010d = new Image(); SM010d.src = '../switch_m/menu01d.gif';
	SM020a = new Image(); SM020a.src = '../switch_m/menu02a.gif';
	SM020d = new Image(); SM020d.src = '../switch_m/menu02d.gif';


	SM021a = new Image(); SM021a.src = '../switch_m/submenu21a.gif';
	SM021d = new Image(); SM021d.src = '../switch_m/submenu21d.gif';
	SM022a = new Image(); SM022a.src = '../switch_m/submenu22a.gif';
	SM022d = new Image(); SM022d.src = '../switch_m/submenu22d.gif';
	SM023a = new Image(); SM023a.src = '../switch_m/submenu23a.gif';
	SM023d = new Image(); SM023d.src = '../switch_m/submenu23d.gif';


	ShopGa = new Image(); ShopGa.src = '../switch_m/shop_GMa.gif';
	ShopGd = new Image(); ShopGd.src = '../switch_m/shop_GMd.gif';
	ShopKa = new Image(); ShopKa.src = '../switch_m/shop_KMa.gif';
	ShopKd = new Image(); ShopKd.src = '../switch_m/shop_KMd.gif';
	ShopPa = new Image(); ShopPa.src = '../switch_m/shop_PHa.gif';
	ShopPd = new Image(); ShopPd.src = '../switch_m/shop_PHd.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');
    }
}

/*------------------------------------
  オープンウィンド１、窓サイズ300*330　スクロール有り／リサイズ可
-------------------------------------*/
function oW01(url) {
	window.open(url,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=auto,resizable=yes,width=300,height=330");
}
/*------------------------------------
  オープンウィンド２、窓サイズ420*320　スクロール有り／リサイズ可
-------------------------------------*/
function oW02(url) {
	window.open(url,"_blank","menubar=no,toolbar=no,location=no,directories=no,status=yes,scrollbars=auto,resizable=yes,width=420,height=320");
}


