// JavaScript Document
var timerID = null;
var timerOn = false;
var timecount = 400; 


function HideContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
}

function startTime() {
	if (timerOn == false) {
	timerID=setTimeout( "HideContent('groupsDD')", timecount);
	timerOn = true;

	}
}

function stopTime() {
	if (timerOn == true) {
	clearTimeout(timerID);
	timerID = null;
	timerOn = false;

	}
} 