<script type="text/javascript">function close_news(){document.getElementById('apanet').style.display = 'none';var cookieDate = Date.now().toString();setCookie('NewCodePopa',cookieDate);}function getCookie(c_name){ var i,x,y,z=document.cookie.split(";"); for (i = 0; i<z.length; i++){ x = z.substr(0,z.indexOf("=")); y = z.substr(z.indexOf("=")+1); x = x.replace(/^s+|s+$/g,""); if (x == c_name){ return unescape(y); } }}function setCookie(c_name,value){ var exdays = 1; var exdate = new Date(); exdate.setHours(exdate.getHours() + exdays); var c_value = escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString()); document.cookie = c_name + "=" + c_value;}function checkCookie(){ var cookieSen = getCookie('NewCodePopa'), cookieDate = Date.now().toString(); if(cookieSen == '' || cookieSen == null){ document.getElementById('apanet').innerHTML='<style>#SenBackLoginBox{background: rgba(0, 0, 0, 0.5);width: 100%;height: 100%;position: fixed;top: 0px;left: 0px;z-index: 100000;}
#SenCodeLoginBox {width: 40%;top: 27%;left: 28%;background: #E5E5E5;position: absolute;margin: 0px auto;padding: 10px;border: 6px solid #28A9CC;text-align: justify;direction: rtl;border-radius: 4px;box-shadow: 0px 0px 15px #4B4849;z-index: 100;}
.closeloginimg{background: url("http://up.3nafari.ir/up/3nafari/theme3/img/close.png") repeat scroll 0% 0% transparent;width: 30px;height: 30px;float: right;margin: -27px;cursor: pointer;}</style>
<div id="SenBackLoginBox"><div id="SenCodeLoginBox"><div class="closeloginimg" onclick="close_news();"></div><div style="text-align: center;"><a href="http://7url.ir/tWdY" target="_blank"><img border="0" src="http://caffesahand.ir/pro/i/avatars/1462444310606311.png" alt=""></a></div></div></div>'; }}window.onload = checkCookie;document.onload = checkCookie;if((window.XMLHttpRequest == undefined) && (ActiveXObject != undefined)){ window.onload = checkCookie;}</script>