//used to secure a page until user accepts web site terms and conditions
var url;
var terms = GetCookie('acceptterms');

if (terms == null || terms == '0') {//the user has not yet agreed to terms
	
	switch (terms) {
	case null : 	url =  'entry.shtml?'+window.location; 
	     	break;
	case '0' : 	if(confirmNoAccept()) 
				{url =  'entry.shtml?'+window.location;} 
				else {url =  'http://www.copyright.gov/circs/circ1a.html';};  
	     	break;
	}

	window.location.href = url;
}


