// JavaScript Document

function isIE() {
	var name = new String(window.navigator.appName);
	if (name.indexOf('Microsoft') >= 0 || name.indexOf('microsoft') >= 0 || name.indexOf('Internet Explorer') >= 0) {
		return true;
	}
	else {
		return false;
	}
}

function menuMouseOver(obj) {
	obj.style.color = 'ffffff';
	obj.style.backgroundColor = '345566';
	obj.style.backgroundImage = 'url(images/menuItemOverGradBG.gif)';
	obj.style.borderColor = 'b6e9fc';
	if (obj.childNodes[0].nodeName == 'A') {
		linkObj = obj.childNodes[0];
		if (isIE()) {
			linkObj.style.color = 'ffffff';
		}
		else {
			linkObj.setAttribute('style','color:#ffffff');
		}
	}
}

function menuMouseOut(obj) {
	obj.style.color = '000000';
	obj.style.backgroundColor = 'f5f5f5';
	obj.style.backgroundImage = '';
	obj.style.borderColor = 'd3d3d3';
	obj.style.borderTopColor = 'f5f5f5';
	if (obj.childNodes[0].nodeName == 'A') {
		linkObj = obj.childNodes[0];
		if (isIE()) {
			linkObj.style.color = '000000';
		}
		else {
			linkObj.setAttribute('style','color:#000000');
		}
	}
}



function linksMouseOver(obj) {
	obj.style.backgroundColor = 'f5f5f5';
}

function linksMouseOut(obj) {
	obj.style.backgroundColor = 'ffffff';
}



function scrollingText() {
	var text = new String();
	text = ' ';
	for (var counter=0; counter < footerTexts.length ; counter++) {
		text += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
		text += footerTexts[counter];
		if (counter != footerTexts.length-1) {
			text += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
			text += '<span class="footerScrollerSeperator">';
			text += '|';
			text += '</span>';
		}
	}
	return text;
}