function popMenu(strMenuName){
	var objMenu = document.getElementById(strMenuName + "Menu");
	if (objMenu.style.display == "block"){
		return false;
	} else {
		objMenu.style.display = "block";
	}
}

function dropMenu(strMenuName){
	var objMenu = document.getElementById(strMenuName + "Menu");
	
	if (objMenu.style.display == "none"){
		return false;
	} else {
		objMenu.style.display = "none";
	}
}
	
function setClassName (obj, pstrClassName){
	obj.className = pstrClassName;
}


function imageWin(image, width, height){
	var imageWin = window.open('/clients/pic.asp?image=' + image, '_PICS', 'scrollbars=no,width=' + width + ',height=' + height + ',menubar=no');
}

//use for ALL generic windows
function openWin(URL, winName, width, height)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	win = window.open(URL, winName, "width=" + width + ",height=" + height + ",scrollbars=no,toolbar=no,left=50,top=1");
	
		//delay a bit here because IE4 encounters errors
		//when trying to focus a recently opened window
 		setTimeout('win.focus();',250);
	
}
