/***************************************
ÇÁ·ÎÁ§Æ®¸í : champstudy main
ÀÛ¼ºÀÚ : ÇØÄ¿½º ±³À°±×·ì À¥°³¹ßÆÀ Á¤¹Ì·Ê
****************************************/

/* ·Ñ¾î¹ö ÀÌ¹ÌÁö ¹Ì¸® ·ÎµåÇÏ±â */
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


/* Ã¨ÇÁ¸ÞÀÎ ÅÇ */
function show(c) { 
if (document.getElementById && document.getElementById(c)!= null) 
node = document.getElementById(c).style.display=''; 
else if (document.layers && document.layers[c]!= null) 
document.layers[c].display = ''; 
else if (document.all) 
document.all[c].style.display = ''; 
} 
			 
function hide(c) { 
if (document.getElementById && document.getElementById(c)!= null) 
node = document.getElementById(c).style.display='none'; 
else if (document.layers && document.layers[c]!= null) 
document.layers[c].display = 'none'; 
else if (document.all) 
document.all[c].style.display = 'none'; 
}


/* ´ë¸Þ´º ·Ñ¾î¹ö½Ã */
function menu_show() {
show('menu_show');
}
function menu_hide() {
hide('menu_show');
}

/* ÀÌº¥Æ®¹è³Ê */
function event_01() {
show('event_01');
hide('event_02');
hide('event_03');
hide('event_04');
hide('event_05');
}
function event_02() {
hide('event_01');
show('event_02');
hide('event_03');
hide('event_04');
hide('event_05');
}
function event_03() {
hide('event_01');
hide('event_02');
show('event_03');
hide('event_04');
hide('event_05');
}
function event_04() {
hide('event_01');
hide('event_02');
hide('event_03');
show('event_04');
hide('event_05');
}
function event_05() {
hide('event_01');
hide('event_02');
hide('event_03');
hide('event_04');
show('event_05');
}


/* ¸ñÇ¥Á¡¼öº°°ø·«¹ý */
function book_info_01() {
show('book_info_01');
hide('book_info_02');
hide('book_info_03');
}
function book_info_02() {
hide('book_info_01');
show('book_info_02');
hide('book_info_03');
}
function book_info_03() {
hide('book_info_01');
hide('book_info_02');
show('book_info_03');
}


/* ¼ö°­ÈÄ±â */

function board_01() {
	show('board_01');
	hide('board_02');
	hide('board_03');
	hide('board_04');
	hide('board_05');
	hide('board_06');
	hide('board_07');

	for(i=1;i<=7;i++){
		if(i==1){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}

}
function board_02() {
	hide('board_01');
	show('board_02');
	hide('board_03');
	hide('board_04');
	hide('board_05');
	hide('board_06');
	hide('board_07');
	for(i=1;i<=7;i++){
		if(i==2){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}




}
function board_03() {

hide('board_01');
hide('board_02');
show('board_03');
hide('board_04');
hide('board_05');
hide('board_06');
hide('board_07');
	for(i=1;i<=7;i++){
		if(i==3){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}
}
function board_04() {

hide('board_01');
hide('board_02');
hide('board_03');
show('board_04');
hide('board_05');
hide('board_06');
hide('board_07');
	for(i=1;i<=7;i++){
		if(i==4){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}
}
function board_05() {

hide('board_01');
hide('board_02');
hide('board_03');
hide('board_04');
show('board_05');
hide('board_06');
hide('board_07');
	for(i=1;i<=7;i++){
		if(i==5){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}
}
function board_06() {

hide('board_01');
hide('board_02');
hide('board_03');
hide('board_04');
hide('board_05');
show('board_06');
hide('board_07');
	for(i=1;i<=7;i++){
		if(i==6){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}
}
function board_07() {

hide('board_01');
hide('board_02');
hide('board_03');
hide('board_04');
hide('board_05');
hide('board_06');
show('board_07');
	for(i=1;i<=7;i++){
		if(i==7){
			document.getElementById('after_noteM'+i).className = "menu0"+i+"_on";
		}else{
			document.getElementById('after_noteM'+i).className = "menu0"+i;
		}
	}

}



/* ¼±»ý´Ô²² Áú¹®ÇÏ±â */
function board2_01() {
show('board2_01');
hide('board2_02');
hide('board2_03');
hide('board2_04');
hide('board2_05');
hide('board2_06');
hide('board2_07');
}
function board2_02() {
hide('board2_01');
show('board2_02');
hide('board2_03');
hide('board2_04');
hide('board2_05');
hide('board2_06');
hide('board2_07');
}
function board2_03() {
hide('board2_01');
hide('board2_02');
show('board2_03');
hide('board2_04');
hide('board2_05');
hide('board2_06');
hide('board2_07');
}
function board2_04() {
hide('board2_01');
hide('board2_02');
hide('board2_03');
show('board2_04');
hide('board2_05');
hide('board2_06');
hide('board2_07');
}
function board2_05() {
hide('board2_01');
hide('board2_02');
hide('board2_03');
hide('board2_04');
show('board2_05');
hide('board2_06');
hide('board2_07');
}
function board2_06() {
hide('board2_01');
hide('board2_02');
hide('board2_03');
hide('board2_04');
hide('board2_05');
show('board2_06');
hide('board2_07');
}
function board2_07() {
hide('board2_01');
hide('board2_02');
hide('board2_03');
hide('board2_04');
hide('board2_05');
hide('board2_06');
show('board2_07');
}

/* Ä¿¹Â´ÏÆ¼ */
function board3_01() {
show('board3_01');
hide('board3_02');
hide('board3_03');
hide('board3_04');
hide('board3_05');
}
function board3_02() {
hide('board3_01');
show('board3_02');
hide('board3_03');
hide('board3_04');
hide('board3_05');
}
function board3_03() {
hide('board3_01');
hide('board3_02');
show('board3_03');
hide('board3_04');
hide('board3_05');
}
function board3_04() {
hide('board3_01');
hide('board3_02');
hide('board3_03');
show('board3_04');
hide('board3_05');
}
function board3_05() {
hide('board3_01');
hide('board3_02');
hide('board3_03');
hide('board3_04');
show('board3_05');
}
