/*-------------------------------------------------------------------------------------
//ÆË¾÷Ã¢ °¡¿îµ¥·Î ¶ç¿ì±â 
--------------------------------------------------------------------------------------*/
var win_center = null;
function winopen_center(mypage,myname,w,h,h1,scroll)
{
			
		LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	
		if (h1 == ""){
			TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
		}
		else{
			TopPosition = (screen.height) ? ((screen.height-h)/2)-h1 : 0;
		}
	
		settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no,menubars=no'
		
		if (win_center == null){
			win_center = window.open(mypage,myname,settings);
		}
		else{
	
			win_center.close();
			win_center = window.open(mypage,myname,settings);	
		}
		
		if (win_center == null) { 
			alert(" ¡Ø À©µµ¿ì XP SP2 ¶Ç´Â ÀÎÅÍ³Ý ÀÍ½ºÇÃ·Î·¯ 7 »ç¿ëÀÚÀÏ °æ¿ì¿¡´Â \n    È­¸é »ó´Ü¿¡ ÀÖ´Â ÆË¾÷ Â÷´Ü ¾Ë¸²ÁÙÀ» Å¬¸¯ÇÏ¿© ÆË¾÷À» Çã¿ëÇØ ÁÖ½Ã±â ¹Ù¶ø´Ï´Ù. \n\n¡Ø MSN,¾ßÈÄ,±¸±Û ÆË¾÷ Â÷´Ü Åø¹Ù°¡ ¼³Ä¡µÈ °æ¿ì ÆË¾÷Çã¿ëÀ» ÇØÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.");
        }
		
}


//==================================================================
// ÀÏ¹ÝÇÃ·¡½Ã
// swfView( °¡·Î, ¼¼·Î, °æ·Î, transparent¸ðµå(Y : »ç¿ë / N : »ç¿ë¾ÈÇÔ) )
//==================================================================
function swfView(width, height, url, transparent){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ");
	document.write("		codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' ");
	document.write("		width='"+width+"' height='"+height+"'>");
	document.write("	<param name='movie' value='"+url+"' /> ");
	document.write("	<param name='quality' value='high' /> ");
	if (transparent == "Y")
		document.write("	<param name='wmode' value='transparent'> ");
	document.write("	<embed src='"+url+"' quality='high' width='"+width+"' height='"+height+"' ");
	document.write("		type='application/x-shockwave-flash' ");
	document.write("		pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

//==================================================================
// ÆÄ¶ó¸ÞÅ¸(¸Þ´º) ÀÖ´Â ÇÃ·¡½Ã
//==================================================================
function swfViewMenu(width, height, url, menunum){
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ");
	document.write("		codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' ");
	document.write("		width='"+width+"' height='"+height+"'>");
	document.write("	<param name='movie' value='"+url+"' /> ");
	document.write("	<param name='quality' value='high' /> ");
	document.write("	<param name='wmode' value='transparent'> ");
	if (menunum != "")
		document.write("	<param name='flashvars' value='menunum="+ menunum +"'> ");
	document.write("	<embed src='"+url+"' quality='high' width='"+width+"' height='"+height+"' ");
	document.write("		type='application/x-shockwave-flash' ");
	document.write("		pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.write("</object>");
}

/*-------------------------------------------------------------------------------------
 ÀÌ¸ÞÀÏ ÀÔ·Â
--------------------------------------------------------------------------------------*/
function ChangeEmail()
{
    form = document.form1;
    
    if (form.EmailList.selectedIndex == 1)
    {
        form.Email2.style.backgroundColor = "#FFFFFF";
        form.Email2.readOnly   = false;
        form.Email2.value = "";
    }
    else
    {
        form.Email2.style.backgroundColor = "#DFDFDF";
        form.Email2.readOnly   = true;
        form.Email2.value = form.EmailList[form.EmailList.selectedIndex].value;
    }
}



/*-------------------------------------------------------------------------------------
  ¼ýÀÚ È®ÀÎ
--------------------------------------------------------------------------------------*/
function isNumber(obj) {
		var str = obj.value;

		for(var i=0; i < str.length; i++) {
			if(!('0' <= str.charAt(i) && str.charAt(i) <= '9')) {
		  //obj.focus();
			  return false;
		}
		}
		return true;
}



/*-------------------------------------------------------------------------------------
  ¸Þ´º
--------------------------------------------------------------------------------------*/
function menu1(){
		location.href="/hwawon/info.asp?rea=1&ll=1"
}

function menu11(){
		location.href="/hwawon/info.asp?rea=1&ll=1"
}

function menu12(){
		location.href="/hwawon/condition.asp?rea=1&ll=2"
}

function menu13(){
		location.href="/hwawon/traffic.asp?rea=1&ll=3"
}


function menu2(){
		location.href="/zone/?rea=2"
}

function menu21(){
		location.href="/zone/mz_te.asp?rea=2&ll=1"
}

function menu22(){
		location.href="/zone/gz.asp?rea=2&ll=2"
}

function menu23(){
		location.href="/zone/rz01.asp?rea=2&ll=3"
}

function menu24(){
		location.href="/zone/maz01.asp?rea=2&ll=4"
}

function menu25(){
		location.href="/zone/bz01.asp?rea=2&ll=5"
		//alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}


function menu3(){
		//location.href="/Blanco/bathing.asp?rea=3&ll=1"
		alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu31(){
		//location.href="/Blanco/bathing.asp?rea=3&ll=1"
		alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu32(){
		//location.href="/Blanco/mongol.asp?rea=3&ll=2"
		alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu33(){
		//location.href="/Blanco/info.asp?rea=3&ll=3"
		alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu34(){
		//location.href="/Blanco/facility.asp?rea=3&ll=4"
		alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu35(){
		location.href="/Blanco/gallery.asp?rea=3&ll=5"
		//alert('ÁØºñÁß ÀÔ´Ï´Ù.');
}

function menu36(){
		location.href="#"
}


function menu4(){
		location.href="/tour/?part=1&rea=4&ll=1"
}

function menu41(){
		location.href="/tour/?part=1&rea=4&ll=1"
}

function menu42(){
		location.href="/tour/?part=2&rea=4&ll=2"
}

function menu43(){
		location.href="/tour/?part=3&rea=4&ll=3"
}

function menu44(){
		location.href="/tour/?part=4&rea=4&ll=4"
}

function menu5(){
		location.href="/custom/faq.asp?rea=5&ll=1"
}

function menu51(){
		location.href="/custom/faq.asp?rea=5&ll=1"
}

function menu52(){
		location.href="/board/list.asp?code=T_NOTICE&rea=5&ll=2"
}

function menu53(){
		location.href="/custom/question.asp?rea=5&ll=3"
}

function menu54(){
		location.href="/custom/sitemap.asp?rea=5&ll=4"
}

function footer1(){
	window.open("http://www.visitkorea.or.kr/");
}

function footer2(){
		window.open("http://tour.haenam.go.kr/");
}

function footer3(){
		window.open("http://namdokorea.com/");
}

function footer4(){		
		window.open("http://www.jungmunresort.com/");
}

function footer5(){
		location.href=""
}


function top1(){
		location.href="/hwawon/traffic.asp?rea=1&ll=3"
}


function top2(){
		location.href="/custom/sitemap.asp"
}

function main(){
		location.href="/"
}

