function initSubNavi(SEL){
	$("#" + SEL).show();
}

function toggleSubNavi(SEL){
	$(".subNavi").hide();
	$("#" + SEL).toggle();
}

function youAreHere(sel){
	if(sel != ""){	
		var selId = sel;
		document.getElementById(selId).className = "on";
	}
}

function businessBtn(){
	if(typeof businessBtnFlg == 'undefined' || businessBtnFlg != 1){
		$("#business ul").show();
		businessBtnFlg = 1;
	}else{
		$("#business ul").hide();
		businessBtnFlg = 0;
	}
}

function businessBtnOver(){
	if(typeof businessBtnFlg == 'undefined' || businessBtnFlg != 1){
		document.getElementById("businessImg").src=document.getElementById("businessImg").src.replace(".gif","_on.gif");
		document.getElementById("businessBorder").className = "in onBorder";
	}
}

function businessBtnOut(){
	if(typeof businessBtnFlg == 'undefined' || businessBtnFlg != 1){
		document.getElementById("businessImg").src=document.getElementById("businessImg").src.replace("_on.gif",".gif");
		document.getElementById("businessBorder").className = "in";
	}
}

function initBusinessBtn(SEL){
	if(SEL != ""){	
		$("#business ul").toggle();
		var selId = SEL;
		document.getElementById(selId).className = "on";
		document.getElementById("businessImg").src=document.getElementById("businessImg").src.replace(".gif","_on.gif");
		businessBtnFlg = 1;
	}
}
function initBusinessBorder(){
	document.getElementById("businessBorder").className = "in onBorder";
}






function informationBtn(){
	if(typeof informationBtnFlg == 'undefined' || informationBtnFlg != 1){
		$("#information ul").show();
		informationBtnFlg = 1;
	}else{
		$("#information ul").hide();
		informationBtnFlg = 0;
	}
}

function informationBtnOver(){
	if(typeof informationBtnFlg == 'undefined' || informationBtnFlg != 1){
		document.getElementById("informationImg").src=document.getElementById("informationImg").src.replace(".gif","_on.gif");
		document.getElementById("informationBorder").className = "in onBorder";
		document.getElementById("foodBorder").className = "in onBorder";
		document.getElementById("breweryBorder").className = "in onBorder";
	}
}

function informationBtnOut(){
	if(typeof informationBtnFlg == 'undefined' || informationBtnFlg != 1){
		document.getElementById("informationImg").src=document.getElementById("informationImg").src.replace("_on.gif",".gif");
		document.getElementById("informationBorder").className = "in";
		document.getElementById("foodBorder").className = "in";
		document.getElementById("breweryBorder").className = "in";
	}
}

function initInformationBtn(SEL){
	if(SEL != ""){	
		$("#information ul").toggle();
		var selId = SEL;
		document.getElementById(selId).className = "on";
		document.getElementById("informationImg").src=document.getElementById("informationImg").src.replace(".gif","_on.gif");
		informationBtnFlg = 1;
	}
}

function initFoodBorder(){
	document.getElementById("informationBorder").className = "in onBorder";
	document.getElementById("foodBorder").className = "in onBorder";
	document.getElementById("breweryBorder").className = "in";
}

function initBreweryBorder(){
	document.getElementById("informationBorder").className = "in onBorder";
	document.getElementById("foodBorder").className = "in ";
	document.getElementById("breweryBorder").className = "in onBorder";
}




function initNewsBtn(sel){
	if(sel != ""){	
		var selId = sel;
		document.getElementById(selId).src=document.getElementById(selId).src.replace(".gif","_on.gif");
		document.getElementById(selId).className = "now";
	}	

}
