//-----------------------------------------------------------------------------------
//GLOBAL VARS
//-----------------------------------------------------------------------------------
var DATE_FORMAT = "dd.mm.yyyy", CURRENCY_FORMAT = " $";
var EMPTY_ROW = "no filter";
//-----------------------------------------------------------------------------------
//TABLE DEFINITION
//-----------------------------------------------------------------------------------

var gridDef = { 
 amountPerPage: 30, 
 useMultiSort: false,
 
 datatype: 0,
 
data : [["Europe","","35","35.5","36", "37", "37.5", "38", "38.5", "39", "40", "41", "42", "43", "44", "45", "46.5", "48.5"], 
 ["Mexico","","","","", "", "", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "9", "10", "11", "12.5"], 
 ["Japan","M","21.5","22","22.5", "23", "23.5", "24", "24.5", "25", "25.5", "26", "26.5", "27.5", "28.5", "29.5", "30.5", "31.5"], 
 ["Japan","W","21","21.5","22","22.5", "23", "23.5", "24", "24.5", "25", "25.5", "26", "26.5", "27.5", "28.5", "29.5", "30.5"], 
 ["UK","M","3","3.5","4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "10", "11", "12", "13.5",], 
 ["UK","F","2.5", "3","3.5","4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "9.5", "10.5", "11.5", "13"], 
 ["Australia","M", "3","3.5","4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8",  "9", "10.5", "11.5", "12.5", "13.5"], 
 ["Australia","F","3.5","4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "10.5", "11.5", "12.5", "14"], 
 ["US & Canada","M","3.5","4","4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "10.5", "11.5", "12.5", "14"], 
 ["US & Canada","F","5","5.5","6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10", "10.5", "12", "13", "14", "15.5", "46.5"], 
 ["Korea (mm.)","","228","231","235", "238", "241", "245", "248", "251", "254", "257", "260", "267", "273", "279", "286", "292"], 
 ["Russia & Ukraine *","W","33.5","34","", "35", "", "36", "", "37", "", "38", "", "39", "", "", ""],
 ["Inches","","9","9 1/8","9 1/4", "9 3/8", "9 1/2", "9 5/8", "9 3/4", "9 7/8", "10", "10 1/8", "10 1/4", "10 1/2", "10 3/4", "11", "11 1/4", "11 1/2"],
 ["Centimeters","","22.8","23.1","23.5", "23.8", "24.1", "24.5", "24.8", "25.1", "25.4", "25.7", "26", "26.7", "27.3", "27.9", "28.6", "29.2"],
["Mondopoint","","228","231","235", "238", "241", "245", "248", "251", "254", "257", "260", "267", "273", "279", "286", "292"]],


 colDef : [
 {
  title: "System",
  titleClass: "", //default for th,
  cellClass: "",
  type: "String", 
  width: 75, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },
 {
  title: "Sex",
  titleClass: "",
  cellClass: "",
  type: "String", 
  width: 5, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true,  
  useAutoIndex: false, 
  useAutoFilter: false  
 },
 {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: "auto", //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: "15", //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
 
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
{
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
  {
  title: " ",
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 },	  
  {
  title: " " ,
  titleClass: "", //default for th
  cellClass: "",
  type: "String", 
  width: 15, //auto
  alignment: "left",
  compareFunction: compare,
  isVisible: true, 
  useAutoIndex: false, 
  useAutoFilter: false
 }  

 ],

 keyCol : "ID",
 //rowHandler : rowHandler,

 
 rowStyle : { 
 	markClass:  {backgroundcolor:"#cccccc", fontsize:11, fontfamily:"comic sans ms, arial", fontweight:"none", color:"#000000"},
 	darkClass:  {backgroundcolor:"#C6D9C6", fontsize:11, fontfamily:"comic sans ms, arial", fontweight:"none", color:"#666666"},
 	lightClass: {backgroundcolor:"#E0EBE0", fontsize:11, fontfamily:"comic sans ms, arial", fontweight:"none", color:"#666666"},
 	hoverClass: {backgroundcolor:"#cccccc", fontsize:11, fontfamily:"comic sans ms, arial", fontweight:"none", color:"#000000"}
 }, 
 

 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}, 
 
 tableStyle:{
  tableClass: "common",
  thClass : "common", //cells with controls  && filters &| titles
  
  border :0,
  cellpadding: 5,
  cellspacing: 0
 }
};