function flash(c,d,e) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,60,0" ';
 flash_tag +='WIDTH="'+c+'" HEIGHT="'+d+'" >';
 flash_tag +='<param name="movie" value="'+e+'">';
 flash_tag +='<param name="wmode" value="transparent">';
 flash_tag +='<param name="quality" value="high">';
 flash_tag +='<embed src="'+e+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+c+'" HEIGHT="'+d+'"></embed></object>'
 document.write(flash_tag);
}


/// ¿©±â¼­ ºÎÅÍ´Â quickmenu js

var scroll_pixel,div_pixel,gtpos,gbpos,loop,moving_spd;
var top_margin = 150;		/// Ã¢ÀÇ ¸ÇÀ§¿ÍÀÇ ¿©¹é ³»·Á¿Ã¶§
var top_margin2 =150;		/// Ã¢ÀÇ ¸ÇÀ§¿ÍÀÇ ¿©¹é ¿Ã¶ó¿Ã¶§
var speed = 20;				/// Á¡Â÷ ÁÙ¾îµå´Â ¼Óµµ¸¦ À§ÇÑ ¼³Á¤
var speed2 = 15;			/// setTimeoutÀ» À§ÇÑ ¼Óµµ ¼³Á¤
var moving_stat = 1;		/// ¸Þ´ºÀÇ ½ºÅ©·ÑÀ» ·Îµù½Ã on/off¼³Á¤ 1=¿òÁ÷ÀÓ 0Àº ¸ØÃã
 
function check_scrollmove()
{
  scroll_pixel = document.body.scrollTop;
        gtpos = document.body.scrollTop+top_margin;
        gbpos = document.body.scrollTop+top_margin2;
  if(div_id.style.pixelTop < gtpos)
        {
         moving_spd = (gbpos-div_id.style.pixelTop)/speed;
         div_id.style.pixelTop += moving_spd;
        }
        if(div_id.style.pixelTop > gtpos)
        {
         moving_spd = (div_id.style.pixelTop-gtpos)/speed;
         div_id.style.pixelTop -= moving_spd;
        }
        loop = setTimeout("check_scrollmove()",speed2);
}
function moving_control()
{
  if(!moving_stat){ check_scrollmove(); moving_stat = 1;}
        else{ clearTimeout(loop); moving_stat = 0; div_id.style.pixelTop = top_margin;}
}
 

 
function my_resizeIframe(IframeId) 
{
	try {
		var innerBody = IframeId.contentWindow.document.body;	
		var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);	
		 
		if(IframeId.style.height != innerHeight) { 
			IframeId.style.height = innerHeight; 
		}	
		if(document.all) { 
			innerBody.attachEvent('onclick',parent.do_resize); 
			innerBody.attachEvent('onkeyup',parent.do_resize); 
		}	
		else { 
			innerBody.addEventListener("click", parent.do_resize, false);	
			innerBody.addEventListener("keyup", parent.do_resize, false);	
		}
	}
	catch (e) {}
}

