// Server-side time
function GetDate(thisDate) {
	if (thisDate != null) {
		var aServerTime = thisDate.split(" ")
		if (aServerTime.length >=6){
			var curDate = new Date(aServerTime[0],aServerTime[1]-1,aServerTime[2],aServerTime[3],aServerTime[4],aServerTime[5])
			var year=curDate.getFullYear()
			var daym=curDate.getDate()
			if (daym < 10) daym="0"+daym;
	        		document.write(__aWeek[curDate.getDay()]+", "+daym+" "+ __aMonth[curDate.getMonth()]+" "+year)
		}
	}
}
// Display the date according to the language
function DisplayDate(thisDate){
	var sDay, sMonth
	aThisDate = thisDate.split("-")
	if (aThisDate.length >= 3 ) {
		sMonth=new Number(aThisDate[1])
		sDay=new Number(aThisDate[0])
		if (sDay < 10)	sDay="0"+sDay
		document.write(sDay + " " + __aMonth[sMonth] + " " + aThisDate[2])
	}else{
		document.write(thisDate)
	}


}

//constant var
var __aWeek=new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday")

var __aMonth=new Array(
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec")

var __sTitlePrefix = "WorldBonus.com"
var __sAbout = "About"
var __sNews = "News"
var __sHelp = "Help"
var __sTOS = "Terms of Service"
var __sPrivacy = "Privacy"
var __sDisclaimer = "Disclaimer"
var __sCopyright = "Copyright<SUP>&copy;</SUP>2000  WorldBonus.com. All rights reserved."

var __sCharSet = "windows-1252"
