    var today = new Date()
    var s_year = String(today.getUTCFullYear());
    var s_month = String(today.getUTCMonth()+1);    
    var s_date = String(today.getUTCDate());
	var s_hours = String(today.getHours());

    if (s_month.length == 1) {
        s_month = '0' + s_month;
    }
    
    if (s_date.length == 1) {
        s_date = '0' + s_date;
    }
    
    if (s_hours.length == 1) {
        s_hours = '0' + s_hours;
    }        

    var cur_date = s_year + s_month + s_date + s_hours;    
    
    
    function getCookie1( 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 open_popup(e_date, pop_url, pop_title, pop_opt) {
    	
	    if (cur_date <= e_date) {
         
            noticeWindow3  =  window.open(pop_url, pop_title, pop_opt);     
            noticeWindow3.opener = self;
                          
        }
        return "";
    }



//Bidding Committee for the 2022 World Cup Korea
if ( getCookie( "pop100112" ) !="checked") {
	var pop_url   = '/eng_kfa/popup/100112.html';
	var pop_title = 'pop100112';
	var pop_opt   = 'left=0, top=0,width=340,height=445,scrollbars=no,resizable=no';
	if (open_popup('2010112223', pop_url, pop_title, pop_opt))  {
	}
}


