<!-- 

//Routines to support the OTHG website

function bookmarksite(title, url){
	if (document.all)
		window.external.AddFavorite(url, title);
	else if (window.sidebar)
	alert('This bookmark button works for Internet Explorer.\nFor Firefox/Netscape try "Ctrl+D" or your browser menu directly!\nHere is the URL you were trying to bookmark: ' + url);
//		window.sidebar.addPanel(title, url, "");
	else if(window.opera && window.print){
//          var elem = document.createElement('a');
//          elem.setAttribute('href',url);
//          elem.setAttribute('title',title);
//          elem.setAttribute('rel','sidebar');
//          elem.click();
	alert('This bookmark button works for Internet Explorer.\nFor Opera try "Ctrl+D" or your browser menu directly!\nHere is the URL you were trying to bookmark: ' + url);
          
	} 		
	}

function openpopup(popurl){
	var winpops=window.open(popurl,"","width=600,height=400,toolbar,location,status,scrollbars,menubar,resizable")
	}
	
function weatherpopup(popurl){
	var winpops=window.open(popurl,"","width=300,height=250,toolbar,location,status,scrollbars,menubar,resizable")
	}	

function printdate(date_color) {

// Get today's current date.
var now = new Date();
// Array list of days.
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
// Array list of months.
var months = new Array('Jan','Feb','Mar','Apr','May','June','July','Aug','Sep','Oct','Nov','Dec');
// Calculate the number of the current day in the week.
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
// Calculate four digit year.
function fourdigits(number)	{
	return (number < 1000) ? number + 1900 : number;
								}

// Join it all together
today =  days[now.getDay()] + ", " +
         months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;

// Print out the data.
//document.write('<b><font color="#000066" face="Comic Sans MS" size="2">' + today + '</font></b>');
document.write('<b><font color="' + date_color + '" face="Comic Sans MS" size="2">' + today + '</font></b>');

}

//-->

