function ocform_loadDefaultValues( userInfo ) {

    if( userInfo == null ) {
        return;
    }

    var ocformStatus = userInfo.offerStatus;

    var qs = window.location.search;

    switch ( ocformStatus ) {

        case 'redeemed':
        case 'unavailable':
            // redirect to typ or exp
            window.location = "http://" + location.host + core_getContextPath() + '/servlet/oc/offer' + qs;
            break;

        default:
            // do nothing
            break;
    }
}
