portalLoginHover = false;
swapDelay = 4000;

function loginSwap0() {
	if (!portalLoginHover) {
		document.getElementById("portalLogin").className = "buttonPortalLogin";
		setTimeout('loginSwap1()', swapDelay);
	}
}
function loginSwap1() {
	if (!portalLoginHover) {
		document.getElementById("portalLogin").className = "buttonPortalLoginHover";
		setTimeout("loginSwap0()", swapDelay/4);
	}
}