//defines for contacts headers
var CH_GROUP = 0;
var CH_NAME  = 1;
var CH_EMAIL = 2;

var ContactsHeadersWidth = Array();
ContactsHeadersWidth[CH_GROUP] = 25;
ContactsHeadersWidth[CH_NAME]  = 150;
ContactsHeadersWidth[CH_EMAIL] = 150;

var SORT_FIELD_GROUP    = 0;
var SORT_FIELD_NAME     = 1;
var SORT_FIELD_EMAIL    = 2;
var SORT_FIELD_USE_FREQ = 3;