<!--

function openWindow(URL,name,features) {
	window.open(URL,name,features);
}

function closeWindow() {
	window.close();
}

function Clear(theText) {
	if (theText.value == theText.defaultValue) {
	theText.value = ""
	}
}	

function isBlank() {
	value=document.searchform.elements['SearchString'].value;
	if ( value == "" ){
        	alert("Please enter search word");
        	return false;
    	}
	else if ( value == "Search for..." ){
        	alert("Please enter search word");
        	return false;
    	}
    	else {
    		return true;
    	}
}

function imgSwap(primary, imgName) {
	eval("document." + primary + ".src = '" + imgName + "'");	
}

var date = new Date();
var year = date.getFullYear();

function lastModified() {
	var date = new Date(document.lastModified);
	var day = date.getDate();
	var month = [date.getMonth() + 1];
	var year = date.getYear();
	if (day < 10) day = "0" + day;
	if (month < 10) month = "0" + month;
	if (year < 2000) year += 1900;
	document.write(day + "-" + month + "-" + year);
}

function sideNav_Over(elem,link,path)
{ 
    elem.style.backgroundColor = "#FFCC00";
    elem.style.cursor = "hand";
    link.style.color = "#003273";
}
function sideNav_Out(elem,link)
{ 
    elem.style.backgroundColor = "#EFEFEF";
    link.style.color = "#003273";
}
function sideNav_Down(elem,link)
{ 
    elem.style.backgroundColor = "#FFCC00";
    elem.style.cursor = "hand";
    link.style.color = "#003273";
}
function sideNav_Up(path)
{ 
    location.href = path;
}

//-->