function o(link) {
  window.open(link, "_blank", "scrollbars=yes, width=650, height=500,toolbar=no,address=no,resizable=yes");
}
function o1(link) {
  window.open(link, "_blank", "scrollbars=yes, width=750, height=500,toolbar=no,address=no,resizable=yes");
}
function o2(link) {
  window.open(link, "_blank", "scrollbars=yes, width=950, height=500,toolbar=no,address=no,resizable=yes");
}
function op(link, width, height) {
  window.open(link, "_blank", "scrollbars=yes, width=" + width + ", height=" + height + ",toolbar=no,address=no,resizable=yes");
}
function twoDigits(s) {
    var str = new String(s);
	if (str.length == 1) {
	  return ("0" + s);
	} else {
	  return s;
	}
}

function writeLastModified() {
  var currentDate = new Date(document.lastModified);
  var currentDay = twoDigits(currentDate.getDate());
  var currentMonth = twoDigits((currentDate.getMonth() + 1));  
  var currentYear = currentDate.getFullYear();

  var monthInWords = "";
  if (currentMonth == 1) {
	  monthInWords = "январь";
  }

  if (currentMonth == 2) {
	  monthInWords = "февраль";
  }

  if (currentMonth == 3) {
	  monthInWords = "март";
  }
  
  if (currentMonth == 4) {
	  monthInWords = "апрель";
  }  
  
  if (currentMonth == 5) {
	  monthInWords = "май";
  }  

  if (currentMonth == 6) {
	  monthInWords = "июнь";
  }
  
  if (currentMonth == 7) {
	  monthInWords = "июль";
  }  

  if (currentMonth == 8) {
	  monthInWords = "август";
  }  
  
  if (currentMonth == 9) {
	  monthInWords = "сентябрь";
  }  

  if (currentMonth == 10) {
	  monthInWords = "октябрь";
  }  

  if (currentMonth == 11) {
	  monthInWords = "ноябрь";
  }  

  if (currentMonth == 12) {
	  monthInWords = "декабрь";
  }  

  document.write(currentYear);	
}

function c(link) {
	try {
    	link.style.color='#999999';
	} catch (e) {
	}
}


