<!DOCTYPE html popUpBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Title Page</title>
<META http-equiv=Content-Type content="text-html; charset=UTF-8">
</head>
<body>
<!--The Popup Box Layout Start -->
<style>
.popupOverlay {
position:absolute; background-color:#000000;
display:none; height:300%;
left:0; top:0;
width:100%; z-index:6;
}
</style>
<div class="popupOverlay" id="popupOverlay" style="display: none; opacity: 0.9; filter:alpha(opacity=90); -moz-opacity:0.9;">
<div style="border: 5px solid #ccc; padding: 20px; z-index: 1000; position: relative; margin:200px auto;display: none; font-size: 18px; width: 300px; height: 130px; text-align: center;opacity: 1; filter:alpha(opacity=100); -moz-opacity:1;background-color: white;" id="popupBox">
<br/>Press Button to Continue<br/>
<a style="font-size: 24px; padding-left: 10px; padding-right: 10px;" class="buttonblue" href="javascript:doClose();">ENTER</a><br/>
<a style="font-size: 12px;" href="JavaScript:location.replace('http://www.fark.com');">fark off</a><br/>
</div>
</div>
<!--The Popup Box Layout End -->
<!--The Popup Box Javascript to show Begin -->
<script>
var showPopup = true;
//If Cookie is set then don't show - remove this line if you always want and just leave at true
if (getCookie("popupOverlay") != null)
{
showPopup = false;
}
var popupOverlay=document.getElementById("popupOverlay");
var popupBox=document.getElementById("popupBox");
if(showPopup==true){
popupBox.style.display="block";
popupOverlay.style.display="block";
}
function doClose(){
popupBox.style.display="none";
popupOverlay.style.display="none";
var exp = new Date();
exp.setTime(exp.getTime() + (1000 * 60 * 60 * 24));
setCookie('popupOverlay','1', exp);
}
function setCookie(name, value, expires) {
document.cookie = name + "=" + escape(value) + "; path=/" + ((expires == null) ? "" : "; expires=" + expires.toGMTString());
}
function getCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg) {
return getCookieVal (j);
}
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
</script>
<!--The Popup Box Javascript to show End -->
<!--Your Normal Page-->
HELLO WORLD!!!<BR />
I am here but hidden until accepted
</body>
</html>