﻿// Referenced in ManageAccount1.ascx and SignIn.aspx
function ValidatePasswordLength(source, arguments) {
    if (arguments.Value.length < 5)
        arguments.IsValid = false;
    else
        arguments.IsValid = true;
}

// referenced in MustSignIn.aspx popup
function signInLink(link) {
    return link + '?ReturnUrl=' + parent.location.pathname + parent.location.search.replace('&', '%26');
};

