//¹®¼­ÀÌ·Â
//2007³â 8¿ù 28ÀÏ ÀÌ¼¼¿ë ¼öÁ¤ : ÆË¾÷Ã¢ ¿­±â, ÇÃ·¡½¬ »ðÀÔ, ·Ñ¿À¹ö ÀÌ¹ÌÁö »Ñ¸®±â ¼Ò½º Ãß°¡, »ç¿ë¹æ¹ý ÁÖ¼® Ãß°¡


//»ç¿ë¹æ¹ý
//<head>¿Í </head>»çÀÌ¿¡
//<script language="javascript" src="/store/common/embed.js"></script>


// str: source url
// wid: source width
// hei: source height
// wmo: wmode ("" for none, transparent, opaque ...)
function swf_create(str,wid,hei,wmo)
{
	if ( wmo == '' ) 
	{
		wmo = "transparent";
	}
	
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+wid+'" height="'+hei+'">');
	document.write('<param name="movie" value="'+str+'">');
	document.write('<param name="quality" value="high">');
	document.write('<PARAM NAME=menu VALUE=false>');	
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write('<PARAM NAME=wmode VALUE='+wmo+'>');
	document.write('<PARAM NAME=wmode VALUE=transparent>');
	document.write('<embed src="'+str+'" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="'+wmo+'" width="'+wid+'" height="'+hei+'"></embed>');
	document.write('</object>');
}
 
function embed_create(str, wid, hei, aut)
{
	document.write('<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" width="'+wid+'" height="'+hei+'">');
  	document.write('<param name="src" value="'+str+'">');
  	document.write('<embed src="'+str+'" width="'+wid+'" height="'+hei+'" autostart="'+aut+'"></embed>');
	document.write('</object>');	
}


//***************************************************************************************************************************
//ÆË¾÷Ã¢ ¿­±â

function newPopup( url, winName, sizeW, sizeH)
{
 var nLeft  = screen.width/2 - sizeW/2 ;
 var nTop  = screen.height/2 - sizeH/2 ;
 
 opt = ",toolbar=no,menubar=no,location=no,scrollbars=yes,status=no";
 window.open(url, winName, "left=" + nLeft + ",top=" +  nTop + ",width=" + sizeW + ",height=" + sizeH  + opt );
 
}

//»ç¿ë¹æ¹ý <a href="JavaScript:newPopup('ÁÖ¼Ò', 'ÀÌ¸§', '°¡·Î', '¼¼·Î');"></a> È¤Àº onClick="JavaScript:newPopup('ÁÖ¼Ò', 'ÀÌ¸§', '°¡·Î', '¼¼·Î');"

//***************************************************************************************************************************





//***************************************************************************************************************************

// Flash Å×µÎ¸® Á¡¼± ¾ø¾Ö±â                  

function flashObj(src,w,h,id){ 
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=8,0,0,0 id="'+id+'" width="'+w+'" align="center" height="'+h+'">';  
html += '<param name="movie" value="'+src+'" />'; 
html += '<param name="quality" value="high" />'; 
/*html += '<param name="bgcolor" value="#ffffff" />';*/
html += '<param name="wmode" value="transparent" />';		
html += '<param name="menu" value="false" />';  
html += '<embed src="'+src+'" quality=high bgcolor="#ffffff" menu="false" width="'+w+'"  height="'+h+'" swliveconnect="true" id="'+id+'" name="param" align="center" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> <\/embed>'; 
html += '<\/object>'; 
document.write(html);
}

//»ç¿ë¹æ¹ý <Script Language="JavaScript">flashObj('¼Ò½º','°¡·Î','¼¼·Î','¾ÆÀÌµð');</Script>

//***************************************************************************************************************************



//***************************************************************************************************************************
// ·Ñ¿À¹ö¹öÆ° 
function fade_roll(id,after) { 
eval(id+'.filters.blendTrans.stop();'); 
eval(id+'.filters.blendTrans.Apply();'); 
eval(id+'.src="'+after+'";'); 
eval(id+'.filters.blendTrans.Play();'); 
} 

//»ç¿ë¹ä¹ý <a href="¸µÅ©" onmouseover="fade_roll('±¸ºÐ¹øÈ£','¸¶¿ì½º°¡Á®°¥ °æ¿ì ÀÌ¹ÌÁö°æ·Î');" onmouseout="fade_roll('±¸ºÐ¹øÈ£','¸¶¿ì½º ¾Æ¿ôÇÒ °æ¿ì ÀÌ¹ÌÁö°æ·Î');"><img src="Ã³À½¿¡ ³ªÅ¸³¯ ÀÌ¹ÌÁö°æ·Î" width="³ÐÀÌ" height="³ôÀÌ" border="0" name="±¸ºÐ¹øÈ£" style="filter:blendTrans(duration=0.0)" alt="¹öÆ°¼³¸í"></a>
//***************************************************************************************************************************



//***************************************************************************************************************************



