/*<![CDATA[*/
//LI:hover functionality for IE only
function IEHoverPseudo() {	
	var navItems = document.getElementById("cv-download-link").getElementsByTagName("li");
	for (var i=0; i<navItems.length; i++) {
		if (navItems[i].className == "cv-download-link-li") {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "cv-download-link-li"; }
			/*if (navItems[i].id == "menu-portal-a") { 
				var img = document.getElementById("nav_arrow"); 
				navItems[i].onmouseover=function() { this.className += " over"; img.src = "images/nav_marker_down_arrow.gif"; }
				navItems[i].onmouseout=function() { this.className = "menuparent"; img.src = "images/nav_marker_arrow.gif"; }
			}*/
		}
	}			
}
//Popup functionality
function openWin(url, width, height) {
	var left, top;
	left = 100;
	top = 100;
	extras = 'height=' + height + ',width=' + width + ',resizable=0,status=0,toolbar=0,menubar=0,scrollbars=1,top=' + top + ',left=' + left;
	newwin = window.open(url,'address', extras);
	if(window.innerWidth){
		newwin.innerWidth = width;
		newwin.innerHeight = height;
	} else {
		newwin.resizeTo(width+10,height+29);
		newwin.focus();
	}
	if(parseInt(navigator.appVersion) >= 4){
		newwin.window.focus()
	}
}
window.onload =  IEHoverPseudo; //IEHoverPseudo;

/*]]>*/
