//ÇÃ·¡½Ã¸Þ´º ¸µÅ©
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

function flash_movie(src, ids, width, height, wmode) {
	var wh = "";
	if (parseInt(width) && parseInt(height)) 
		wh = " width='"+width+"' height='"+height+"' ";
	return "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' "+wh+" id="+ids+"><param name=wmode value="+wmode+"><param name=movie value="+src+"><param name=quality value=high><embed src="+src+" quality=high wmode="+wmode+" type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash' "+wh+"></embed></object>";
}

function doc_write(cont) {
	document.write(cont);
}

function root() { location.href = "/"; }

function menu01() { location.href = js_path + "/contents/introduce.about.php"; }
function menu01s01() { location.href = js_path + "/contents/introduce.about.php"; }
function menu01s02() { location.href = js_path + "/contents/introduce.kla.php"; }
function menu01s03() { location.href = js_path + "/contents/introduce.history.php"; }
function menu01s04() { location.href = js_path + "/contents/introduce.greetings.php"; }
function menu01s05() { location.href = js_path + "/contents/introduce.rules.php"; }
function menu01s06() { location.href = js_path + "/contents/introduce.organization.php"; }
function menu01s07() { location.href = js_path + "/contents/introduce.logo.php"; }
function menu01s08() { location.href = js_path + "/contents/introduce.contact.php"; }

function menu02() { location.href = js_path + "/contents/national.team.php?tag=1"; }
function menu02s01() { location.href = js_path + "/contents/national.team.php?tag=1"; }
function menu02s02() { location.href = js_path + "/contents/national.team.php?tag=2"; }

function menu03() { location.href = js_path + "/contents/news.list.php?tag=2"; }
function menu03s01() { location.href = js_path + "/contents/news.list.php?tag=2"; }
function menu03s02() { location.href = js_path + "/contents/event.list.php"; }
function menu03s03() { location.href = js_path + "/contents/news.list.php?tag=1"; }
function menu03s04() { location.href = js_path + "/contents/practice.list.php"; }
function menu03s05() { location.href = js_path + "/contents/news.list.php?tag=3"; }
function menu03s06() { location.href = js_path + "/contents/news.list.php?tag=4"; }
function menu03s07() { location.href = js_path + "/contents/tournament.game.list.php"; }

function menu04() { location.href = js_path + "/contents/gallery.list.php"; }
function menu04s01() { location.href = js_path + "/contents/gallery.list.php"; }
function menu04s02() { location.href = js_path + "/contents/movie.list.php"; }
function menu04s03() { location.href = js_path + "/contents/file.list.php?tag=1"; }
function menu04s04() { location.href = js_path + "/contents/file.list.php?tag=2"; }
function menu04s05() { location.href = js_path + "/contents/file.list.php?tag=3"; }

function menu05() { location.href = js_path + "/contents/bookmark.php?tag=1"; }
function menu05s01() { location.href = js_path + "/contents/bookmark.php?tag=1"; }
function menu05s02() { location.href = js_path + "/contents/bookmark.php?tag=2"; }

function menu06() { location.href = js_path + "/contents/donation.contributor.php"; }
function menu06s01() { location.href = js_path + "/contents/donation.contributor.php"; }
function menu06s02() { location.href = js_path + "/contents/donation.with.php"; }


function MM_findObj(n, d) { //v4.01
	var p,i,x;
	if(!d) d=document;
	if((p=n.indexOf("?"))>0&&parent.frames.length) {
		d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
	}
	if(!(x=d[n])&&d.all) x=d.all[n];
	for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n);
	return x;
}

function MM_swapImgRestore() { //v3.0
	var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
	var i,j=0,x,a=MM_swapImage.arguments;
	document.MM_sr=new Array;
	for(i=0;i<(a.length-2);i+=3)
	if ((x=MM_findObj(a[i]))!=null) {
		document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];
	}
}


//¸µÅ© Á¡¼± ¾ø¾Ö±â (ÀÌ¹ÌÁö Æ÷ÇÔ)
function autoblur() {
	if (event.srcElement.tagName == "A") document.body.focus();
}
document.onfocusin = autoblur;


function window_open(url, name, option) {
	var popup = window.open(url, name, option);
	popup.focus();
}

//-->

