// flash
function put_flash( src, w, h ) {
	document.write( '<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="'+w+'" height="'+h+'">\n'+
  '<param name="movie" value="'+src+'">\n'+
  '<param name="quality" value="high">\n'+
  '<param name="wmode" value="transparent">\n'+
  '<param name="menu" value="false">\n'+
  '<embed wmode="transparent" src="'+src+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed>\n'+
'</object>' );
}


////////////// »çÀÌÆ® Á¢¼Ó½Ã »ç¿ëÀÚ ÄÄÇ»ÅÍ¿¡ ÄíÅ°»ý¼º //////////////////////
function getCookie( name )
{
        var nameOfCookie = name + "=";
        var x = 0;
        while ( x <= document.cookie.length )
        {
                var y = (x+nameOfCookie.length);
                if ( document.cookie.substring( x, y ) == nameOfCookie ) {
                        if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
                                endOfCookie = document.cookie.length;
                        return unescape( document.cookie.substring( y, endOfCookie ) );
                }
                x = document.cookie.indexOf( " ", x ) + 1;
                if ( x == 0 )
                        break;
        }
        return "";
}



function Show_Div(n,m) {
		document.all[n].style.display = '';
		document.all[m].style.display = 'none';
}

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function open_popup() {
	if ( getCookie( "Notice" ) != "done" )
	{
			noticeWindow  =  window.open('/popup/pop0110.htm','POPUP','width=300,height=415,scrollbars=no,top=0px,left=0px');

			noticeWindow.focus();
			noticeWindow.opener = self;
	}
}

function open_popup2()
{
	if ( getCookie( "Notice2" ) != "done" )
	{
			noticeWindow2  =  window.open('popup/pop02.asp','POPUPP','width=300,height=430,scrollbars=no,top=0px,left=305px');

			noticeWindow2.focus();
			noticeWindow2.opener = self;
	}
}

