﻿function preventDoubleClick(button) {
    if (typeof(Page_ClientValidate) == 'function') {
        if (Page_ClientValidate() == false) { return false;}
    }
    if (button.processing) { button.disabled = true; }
    else { button.processing = true; }    
}

function CopyStartDateToEndDate(sourceInputElement, targetInputElement) 
    {        
            targetInputElement.value = sourceInputElement.value;       
    }

    $(function() {
        if ($.browser.msie && parseInt($.browser.version) <= 6) {
            $('.pngfix').each(function() {
                $(this).parent().pngFix();
            });
        };
    });

