
function gotomo()
{
location.href = document.selmo.theselmo.value
}
function gotoyr()
{
location.href = document.selyr.theselyr.value
}
function toggleDisplay(theID) {
 var theElement = document.getElementById(theID);
 if (theElement.className == 'appointmentDetails'){
	theElement.className = 'appointmentDetailsShow'
	}
 else { 
 	theElement.className = 'appointmentDetails'
	}
}
function CountChars(whichform) {
            var mystr;
            var mystr2;
            if (whichform.details_short) {
                mystr = whichform.details_short.value;
                mystr2 = '';
            } else {
                mystr= '';
                mystr2 = '';
            }
            
            if (mystr.length > 300 ){
                alert("We're sorry, but you are only allowed to enter a maximum of 300 characters.");
                return(0);
            }
            return(1);
        }

