function showCvContacts(cv_id, format, getJSONData) {
    
    Ext.Ajax.request({
        url: '/lib/ajax.php',
        params: { op: 'get_cv_contacts', cv_id: cv_id, format: format, getJSONData: getJSONData },
        success: function(res) {
            response = Ext.util.JSON.decode(res.responseText);
            if(response.success) {
                    // We got HTML!
                if (response.html)
                    Ext.get("cvContactsTable").update(response.html);
                else {
                    // We got JSON data, not HTML
                    if (response.address) {
                       Ext.get("cvContactAddress").update(response.address);
                       Ext.get("cvContactAddressRow").show();
                    }
                    if (response.phone) {
                       Ext.get("cvContactPhone").update(response.phone);
                       Ext.get("cvContactPhoneRow").show();
                    }
                    if (response.cell) {
                       Ext.get("cvContactCell").update(response.cell);
                       Ext.get("cvContactCellRow").show();
                    }
                    if (response.email) {
                       Ext.get("cvContactEmail").update(response.email);
                       Ext.get("cvContactEmailRow").show();
                    }
                    Ext.get("cvContactShowLink").hide();
                }
            }
        }
    });

    return false;
} 
