// drop down menu script
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				if(this.className){
					classNameSep = " ";
				} else {
					classNameSep = "";
				}
				node.onmouseover=function() {
					this.className+=classNameSep+"over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(classNameSep+"over", "");
				}
			}
		}
	}
}
//alert(window.onload);
window.onload=startList;
//alert(window.onload);

function pop(url,title,w,h,r,s,m,t) {

	if (title==null) {
		title = 'popup';
	} if (w==null) {
		w=600;
	} if (h==null) {
		h=600;
	} if (r==null) {
		r='no';
	} if (s==null) {
		s='no';
	} if (m==null) {
		m='no';
	} if (t==null) {
		t='no';
	}
	vars = 'width='+w+',height='+h+',resizable='+r+',scrollbars='+s+',menubar='+m+',toolbar='+t;
	var newWin = window.open(url,title,vars);
	newWin.focus();
	return false;
}
//writeCurrentYr() for footer
function writeCurrentYr(){
	var now = new Date();
	document.write(now.getFullYear());
}