<!--
function showLoad(showText){
	document.getElementById('LoadImg').style.display = '';
	if(document.all){
		document.getElementById('LoadText').innerText = ' '+showText;	
	}
	else{
		document.getElementById('LoadText').textContent = ' '+showText;	
	}
	
}

function openWinFull(url, name, parms) {
	var width = screen.availWidth - 15;
	var height =screen.availHeight - 30;
	var left = 0;
	var top = 0;
	var winParms = "top=" + top + ",left=" + left + ",height=" + height + ",width=" + width;
	if (parms) { winParms += "," + parms; }
	var win = window.open(url, name, winParms);
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	return win;
}


function openWin(myLink,windowName,w,h)
  {
  if(! window.focus)return;
  var myWin=window.open(myLink,windowName,'height='+h+',width='+w+',left='+(screen.width-w)/2+',top='+(screen.height-h)/2+'resizable=yes,scrollbars=1');
  myWin.focus();
  //myLink.target=windowName;
  }
  
  
function displayName(strName){
	if(strName != '')
		strName = 'Welcome, ' + strName + '!'
	else
		strName = 'Logged Off'
		
		
	document.getElementById('VolunteerName').innerText= strName;	
}


function menu_m_enter(el){
	el.style.backgroundColor = '#F7D308';
}

function menu_m_out(el){
	el.style.backgroundColor = '#5f2468';
}


function selectDay(iToDay,m,y,el,bColor){
		for(j=1;j<iToDay;j++){
			var elTD=document.getElementById("cell"+m+j+y);
				elTD.style.textDecoration="none";
		}
		el.style.textDecoration="underline";	
}
	
	
function displayBlock(nm){
var	el = document.getElementById(nm)
var el_img = document.getElementById('img'+nm)

	if (el.style.display == "none"){
		el.style.display = "block";
		el_img.src = 'images/arr-down.gif'
	}
	else{
		el.style.display = "none";
		el_img.src = 'images/arr-right.gif'
	}
}


function addTime(elFrom,elToName,IncrementValue){
var elTo = document.getElementById(elToName);
	
	if(elFrom.selectedIndex==11){
		elTo.selectedIndex = 0;
	}
	else{
		elTo.selectedIndex = elFrom.selectedIndex + IncrementValue;
	}
	
}
//-->

