// JavaScript Document - special_window_activation.js
// Check for Cookie and Display Special Event Window if one doesn't exist
// NOTE: Function is called from a <body onload=""> event
function checkCookie() {
	var test = "cookie_enabled";
	var name = "special_window";
	var value = "true";
	setCookie(test,value);
	if (getCookie(test)) {
	  if (getCookie(name) != value) {
		  $(document).ready(function(){
			  $(".colorbox").colorbox({open:"true", close:"SKIP"});
		  });
		  setCookie(name,value);
	  }
	  deleteCookie(test);
	}
}