﻿function ToggleShowEnd(me) {
    var objShowEnd = document.getElementById('ctl00_ContentPlaceHolder1_chkShowEndDate');
    var tEndRow = document.getElementById('ctl00_ContentPlaceHolder1_tEndTime');

    if (objShowEnd.checked == true) {
        tEndRow.style.display = '';
    }
    else {
        tEndRow.style.display = 'none';
    }
}

function EscapeCharacters(inputText) {
    inputText = inputText.replace(/'/g, "\\'");
    inputText = inputText.replace(/</g, "&lt;");
    inputText = inputText.replace(/>/g, "&gt;");
    return inputText;
}