accon = new Image(85,25)
accon.src = "images/nav_acc_on.gif"
contacton = new Image(115,25)
contacton.src = "images/nav_contact_on.gif"
calendaron = new Image(66,25)
calendaron.src = "images/nav_calendar_on.gif"
forumon = new Image(58,25)
forumon.src = "images/nav_forum_on.gif"
docuon = new Image(86,25)
docuon.src = "images/nav_docu_on.gif"

// Alex Rehm's JavaScript functions
function roll(i) { // on 
	if (document.images) { document[i].src = imgDir + i + "_on.gif" }
}
function out(i) { // off 
	if (document.images) { document[i].src = imgDir + i + "_off.gif" }
}

function wink(thecat,thestate) {	// simple show/hide div function
	target = document.getElementById ? document.getElementById(thecat) : document.all[thecat]
	if (thestate=='flip')	// accepted states: block, none or flip
		{	thestate= target.style.display=='block' ? 'none' : 'block';	}
	target.style.display = thestate
}
		
function popWin(url,w,h) {	// popup script
	w=window.open(url,"w","resizable=1,scrollbars=1,width="+w+",height="+h) 
	if (w)	{	w.focus()	}	// IF prevents JS errors on browsers with popup blockers
	}		
