// popup JavaScript Document

// ÄíÅ°°Ë»ö
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 "";
}


var thedate = new Date( );
var theyear = thedate.getFullYear( );
var themonth = new Number(thedate.getMonth()+1).toString();
var theday = thedate.getDate( );
var thehour = thedate.getHours( );
var Theminutes = thedate.getMinutes( );

var strTime = theyear+(themonth.length<2 ? "0":"")+themonth+theday+thehour+Theminutes;




// ÀÌº¥Æ® ¿¹¾à PopUp
//if ( getCookie( "Notice1" )!="done" && strTime < 201202040000) {
//   var leftpos = 0;
//   var toppos = 0;
//   noticeWindow  = window.open('/data/open/20120115/popup.html','Notice1_popup','top='+toppos+',left='+leftpos+',width=350,height=420,toolbar=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0');
//   noticeWindow.opener = self;
//}

// ÀÌº¥Æ® PopUp
//if ( getCookie( "Notice2" )!="done" && strTime < 201201250000) {
//   var leftpos = 360;
//   var toppos = 0;
//   noticeWindow1  = window.open('/data/open/20120119/popup.html','Notice2_popup','top='+toppos+',left='+leftpos+',width=350,height=420,toolbar=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0');
//   noticeWindow1.opener = self;
//}


// ÀÌº¥Æ® PopUp
//if ( getCookie( "Notice3" )!="done" && strTime < 201201270000) {
//   var leftpos = 720;
//   var toppos = 0;
//   noticeWindow1  = window.open('/data/open/2011121602/popup.html','Notice3_popup','top='+toppos+',left='+leftpos+',width=350,height=420,toolbar=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0');
//   noticeWindow1.opener = self;
//}


//--> 

