// ¸µÅ© blur Ã³¸®
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

// swf Ãâ·Â
function swfPrint(f_url, f_id, f_w, f_h)
{
	document.write('<object id="' + f_id + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + f_w + '" height="' + f_h +'" align="middle">');
	document.write('<param name="movie" value="' + f_url + '" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<param name="allowScriptAccess" value="always" />');
	document.write('<param name="swLiveConnect" value="true" />');
	document.write('<param name="scale" value="noscale" />');
	document.write('</object>');
	
	document.write('<!-- Hixie method -->');
	document.write('<!--[if !IE]> <-->');
	document.write('<object id="' + f_id + '" type="application/x-shockwave-flash" data="' + f_url + '" width="' + f_w + '" height="' + f_h + '" ');
	document.write('wmode="transparent" ');
	document.write('name="' + f_id + '" ');
	document.write('allowScriptAccess="always" ');
	document.write('scale="noscale" ');
	document.write('swLiveConnect="true" />');
	document.write('<!--> <![endif]-->');
}

function checkImageSize()
{
	var h = document.getElementById("pic-image").height;
	var margin = (400 - h) / 6;
	
	document.getElementById("picture-top-margin").style.display = "block";
	document.getElementById("picture-top-margin").style.height = margin;
}

function kwangjuPopupOpen()
{
	window.open("inc/kwangju.html", "", "width=600 height=490 top=100 left=200");
}