| <SCRIPT> function openPopUp(){
open("thanks.htm", "",
"width=400,height=350");
}
function GetCookie(Name) {
var search = Name + "=";
var returnvalue = "";
if (document.cookie.length > 0) {
var offset =
document.cookie.indexOf(search);
if (offset != -1) { // if cookie exists
offset += search.length;
// set index of beginning of value
var end =
document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue =
unescape(document.cookie.substring(offset, end));
}
}
return returnvalue;
}
function loadPopUp(){
if (GetCookie('popped') == ""'){
openPopUp();
document.cookie =
"popped=yes";
}
}
< /SCRIPT>
< BODY onUnLoad="loadPopUp()"> |