// Used to display popup confirmation window
// strMessage = message to be displayed
// strCallPage = page to call if message confirmed
function confirmAction(strMessage, strCallPage)
{
	if (confirm(strMessage)){
		// Create new window to perform action
		window.location = strCallPage;
	}
}


function clearOptionList(objSelect){
	while(objSelect.length > 0) {
		objSelect.options[0] = null
	   
	}
}

function activateCell(objCell,linkID){
	objCell.style.backgroundColor='#333333';
	objCell.style.color='#FFFFFF';
	objCell.style.cursor='hand';
	objCell.childNodes.item(0).style.color='#FFFFFF';
	//document.all[linkID].style.color='#ffffff';
}

function deactivateCell(objCell,linkID){
	objCell.style.backgroundColor='#333333';
	objCell.style.color='#CCCCCC';
	objCell.style.cursor='';
	objCell.childNodes.item(0).style.color='#CCCCCC';
	//linkID.style.color='#ffffff';
}

function gotoLink(linkURL){
	window.location = linkURL;
}
