<!-- START HIDE
// #############################################################
// ### GDS SmartScript V.5.0 (C)1998 GD Software
// ### http://www.danbbs.dk/~duplex
// ### duplex@mail.danbbs.dk
// #############################################################
var trialcookname="KeyArtTrial";
var subcookname="KeyArtSub";
var cookname="KeyArt";
// Get cookie
function getCookieVal (offsetb) {
var endstrb = document.cookie.indexOf (";", offsetb);
if (endstrb == -1)
endstrb = document.cookie.length;
return unescape(document.cookie.substring(offsetb, endstrb));
}
function GetCookie (searchcookie) {
var argb = searchcookie + "=";
var alenb = argb.length;
var clenb = document.cookie.length;
var ib = 0;
while (ib < clenb) {
var jb = ib + alenb;
if (document.cookie.substring(ib, jb) == argb)
return getCookieVal (jb);
ib = document.cookie.indexOf(" ", ib) + 1;
if (ib == 0) break;
}
return null;
}

writecookie = GetCookie(trialcookname);
if (writecookie=="" || writecookie==null){
	writecookie = GetCookie(subcookname);
	if (writecookie=="" || writecookie==null){
		writecookie = GetCookie(cookname);
		if (writecookie=="" || writecookie==null){
		cookie="no"
		}
		else
		cookie="yes";
	}
	else
	cookie="yes";
}
else
cookie="yes";

if (cookie=="no"){
alert("The subscription information has been deleted from this computer. You will be taken to the Key to Art History Home Page to enter with your User ID to verify your subscription.");
parent.location.href="Default.htm";
}
// STOP HIDE -->
