/* Copyright http://www.perlscriptsjavascripts.com 
   Free and commercial Perl and JavaScripts     */
   
// number of days cookie lives for
num_days = 1;
function ged(noDays){
	var today = new Date();
	var expr = new Date(today.getTime() + noDays*1*5*60*1000);
	return  expr.toGMTString();
}

function readCookie(cookieName){
	var start = document.cookie.indexOf(cookieName);
	if (start == -1){ 
		bypass = 1;
		document.cookie = "NRMurphyLtd=yes; expires=" + ged(num_days);
	} else {
		bypass = 0;
	}
}

readCookie("NRMurphyLtd");
