var mmes = ["","Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"]; var nhit=0; var mycomp; dis0 = new Array( '01-02-03-04-|09-|20-|33-34-|49-|60-|62-63-64-|68-78-88-|85-84-|81-80-|', '12-13-14-15-|40-41-42-|69-79-89-|80-81-|84-85-|62-63-|60-|20-|00-|09-|', '00-|07-08-|12-13-14-15-|28-|40-41-42-|46-|60-|62-63-|69-79-89-|80-81-|', '06-07-|12-|28-|30-31-32-|45-|52-53-|59-69-79-|60-|73-74-75-76-|80-81-|', '05-06-|12-|24-25-|28-|30-31-32-|45-|49-59-69-|66-65-64-63-|60-|80-81-|', '05-06-|12-|24-25-|28-|30-31-32-|47-48-49-|55-65-75-85-|60-|77-|80-81-|', '00-|03-13-23-|09-|20-|35-36-37-38-|40-41-42-|62-63-|67-|84-85-|87-88-|', '02-|09-|10-20-30-40-|34-44-|26-27-28-|49-|68-78-88-|85-84-|60-|90-80-|', '12-|19-|38-37-36-|20-30-40-50-|44-54-|72-|76-|78-88-98-|95-94-|90-80-|', '13-|15-|27-28-29-|21-31-41-51-|55-45-|78-88-98-|95-94-|90-80-|72-|76-|'); // cookies.js // Derived from the Bill Dortch code at http://www.hidaho.com/cookies/cookie.txt var today = new Date(); var expiry = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000); function hittop() { //Не используется - заменен на tophit() из starti.htm }; function getCookieVal (offset) { //alert("offset="+offset); var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) { endstr = document.cookie.length; } return unescape(document.cookie.substring(offset, endstr)); } function dec(a) { b=""; for(ii=0;ii<14;ii++) {b=a.substr(ii,1)+b;} if(b.substr(0,1)=="2"){b=b.substr(1,1)+"-"+b.substr(2,3)+"-"+b.substr(5,3)+"-"+b.substr(8,4)} else{b=b.substr(1,3)+"-"+b.substr(4,2)+"-"+b.substr(6,2)}; return(b);} function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) { return getCookieVal (j); } i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); //alert(document.cookie); }