//Bug fix in IE Mac
function startlist() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("uncgBlueNavDrop");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

except= function(){
  document.getElementById('ns').style.visibility="hidden";
	var exp = new RegExp (escape("unsupbrowser") + "=([^;]+)");
	var description=navigator.userAgent.toLowerCase();
	IE6 = ((document.all)&&(description.indexOf("msie 6.")!=-1)) ? true : false;
	IE7 = ((document.all)&&(description.indexOf("msie 7.")!=-1)) ? true : false;
	
	if((!IE6)&&(!IE7)){
		alert('You are using a browser other the latest Internet Explorer browser which \nis the only browser that can be used to install the Emergency Notification Client.');
		document.getElementById('button_space').innerHTML='';	
	}
	document.getElementById('button_space').style.display = "inline";
	document.getElementById('button_space').style.visibility="visible";
	startlist();
}
window.onload=except;