//functions for the infoButton

var lastInfoButton;

function infoButtonDown(btn) {
	btn.className = 'infoButtonDown';
}

function infoButtonUp(btn) {
	btn.className = 'infoButton';
	lastInfoButton = btn;
	setTimeout('hidePanel()', 100);
}

function infoButtonOut(btn) {
	btn.className = 'infoButton';
}

function hidePanel() {
	if (lastInfoButton) {
		//lastInfoButton.parentNode.style.display = 'none';							//hide panel
		document.styleSheets[0].addRule('.infoNote', 'display:none');
		lastInfoButton.parentNode.innerHTML = '<iframe src="../connect/helpers/iControl.aspx?hideInfoNotes=true"></iframe>';		//remote scripting
	}
}
