var x = readCookie('ELRCPERSONID');
var today = new Date();
today.setTime( today.getTime() );
var expires = 1000 * 60 * 60 * 24 * 365;
var expires_date = new Date( today.getTime() + (expires) );

if(x != null){
	checkUserID(x);
} else {
	var takeSurvey = confirm('Would you like to help improve this resource with a short survey?');
	if(takeSurvey == true){
		displayForm();
	} else {
		document.cookie ="ELRCPERSONID=skipped;expires=" + expires_date.toGMTString() +";path=/;domain=.exploratorium.edu"; 
	}
}