		function showcalendarpopup( f ) {
			// THIS LINE IS VERY SENSITIVE, ENSURE THAT ONLY VALID USERNAMES AND PASSWORDS MAKE IT HERE!!!	
			eval('document.getElementById("c' + f + '").style.visibility = "visible";');
			//eval('document.getElementById("c' + f + '").style.display = "inline-block";');
		}
		function hidecalendarpopup( f ) {
			// THIS LINE IS VERY SENSITIVE, ENSURE THAT ONLY VALID USERNAMES AND PASSWORDS MAKE IT HERE!!!	
			eval('document.getElementById("c' + f + '").style.visibility = "hidden";');
			//eval('document.getElementById("c' + f + '").style.display = "none";');
		}

		// When you click the back button in the browser, not all the javascript runs, this ensures that all the popups are not showing when we click back.
		function hidecalendarpopups(iYear, iMonth) {
			var daysinmonth= new Array(0,31,28,31,30,31,30,31,31,30,31,30,31);
			if( ((iYear%4 == 0)&&(iYear%100 != 0) )||(iYear%400 == 0) ){
				daysinmonth[2] = 29;
			}
			var iDaysInMonth = daysinmonth[iMonth];
			var iYM = (parseInt(iYear + "0000")) + (iMonth*100); // eg 20060900 in format YYYYMMDD
			try{
				for(var i=1; i<=iDaysInMonth; i++){
					hidecalendarpopup( iYM + i );
				}		
			}
			catch(e){
				delete e;
			}
		}


