<!--

	//ÀÎÀÚ °ª
	function isAgm(agm, len, val){
		var agmL = agm.length - 1;
		return agmL < len ? val : agm[len];
	};

	//»õÃ¢
	function newWin(path, name, w, h){
		var x			= isAgm(newWin.arguments, 4, 0);
		var y			= isAgm(newWin.arguments, 5, 0);
		var documentMode = navigator.appName == "Opera" ? document.body : isCompatMode();
		if(isNaN(x)) x = (documentMode.clientWidth / 2) - (w / 2) + documentMode.scrollLeft;
		if(isNaN(y)) y = (documentMode.clientHeight / 2) - (h / 2) + documentMode.scrollTop;
		var win		= null;
		var proper	= "status=no,toolbar=no,resizable=no,scrollbars=no, menubar=no,width=" + w + ",height=" + h + ",top=" + y + ",left=" + x;
		win			= window.open(path, name, proper);
		win.focus();
	};

	//ºê¶ó¿ìÁ® º° ¾ÆÀÌµð °´Ã¼ ½ºÅ¸ÀÏ
	function getStyleObject(objectId){
		if(document.getElementById && document.getElementById(objectId)){
			return document.getElementById(objectId).style;
		}else if(document.all && document.all(objectId)){
			return document.all(objectId).style;
		}else if(document.layers && document.layers[objectId]){
			return document.layers[objectId];
		}else{
			return false;
		}
	};

	//ºê¶ó¿ìÁ® º° ¾ÆÀÌµð °´Ã¼
	function getObject(objectId){
		if(document.getElementById && document.getElementById(objectId)){
			return document.getElementById(objectId);
		}else if(document.all && document.all(objectId)){
			return document.all(objectId);
		}else if(document.layers && document.layers[objectId]){
			return document.layers[objectId];
		}else{
			return false;
		}
	};

	//ÇÃ·¡½¬ ½áÁÖ±â
	function writeEmbed(url,wd,ht){
		var flashVar	= isAgm(writeEmbed.arguments, 3, null);
		var n				= 0;
		while(getObject("flashMedia_" + n)) n++;
		var strEmbed	=	"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"" + wd + "\" height=\"" + ht + "\" id=\"flashMedia_" + n + "\">"+
									"	<param name=\"movie\" value=\"" + url + "\">"+
									"	<param name=\"menu\" value=\"false\">"+
									"	<param name=\"wmode\" value=\"transparent\">"+
									"	<param name=\"quality\" value=\"high\">"+
									"	<param name=\"allowScriptAccess\" value=\"always\">"+
									"	<param name=\"FlashVars\" value=\"" + flashVar + "\">"+
									"	<embed src=\"" + url + "\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + wd + "\" height=\"" + ht + "\" allowScriptAccess=\"always\" name=\"ExtInterface\" FlashVars=\"" + flashVar + "\"></embed>"+
									"</object>"
		document.write(strEmbed);
	};

	//compatMode
	function isCompatMode(){
		if(navigator.appName == "Opera"){
			return document.body;
		}else{
			return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body;
		}
	};

function resizePopup(w,h) {
//	document.body.style.overflow='hidden';
	var clintAgent = navigator.userAgent;
	if ( clintAgent.indexOf("MSIE") != -1 ) {
		window.resizeBy(w-document.body.clientWidth, h-document.body.clientHeight);
	} else {
		window.resizeBy(w-window.innerWidth, h-window.innerHeight);
	}
};


// µ¿¿µ»ó Ãâ·Â		<script>display_object('<embed src="ÁÖ¼Ò" width="" height=""></embed>');<//script>
function display_object(tag){
	var _object_ = tag;
	document.write(_object_);	
}

function imgResize(obj, limitW){//¹Ì¸® º¸±â ÀÌ¹ÌÁö »çÀÌÁî ÀÏ°ýÀûÀ¸·Î
		var limitH	= isAgm(imgResize.arguments, 2, null);
		if(obj){
			var w, h, resizeW, resizeH
			if(obj.width && obj.height){
				w		= obj.width;
				h		= obj.height;
				if(w > h || !limitH){		//¿øº» ÀÌ¹ÌÁî »çÀÌÁî°¡ °¡·Î°¡ ´õ Å©¸é
					resizeW	= w > limitW ? limitW : w;
					resizeH = (resizeW * h) / w;
				}else{			//¹Ý´ëÀÌ¸é
					resizeH = h > limitH ? limitH : h;
					resizeW = (resizeH * w) / h;
				}
			}
			obj.width = resizeW;
			obj.height = resizeH;
		}
	};

function swfMov(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="fmov" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="menu" value="false">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="allowScriptAccess" value="always">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'" height="'+h+'" wmode="transparent" id="fmov" name="fmov" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

//-->