function fncFlipDisplay(sDivId) { 
	if (document.all[sDivId].style.display=='none') {
		document.all[sDivId].style.display='block';
	} else {
		document.all[sDivId].style.display='none';
	} 
}

function SubmitFormWithKeypress(e, myForm){
	if (window.event.keyCode == 13){
    	myForm.form.submit();;
	}
}

function imposeMaxLength(Object, MaxLen){
    document.getElementById(Object.name+'CharCounter').innerHTML = MaxLen - Object.value.length;
    return (Object.value.length < MaxLen);
}
