

function topLeftOver(el,linkId) {
	if (document.getElementById) {
		if (el.className != "navTopLeftActive") {
			el.className = "navTopLeftOver" ;
			//document.getElementById(linkId).style.color = "#ffffff" ;
		}
	}
}
function topLeftOut(el,linkId) {
	if (document.getElementById) {
		if (el.className != "navTopLeftActive") {
			el.className = "navTopLeft" ;
			//document.getElementById(linkId).style.color = "#000000" ;
		}
	}
}
function topRightOver(el,linkId) {
	if (document.getElementById) {
		if (el.className != "navTopRightActive") {
			el.className = "navTopRightOver" ;
			//document.getElementById(linkId).style.color = "#ffffff" ;
		}
	}
}
function topRightOut(el,linkId) {
	if (document.getElementById) {
		if (el.className != "navTopRightActive") {
			el.className = "navTopRight" ;
			//document.getElementById(linkId).style.color = "#000000" ;
		}
	}
}

function popWinOpen(winW,winH,sUrl,sName,iResize,iScroll) {
	if (screen) {
		if ((screen.height - winH) < 150) {
			var winX = (screen.width - winW) / 2;
			var winY = 0;
		} else {
			var winX = (screen.width - winW) / 2;
			var winY = (screen.height - winH) / 2;
		}
		var popWindow = window.open(sUrl,sName,"resizable=" + iResize + ",menubar=0,scrollbars=" + iScroll + ",width=" + winW + ",height=" + winH + ",top=" + winY + ",left=" + winX + "");
		if (popWindow) popWindow.focus();
	} else {
		window.open(sUrl,sName,"resizable=yes,menubar=0,scrollbars=" + iScroll + ",width=" + winW + ",height=" + winH);
	}
}

//<A HREF="javascript: popWinOpen(600,560,'/path/file.ext','myWin',0,0)">Linktext</A>
