var tiles=[
  {filename:'t1.png',imageclass:'t1',top:'g',right:'g',bottom:'b',left:'r'},
  {filename:'t2.png',imageclass:'t2',top:'g',right:'b',bottom:'g',left:'r'},
  {filename:'t3.png',imageclass:'t3',top:'g',right:'b',bottom:'b',left:'g'},
  {filename:'t4.png',imageclass:'t4',top:'r',right:'r',bottom:'g',left:'g'},
  {filename:'t5.png',imageclass:'t5',top:'r',right:'r',bottom:'b',left:'b'},
  {filename:'t6.png',imageclass:'t6',top:'r',right:'g',bottom:'g',left:'b'},
  {filename:'t7.png',imageclass:'t7',top:'y',right:'y',bottom:'r',left:'y'},
  {filename:'t8.png',imageclass:'t8',top:'b',right:'y',bottom:'g',left:'y'},
  {filename:'t9.png',imageclass:'t9',top:'g',right:'w',bottom:'r',left:'y'},
  {filename:'tA.png',imageclass:'tA',top:'g',right:'w',bottom:'y',left:'y'},
  {filename:'tB.png',imageclass:'tB',top:'y',right:'w',bottom:'r',left:'w'},
  {filename:'tC.png',imageclass:'tC',top:'b',right:'w',bottom:'g',left:'w'},
  {filename:'tD.png',imageclass:'tD',top:'g',right:'y',bottom:'g',left:'w'}
];
