
now = new Date();
day = now.getDate();
month = now.getMonth();
time = now.getTime();
function suff() {
        suffix = "th"
        if (now.getDate() == 1){suffix = "st";}
        if (now.getDate() == 21){suffix = "st";}
        if (now.getDate() == 31){suffix = "st";}
        if (now.getDate() == 2){suffix = "nd";}
        if (now.getDate() == 22){suffix = "nd";}
        if (now.getDate() == 3){suffix = "rd";}
        if (now.getDate() == 23){suffix = "rd";}
        return suffix;
        
}
function mois() {

        if (now.getMonth() == 0){january = "Jan.";}
        if (now.getMonth() == 1){january = "Feb.";}
        if (now.getMonth() == 2){january = "Mar.";}
        if (now.getMonth() == 3){january = "Apr.";}
        if (now.getMonth() == 4){january = "May";}
        if (now.getMonth() == 5){january = "June";}
        if (now.getMonth() == 6){january = "July";}
        if (now.getMonth() == 7){january = "Aug.";}
        if (now.getMonth() == 8){january = "Sept.";}
        if (now.getMonth() == 9){january = "Oct.";}
        if (now.getMonth() == 10){january = "Nov.";}
        if (now.getMonth() == 11){january = "Dec.";}
        return january
        
}

function wwday() {
	var wday = "Sun,";
	if (now.getDay() == 1) {wday = "Mon,";}
	if (now.getDay() == 2) {wday = "Tue,";}
	if (now.getDay() == 3) {wday = "Wed,";}
	if (now.getDay() == 4) {wday = "Thu,";}
	if (now.getDay() == 5) {wday = "Fri,";}
	if (now.getDay() == 6) {wday = "Sat,";}
	return wday;
}

function displayWindow(url, width, height) {
       var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,toolbar=no,status=no' );
}
