// JavaScript Document
function fnExpand(page)
{
	document.getElementById("DivMenu"+page).style.display="block";
}

function fnDisplayDate()
	{
    var this_month = new Array(12);
    var this_wday = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September";
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";
    var today = new Date();
    var wday = today.getDay();
    var day   = today.getDate();
    var month = today.getMonth();
    var year  = today.getYear();
    if (year < 1900)
		{
        year += 1900;
		}
	   document.write(this_wday[wday]+", "+this_month[month]+" "+day+", "+year);
 		
 	}

function Trim(nStr){return nStr.replace(/(^\s*)|(\s*$)/g, "");}

function fnSearch()	{
	return false;
	if(Trim(document.googlesearchid.q.value)=="search our site" || Trim(document.googlesearchid.q.value)=="") { 
		alert("Please enter the search string");
		document.googlesearchid.q.focus();
		return false;	
	}
}

function fnfocus(){
	if(document.googlesearchid.q.value=="search our site") { 
		document.googlesearchid.q.value="";
	}
}
function fnblur(){
	if(document.googlesearchid.q.value=="") {	
		document.googlesearchid.q.value="search our site";
	}
}
