

<!--
// Global variable for Cross-browser AutoScroller 
flevTimeoutID = null;
			
function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function flevDivPositionValue(sDivID, sPositionProperty) { // v1.0, Marja Ribbers-de Vroed  
    var sPositionValue;
	// ***** W3C Compatible DOM (NN6, Mozilla 16, etc.) ***** 
    if (document.getElementById && !document.all) { //W3C DOM compliant 
       var docObj = document.getElementById(sDivID); 
		if (document.defaultView != null) { // NS6+ alike 
			sPositionValue = document.defaultView.getComputedStyle(docObj, "").getPropertyValue(sPositionProperty); 
			} 
		else { // Opera 5 alike 
			if (sPositionProperty == "height") { sPositionValue = docObj.style.pixelHeight; } 
			else if (sPositionProperty == "width") { sPositionValue = docObj.style.pixelWidth; } 
			else { sPositionValue = eval("docObj.style." + sPositionProperty); } 
			} 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
    // ***** Netscape Navigator 4+ DOM ***** 
    else if (document.layers) { //NS4+ DOM compliant 
		var docObj = eval("MM_findObj('" + sDivID + "')"); 
		if ((sPositionProperty == "width") || (sPositionProperty == "height")) { sPositionValue = eval("docObj.clip." + sPositionProperty); } 
		else { sPositionValue = eval("docObj." + sPositionProperty); } 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
    // ***** Internet Explorer 4+ DOM ***** 
    else if (document.all) { //IE4+ DOM compliant 
		if (sPositionProperty == "width") { sPositionValue = eval(sDivID + ".offsetWidth"); } 
		else if (sPositionProperty == "height") { sPositionValue = eval(sDivID + ".offsetHeight"); } 
		else if (sPositionProperty == "top") { sPositionValue = eval(sDivID + ".offsetTop"); } 
		else if (sPositionProperty == "left") { sPositionValue = eval(sDivID + ".offsetLeft"); } 
		sPositionValue = (sPositionValue == "") ? "0" : sPositionValue; 
    	} 
	if (isNaN(sPositionValue)) { if (sPositionValue.indexOf('px') > 0) { sPositionValue = sPositionValue.substring(0,sPositionValue.indexOf('px')); } } 
	return parseInt(sPositionValue); 
}

function flevMoveDiv(sDivID, sLeft, sTop){ // v1.0, Marja Ribbers-de Vroed 
	var	docObj = eval("MM_findObj('" + sDivID + "')"); 
	if (document.layers) { // NS4.x 
		eval("docObj.top = '" + sTop + "'"); 
		eval("docObj.left = '" + sLeft + "'"); 
	} 
	else { // all others 
		eval("docObj.style.top = '" + sTop + "'"); 
		eval("docObj.style.left = '" + sLeft + "'"); 
	} 
}

function flevAutoScrollDivs() { // v1.0, Marja Ribbers-de Vroed   
	var iArgs = flevAutoScrollDivs.arguments.length;   
	var sContainerDivID = 'AutoScrollContainer';   
	var sContentDivID = 'AutoScrollContent';   
	var iStartScrolling = (iArgs > 0) ? parseInt(flevAutoScrollDivs.arguments[0]) : 1;  
	var iPixels = (iArgs > 1) ? parseInt(flevAutoScrollDivs.arguments[1]) : 1;   
	var iDelay = (iArgs > 2) ? parseInt(flevAutoScrollDivs.arguments[2]) : 50;   
	var iCurrentTop = flevDivPositionValue(sContentDivID, 'top');   
	var iScrollTop = (-1 * flevDivPositionValue(sContentDivID, 'height'));   
	var iScrollBottom = flevDivPositionValue(sContainerDivID, 'height');   
	var iCurrentLeft = flevDivPositionValue(sContentDivID, 'left');  
	if (iStartScrolling) {   
		if (iCurrentTop != iScrollTop) {flevMoveDiv(sContentDivID, String(iCurrentLeft), String(iCurrentTop-iPixels));}	// Continue scrolling   
		else {flevMoveDiv(sContentDivID, String(iCurrentLeft), String(iScrollBottom));}	// Re-position scrolling layer at bottom of containing layer  
		flevTimeoutID = setTimeout("flevAutoScrollDivs(" + iStartScrolling + "," + iPixels + "," + iDelay + ")", iDelay);   
	}   
	else if (flevTimeoutID != null) {clearTimeout(flevTimeoutID);}
}

function runClock(){
var currentTime,hh,mm,ss,dn;
currentTime=new Date();
hh=currentTime.getHours();
mm=currentTime.getMinutes();
ss=currentTime.getSeconds();

dn = "AM";
if (hh >= 12){
dn = "PM";
hh = hh - 12;
}

if (hh == 0) hh = 12;
if (mm <= 9) mm = "0" + mm;
if (ss <= 9) ss = "0" + ss;

var mon=eval(currentTime.getMonth()+1)
if (mon==1) mon="January";
if (mon==2) mon="February";
if (mon==3) mon="March";
if (mon==4) mon="April";
if (mon==5) mon="May";
if (mon==6) mon="June";
if (mon==7) mon="July";
if (mon==8) mon="August";
if (mon==9) mon="September";
if (mon==10) mon="October";
if (mon==11) mon="November";
if (mon==12) mon="December";

clock.innerHTML=mon+" "+currentTime.getDate()+", "+currentTime.getYear()+"&nbsp;&nbsp;"+hh+":"+mm+":"+ss+" " +dn;
setTimeout("runClock()", 1000);
}
//-->

