// structure that describes columns of the table and their type
var OUTPUTS_CAPT = [
	{
		'name' : 'Title',
		'type' : STR
	},
	{
		'name' : 'Year',
		'type' : STR
	},
	{
		'name' : 'Output Type',
		'type' : STR
	},
	{
		'name' : 'Strategic Goal',
		'type' : STR
	}
];

// structure that describes visual aspects of the table
var OUTPUTS_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, 0], // 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="smallnote"><b>%rcs Outputs</b></span><span class="smallnote 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' : 1,
		//'or' : 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','tabBody0Col3'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tabCaptionText0',
		'head'     : 'tabHeadCell1',
		'foot'     : 'tabFootCell1',
		'pagnCell' : 'tabPaging1',
		'pagnText' : 'tabPagingText1',
		'pagnPict' : 'tabPagingArrowCell1',
		'filtCell' : 'tabFilter0',
		'filtPatt' : 'tabFilterPattern0',
		'filtSelc' : 'tabFilterSelect0'
	}
};

var PLANNEDOUTPUTS_LOOK = {
	'structure' : [4, 0, 2, 3],
	'params' : [2, 0],
	'colors' : {
		'even'    : 'white',
		'odd'     : '#f7f7f7',
		'hovered' : '#FFFFCC',
		'marked'  : '#C5FFBF'
	},
	'freeze' : [0, 0], // 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="smallnote"><b>%rcs Planned or completed outputs</b></span><span class="smallnote genericnoprint"> - Sort the table by clicking on the column headings</span>',
		'sh' : true
	},
	'sorting' : {
		//'cl' : 1,
		//'or' : 0

	},
	'filter' : {
		'type': 1
	},
	'css' : {
		'main'     : 'tabTable0',
		'body'     : ['tabBody0Col0','tabBody0Col1','tabBody0Col2','tabBody0Col3'],
		'captCell' : 'tabCaptionCell0',
		'captText' : 'tabCaptionText0',
		'head'     : 'tabHeadCell1',
		'foot'     : 'tabFootCell1',
		'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."
};

