if (top.location != self.location) {
top.location.replace(self.location)
}
function ttnewWindow() {
				 contactWin = window.open("http://www.energystar.gov/", "newWin", "width=800,height=600")
				 contactWin.focus()
				 }
function tnewWindow() {
				 contactWin = window.open("http://www.nfrc.org/", "newWin", "width=800,height=600")
				 contactWin.focus()
				 }
function nnnnewWindow() {
				 contactWin = window.open("http://www.aamanet.org/", "newWin", "width=800,height=600")
				 contactWin.focus()
				 }
function nnewWindow() {
				 contactWin = window.open("contact.html", "newWin", "width=500,height=400")
				 contactWin.focus()
				 }
				 function nnnewWindow() {
				 contactWin = window.open("problems.html", "newWin", "width=760,height=460")
				 contactWin.focus()
				 }


		function jumpPage(newLoc) {
			newPage = newLoc.options[newLoc.selectedIndex].value
	
			if (newPage != "") {
				window.location = newPage
				
			}
		}

	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 subStyle(which,state){
	var getObj = getObject(which)
	if(!(n4||n6||platform=='mac')) {
		if(state)	{
			document.styleSheets[1].addRule("#" + which," color: black; background-color: white;");
		}else{
			document.styleSheets[1].addRule("#" + which,"color: white; background-color: transparent;");
		}
	}
}


