/*
function showFlash(src,w,h){
	document.write("<embed src='"+src+"' width='"+w+"' height='"+h+"' wmode='transparent'>");
}
*/

function showFlash(src,w,h){
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="bgcolor" value="#ffffff">';
	html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" width="'+w+'" height="'+h+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	html += '<\/object>';
	document.write(html);
}

/* iframe °Ô½ÃÆÇ »ðÀÔÀ» À§ÇÑ ¼Ò½º;;; */
function doResize() { 
	container.height = myframe.document.body.scrollHeight;
	container.width = myframe.document.body.scrollWidth;
}

function goURL(url,target){
	if(target=='yes') open(url,'new_win','');
	else location.href = url;
}

function hopeFactoryPopup(){
	var sWidth = screen.width;
	if(sWidth > 1020) sWidth = 1020;
	var sHeight = screen.height;
	open("/hope_factory/content1.asp","hope_factory","width="+sWidth+",height="+sHeight+",scrollbars=yes");
}

function topScroll() {
	var obj = document.getElementById('top');
	var targetY = document.body.scrollTop + 348;
	obj.style.top = targetY;
}

//PNG24 ÀÌ¹ÌÁöÃ³¸®
function setPng24(obj){
	obj.width = obj.height = 1;
	obj.className = obj.className.replace(/\bpng24\b/i,'');
	obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
	obj.src = '';
	return '';
}


function large_window(large, width, height) {
 open(large ,"free_mail","left=100px,top=100px,width="+width+",height="+height+", toolbar=no,location=no,directories=no,status=no, menubar=no, resizable=yes, scrollbars=yes");
}