//-----------------------------------------------------------------------------------
//GLOBAL VARS
//-----------------------------------------------------------------------------------
var DATE_FORMAT = "dd.mm.yyyy", CURRENCY_FORMAT = " $";
var EMPTY_ROW = "ALL";
//-----------------------------------------------------------------------------------
//TABLE DEFINITION
//-----------------------------------------------------------------------------------
var tableDef = {

useExportBar 	 : false,
	useColTitle 	 : false,
	amountPerPage : 20,
	useMultiSort : true,
	datatype : 2,
	data : "Scripts/locationsData.xml"
        ,
	colDef : [
	{

		title : "PIN Services",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : true

	},
	
	{

		title : "MBNA",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "",

		compareFunction : compare,

		isVisible : false,

		useAutoIndex : false,

		useAutoFilter : false

	},
	
	{

		title : "Credit Union",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : true

	},

	{

		title : "Branch",

		titleClass : "",

		type : "String",

		width : 0, //auto

		alignment : "",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : false

	},

	{

		title : "Address",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : false

	},

	{

		title : "City",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : true
		
	},

	{

		title : "Province",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : true

	},

	{

		title : "Postal Code",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : false

	},

	{

		title : "Phone",

		titleClass : "", //default for th

		type : "String",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : false

	},

	{

		title : "Google Map",

		titleClass : "", //default for th

		type : "URL",

		width : 0, //auto

		alignment : "center",

		compareFunction : compare,

		isVisible : true,

		useAutoIndex : false,

		useAutoFilter : false

	}],

	rowStyle : {

		markClass : "mark",

		darkClass : "dark",

		lightClass : "light",

		hoverClass : "hover"

	},

	keyCol : "ID",

	//rowHandler : rowHandler,

	tableStyle : {

		tableClass : "common",

		thClass : "common",

		border : 1,

		cellpadding : 2,

		cellspacing : 0

	},

	resetSortControl : "Reset Sort",

	resetSearchControl : "Reset Search",

	resetMarkControl : "Reset Select",

	amountControl : "   # Chip PIN Locations per page: ",

	searchControl : "Search for a Chip PIN Location: ",

	imgSortAsc : 	{

		src : "img/sortasc.gif", width : 10, height : 10

	},

	imgSortDesc : 	{

		src : "img/sortdesc.gif", width : 10, height : 10

	},

	imgSortAscActive : 	{

		src : "img/sortasca.gif", width : 10, height : 10

	},

	imgSortDescActive : 	{

		src : "img/sortdesca.gif", width : 10, height : 10

	},

	imgMultiSortAscActive : 	{

		src : "img/sortascma.gif", width : 10, height : 10

	},

	imgMultiSortDescActive : 	{

		src : "img/sortdescma.gif", width : 10, height : 10

	},

	imgFirstPage : {

		src : "img/firstpage.gif", width : 10, height : 10

	},

	imgLastPage : 	{

		src : "img/lastpage.gif", width : 10, height : 10

	},

	imgPrevPage : 	{

		src : "img/prevpage.gif", width : 10, height : 10

	},

	imgNextPage : 	{

		src : "img/nextpage.gif", width : 10, height : 10

	}

}; 


