﻿var now = new Date();
var textout;
var month = now.getMonth();
var date = now.getDate();
var year = now.getYear();
var year = "20"+now.getYear();
var year = year.substring(0, 2)+year.substring(5,3);

if (month==0) textout="января";
if (month==1) textout="февраля";
if (month==2) textout="марта";
if (month==3) textout="апреля";
if (month==4) textout="мая";
if (month==5) textout="июня";
if (month==6) textout="июля";
if (month==7) textout="августа";
if (month==8) textout="сентября";
if (month==9) textout="октября";
if (month==10) textout="ноября";
if (month==11) textout="декабря";

textout = date +" "+ textout;
document.write ("<font size=2 color=202020><strong>Цены дейcтвительны на " + textout + " 2011 года</strong></font>");
