  var dow = new Array("Sunday,", "Monday,", "Tuesday," , "Wednesday,", "Thursday," , "Friday," , "Saturday,");
  var month = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
  var todaysDate;  
  var now = new Date();
function getTodaysDate() {

  mm = now.getMonth();
  mm = month[mm];
  dd = now.getDate();
  //if (dd < 10)
  //dd = "0" + dd;
  yy = now.getFullYear();
  todaysDate = dd + " " + mm + " " + yy;
  }
getTodaysDate();

var time;
function getTime() {

  var now = new Date();
  var thehour = now.getHours();
  var theminute = now.getMinutes();
  if (theminute < 10)
  theminute = "0" + theminute;
  var ampm
  if (thehour < 12 ){
    ampm="AM";
	if (thehour == 0 )
	  thehour = 12;
	}
  else {
    ampm="PM";
	thehour=thehour-12;
	if (thehour == 0)
	  thehour = 12;
  }
  time= thehour + ":" + theminute + " " + ampm
}
getTime();

function IGEN_goTo( url ) {
	window.location.href = url;
}


function IGEN_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#69c';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' 
)[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#036';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' 
)[0].style.color = '#000';
				}
		}
	}
}

function IGEN_navBarClick( tableCellRef, navStyle, url ) {
	IGEN_navBar( tableCellRef, 0, navStyle );
	IGEN_goTo( url );
}
function Start(pagelink)
{
OpenWindow = this.open(pagelink,'PopUpWindow','width=500,height=600,resizable=yes,scrollbars=yes,toolbar=no,location=no,menubar=no,copyhistory=no,top=0,left=0');
}