function CheckDate(inputDate){  
		
	var url1 = "http://________________error01.html"; //- 2004³â 2¿ù 16ÀÏ ÀÌÀü 
	var url2 = "http://_________________.html"; //- ¹Ì·¡ÀÇ 
	var url3 = "http://___________________.html"; //- ÀÏ¿äÀÏ ¿äÃ»½Ã
	//var url4 = "http://gate.hot.co.kr/mip/error04.html"; //- ¾÷µ¥ÀÌÆ® Áß´Ü
		
	var windowstyle = "width=200, height=125";
	var windowstyle2 = "width=200, height=153";

		 
	var inputYear  = inputDate.substring(0,4);
	var inputMonth = inputDate.substring(4,6);
	var inputDay   = inputDate.substring(6,8);  
		
	// ¼­ºñ½º °³½Ã ÀÏÀÚ
	var firstYear     = 2004;
	var firstMonth    = 2;
	var firstDay      = 16;

	// ¾÷µ¥ÀÌÆ® Áß´Ü ÀÏÀÚ
	//var stopYear     = 2004;
	//var stopMonth    = 1;
	//var stopDay      = 13;
		
	// 
	var inputDate     = new Date(inputYear+"/"+inputMonth+"/"+inputDay);    
	var firstDate     = new Date(firstYear+"/"+firstMonth+"/"+firstDay);
	//var stopDate      = new Date(stopYear+"/"+stopMonth+"/"+stopDay);
	var nowDate       = new Date();  
	var todayDate     = new Date(nowDate.getFullYear() + "/" + (nowDate.getMonth() + 1) + "/" + nowDate.getDate());  
		
	// ¹ßÇà µÇÁö ¾ÊÀº ³¯ÀÚÀÇ ½Å¹®
	var tomorrowDate  = new Date(todayDate.getFullYear()+"/" + (todayDate.getMonth() + 1) + "/" + (todayDate.getDate() + 1));
	// ¿À´ÃÀÚÀÇ ¹ßÇà ½Ã°£ ¿ÀÈÄ 4½Ã 
	var todayPressTime = 16;
		
		
	if(inputDate.getDay() == 0){
	window.open(url3,"",windowstyle);    
	return false;
	}
		
	//alert(firstDate.toLocaleString());
	if(inputDate.getTime() < firstDate.getTime()){
		window.open(url1,"",windowstyle);    
		return false;
	}

	//alert ¾÷µ¥ÀÌÆ® ÁßÁö
	//if(inputDate.getTime() > stopDate.getTime()){
	//	window.open(url4,"",windowstyle2);    
	//	return false;
	//}

	if(inputDate.getTime() > tomorrowDate.getTime()){
		window.open(url2,"",windowstyle);    
		return false;
	}
	//alert(todayDate.toDateString());
	if(inputDate.toString() == tomorrowDate.toString()){  
		if(nowDate.getHours() < todayPressTime){
			window.open(url2,"",windowstyle);      
			return false;
		}
	}
	return true
}
