//Javascript Document
//var newlocation=new String(location.href);
//var origlocation=new String(location.href);
try {
	var lastpage = new String(top.document.referrer);
} catch (ee) {
	var lastpage = new String(window.document.referrer);
}
var lastpage = new String(document.referrer);
// document.write("ScriptLAST: "+document.referrer+" :LASTScript");

// document.write("here: "+lastpieces[0]+"here:
// "+lastpieces[0].match("http://yourbestinsurancechoice.com"));
// if first part of lastpage is not mcdlife then write a cookie with lastpage as
// data
if (lastpage.match("http://www.mcdlife.com") != "http://www.mcdlife.com"
		&& lastpage.match("http://mcdlife.com") != "http://mcdlife.com") {
	var exdate = new Date();
	exdate.setDate(exdate.getDate() + 1);
	document.cookie = ("originalkeyword=" + escape(lastpage) + ";expires=" + exdate
			.toUTCString());

}
