/* Popup window */
var win= null;
function NewWindow(mypage,myname,w,h,scroll){
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height='+h+',';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=yes';
  win=window.open(mypage,myname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
/* End */

/* Top Nav IE Workaround */
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav-uno");
		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", "");
				}
			}
		}
	}
}
window.onload=startList;

// Sniff pre v.86 versions of Safari
// Nav Workaround Safari 1.0

var agt = navigator.userAgent.toLowerCase();
var appVer = navigator.appVersion.toLowerCase();

var is_safari = (agt.indexOf("safari") != -1);
var build = appVer.substring(appVer.lastIndexOf("/")+1); 

if (build < 86) {
document.write('<style type="text/css">li:hover ul { display: none } </style>'); 
}