var popupStatus=0;function loadPopup(){if(popupStatus==0){$("#backgroundPopup").css({"opacity":"0.7"});$("#backgroundPopup").fadeIn("slow");$("#popupContact").fadeIn("slow");popupStatus=1;}}function disablePopup(){if(popupStatus==1){$("#backgroundPopup").fadeOut("slow");$("#popupContact").fadeOut("slow");popupStatus=0;}}function centerPopup(){var windowWidth=document.documentElement.clientWidth;var windowHeight=document.documentElement.clientHeight;var popupHeight=$("#popupContact").height();var popupWidth=$("#popupContact").width();$("#popupContact").css({"position":"absolute","top":windowHeight/2-popupHeight/2,"left":windowWidth/2-popupWidth/2});$("#backgroundPopup").css({"height":windowHeight});}$(document).ready(function(){$("#button").click(function(){centerPopup();loadPopup();});$("#popupContactClose").click(function(){disablePopup();});$("#backgroundPopup").click(function(){disablePopup();});$(document).keypress(function(e){if(e.keyCode==27&&popupStatus==1){disablePopup();}});});
#backgroundPopup{z-index:9999999999999999;display:none;position:fixed;_position:absolute;height:100%;width:100%;top:0;left:0;background:#000000;border:1px solid #cecece;z-index:1;} #popupContact{z-index:9999999999999999;display:none;position:fixed;_position:absolute;min-height:380px;min-width:408px;background:#FFFFFF;border:2px solid #cecece;z-index:2;font-size:13px;} #popupContact h1{text-align:left;color:#6FA5FD;font-size:22px;font-weight:700;border-bottom:1px dotted #D3D3D3;padding-bottom:2px;margin-bottom:20px;} #popupContactClose{z-index:999999999999;font-size:14px;line-height:14px;right:4px;top:-20px;position:absolute;color:#6fa5fd;font-weight:700;display:block;} #button{text-align:center;margin:100px;}
<body onload="checkCookie()">
<div id="popupContact" style="z-index:9999999999999999;">
<a id="popupContactClose">Kapat</a>
<table style="width:100%; border:0px;"><tr><td>test</td></tr></table>
</div>
<div id="backgroundPopup"></div>
</body>
işini görmesi lazım günde 1 kere değilde cache göre çıkarıyor olması lazımdı