function Show_Flash(url, width, height){
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
	    document.write('<param name="movie" value="' + url + '">');
	    document.write('<param name="quality" value="high">');
	    document.write('<param name="wmode" value="transparent">');
	    document.write('<embed src="' + url + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"></embed>');
	    document.write('</object>');
}

function resizeFrame(iframeObj) {
	try
	{
		var innerBody = iframeObj.contentWindow.document.body;
		var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
		var innerWidth = innerBody.scrollWidth + (innerBody.offsetWidth - innerBody.clientWidth);

		iframeObj.style.height = innerHeight;
		iframeObj.style.width = innerWidth;		  
	}
	catch (e) 
	{
	}
}

function Nwin(strShow, width, height, scrollbar, resizable, toolbar) {
 window.open(strShow,"newWindow","width=" + width + ",height=" + height + ",left=100,top=0,scrollbars=" + scrollbar + ",resizable=" + resizable + ",toolbar=" + toolbar );
}

// °Ë»ö°ü·Ã ½ºÅ©¸³Æ®
function handlePress(e, cmd) { 
	var whichCode = (window.Event) ? e.which : e.keyCode; 
	if(e.keyCode == 13){ 
	   conformsubmit(); 
	} 
}

function conformsubmit(){ 
	var searchForm = document.search; 
     
    var query = document.search.query.value; 
	if(query == '') 
	{ 
		alert('°Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ½Ê½Ã¿À.');  
	    document.search.query.focus(); 
		return; 
	} 
    searchForm.submit(); 
}
