<!-- православное Рождество -->
<!--
var today = new Date()
var month = today.getMonth()
var dayofMonth = today.getDate()
var presentMoment = today.getTime()
var thisYear = today.getYear()
      if(thisYear < 1000){
      thisYear += 1900
 }
thisYear = thisYear + 1
if (month < 0)  {thisYear = thisYear - 1}
if ((month == 0) && (dayofMonth < 7)) {thisYear = thisYear -1}
var futureDate = new Date(thisYear,00,7)
var futureMoment = futureDate.getTime()
var difference = (futureMoment - presentMoment) * 10 
var numberOfDays = Math.round(difference / 86400000) / 10   // changes milliseconds to days and rounds to one-tenth day
if (numberOfDays == 365) {
	document.write("<B>C Рождеством Христовым !</B>")
	} 
else {
	document.write("<b> Православное Рождество</b> наступит через <B>", numberOfDays, "</B> дней !")
	}
// -->

