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 "";
}
 
if (getCookie("pilot2009") != "done")
{
	wint=window.open('http://www.kbs.co.kr/popup/main/gonggi/index.html','pilot2009','width=295,height=395,left=0,top=0,marginwidth=0,marginheight=0,resizable=0,scrollbars=0');
       wint.opener = self;
}
