var days = new Array("Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота");
var months = new Array("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
var now = new Date();
day = now.getDay();
date = now.getDate();
month = now.getMonth();
year = now.getYear();
if (year < 1900) { year += 1900 }


var bookmarkurl="http://dynamicdrive.com";
var bookmarktitle="Dynamic Drive DHTML Code Library";

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle);
}



function addhome(){
if (document.all)
sethome.style.behavior='url(#default#homepage)';sethome.setHomePage('http://www.mylib.kiev.ua/'); return false;
}


function sethp(f) {
if (( navigator.appVersion.indexOf('MSIE 5.') != -1) || (navigator.appVersion.indexOf('MSIE 6.') != -1)) { f.style.behavior='url(#default#homepage)'; f.setHomePage('http://www.taganka.newhost.ru'); } else { location.href='index.html' }}

// ------ okno1 ------
function popUp1() {
	NewWindow = window.open("avtor.shtml", "NewWindow1", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=0,width=350,height=300,left=250,top=100" );
}
