// Start header date; create new date obj
d = new Date()
dateText = ""


// Get the current month and convert it to the number of the month
monthValue = d.getMonth()
dateText += " "
if (monthValue == 0)
dateText += "1"
if (monthValue == 1)
dateText += "2"
if (monthValue == 2)
dateText += "3"
if (monthValue == 3)
dateText += "4"
if (monthValue == 4)
dateText += "5"
if (monthValue == 5)
dateText += "6"
if (monthValue == 6)
dateText += "7"
if (monthValue == 7)
dateText += "8"
if (monthValue == 8) 
dateText += "9"
if (monthValue == 9)
dateText += "10"
if (monthValue == 10)
dateText += "11"
if (monthValue == 11)
dateText += "12"

// Get the current year, in full format-subtract 2000 for two digit display
dateText += ". " + d.getDate() + ". 0" + (d.getFullYear() - 2000)

// Start copyright year
today = new Date();
copyText = ""

copyText += "Copyright " + (today.getFullYear()) + "  Cole & Denny Incorporated All rights reserved."