// structure that describes columns of the table and their type

var EDLEVELS_CAPT = [
	{
		'name' : 'Highest Education Attained',
		'type' : STR
	},
	{
		'name' : 'FY1998',
		'type' : NUM
	},
	{
		'name' : 'FY2005',
		'type' : NUM
	},
	{
		'name' : 'Net Diff.',
		'type' : NUM
	},
	{
		'name' : '% FY1998',
		'type' : NUM
	},
	{
		'name' : '% FY2005',
		'type' : NUM
	},
	{
		'name' : '% Net Diff.',
		'type' : NUM
	}
];

var PERTYPES_CAPT = [
	{
		'name' : 'Type',
		'type' : STR
	},
	{
		'name' : 'FY1998',
		'type' : NUM
	},
	{
		'name' : 'FY2005',
		'type' : NUM
	},
	{
		'name' : 'Diff.',
		'type' : NUM
	},
	{
		'name' : '% Diff.',
		'type' : NUM
	}

];

var ENGSPEC_CAPT = [
	{
		'name' : 'Engineering Specialty',
		'type' : STR
	},
	{
		'name' : 'FY1998',
		'type' : NUM
	},
	{
		'name' : 'FY2005',
		'type' : NUM
	}
];

var SCISPEC_CAPT = [
	{
		'name' : 'Scientific Specialty',
		'type' : STR
	},
	{
		'name' : 'FY1998',
		'type' : NUM
	},
	{
		'name' : 'FY2005',
		'type' : NUM
	}
];

// structure that describes visual aspects of the table

