// JavaScript Document
function getCookie(name) 
{ 
	var nameOfCookie = name + "="; 
	var x = 0; 
	//alert(document.cookie);
	while (x <= document.cookie.length) 
	{ 
		var y = (x+nameOfCookie.length);
		//alert(x +","+ y);alert(document.cookie.substring( x, y ));
		if(document.cookie.substring(x,y) == nameOfCookie){ 
			if((endOfCookie=document.cookie.indexOf( ";", y )) == -1){
				//alert(endOfCookie);
				endOfCookie = document.cookie.length;
			}
			//alert(unescape( document.cookie.substring( y, endOfCookie ) ));
			return unescape(document.cookie.substring(y,endOfCookie));
		} 
		x = document.cookie.indexOf(" ",x) + 1; 
		if(x == 0) 
			break; 
	} 
	return ""; 
}

///// POPUP 001
if(getCookie('notice1') != 'done') 
{ 
	var str_url = '/popup/pu001.asp';
	window.open(str_url,'notice1','width=295,height=429,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0'); 
}
///// POPUP 002
//if(getCookie('notice2') != 'done') 
//{ 
//	var str_url = 'popup/popup_2.htm';
//	window.open(str_url,'notice2','width=300,height=405,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0'); 
//}