//urlpass = 'http://kfcj-pre.seasoning.co.jp/';
//urlpass = 'http://kfcj-pre2.seasoning.co.jp/';
urlpass = 'http://japan.kfc.co.jp/';

document.write('<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top"><table border="0" cellpadding="0" cellspacing="0" width="700"><tr><td background="../img/left_back.gif" width="175"><img src="../img/space.gif" width="175" height="43"></td><td width="525"><div style="padding:8px;"><img name="bar_01" src="../img/bar.gif" width="515" height="24" border="0" usemap="#bar_01_Map"></div></td></tr></table><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td background="../img/title00.gif" nowrap><a href="/index.html" target="_top"><img src="../img/top_tit2.gif" width="338" height="51" border="0"></a><img src="../img/title01_b.gif" width="295" height="51"><a href="/index.html" target="_top"><img src="../img/home.gif" width="66" height="51" border="0"></a><img src="../img/title02_b.gif" width="25" height="51"></td></tr></table></td></tr></table>');

var menus = new Array();

menus[0] = new Menu(165, 98);

menus[0].add( urlpass + 'img/out_1_b.gif',  urlpass + 'img/out_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'outline/', 'Mover(\'out\',10)', 'Mout(\'out\',0)');

menus[0].add( urlpass + 'img/out_3_b.gif',  urlpass + 'img/out_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'outline/philosophy.html', 'Mover(\'out\',10)', 'Mout(\'out\',0)');

menus[0].add( urlpass + 'img/out_2_b.gif',  urlpass + 'img/out_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'outline/history.html', 'Mover(\'out\',10)', 'Mout(\'out\',0)');



menus[1] = new Menu(165, 130);

menus[1].add( urlpass + 'img/news_1_b.gif',  urlpass + 'img/news_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'news/', 'Mover(\'news\',11)', 'Mout(\'news\',1)');

menus[1].add( urlpass + 'img/news_2_b.gif',  urlpass + 'img/news_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'news/backnumber.html', 'Mover(\'news\',11)', 'Mout(\'news\',1)');

menus[1].add( urlpass + 'img/news_3_b.gif',  urlpass + 'img/news_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'news/shop.html', 'Mover(\'news\',11)', 'Mout(\'news\',1)');



menus[2] = new Menu(165, 162);

menus[2].add( urlpass + 'img/ir_2_b.gif',  urlpass + 'img/ir_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/ir.html', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');

menus[2].add( urlpass + 'img/ir_3_b.gif',  urlpass + 'img/ir_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/m-info.html', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');

menus[2].add( urlpass + 'img/ir_4_b.gif',  urlpass + 'img/ir_4_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/shareholder.html', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');

menus[2].add( urlpass + 'img/ir_1_b.gif',  urlpass + 'img/ir_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');

menus[2].add( urlpass + 'img/ir_5_b.gif',  urlpass + 'img/ir_5_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/governance.html', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');

menus[2].add( urlpass + 'img/ir_6_b.gif',  urlpass + 'img/ir_6_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'kessan/taoa.html', 'Mover(\'ir\',12)', 'Mout(\'ir\',2)');


menus[3] = new Menu(165, 194);

menus[3].add( urlpass + 'img/hot-fresh_1_b.gif',  urlpass + 'img/hot-fresh_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/fhh-h.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');

menus[3].add( urlpass + 'img/hot-fresh_2_b.gif',  urlpass + 'img/hot-fresh_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/champs.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');

menus[3].add( urlpass + 'img/hot-fresh_3_b.gif',  urlpass + 'img/hot-fresh_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/customer.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');

menus[3].add( urlpass + 'img/hot-fresh_4_b.gif',  urlpass + 'img/hot-fresh_4_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/heart.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');

menus[3].add( urlpass + 'img/hot-fresh_5_b.gif',  urlpass + 'img/hot-fresh_5_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/chicken.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');

menus[3].add( urlpass + 'img/hot-fresh_6_b.gif',  urlpass + 'img/hot-fresh_6_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'hot-fresh/pizza.html', 'Mover(\'hot-fresh\',13)', 'Mout(\'hot-fresh\',3)');



menus[4] = new Menu(165, 290);

menus[4].add( urlpass + 'img/comm_4_b.gif',  urlpass + 'img/comm_4_a.gif', '29',  'javascript:opn_Win(\'http://japan.kfc.co.jp/wfp/index.html\',\'wfp_win\',\'toolbar=no,menubar=no,location=no,status=no,scrollbars=no,resizable=no\')',  'javascript:opn_Win(\'http://japan.kfc.co.jp/wfp/index.html\',\'wfp_win\',\'toolbar=no,menubar=no,location=no,status=no,scrollbars=no,resizable=no\')', 'Mover(\'comm\',14)', 'Mout(\'comm\',4)' ,1);

menus[4].add( urlpass + 'img/comm_1_b.gif',  urlpass + 'img/comm_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'social/', 'Mover(\'comm\',14)', 'Mout(\'comm\',4)');

menus[4].add( urlpass + 'img/comm_2_b.gif',  urlpass + 'img/comm_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'social/commu.html', 'Mover(\'comm\',14)', 'Mout(\'comm\',4)');

//パートナーシップ

menus[5] = new Menu(165, 354);

menus[5].add( urlpass + 'img/par_1_b.gif',  urlpass + 'img/par_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'partner/', 'Mover(\'par\',15)', 'Mout(\'par\',5)');

menus[5].add( urlpass + 'img/par_2_b.gif',  urlpass + 'img/par_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'partner/phlist.html', 'Mover(\'par\',15)', 'Mout(\'par\',5)');

//

menus[6] = new Menu(165, 418);

menus[6].add( urlpass + 'img/his_1_b.gif',  urlpass + 'img/his_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'tale/', 'Mover(\'his\',16)', 'Mout(\'his\',6)');

//Q&A

menus[7] = new Menu(165, 450);

menus[7].add( urlpass + 'img/qa_1_b.gif',  urlpass + 'img/qa_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'qa/kfc.html', 'Mover(\'qa\',17)', 'Mout(\'qa\',7)');

//

menus[8] = new Menu(165, 482);

/*** 2009/6/1 ***************************/
menus[8].add( urlpass + 'img/rec_1_b.gif',  urlpass + 'img/rec_1_a.gif', '29',  urlpass + 'top_bar02.html',  'http://japan.kfc.co.jp/rec/2008/', 'Mover(\'rec\',18)', 'Mout(\'rec\',8)');
/*menus[8].add( urlpass + 'img/rec_1_b.gif',  urlpass + 'img/rec_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'recruit/', 'Mover(\'rec\',18)', 'Mout(\'rec\',8)');*/

menus[8].add( urlpass + 'img/rec_2_b_N.gif',  urlpass + 'img/rec_2_a_N.gif', '29',  urlpass + 'top_bar02.html',
'http://job.kfc.co.jp/pc/', 'Mover(\'rec\',18)', 'Mout(\'rec\',8)');

/*menus[8].add( urlpass + 'img/rec_3_b.gif',  urlpass + 'img/rec_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'recruit/shopstaff_ph_link.html', 'Mover(\'rec\',18)', 'Mout(\'rec\',8)');*/
/*** 2009/6/1 ***************************/

//

menus[9] = new Menu(165, 386);

menus[9].add( urlpass + 'img/store_1_b.gif',  urlpass + 'img/store_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'store/', 'Mover(\'store\',19)', 'Mout(\'store\',9)');

menus[9].add( urlpass + 'img/store_2_b.gif',  urlpass + 'img/store_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'store/type.html', 'Mover(\'store\',19)', 'Mout(\'store\',9)');

//

for(i = 10; i < 20; i++) {

	menus[i] = new Menu(0, 0);

}

menus[20] = new Menu(165, 514);

menus[20].add( urlpass + 'img/using_1_b.gif',  urlpass + 'img/using_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'using/', 'Mover(\'using\',200)', 'Mout(\'using\',20)');

//menus[20].add( urlpass + 'img/using_2_b.gif',  urlpass + 'img/using_2_a.gif', '29',  urlpass + 'top_bar02.html',  '/link/link.html', 'Mover(\'using\',200)', 'Mout(\'using\',20)');
menus[20].add( urlpass + 'img/using_2_b.gif',  urlpass + 'img/using_2_a.gif', '29',  urlpass + 'top_bar02.html',  'https://ssl.kfc.co.jp/link/link.html', 'Mover(\'using\',200)', 'Mout(\'using\',20)');

//

menus[21] = new Menu(165, 546);

menus[21].add( urlpass + 'img/security_1_b.gif',  urlpass + 'img/security_1_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'security/', 'Mover(\'security\',210)', 'Mout(\'security\',21)');

menus[21].add( urlpass + 'img/security_2_b.gif',  urlpass + 'img/security_2_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'security/privacy.html', 'Mover(\'security\',210)', 'Mout(\'security\',21)');

menus[21].add( urlpass + 'img/security_3_b.gif',  urlpass + 'img/security_3_a.gif', '29',  urlpass + 'top_bar02.html',  urlpass + 'security/inquiry.html', 'Mover(\'security\',210)', 'Mout(\'security\',21)');



//report

menus[22] = new Menu(165, 415);


//environment

menus[23] = new Menu(165, 415);



menus[24] = new Menu(165, 447);


var container = null;

var active = null;

var timer = null;



function dbchange(urlA, urlB) {



//	parent.nav.location.href = urlA;
//	parent.AAA.location.href = urlB;

	parent.location.href = urlB;



}



function Menu(left, top) {



	this.id = menus.length;

	this.left = left;

	this.top = top;

//	this.menu_timer = null;

	this.div = new Array();

	this.name = new Array();

	this.off = new Array();

	this.on = new Array();

	this.height = new Array();

	this.urlA = new Array();

	this.urlB = new Array();

	this.infnc = new Array();

	this.outfnc = new Array();

	this.spref = new Array();

	this.timer = new Array;

	this.add = add;



	return this;



}







function add(off, on, height, urlA, urlB, infnc, outfnc, spref) {



	var n = this.div.length;



	this.div[n] = 'menu' + this.id + 'div' + this.div.length;

	this.name[n] = this.div[n] + 'img';

	this.off[n] = new Image(); this.off[n].src = off;

	this.on[n] = new Image(); this.on[n].src = on;

	this.height[n] = height;

	this.urlA[n] = urlA;

	this.urlB[n] = urlB;

	this.infnc[n] = infnc;

	this.outfnc[n] = outfnc;

	this.spref[n] = spref;

	

	this.timer[n] = null;



}





function nup () {

	return(1);

}



function init(pid) {





	if (document.layers) {

		var timer = setTimeout('init()', 100);

		container = new Layer(100);

		clearTimeout(timer);

		container.visibility = 'visible';

	} else if (document.all || document.getElementById) {

		document.write('<span id="container"></span>');

		container = document.all ? document.all('container') : document.getElementById('container');

	}



	if (!container) return false;



	var contents = '';



	for (var i=0; i<menus.length; i++) {



		var top = 0;

		var left = 0

		if (!document.layers) { top = menus[i].top; left = menus[i].left }



		for (var j=0; j<menus[i].div.length; j++) {

			

			

			if (j) top +=Number(menus[i].height[j-1]);

			var infnc = '';

			var outfnc = '';

			if(pid == i) {

				infnc = 'nup()';

				outfnc = 'nup()';

			} else {

				infnc = menus[i].infnc[j] ;

				outfnc = menus[i].outfnc[j] ;

			}

			if(menus[i].spref[j]){
				contents += '<div id="' + menus[i].div[j] + '" style="position:absolute;left:' + left + ';top:' + top + ';visibility:hidden;"><a href="' + menus[i].urlA[j] + '" onMouseOver="over(' + i + ',' + j + '), ' + infnc + '" onMouseOut="out2(' + i + ',' + j + '), ' + outfnc + '"><img src="' + menus[i].off[j].src +  '" border="0" name="' + menus[i].name[j] + '"></a></div>';
			} else {
				
				/** 2009/6/1 ***************************************/
				if (i==8){
					contents += '<div id="' + menus[i].div[j] + '" style="position:absolute;left:' + left + ';top:' + top + ';visibility:hidden;"><a target="_blank" href="'+ menus[i].urlB[j] + '" onMouseOver="over(' + i + ',' + j + '), ' + infnc + '" onMouseOut="out2(' + i + ',' + j + '), ' + outfnc + '"><img src="' + menus[i].off[j].src +  '" border="0" name="' + menus[i].name[j] + '"></a></div>';
				}else{
					contents += '<div id="' + menus[i].div[j] + '" style="position:absolute;left:' + left + ';top:' + top + ';visibility:hidden;"><a href="javascript:dbchange(\'' + menus[i].urlA[j] + '\',\'' +  menus[i].urlB[j] + '\')" onMouseOver="over(' + i + ',' + j + '), ' + infnc + '" onMouseOut="out2(' + i + ',' + j + '), ' + outfnc + '"><img src="' + menus[i].off[j].src +  '" border="0" name="' + menus[i].name[j] + '"></a></div>';
				}
				/*contents += '<div id="' + menus[i].div[j] + '" style="position:absolute;left:' + left + ';top:' + top + ';visibility:hidden;"><a href="javascript:dbchange(\'' + menus[i].urlA[j] + '\',\'' +  menus[i].urlB[j] + '\')" onMouseOver="over(' + i + ',' + j + '), ' + infnc + '" onMouseOut="out2(' + i + ',' + j + '), ' + outfnc + '"><img src="' + menus[i].off[j].src +  '" border="0" name="' + menus[i].name[j] + '"></a></div>';*/
				/** 2009/6/1 ***************************************/
				
			}

		}



	}



//	alert(contents);



	if (document.all || document.layers) {

		container.document.open('text/html');

		container.document.write(contents);

		container.document.close();

	} else if (document.getElementById) {

		container.innerHTML = contents;

	}



	return true;



}







function over(menu, img) {



	if (timer) clearTimeout(timer);



	if (document.all || document.getElementById) { document.images[menus[menu].name[img]].src = menus[menu].on[img].src }

	else if (document.layers) { container.document.layers[menus[menu].div[img]].document.images[menus[menu].name[img]].src = menus[menu].on[img].src }



}







function out2(menu, img) {



	hide(menu);



	if (document.all || document.getElementById) { document.images[menus[menu].name[img]].src = menus[menu].off[img].src }

	else if (document.layers) { container.document.layers[menus[menu].div[img]].document.images[menus[menu].name[img]].src = menus[menu].off[img].src }



}







function show(menu) {



	if (document.layers) container.moveTo(menus[menu].left, menus[menu].top);



	hide_all();



	for (var i=0; i<menus[menu].div.length; i++) {

		if (menus[menu].timer[i]) clearTimeout(menus[menu].timer[i]);

		menus[menu].timer[i] = setTimeout('_show("' + menus[menu].div[i] + '")', 80 * i);

	}



	active = menu;



}







function _show(id) {

	if (document.all) { if (document.all(id)) document.all(id).style.visibility = 'visible' }

	else if (document.layers) { if (container.document.layers[id]) container.document.layers[id].visibility = 'visible' }

	else if (document.getElementById) { if (document.getElementById(id)) document.getElementById(id).style.visibility = 'visible' }

}







function hide(menu) {

	if (timer) clearTimeout(timer);

	timer = setTimeout('_hide("' + menu + '")', 200);

}







function _hide(menu) {



	if (menu == null) return false;



	for (var i=0; i<menus[menu].div.length; i++) {

		var n = menus[menu].div.length - i - 1;

		if (menus[menu].timer[n]) clearTimeout(menus[menu].timer[n]);

		menus[menu].timer[n] = setTimeout('__hide("' + menus[menu].div[n] + '")', 80 * i);

	}



	if (timer) clearTimeout(timer);



	active = null;



}







function __hide(id) {

	if (document.all) { if (document.all(id)) document.all(id).style.visibility = 'hidden' }

	else if (document.layers) { if (container.document.layers[id]) container.document.layers[id].visibility = 'hidden' }

	else if (document.getElementById) { if (document.getElementById(id)) document.getElementById(id).style.visibility = 'hidden' }

}







function hide_all() {



	if (timer) clearTimeout(timer);



	for (var i=0; i<menus.length; i++) {



		for (var j=0; j<menus[i].div.length; j++) {



			if (menus[i].timer[j]) clearTimeout(menus[i].timer[j]);



			if (document.all) document.all(menus[i].div[j]).style.visibility = 'hidden';

			else if (document.layers) container.document.layers[menus[i].div[j]].visibility = 'hidden';

			else if (document.getElementById) document.getElementById(menus[i].div[j]).style.visibility = 'hidden';



		}



	}



}







