var csurvey = document.cookie;
var today = new Date();
var expiry = new Date(today.getTime() + 21600000);
function takeoverCookie() {
		if (getCookie2("takeover_cookie") != "viewed") { 
			setCookie2('takeover_cookie','viewed');
   showSwf();
		}
}

function getCookie2(name) { 
	var bikky2 = document.cookie;
 var index = bikky2.indexOf(name + "=");

 if (index == -1) return null;
 index = bikky2.indexOf("=", index) + 1;
 var endstr = bikky2.indexOf(";", index);
 if (endstr == -1) endstr = bikky2.length;
 return unescape(bikky2.substring(index, endstr));
}

function setCookie2(name, value) {
	if (value != null && value != "")
  document.cookie=name + "=" + escape(value) + "; expires=" + expiry.toGMTString() + "; path=/";
 csurvey = document.cookie;
}

