
/* makes a popup window for the dictionary */
function dictionaryPop(word) {
var theWin = null
var theAnchor = "http://www.webice.net/dictionary.asp#" + word
	if (theWin == null) {
		theWin = window.open(theAnchor, "popup", "resizable=1,toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,copyhistory=0,width=400,height=350");
		theWin.focus();
	}
}

/* makes a popup window for the features */
function featurePop(word) {
var theWin = null
var theAnchor = "http://www.webice.net/features.asp#" + word
	if (theWin == null) {
		theWin = window.open(theAnchor, "popup", "resizable=1,toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,copyhistory=0,width=400,height=350");
		theWin.focus();
	}
}

/* rollover text on the home page */
var isNav, isIE
var coll = ""
var styleObj = ""
if (parseInt(navigator.appVersion) >= 4) {
	if (navigator.appName == "Netscape") {
	isNav = true
	} else {
		isIE = true
		coll = "all."
		styleObj = ".style"
	}
}

function getObject(obj) {
	var theObj
	if (typeof obj == "string") {
		theObj = eval("document." + coll + obj + styleObj)
		} else {
		theObj = obj
	}
	return theObj
}

function show(obj) {
	var theObj = getObject(obj)
	theObj.visibility = "visible"
}

function hide(obj) {
	var theObj = getObject(obj)
	theObj.visibility = "hidden"
}
