<script> function readCookie(cookieName) { var re = new RegExp('[; ]'+cookieName+'=([^\s;]*)'); var sMatch = (' '+document.cookie).match(re); if (cookieName && sMatch) return unescape(sMatch[1]); return ''; }</script> <script> </script> <script> var kdukig = readCookie('splashno2'); if (kdukig != '') { document.getElementById('amans').style.display='none'; } else { var isim = 'splashno2'; var deger = 'kapali'; var gunler = 2; if (gunler) { var date = new Date(); date.setTime(date.getTime()+(gunler*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = isim+"="+deger+expires+"; path=/"; } </script>