<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script><script src="https://raw.github.com/carhartl/jquery-cookie/master/jquery.cookie.js"></script>
<script>
$(function(){
if(!$.cookie('visited'))
{
$("#payam").fadeIn();
$.cookie('visited', 'ok'), { expires: 7 };
}
});
</script>
<script type="text/javascript">
function cloes() {
document.getElementById("cloesalert").style.display="none";
}
</script>
<style type="text/css">
@keyframes alert{
0%{box-shadow:0px 0px 15px 1px red;}
50%{box-shadow:0px 0px 50px 1px #DF0000;}
100%{box-shadow:0px 0px 15px 1px black;}
}
@-webkit-keyframes alert{
0%{box-shadow:0px 0px 15px 1px red;}
50%{box-shadow:0px 0px 50px 1px #DF0000;}
100%{box-shadow:0px 0px 15px 1px red;}
}
@-moz-keyframes alert{
0%{box-shadow:0px 0px 15px 1px red;}
50%{box-shadow:0px 0px 50px 1px #DF0000;}
100%{box-shadow:0px 0px 15px 1px red;}
}
@font-face {
font-family: 'B Koodak';
src:url('http://www.font-api.ir/fontsdir/35.eot?#') format('eot'),
url('http://www.font-api.ir/fontsdir/35.woff') format('woff'),
url('http://www.font-api.ir/fontsdir/35.ttf') format('truetype');
}
#cloesalert a{
text-decoration:none;
color:black;
}
#cloesalert a:hover{
text-decoration:none;
}
#cloesalert{
position:fixed;
width:280px;
top:33%;
left:38%;
border:1px red solid;
border-bottom:4px red solid;
background-color:#FBFBFB;
border-radius:10px;
animation:alert 1s ease infinite;
-webkit-animation:alert 1s ease infinite;
-moz-animation:box alert ease infinite;
font-family:'B Koodak',Tahoma;
padding:10px;
transition:all 1s ease;
display:block;
font-size:14px;
direction:rtl;
z-index:99999999999999999999999999999999;
}
#cloesalert #cloes2{
position:relative;
top:-22px;
right:-22px;
cursor:pointer;
}
.part2{
padding:3px;
border:2px white dashed;
font-family:'B Koodak';
font-size:25px;
text-align:center;
color:white;
background-color:#FF0000;
margin-top:-27px;
border-radius:5px;
}
</style>