function skipIdent(page) {


}

function setCookie(audience, rememberMe){
	
	if (rememberMe=="true") {
		var expiredays = "91";
		var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);
		document.cookie="audience=" +escape(audience)+((expiredays==null) ? "" : ";expires="+exdate.toGMTString()) + "; path=/";
	}
	else {
		//document.cookie="audience=" + escape(audience)+ "; path=/";
		
		var exdate = new Date();
		exdate.setTime(exdate.getTime()+ 1000*60*30);
		document.cookie="audience=" +escape(audience)+((expiredays==null) ? "" : ";expires="+exdate.toGMTString()) + "; path=/";
	}

}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function killCookie() {
	document.cookie="audience="+'=; expires=Thu, 01-Jan-70 00:00:01 GMT;';
} 
