function playflash(file,width,height,bgcolor,quality,name){
        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">');  //ÇÃ·¡½¬ÇÃ·¹ÀÌ¾î ¹öÀüÀÌ ÀÌÀü¹öÀüÀÏ°æ¿ì ¹öÀü 8À» º¯°æ
        document.write('<param name="movie" value="'+file+'" />');
        document.write('<param name="quality" value="'+quality+'" />');
        document.write('<param name="wmode" value="transparent" />');  //Åõ¸íÇÃ·¡½¬°¡ ¾Æ´Ò°æ¿ì ÀÌ ¶óÀÎÀ» »èÁ¦
        document.write('<param name="bgcolor" value="'+bgcolor+'" />');
        document.write('<embed src="'+file+'" quality="'+quality+'" wmode="transparent" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
        document.write('</object>')

}

//»ç¶û¹ç24½Ã
function menu1(menu_bar){

	if(menu_bar==1){
		location.href="/24h/List.asp?strBoardID=0018"; //´º½º
	}
	if(menu_bar==2){
		location.href="/24h/List.asp?strBoardID=0001"; //°øÁö»çÇ×
	}
	if(menu_bar==3){
		location.href="/24h/List.asp?strBoardID=0037"; //±¹³»¿Ü´º½º
	}
	if(menu_bar==4){
		location.href="/24h/list.asp?strBoardID=0034"; //ÇöÀå´Þ¸°´Ù
	}
	if(menu_bar==5){
		location.href="/24h/list.asp?strBoardID=0036"; //½Ã¼³ÀÏ±â
	}
		
}

//±â°ü¼Ò°³
function menu2(menu_bar){

	if(menu_bar==1){
		location.href="/about/01.asp";  //»ç¶û¹ç¼Ò°³
	}
	if(menu_bar==2){
		location.href="/about/07.asp"; //Á¶Á÷µµ
	}
	if(menu_bar==3){
		location.href="/about/08.asp"; //¿¬Çõ
	}
	if(menu_bar==4){
		location.href="/about/09.asp"; //ci¼Ò°³
	}
	if(menu_bar==5){
		location.href="/about/10.asp"; //±¹³»/ÇØ¿ÜÁöºÎ
	}
	if(menu_bar==6){
		location.href="/about/list.asp?strBoardID=0003"; //º¸µµÀÚ·á
	}
	if(menu_bar==7){
		location.href="/about/12.asp"; //È«º¸»çÀý´Ü
	}
	if(menu_bar==8){
		location.href="/about/15.asp"; //¿À½Ã´Â±æ(º»»ç)
	}
	if(menu_bar==9){
		location.href="/about/15_1.asp"; //¿À½Ã´Â±æ(´ë±¸)
	}
	if(menu_bar==10){
		location.href="/about/15_2.asp"; //¿À½Ã´Â±æ(ºÎ»ê)
	}
	if(menu_bar==11){
		location.href="/about/15_3.asp"; //¿À½Ã´Â±æ(´ëÀü)
	}
	if(menu_bar==12){
		location.href="/about/15_4.asp"; //¿À½Ã´Â±æ(±¤ÁÖ)
	}
	if(menu_bar==13){
		location.href="/about/16.asp"; //³ª´®±â¾÷
	}
	if(menu_bar==14){
		location.href="/about/17.asp"; //°á»êº¸°í¼­
	}
		
}

//»ç¾÷¼Ò°³
function menu3(menu_bar){

	if(menu_bar==1){
		location.href="/business/01.asp"; //½Ã¼³¿î¿µ»ç¾÷
	}
	if(menu_bar==2){
		location.href="/business/08.asp"; //º¹ÁöÁö¿ø»ç¾÷
	}
	if(menu_bar==3){
		location.href="/business/13.asp"; //ÇØ¿ÜÁö¿ø»ç¾÷
	}
	if(menu_bar==4){
		location.href="/business/18.asp"; //±¸Á¦¼±±³»ç¾÷
	}
	if(menu_bar==5){
		location.href="/business/19.asp"; //ÇÔ²²ÇÏ´Â¼±±³´Ü
	}
	if(menu_bar==6){
		location.href="/business/20.asp"; //»ç¶û¹ç»õº®ÆíÁö
	}
	if(menu_bar==7){
		location.href="/business/21.asp"; //»ç¶û¹ç±¹¹Î¸¶À»
	}

}

//ÈÄ¿ø¾È³»
function menu4(menu_bar){

	if(menu_bar==1){
		location.href="/support/01.asp";  //ÈÄ¿ø¾È³»
	}
	if(menu_bar==2){
		location.href="/support/fixed.asp";  //Á¤±âÈÄ¿ø
	}
	if(menu_bar==3){
		location.href="/support/allthe_one.asp";  //ÀÏ½ÃÈÄ¿ø
	}
	if(menu_bar==4){
		location.href="/support/etc.asp";  //±âÅ¸ÈÄ¿ø
	}
	if(menu_bar==5){
		location.href="/support/share2.asp";  //±âÀûÀÇ¼±¹°
	}

}

//Ä·ÆäÀÎ
function menu5(menu_bar){

	if(menu_bar==1){
		location.href="/campaign/campaign.asp?campaign_cd=p01";  //È­»ó¸ÞµðÄÃ
	}
	if(menu_bar==2){
		location.href="/campaign/campaign.asp?campaign_cd=p02";  //³­Ä¡º´ Ä¡·áÁö¿ø
	}
	if(menu_bar==3){
		location.href="/campaign/campaign.asp?campaign_cd=p03";  //±ä±Þ»ý°èÁö¿ø
	}
	if(menu_bar==4){
		location.href="/campaign/campaign.asp?campaign_cd=p04";  //¹ÌÈ¥¸ð ÀÚ¸³Áö¿ø
	}
	if(menu_bar==5){
		location.href="/campaign/campaign.asp?campaign_cd=p07";  //±ä±Þ±¸È£
	}
	if(menu_bar==6){
		location.href="/campaign/campaign.asp?campaign_cd=p05";  //ÂøÇÑ±âºÎ
	}
	if(menu_bar==11){
		location.href="/campaign/talent.asp?campaign_cd=p08";  //»ç¶û³ª´©¹Ì
	}
	if(menu_bar==7){
		location.href="/campaign/campaign.asp?campaign_cd=p06";  //ÀÌº¥Æ®
	}	
	if(menu_bar==8){
		window.open("http://benet.withgo.or.kr");//¹è³Á
	}
	if(menu_bar==9){
		window.open("http://www.greatlegacy.or.kr");  ///À§´ëÇÑ À¯»ê
	}
	if(menu_bar==10){
		location.href="/campaign/supply.asp";  //¼öÇý½ÅÃ»
	}

}

//Ä¿¹Â´ÏÆ¼
function menu6(menu_bar){

	if(menu_bar==1){
		location.href="/community/u_list.asp?strBoardID=0004";  //¹Ìµð¾î°¶·¯¸®
	}
	if(menu_bar==2){
		location.href="/community/p_list.asp";  //Æ÷Åä°¶·¯¸®
	}
	if(menu_bar==3){
		location.href="/community/wallpaper.asp?strBoardID=0040";  //¿ùÆäÀÌÆÛ
	}
	if(menu_bar==4){
		location.href="/community/e_list.asp?strBoardID=0010";  //¼Ò½ÄÁö
	}
	if(menu_bar==5){
		location.href="/community/06.asp";  //FAQ
	}
	if(menu_bar==6){
		location.href="/community/q_list.asp?strBoardID=0002";  //Q&A
	}
	if(menu_bar==7){
		location.href="/community/08.asp";  //RSSÁö¿ø¼­ºñ½º
	}
	
		
		
}

//³ªÀÇÈÄ¿øÁ¤º¸_·Î±×ÀÎÇßÀ»°æ¿ì
function menu7(menu_bar){

	
	if(menu_bar==1){
		location.href="/mypage/fixed_list.asp";  //CMS Á¤±âÈÄ¿ø ³»¿ª
	}
	if(menu_bar==2){
		location.href="/mypage/fixed.asp?di=jiro";  //Áö·ÎÈÄ¿ø ³»¿ª
	}
	if(menu_bar==3){
		location.href="/mypage/fixed.asp?di=gyeja";  //¹«ÅëÀåÈÄ¿ø ³»¿ª
	}
	if(menu_bar==4){
		location.href="/mypage/fixed.asp?di=hp";  //ÇÚµåÆù Á¤±âÈÄ¿ø ³»¿ª
	}
	if(menu_bar==5){
		location.href="/mypage/fixed.asp?di=card";  //Ä«µå Á¤±âÈÄ¿ø ³»¿ª
	}
	if(menu_bar==6){
		location.href="/mypage/once.asp";  //ÀÏ½ÃÈÄ¿ø ³»¿ª
	}
	if(menu_bar==7){
		location.href="/mypage/addr.asp";  //ÈÄ¿øÁ¤º¸¼öÁ¤
	}
	if(menu_bar==8){
		location.href="/mypage/gongje.asp";  //¼Òµæ°øÁ¦ ¿µ¼öÁõ ¹ß±Þ
	}
	if(menu_bar==9){
		location.href="/mypage/edit.asp";  //°³ÀÎÁ¤º¸¼öÁ¤
	}
	if(menu_bar==10){
		location.href="/mypage/qna.asp";  //³ªÀÇ¹®ÀÇÇÔ
	}
	if(menu_bar==11){
		location.href="/mypage/secession.asp";  //À¥È¸¿øÅ»Åð
	}
}


