function ImageLoadFailed() {
 window.event.srcElement.style.display = "None";
}

today = new Date();
day = today.getDay();
date = today.getDate();
month = today.getMonth();
hour = today.getHours();
minute = today.getMinutes();
second = today.getSeconds();

function getYear() {
    y = today.getYear();
    if (y < 1000) {y += 1900};
    return y;
}
year = getYear();
days = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday")
months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
daytxt = days[day]
monthtxt = months[month]

function helpWin(mode,url)
{
window.open('http://www.on-linehosting.co.uk/siteadmin/help.asp?action=' + mode + '&url=' + url + '','','toolbar=0,menubar=0,resizeable=no,scrollbars=yes,width=430,height=400')
}






var gAutoPrint = true; // Flag for whether or not to automatically call the print function

function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>\n';

		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '\n</HE' + 'AD>\n<BODY>\n<FONT FACE=arial size=2>\n';
		
		var printReadyElem = document.getElementById("printReady");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Could not find the printReady section in the HTML");
			return;
		}
			
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial","toolbar=0,menubar=0,resizeable=no,scrollbars=yes,width=720,height=500");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
			printWin.print();
	}
	else
	{
		alert("Sorry, the print ready feature is only available in modern browsers.");
	}
}
