	
function toggleMenu(currMenu) {
			if (document.getElementById) {
				thisMenu = document.getElementById(currMenu).style
				if (thisMenu.display == "block") {
					thisMenu.display = "none"
				}
				else {
					thisMenu.display = "block"
				}
				return false
			}
			else {
				return true
			}
		}


function toggleMenu1(currMenu) {
			if (document.getElementById) {
				thisMenu = document.getElementById(currMenu).style
				if (thisMenu.display == "none") {
					thisMenu.display = "block"
				}
				else {
					thisMenu.display = "none"
				}
				return false
			}
			else {
				return true
			}
		}
		
function newWindow(help) {
		helpWindow = window.open(help, "helpWin", "scrollbars=yes,toolbar=yes,menu bar=yes,resizable=yes,location=yes,width=1000,height=760,left=50,top=25")
		helpWindow.focus()
	}

/*This is the function for windows to open the Library Submission Utility*/
function newWindow2(work) {
		workWindow = window.open(work, "workWin", "scrollbars=yes,toolbar=yes,menu bar=yes,resizable=yes,location=yes,width=1000,height=760,left=50,top=50")
		workWindow.focus()
	}
/*This is the function for small Book windows*/
function newWindow3(help3) {
		helpWindow3 = window.open(help3, "helpWin3", "scrollbars=yes,toolbar=yes,menu bar=yes,resizable=yes,location=yes,width=860,height=400,left=50,top=0")
		helpWindow3.focus()
	}


/*This is the function for FAQ windows*/
function newWindow5(help5) {
		helpWindow5 = window.open(help5, "helpWin5", "scrollbars=yes,toolbar=yes,menu bar=yes,resizable=yes,location=yes,width=860,height=700,left=50,top=50")
		helpWindow5.focus()
	}


/*This is the function for the decision tree */
function newWindow7(help7) {
		helpWindow7 = window.open(help7, "helpWin7", "scrollbars=yes,toolbar=no,menu bar=no,resizable=yes,location=yes,width=857,height=913,left=50,top=50")
		helpWindow7.focus()
	}	

function openWin(fname,width,height,leftPos,cTop) {
    leftPos = (leftPos == null) ? 100 : leftPos;
    cTop = (cTop == null) ? 100 : cTop;
    newWin = window.open(fname,"helpWin","scrollbars=yes,toolbar=yes,menu bar=yes,resizable=yes,location=yes,width="+width+",height="+height+",left="+leftPos+",top="+cTop)
    newWin.focus()
}