// JavaScript Document


//---- show/hide divs for links:
function showHideBox(boxID,aID) {
	var e = document.getElementById(boxID);
	var x = document.getElementById(aID);
	if (e.showing) {
		e.showing = false;
		e.style.display = "none";
		x.className = "arrow";
	} else {
		e.showing = true;
		e.style.display = "block";
		//change class of a to "arrow-down"
		x.className = "arrow-down";
	}
}




function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function OpenAdmin(theURL){
	LeftPosition = (screen.width) ? (screen.width)-510 : 0;
	cmsheight = (screen.height) ? (screen.height)*.75 : 550;
	settings = 'height='+cmsheight+',width=500,top=0,left='+LeftPosition+',scrollbars=yes,resizable=yes'
	win = window.open(theURL,'viewit',settings)
}

// -- popup window (for search help file) -- 
function popup(url,w,h) {
mywin =
window.open(url,"example",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width='+w+',height='+h+'');
}