function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; } var end = document.cookie.indexOf(";", begin); if (end == -1) { end = dc.length; } return unescape(dc.substring(begin + prefix.length, end)); } function SetCookie(cookieName,cookieValue,nDays){ var today = new Date(); var expire = new Date(); if (nDays==null || nDays==0) nDays=1; expire.setTime(today.getTime() + 3600000*12*nDays); document.cookie = cookieName+"="+escape(cookieValue) + ";expires="+expire.toGMTString(); } cookie = getCookie("hostmir_240"); //alert(cookie); if(cookie!='yes') { SetCookie("hostmir_240", "yes", "1"); cookie = getCookie("hostmir_240"); } if(cookie!='yes') { function hostmir_click_240() { SetCookie("hostmir_240", "yes", "1"); urlclick_240='http://hostmir.net/click.php?site=15&url=&type=240f'; this.window.focus(); this.window.open(urlclick_240); this.window.focus(); } document.write(''); } if(cookie=='yes') { document.write(unescape('%3C%21--%20Ukrainian%20Banner%20Network%20240%F5400%20START%20--%3E%0D%0A%3Ccenter%3E%3Cscript%3E%0D%0A%2F%2F%3C%21--%0D%0Auser%20%3D%20%2249955%22%3B%0D%0Apage%20%3D%20%221%22%3B%0D%0Apid%20%3D%20Math.round%28%28Math.random%28%29%20%2A%20%2810000000%20-%201%29%29%29%3B%0D%0Adocument.write%28%22%3Ciframe%20src%3D%27http%3A%2F%2Fbanner.kiev.ua%2Fcgi-bin%2Fbi.cgi%3Fh%22%20%2B%0D%0Auser%20%2B%20%22%26amp%3B%22%2B%20pid%20%2B%20%22%26amp%3B%22%20%2B%20page%20%2B%20%22%26amp%3B11%27%20frameborder%3D0%20vspace%3D0%20hspace%3D0%20%22%20%2B%0D%0A%22%20width%3D240%20height%3D400%20marginwidth%3D0%20marginheight%3D0%20scrolling%3Dno%3E%22%29%3B%0D%0Adocument.write%28%22%3Ca%20href%3D%27http%3A%2F%2Fbanner.kiev.ua%2Fcgi-bin%2Fbg.cgi%3F%22%20%2B%0D%0Auser%20%2B%20%22%26amp%3B%22%2B%20pid%20%2B%20%22%26amp%3B%22%20%2B%20page%20%2B%20%22%26amp%3B11%27%20target%3D_top%3E%22%29%3B%0D%0Adocument.write%28%22%3Cimg%20border%3D0%20src%3D%27http%3A%2F%2Fbanner.kiev.ua%2F%22%20%2B%0D%0A%22cgi-bin%2Fbi.cgi%3Fi%22%20%2B%20user%20%2B%20%22%26amp%3B%22%20%2B%20pid%20%2B%20%22%26amp%3B%22%20%2B%20page%20%2B%0D%0A%22%26amp%3B11%27%20width%3D240%20height%3D400%20alt%3D%27Ukrainian%20Banner%20Network%27%3E%3C%2Fa%3E%22%29%3B%0D%0Adocument.write%28%22%3C%2Fiframe%3E%22%29%3B%0D%0A%2F%2F--%3E%0D%0A%3C%2Fscript%3E%0D%0A%3C%21--%20Ukrainian%20Banner%20Network%20240%F5400%20END%20--%3E')); }