// Would you like to display the date?
	var ShowDate="Yes" // Yes or No

	// Which date format would you like?
		//for: Sunday, January 1, 2002 type the number 1
		//for: January 1, 2002 type the number 2
		//for: 01/01/2002 type the number 3
	var UserAnswer="1"
	
	// Would you like the year to be displayed in Roman Numerals?
	var Roman="No"    // Yes or No

//  Would you like to display a timestamp?
	var ShowTime="No"    // Yes or No

	// If yes, - What format would you like the time?
		// 11:15:00 type in a value of 1
		// 11:15 type in a value of 2
	var TimeFormat="2"

	// Do you want to add the "th" "nd" or "st" after the date? "1st"
	var ShowProperDate="No"    // Yes or No

	// Do want the time and date on the same line?
	var SameLine="No"    //Yes and No

	// Would you like Military Time on or off?
	var MilitaryTime="Off"    // On or Off

	// Would you like to see the AM and PM?
	var TurnOnAMPM="No"    // Yes or No

// Would you like to show a welcome message? "Good Morning," etc?
	var ShowWelcome="No"    // Yes or No

	// Would you like it to be on the same line as the date?
	var WelcomeSameLine="Yes"    // Yes or No

// Would you like this all to be centered on the page?
	var Centered="Yes"     // Please type either Yes or No

	// What font color would you like?
	// Just type the name of any basic color: Red, black, etc 
	var fontcolor="#013567"

	// What font face would like?
	// Times New Roman, Arial, Verdana, Comic Sans MS, Courier New, etc
	var fontface="Arial"

	// What font size would you like? (-3,-2,-1,0,+1,+2,+3)
	var FontSize="1"

//----------------------------------------------------------------

// DO NOT EDIT BELOW THIS LINE

RightNow = new Date();
var janet = RightNow.getDate();
var bob = RightNow.getFullYear();
var bob2 = RightNow.getYear();
var charlie = RightNow.getMonth() + 1;
var mike = RightNow.getDay();
var theHour = RightNow.getHours();
var theMinutes = RightNow.getMinutes();
var theSeconds = RightNow.getSeconds();
var TimeZone = RightNow.toGMTString();

// ARRAY INFORMATION

var writtenday = new Array(7)
writtenday[0] = "Неделя"
writtenday[1] = "Понеделник"
writtenday[2] = "Вторник"
writtenday[3] = "Сряда"
writtenday[4] = "Четвъртък"
writtenday[5] = "Петък"
writtenday[6] = "Събота"

var WriteMonth = new Array(13)
WriteMonth[0] = "null"
WriteMonth[1] = "Януари"
WriteMonth[2] = "Февруари"
WriteMonth[3] = "Март"
WriteMonth[4] = "Април"
WriteMonth[5] = "Май"
WriteMonth[6] = "Юни"
WriteMonth[7] = "Юли"
WriteMonth[8] = "Август"
WriteMonth[9] = "Септември"
WriteMonth[10] = "Октомври"
WriteMonth[11] = "Ноември"
WriteMonth[12] = "Декември"
var NewDateValue = janet + 1

// IF AND ELSE STATEMENTS

document.write("<font color=" + fontcolor + " face=" + fontface + " size=" + FontSize + ">")
if (Centered == "Yes") {document.write("<center>")}
else {document.write("")}

if (TurnOnAMPM=="Yes") {
	if (theHour<="12"){AMPM="AM"}
	else {AMPM="PM"}
}


if (ShowWelcome=="Yes") {
if ((theHour>=0) && (theHour<=6)){ document.write("Good Early Morning")}
if ((theHour>=7) && (theHour<=11)){ document.write("Good Morning")}
if ((theHour>=12) && (theHour<=16)){ document.write("Good Afternoon")}
if ((theHour>=17) && (theHour<=20)){ document.write("Good Evening")}
if ((theHour>=21) && (theHour<=23)){ document.write("Good Night")}
}
else {document.write("")}
if (WelcomeSameLine=="Yes") {document.write(" ")}
else {document.write("!<br>")}

if (ShowProperDate=="Yes") {
end = "-ти";
if (janet==1 || janet==21 || janet==31) end="-ви";
if (janet==2 || janet==22) end="-ри";
if (janet==3 || janet==23) end="-ти";
janet+=end;
}
else {janet=janet}

if (MilitaryTime=="Off") {if (theHour>="13") theHour-=12 }

if (theSeconds < 10) {theSeconds="0"+theSeconds}
if (theMinutes < 10) {theMinutes="0"+theMinutes}
if (ShowDate=="Yes") {
if (UserAnswer=="1") {document.write("" + writtenday[mike] + ",<br>" + janet +" " +WriteMonth[charlie] +  ", " + bob + " г.")}
if (UserAnswer=="2") {document.write("" +WriteMonth[charlie] + " " + janet + ", " + bob + "")}
if (UserAnswer=="3") {document.write("" + charlie + "/" + janet + "/" + bob + "")}
if (SameLine=="No") {document.write("<br>")}
else {document.write(" and it's ")}
}
else {document.write("")}
if (ShowTime == "Yes") {
 if (TimeFormat == "1") {document.write(" " + theHour + ":" + theMinutes + ":" + theSeconds + " ")}
 if (TimeFormat == "2") {document.write(" " + theHour + ":" + theMinutes + " ")}
document.write(" " + AMPM + " ")
}
else {}

if (Centered == "Yes") {document.write("</center>")}

document.write("</font>")

// End of Javascript