
/*

	IE 6 can not handle CSS :hover on
	anything other than anchor tags
	This works around that. It should
	gracefully do nothing on all other
	browsers with an accurate user
	agent string.
	
	PH - 06-MAY-2009

*/

function getInternetExplorerVersion() {
	var rv = -1; // Return value assumes failure.
	if (navigator.appName == 'Microsoft Internet Explorer') {
		var ua = navigator.userAgent;
		var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
		if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 );
	}
	return rv;
}

function isIE6() {
	if (getInternetExplorerVersion() == 6) return true;
	return false;
}


function toggleBlockLinksOn( quadrantID ) {
	if (isIE6()) {
		var quad = document.getElementById(quadrantID);
		quad.className = quadrantID + 'Hover';
		var quadLinks = quad.getElementsByTagName("a");
		for (x in quadLinks)	{
			if (quadLinks[x].style) quadLinks[x].style.display = 'block';
		}
	}
}

function toggleBlockLinksOff( quadrantID ) {
	if (isIE6()) {
		var quad = document.getElementById(quadrantID);
		quad.className = quadrantID;
		var quadLinks = quad.getElementsByTagName("a");
		for (x in quadLinks)	{
			if (quadLinks[x].style) quadLinks[x].style.display = 'none';
		}
	}
}



