function processExternals(){
	clLnks = document.links;
	for (i=0;i<clLnks.length;i++) {
		if ((clLnks[i].href.search('dte.') == -1 && clLnks[i].href.search('dtegroup.') == -1 && clLnks[i].href.search('netbenefit.') == -1 && clLnks[i].href.search('mailto:') == -1) && clLnks[i].href.search('http://') != -1){
			clLnks[i].target = "_blank";
		}
	}
	//NOTE: clLnks[i].href.search('http://') != -1 is because Safari only returns script name and not host name, leading to all Links opening in a new window
}

function toggle(strEltId,eSourceElt){
	if ((eSourceElt.src).search("icon_minus.gif") != -1) {
		state = "none";
		strIcon = "plus";
	}else {
		state = "block";
		strIcon = "minus";
	}
	document.getElementById(strEltId).style.display = state;
	eSourceElt.src = "/images/icon_" + strIcon + ".gif";
	if (strCurrentMenuId != "" && document.getElementById(strCurrentMenuId)) { //second check is for menus without subs
		document.getElementById(strCurrentMenuId).style.display = "none";
		document.getElementById(strCurrentMenuId).previousSibling.firstChild.src = "/images/icon_plus.gif";
		strEltId = "";
	}
	strCurrentMenuId = strEltId;
}

/*
function popup(thefile, thewidth, theheight) {
	window.open(thefile, 'mssgwin', 'width=' +thewidth +',height=' +theheight +',toolbar=no,directories=no,status=yes,scrollbars=yes,resize=yes,menubar=no,top=100,left=100');
}
*/
