function collapseRaiseWin(obj,item,icon) {
	myObj = document.getElementById(obj);
	myObjTitle = document.getElementById(obj+"Title");
	
	if (myObj.style.display == "none") {
		myObj.style.display = "block";
		myObjTitle.innerHTML = ""; 
	} else {
		myObj.style.display = "none";
		myObjTitle.innerHTML = "<img src="+ icon +" align=\"absmiddle\"> "+ item ; 
	}
}

function closeModuleDisplay(mod) {
	myObj = document.getElementById(mod+"Display");
	if (myObj.style.display == "none") {
		myObj.style.display = "block";
	} else {
		myObj.style.display = "none";
	}	
}
var sRtn;
function moduleSettings(settingspage,width,height) {
	
	sRtn = showModalDialog(settingspage,"","resizable=no,scrollbars=no,toolbar=no,location=no,directories=no,status=no,center=yes;dialogWidth="+ width +"pt;dialogHeight="+ height +"pt");
	if (sRtn) {
		sysTarget.location.href=settingspage +"?save=1&values="+ sRtn;
	}
}