var ENGSPEC_LOOK = {
	// 0 - caption,
	// 1 - header,
	// 2 - body,
	// 3 - footer,
	// 4 - paging,
	// 5 - filters
	'structure' : [4, 0, 2, 3],
	'params' : [2, 0], // [cellpadding,cellspacing]
	'colors' : {
		'even'    : 'white',
		'odd'     : '#f7f7f7', //'#FFF9EA'
		'hovered' : '#FFFFCC',
		'marked'  : '#C5FFBF'
	},
	'freeze' : [0, 1], // how many rows to skip [at_the_top, at_the_bottom] when applying effects
	'paging' : {
		'by' : 0, // page size (0 - no paging)
		'tt' : '<span class="smallernote genericnoprint">Sort the table by clicking on the column headings</span>', /* in this line you can use the following variables 1-bazed:
											%pgs total pages index
											%ind current page index
											%rcs total records found
										*/
		'sh' : true
	},
	'sorting' : {
		// HTML for ascending sorted state icon (text)
		//'as' : '<img src=ttp_files/custom_imgs/red_arrow_bullet_up.gif border=0 alt="Column sorted ascending">',
		// HTML for descending sorted state icon (text)
		//'ds' : '<img src=ttp_files/custom_imgs/red_arrow_bullet_down.gif border=0 alt="Column sorted decending">',
		// HTML for unsorted state icon (text)
		//'no' : '<img src=ttp_files/custom_imgs/red_x_bullet.gif border=0 alt="Column unsorted">'
		'cl' : 0
	},
	'filter' : {
		'type': 1 // filter 0 - off, 1 - substring, 2 - match, 4 - regexp filter (e.g. 1+2+4 means all filters on)
	},
	'css' : {
		'main'     : 'tabTable0',
		'body'     : ['tabBody0Col0','tabBody0Col1','tabBody0Col2'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tabCaptionText0',
		'head'     : 'tabHeadCell0',
		'foot'     : 'tabFootCell0',
		'pagnCell' : 'tabPaging1',
		'pagnText' : 'tabPagingText1',
		'pagnPict' : 'tabPagingArrowCell1',
		'filtCell' : 'tabFilter0',
		'filtPatt' : 'tabFilterPattern0',
		'filtSelc' : 'tabFilterSelect0'
	}
};

var SCISPEC_LOOK = {
	'structure' : [4, 0, 2, 3],
	'params' : [2, 0],
	'colors' : {
		'even'    : 'white',
		'odd'     : '#f7f7f7',
		'hovered' : '#FFFFCC',
		'marked'  : '#C5FFBF'
	},
	'freeze' : [0, 1],
	'paging' : {
		'by' : 0,
		'tt' : '<span class="smallernote genericnoprint">Sort the table by clicking on the column headings</span>',
		'sh' : true
	},
	'sorting' : {
		'cl' : 0
	},
	'filter' : {
		'type': 1
	},
	'css' : {
		'main'     : 'tabTable0',
		'body'     : ['tabBody0Col0','tabBody0Col1','tabBody0Col2'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tabCaptionText0',
		'head'     : 'tabHeadCell0',
		'foot'     : 'tabFootCell0',
		'pagnCell' : 'tabPaging1',
		'pagnText' : 'tabPagingText1',
		'pagnPict' : 'tabPagingArrowCell1',
		'filtCell' : 'tabFilter0',
		'filtPatt' : 'tabFilterPattern0',
		'filtSelc' : 'tabFilterSelect0'
	}
};

var PERTYPES_LOOK = {
	'structure' : [4, 0, 2, 3],
	'params' : [2, 0],
	'colors' : {
		'even'    : 'white',
		'odd'     : '#f7f7f7',
		'hovered' : '#FFFFCC',
		'marked'  : '#C5FFBF'
	},
	'freeze' : [0, 1],
	'paging' : {
		'by' : 0,
		'tt' : '<span class="smallernote genericnoprint">Sort the table by clicking on the column headings</span>',
		'sh' : true
	},
	'sorting' : {
		//'cl' : 2
	},
	'filter' : {
		'type': 1
	},
	'css' : {
		'main'     : 'tab3Table',
		'body'     : ['tab3BodyCol0','tabBody0Col1','tabBody0Col2','tabBody0Col3','tabBody0Col4'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tab3CaptionText0',
		'head'     : 'tabHeadCell0',
		'foot'     : 'tabFootCell0',
		'pagnCell' : 'tabPaging1',
		'pagnText' : 'tabPagingText1',
		'pagnPict' : 'tabPagingArrowCell1',
		'filtCell' : 'tabFilter0',
		'filtPatt' : 'tabFilterPattern0',
		'filtSelc' : 'tabFilterSelect0'
	}
};

var EDLEVELS_LOOK = {
	'structure' : [4, 0, 2, 3],
	'params' : [2, 0],
	'colors' : {
		'even'    : 'white',
		'odd'     : '#f7f7f7',
		'hovered' : '#FFFFCC',
		'marked'  : '#C5FFBF'
	},
	'freeze' : [0, 1],
	'paging' : {
		'by' : 0,
		'tt' : '<span class="smallernote genericnoprint">Sort the table by clicking on the column headings</span>',
		'sh' : true
	},
	'sorting' : {
		//'cl' : 2
	},
	'filter' : {
		'type': 1
	},
	'css' : {
		'main'     : 'tab4Table',
		'body'     : ['tab4BodyCol0','tabBody0Col1','tabBody0Col2','tabBody0Col3','tabBody0Col4','tabBody0Col5','tabBody0Col6'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tab4CaptionText0',
		'head'     : 'tabHeadCell0',
		'foot'     : 'tabFootCell0',
		'pagnCell' : 'tabPaging1',
		'pagnText' : 'tabPagingText1',
		'pagnPict' : 'tabPagingArrowCell1',
		'filtCell' : 'tabFilter0',
		'filtPatt' : 'tabFilterPattern0',
		'filtSelc' : 'tabFilterSelect0'
	}
};


var ARR_STRINGS = {
	'long_days' : ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
	'short_days' : ['Sun', 'Mon', 'Tue', 'Wen', 'Thu', 'Fri', 'Sat'],
	'long_month' : ['January','February','March','April','May','June','July','August','September','October','November','December'],
	'short_month' : ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
	'bad_month' : 'Parsing error: unknown month "%month_name"',
	'not_meet' : "Notice : Input date does not meet input date format."
};

