// PART 1
// set path of backgrounds
  var backgroundsPATH = "backgrounds";

// PART 2
// *** set maximum of backgrounds images (the images should be in 'gif' format and it's FileName is as number (1,2,3 ...) sequencially
  var imageCount = 24;

// PART 3
// *** put here AddSample() functions ***
  AddTemplate("(Simplified Arabic),3,0,1,false,26,3,3,false,11,3,false,11,4:separte:(Simplified Arabic),3,0,1,false,26,3,3,false,11,3,false,11,4:separte:(Simplified Arabic),3,0,1,false,26,3,3,false,11,3,false,11,4:separte:0,0,0,0,1,1,,backgrounds/21.gif,0,4,3,1,backgrounds/22.gif,0,1,3,26");
  AddTemplate("(Tahoma),2,1,10,false,26,3,3,false,11,3,false,11,4:separte:(Tahoma),1,1,13,false,26,3,3,false,11,3,false,11,4:separte:(Tahoma),2,1,5,false,26,3,3,false,11,3,false,11,4:separte:0,0,2,0,1,1,,backgrounds/11.gif,0,1,0,10,backgrounds/12.gif,0,3,3,18");
  AddTemplate("(Traditional Arabic),5,1,1,false,26,3,3,false,11,3,true,4,4:separte:(Traditional Arabic),4,1,22,false,1,1,1,false,1,3,true,1,4:separte:(Traditional Arabic),4,1,1,false,26,3,3,true,11,3,false,11,2:separte:0,0,2,0,1,1,,,0,0,0,1,backgrounds/10.gif,0,2,6,14");

//PART 4
// DEFAULT : 1 is first template, 2 is second , ... etc
   GetTemplate(0);

