//<![CDATA[

/* for Index Navigator
------------------------------------------------*/
var selected4header = null;

function resetter() {
	document.getElementById("entryBody01_01").style.height ="51px";
	document.getElementById("entryBody01_02").style.height ="51px";
	document.getElementById("entryBody01_03").style.height ="51px";
	document.getElementById("entries01").style.overflow ="hidden";
	
	document.getElementById("entryBody02_01").style.height ="51px";
	document.getElementById("entryBody02_02").style.height ="51px";
	document.getElementById("entryBody02_03").style.height ="51px";
	document.getElementById("entries02").style.overflow ="hidden";

	
	selected4header = null;
}

function selNavi(tgt, sTgt) {
	if(selected4header != tgt){
		resetter();
		document.getElementById(tgt).style.height ="auto";
		document.getElementById(sTgt).style.overflow ="auto";
		selected4header = tgt;
	}
	else {
		resetter();
	}
}

function mOver(tgt) {
	if(tgt == "entryBody01_01" || tgt == "entryBody01_02" || tgt == "entryBody01_03"){
		document.getElementById(tgt).style.borderTopColor ="#0176b5";
		document.getElementById(tgt).style.borderBottomColor ="#0176b5";
		document.getElementById(tgt).style.borderLeftColor ="#0176b5";
		document.getElementById(tgt).style.borderRightColor ="#0176b5";
	}
	else if(tgt == "entryBody02_01" || tgt == "entryBody02_02" || tgt == "entryBody02_03"){
		document.getElementById(tgt).style.borderTopColor ="#ff4502";
		document.getElementById(tgt).style.borderBottomColor ="#ff4502";
		document.getElementById(tgt).style.borderLeftColor ="#ff4502";
		document.getElementById(tgt).style.borderRightColor ="#ff4502";
	}
/*	else{
		document.getElementById(tgt).style.borderTopColor ="#000000";
		document.getElementById(tgt).style.borderBottomColor ="#000000";
		document.getElementById(tgt).style.borderLeftColor ="#000000";
		document.getElementById(tgt).style.borderRightColor ="#000000";
	}*/
}
function mOut(tgt) {
	document.getElementById(tgt).style.borderTopColor ="#CCC";
	document.getElementById(tgt).style.borderBottomColor ="#FFF";
	document.getElementById(tgt).style.borderLeftColor ="#FFF";
	document.getElementById(tgt).style.borderRightColor ="#FFF";
}


function nOver(tgt) {
	if(tgt == "m02"){
		document.getElementById(tgt).style.backgroundPosition ="-41px -115px";
	}
	else if(tgt == "m03"){
		document.getElementById(tgt).style.backgroundPosition ="-263px -115px";
	}
	else if(tgt == "m04"){
		document.getElementById(tgt).style.backgroundPosition ="-495px -115px";
	}
	else if(tgt == "m05"){
		document.getElementById(tgt).style.backgroundPosition ="-617px -115px";
	}
	else if(tgt == "m06"){
		document.getElementById(tgt).style.backgroundPosition ="-739px -115px";
	}
}
function nOut(tgt) {
	if(tgt == "m02"){
		document.getElementById(tgt).style.backgroundPosition ="-41px 0px";
	}
	else if(tgt == "m03"){
		document.getElementById(tgt).style.backgroundPosition ="-263px 0px";
	}
	else if(tgt == "m04"){
		document.getElementById(tgt).style.backgroundPosition ="-495px 0px";
	}
	else if(tgt == "m05"){
		document.getElementById(tgt).style.backgroundPosition ="-617px 0px";
	}
	else if(tgt == "m06"){
		document.getElementById(tgt).style.backgroundPosition ="-739px 0px";
	}
}


//]]>
