//====================================================================================================
//    File Name        :    upgrade_membership.js
//    # File Version: v 1.0
//    # Created By: Maulik Chandarana
//    # Created On: 28 September 2007
//    # Last Modified By:
//    # Last modified On:
//  # Purpose : This is file carries validation and other related function for Upgrade Membership page.
//----------------------------------------------------------------------------------------------------

//====================================================================================================
//    Function Name    :    Form_Submit()
//    Created By: Maulik Chandarana
//    Created On: 28 September 2007
//    Last Modified By:
//    Last modified On:
//  Purpose : Validates form variables 
//  Parameters: frm : Form name for which variables need to validate.
//----------------------------------------------------------------------------------------------------
function Form_Submit(frm)
{
    with(frm)
    {
        submit();
    }
}
//====================================================================================================
//    Function Name    :    Form_Skip()
//    Created By: Maulik Chandarana
//    Created On: 28 September 2007
//    Last Modified By:
//    Last modified On:
//  Purpose : to Skip the photo upload process and redirct the user to optional details page
//  Parameters: frm: form object
//----------------------------------------------------------------------------------------------------
function Form_Skip(frm)
{
    with(frm)
    {
        hdMode.value = "Skip";
        action = "upgrade_membership.php";
        submit();
    }
}
//====================================================================================================
//    Function Name    :    Click_Registration()
//    Created By: Maulik Chandarana
//    Created On: 28 September 2007
//    Last Modified By:
//    Last modified On:
//  Purpose : to go registration page
//----------------------------------------------------------------------------------------------------
function Click_Registration()
{
    location.replace("registration.php");
}
