function PrintMessage(Text, color)
{
	if  (Text != "")
	{
		document.write('<center><P><table border=1><tr><td align=center><font size="3" color="#' + color + '" face="Tahoma">');
		document.write(Text);
		document.write('</font></td></tr></table><P></center>');
	}
}

function ShowMessage(sMessageText, sDivName)
{
	if ("" != sMessageText)
	{
		if (("" == sDivName ) || ("NameNotFound" == sDivName))	
		{
//			Error(sMessageText);	// Use the generic error message approach?
//			return;
			sDivName = "ErrorMessage";	// 
		}
		document.write('<div id="div' + sDivName + '">' + sMessageText + '</div>');
	}
}

function Error(ErrorText)
{
	PrintMessage(ErrorText, "ff0000");
}

function DisplayMessage(MessageText)
{
	PrintMessage(MessageText, "0000ff");
}

function  DegreeAuditMessage()
{
DisplayMessage(
"<P align=justify>Although every effort has been made to insure the accuracy of this report, the student is responsible " +
"for the accuracy of his/her records. If this report is not accurate, the student should contact " +
"their advisor immediately.<p>" +
"This information is based on current Catalog information and requirements.<P>" + 
"Final approval is required by the Registrar's Office before graduation.");
}

