//////////// email validation script/////////////////////////////////////////////////////////////// Email validation script I borrowed from who knows where...function validEmail(email) {    invalidChars = "/:,;"    for (i=0;i<invalidChars.length;i++) {        badChar = invalidChars.charAt(i)        if (email.indexOf(badChar,0) > -1) {            return false        }    }    atPos = email.indexOf("@",1)    if (atPos == -1) {        return false    }    if (email.indexOf("@",atPos+1) > -1) {        return false    }    periodPos = email.indexOf(".",atPos)    if (periodPos == -1) {        return false    }    if (periodPos+3 > email.length) {        return false    }    return true}//////////////////////////////////////////////////////////////////// Calendar Popup Window Function.function popupWindow (url,winName,details) {	var showWindow = window.open(url,winName,details);}// Toggle Block Visibility//// Use this to toggle the visibility of a block item on the page// input: item_idfunction ToggleBlockVisibility(item_id) {	if (document.getElementById(item_id).style.display != "block") {		document.getElementById(item_id).style.display = "block";	}	else {		document.getElementById(item_id).style.display = "none";	}}