var flag = false;

function naviOn (obj) {
	var imgPath = obj.firstChild.src.split("_o");
	if (imgPath[1] == 'n.gif') {
		flag = true;
	} else {
		flag = false;
	}
	obj.firstChild.src = imgPath[0] + "_on.gif";
}

function naviOut (obj) {
	var imgPath = obj.firstChild.src.split("_o");
	if (flag == false) {
		obj.firstChild.src = imgPath[0] + "_of.gif";
	}
}

function noticeBoxOn() {
	document.getElementById('bodyContainer').style.height='100%';
	document.getElementById('bodyContainer').style.overflow='hidden';
	document.body.style.overflow='hidden';
}

function noticeBoxOff() {
	document.getElementById('notice').style.display='none';
	document.getElementById('noticeContent').style.display='none';
	document.body.style.height='';
	document.getElementById('bodyContainer').style.height='';
	document.getElementById('bodyContainer').style.overflow='auto';
	document.body.style.overflow='auto';

}
