//ÇÃ·¡½ÃÁ¦³×·¹ÀÌÅÍ...id,³ÐÀÌ,³ôÀÌ,Åõ¸í¿©ºÎ,Å©·Î½ºµµ¸ÞÀÎÇã¿ë
function FlashGen(id,w,h,url,transPparent,arrowDomain){
//alert(url)
//var _globlURL="./Flash/";
//var _globlURL="./Flash/";
var url=url;
if(arrowDomain){
var arrowDomainT="always";
}else{
var arrowDomainT="always";
}
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width="+w+" height="+h+" id='"+id+"'>")
document.write("<param name='movie' value='"+url+"'/>");
document.write("<param name='quality' value='high' />");
if(!transPparent){
document.write("<param name='wmode' value='transparent' />");
}
document.write("<param name='allowScriptAccess' value='"+arrowDomainT+"' />");
document.write("<embed src='"+url+"' quality='high' wmode='transparent' width="+w+" height="+h+" name='"+id+"' align='middle' allowScriptAccess='"+arrowDomainT+"' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");

}
function popup(url,cw,ch,scroll,resize) {
    //»õÃ¢ÀÇ Å©±â
   
    //½ºÅ©¸°ÀÇ Å©±â
    var sw=screen.availWidth;
    var sh=screen.availHeight;
    //¿­ Ã¢ÀÇ Æ÷Áö¼Ç
    var px=(sw-cw)/2;
   var py=(sh-ch)/2;
    //Ã¢À» ¿©´ÂºÎºÐ
    window.open(''+url+'','½Å±âÇÑÁý','left='+px+',top='+py+',width='+cw+',height='+ch+',toolbar=no,menubar=no,status=no,scrollbars='+scroll+',resizable='+resize);
}
function pop_sn(url,w,h,n) {
	l = (screen.width) ?	(screen.width-w) / 2	: 0;
	t = (screen.height) ?	(screen.height-h) / 2 : 0;	
	var opt='top='+t+',left='+l+',width='+w+',height='+h;
	opt=opt+',toolbar=no,status=no,directories=no,scrollbars='+n+',location=no,resizable=no,menubar=no';
	aa=window.open(url,'',opt);
	aa.document.write("<html><head></head><body topmargin='0' leftmargin='0'><img src='"+url+"' border='0' onClick='window.close();' style='cursor:hand' alt='¸¶¿ì½º¸¦ Å¬¸¯ÇÏ¸é Ã¢ÀÌ ´ÝÄ¨´Ï´Ù'></body></html>")
//alert()
}