function GetDay(iDay)
{
	var DayArray = new Array(
		"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")

	return DayArray[iDay]
}

function GetMonth(iMonth)
{
	var arMonth = new Array(
		"January", "February", "March", "April", "May", "June",
		"July", "August", "September", "October", "November", "December")

	return arMonth[iMonth] 	  	 
}

function GetYear(year)
{
	if (year < 2000) {
		year = year + 1900;
	}
	return year;
}

function getDateStrWithDOW()
{
	var today = new Date();
	var mon   = GetMonth(today.getMonth());
	var day   = GetDay(today.getDay());
	var year  = GetYear(today.getYear());
	var hours = today.getHours();

	return (day + ", " + mon + " " + today.getDate() + ", " + year);
}

// RaQuest
function getRQVersion()
{
	return ("3.3");
}

function getRQBuild()
{
	return ("098");		// program get this line
}

function getRQDate()
{
	return ("08-Dec-2011");
}

function getRQRelDate(sType)
{
	var sDate; 
	
	sDate = getRQDate();

//	else if (sType == "CHM") {
//		sDate = "26-Jul-2007";
//	}
//	else
	if (sType == "guide") {
		sDate = "19-Jan-2011";
	}
	else if (sType == "startup") {
		sDate = "17-Jun-2011";
	}
	else if (sType == "install") {
		sDate = "09-Dec-2010";
	}
	else if (sType == "beta") {
		sDate = "30-Jun-2010";
	}
//
//	else if (sType == "trial") {
//		sDate = "12-Oct-2010";
//	}
//	else if (sType == "trial_zip") {
//		sDate = "12-Oct-2010";
//	}
	
	return (sDate);
}

function getRQFileSize(sFileName)
{
	var sFileSize; 
	
	if (sFileName == "RQ") {
		sFileSize = "7.08 MB";
	}
	else if (sFileName == "RQ_zip") {
		sFileSize = "6.15 MB";
	}
	else if (sFileName == "trial") {
		sFileSize = "7.02 MB (7,361,936 Bytes)";
	}
	else if (sFileName == "trial_zip") {
		sFileSize = "6.09 MB (6,388,295 Bytes)";
	}	
	else if (sFileName == "beta") {
		sFileSize = "X.XX MB";
	}	
	else if (sFileName == "CHM") {
		sFileSize = "1.35 MB";
	}	
	else if (sFileName == "guide") {
		sFileSize = "1.14 MB";
	}	
	else if (sFileName == "startup") {
		sFileSize = "933 KB";
	}	
	else if (sFileName == "install") {
		sFileSize = "206 KB";
	}	

	return (sFileSize);
}


function getRQBuildEx(sFileName)
{
	var sBuild; 
	
	sBuild = getRQBuild();

	if (sFileName == "beta") {
		sBuild = "XXX";
	}
	return (sBuild);
}

function getRQVersionEx(sFileName)
{
	var sVer; 
	
	sVer = getRQVersion();

	if (sFileName == "beta") {
		sBuild = "X.X";
	}
	return (sVer);
}

function getWelcomeString()
{
	return ("Welcome Guest");
}


