// JavaScript Document

var ShowArray;
var categoryandshowpath;


function createShowArrayExternal(){	



pathPrepend = "gallery/" ;
categoryandshowpath = "commercials/all";


ShowArray = new Array(38);

ShowArray [0] = new Array(5);
ShowArray [1] = new Array(5);
ShowArray [2] = new Array(5);
ShowArray [3] = new Array(5);
ShowArray [4] = new Array(5);
ShowArray [5] = new Array(5);
ShowArray [6] = new Array(5);
ShowArray [7] = new Array(5);
ShowArray [8] = new Array(5);
ShowArray [9] = new Array(5);
ShowArray [10] = new Array(5);
ShowArray [11] = new Array(5);
ShowArray [12] = new Array(5);
ShowArray [13] = new Array(5);
ShowArray [14] = new Array(5);
ShowArray [15] = new Array(5);
ShowArray [16] = new Array(5);
ShowArray [17] = new Array(5);
ShowArray [18] = new Array(5);
ShowArray [19] = new Array(5);
ShowArray [20] = new Array(5);
ShowArray [21] = new Array(5);
ShowArray [22] = new Array(5);
ShowArray [23] = new Array(5);
ShowArray [24] = new Array(5);
ShowArray [25] = new Array(5);
ShowArray [26] = new Array(5);
ShowArray [27] = new Array(5);
ShowArray [28] = new Array(5);
ShowArray [29] = new Array(5);
ShowArray [30] = new Array(5);
ShowArray [31] = new Array(5);
ShowArray [32] = new Array(5);
ShowArray [33] = new Array(5);
ShowArray [34] = new Array(5);
ShowArray [35] = new Array(5);
ShowArray [36] = new Array(5);
ShowArray [37] = new Array(5);

//For set 1

//root

ShowArray [0][0] = pathPrepend + "content/"+categoryandshowpath+"/set1";

//initial state (0 = two images up, 1 = 1 in the center, 2 = banner 1, 3 = comicbook)

ShowArray [0][1] = 0;

//number of thumbs on the left

ShowArray [0][2] = 4;

//number of thumbs on the right

ShowArray [0][3] = 4;

//number of center thumbs

ShowArray [0][4] = 0;




//For set 2

//root

ShowArray [1][0] = pathPrepend + "content/"+categoryandshowpath+"/set2";


ShowArray [1][1] = 0;

//number of thumbs on the left

ShowArray [1][2] = 2;

//number of thumbs on the right

ShowArray [1][3] = 0;

//number of center thumbs

ShowArray [1][4] = 0;



//For set 3

//root

ShowArray [2][0] = pathPrepend + "content/"+categoryandshowpath+"/set3";


ShowArray [2][1] = 1;

//number of thumbs on the left

ShowArray [2][2] = 0;

//number of thumbs on the right

ShowArray [2][3] = 0;

//number of center thumbs

ShowArray [2][4] = 2;



//For set 4

//root

ShowArray [3][0] = pathPrepend + "content/"+categoryandshowpath+"/set4";


ShowArray [3][1] = 0;

//number of thumbs on the left

ShowArray [3][2] = 0;

//number of thumbs on the right

ShowArray [3][3] = 0;


//number of center thumbs

ShowArray [3][4] = 0;


//For set 4

//root

ShowArray [4][0] = pathPrepend + "content/"+categoryandshowpath+"/set5";


ShowArray [4][1] = 0;

//number of thumbs on the left

ShowArray [4][2] = 2;

//number of thumbs on the right

ShowArray [4][3] = 0;


//number of center thumbs

ShowArray [4][4] = 0;


//For set 4

//root

ShowArray [5][0] = pathPrepend + "content/"+categoryandshowpath+"/set6";


ShowArray [5][1] = 0;

//number of thumbs on the left

ShowArray [5][2] = 2;

//number of thumbs on the right

ShowArray [5][3] = 0;


//number of center thumbs

ShowArray [5][4] = 0;



ShowArray [6][0] = pathPrepend + "content/"+categoryandshowpath+"/set7";


ShowArray [6][1] = 0;

//number of thumbs on the left

ShowArray [6][2] = 3;

//number of thumbs on the right

ShowArray [6][3] = 0;


//number of center thumbs

ShowArray [6][4] = 0;






ShowArray [7][0] = pathPrepend + "content/"+categoryandshowpath+"/set8";


ShowArray [7][1] = 0;

//number of thumbs on the left

ShowArray [7][2] = 4;

//number of thumbs on the right

ShowArray [7][3] = 4;


//number of center thumbs

ShowArray [7][4] = 0;









ShowArray [8][0] = pathPrepend + "content/"+categoryandshowpath+"/set9";


ShowArray [8][1] = 0;

//number of thumbs on the left

ShowArray [8][2] = 4;

//number of thumbs on the right

ShowArray [8][3] = 2;


//number of center thumbs

ShowArray [8][4] = 0;









ShowArray [9][0] = pathPrepend + "content/"+categoryandshowpath+"/set10";


ShowArray [9][1] = 0;

//number of thumbs on the left

ShowArray [9][2] = 3;

//number of thumbs on the right

ShowArray [9][3] = 4;


//number of center thumbs

ShowArray [9][4] = 0;





ShowArray [10][0] = pathPrepend + "content/"+categoryandshowpath+"/set11";


ShowArray [10][1] = 0;

//number of thumbs on the left

ShowArray [10][2] = 5;

//number of thumbs on the right

ShowArray [10][3] = 2;


//number of center thumbs

ShowArray [10][4] = 0;








ShowArray [11][0] = pathPrepend + "content/"+categoryandshowpath+"/set12";


ShowArray [11][1] = 0;

//number of thumbs on the left

ShowArray [11][2] = 2;

//number of thumbs on the right

ShowArray [11][3] = 3;


//number of center thumbs

ShowArray [11][4] = 0;








ShowArray [12][0] = pathPrepend + "content/"+categoryandshowpath+"/set13";


ShowArray [12][1] = 0;

//number of thumbs on the left

ShowArray [12][2] = 2;

//number of thumbs on the right

ShowArray [12][3] = 2;


//number of center thumbs

ShowArray [12][4] = 0;


ShowArray [13][0] = pathPrepend + "content/"+categoryandshowpath+"/set14";


ShowArray [13][1] = 1;

//number of thumbs on the left

ShowArray [13][2] = 0;

//number of thumbs on the right

ShowArray [13][3] = 0;


//number of center thumbs

ShowArray [13][4] = 4;


ShowArray [14][0] = pathPrepend + "content/"+categoryandshowpath+"/set15";


ShowArray [14][1] = 0;

//number of thumbs on the left

ShowArray [14][2] = 4;

//number of thumbs on the right

ShowArray [14][3] = 4;


//number of center thumbs

ShowArray [14][4] = 0;

ShowArray [15][0] = pathPrepend + "content/"+categoryandshowpath+"/set16";


ShowArray [15][1] = 1;

//number of thumbs on the left

ShowArray [15][2] = 0;

//number of thumbs on the right

ShowArray [15][3] = 0;


//number of center thumbs

ShowArray [15][4] = 0;

ShowArray [16][0] = pathPrepend + "content/"+categoryandshowpath+"/set17";


ShowArray [16][1] = 1;

//number of thumbs on the left

ShowArray [16][2] = 0;

//number of thumbs on the right

ShowArray [16][3] = 0;


//number of center thumbs

ShowArray [16][4] = 0;

ShowArray [17][0] = pathPrepend + "content/"+categoryandshowpath+"/set18";


ShowArray [17][1] = 0;

//number of thumbs on the left

ShowArray [17][2] = 0;

//number of thumbs on the right

ShowArray [17][3] = 2;


//number of center thumbs

ShowArray [17][4] = 0;

ShowArray [18][0] = pathPrepend + "content/"+categoryandshowpath+"/set19";


ShowArray [18][1] = 1;

//number of thumbs on the left

ShowArray [18][2] = 0;

//number of thumbs on the right

ShowArray [18][3] = 0;


//number of center thumbs

ShowArray [18][4] = 4;

ShowArray [19][0] = pathPrepend + "content/"+categoryandshowpath+"/set20";


ShowArray [19][1] = 0;

//number of thumbs on the left

ShowArray [19][2] = 0;

//number of thumbs on the right

ShowArray [19][3] = 0;


//number of center thumbs

ShowArray [19][4] = 0;

ShowArray [20][0] = pathPrepend + "content/"+categoryandshowpath+"/set21";


ShowArray [20][1] = 0;

//number of thumbs on the left

ShowArray [20][2] = 3;

//number of thumbs on the right

ShowArray [20][3] = 2;


//number of center thumbs

ShowArray [20][4] = 0;

ShowArray [21][0] = pathPrepend + "content/"+categoryandshowpath+"/set22";


ShowArray [21][1] = 0;

//number of thumbs on the left

ShowArray [21][2] = 0;

//number of thumbs on the right

ShowArray [21][3] = 0;


//number of center thumbs

ShowArray [21][4] = 0;




ShowArray [22][0] = pathPrepend + "content/"+categoryandshowpath+"/set23";


ShowArray [22][1] = 0;

//number of thumbs on the left

ShowArray [22][2] = 0;

//number of thumbs on the right

ShowArray [22][3] = 0;


//number of center thumbs

ShowArray [22][4] = 0;






ShowArray [23][0] = pathPrepend + "content/"+categoryandshowpath+"/set24";


ShowArray [23][1] = 0;

//number of thumbs on the left

ShowArray [23][2] = 0;

//number of thumbs on the right

ShowArray [23][3] = 0;


//number of center thumbs

ShowArray [23][4] = 0;

ShowArray [24][0] = pathPrepend + "content/"+categoryandshowpath+"/set25";


ShowArray [24][1] = 0;

//number of thumbs on the left

ShowArray [24][2] = 0;

//number of thumbs on the right

ShowArray [24][3] = 3;


//number of center thumbs

ShowArray [24][4] = 0;

ShowArray [25][0] = pathPrepend + "content/"+categoryandshowpath+"/set26";


ShowArray [25][1] = 1;

//number of thumbs on the left

ShowArray [25][2] = 0;

//number of thumbs on the right

ShowArray [25][3] = 0;


//number of center thumbs

ShowArray [25][4] = 2;

ShowArray [26][0] = pathPrepend + "content/"+categoryandshowpath+"/set27";


ShowArray [26][1] = 1;

//number of thumbs on the left

ShowArray [26][2] = 0;

//number of thumbs on the right

ShowArray [26][3] = 0;


//number of center thumbs

ShowArray [26][4] = 0;

ShowArray [27][0] = pathPrepend + "content/"+categoryandshowpath+"/set28";


ShowArray [27][1] = 1;

//number of thumbs on the left

ShowArray [27][2] = 0;

//number of thumbs on the right

ShowArray [27][3] = 0;


//number of center thumbs

ShowArray [27][4] = 0;






ShowArray [28][0] = pathPrepend + "content/"+categoryandshowpath+"/set29";


ShowArray [28][1] = 1;

//number of thumbs on the left

ShowArray [28][2] = 0;

//number of thumbs on the right

ShowArray [28][3] = 0;


//number of center thumbs

ShowArray [28][4] = 0;





ShowArray [29][0] = pathPrepend + "content/"+categoryandshowpath+"/set30";


ShowArray [29][1] = 1;

//number of thumbs on the left

ShowArray [29][2] = 0;

//number of thumbs on the right

ShowArray [29][3] = 0;


//number of center thumbs

ShowArray [29][4] = 4;





ShowArray [30][0] = pathPrepend + "content/"+categoryandshowpath+"/set31";


ShowArray [30][1] = 1;

//number of thumbs on the left

ShowArray [30][2] = 0;

//number of thumbs on the right

ShowArray [30][3] = 0;


//number of center thumbs

ShowArray [30][4] = 2;




ShowArray [31][0] = pathPrepend + "content/"+categoryandshowpath+"/set32";


ShowArray [31][1] = 1;

//number of thumbs on the left

ShowArray [31][2] = 0;

//number of thumbs on the right

ShowArray [31][3] = 0;


//number of center thumbs

ShowArray [31][4] = 4;





ShowArray [32][0] = pathPrepend + "content/"+categoryandshowpath+"/set33";


ShowArray [32][1] = 1;

//number of thumbs on the left

ShowArray [32][2] = 0;

//number of thumbs on the right

ShowArray [32][3] = 0;


//number of center thumbs

ShowArray [32][4] = 7;







ShowArray [33][0] = pathPrepend + "content/"+categoryandshowpath+"/set34";


ShowArray [33][1] = 1;

//number of thumbs on the left

ShowArray [33][2] = 0;

//number of thumbs on the right

ShowArray [33][3] = 0;


//number of center thumbs

ShowArray [33][4] = 6;






ShowArray [34][0] = pathPrepend + "content/"+categoryandshowpath+"/set35";


ShowArray [34][1] = 1;

//number of thumbs on the left

ShowArray [34][2] = 0;

//number of thumbs on the right

ShowArray [34][3] = 0;


//number of center thumbs

ShowArray [34][4] = 6;







ShowArray [35][0] = pathPrepend + "content/"+categoryandshowpath+"/set36";


ShowArray [35][1] = 1;

//number of thumbs on the left

ShowArray [35][2] = 0;

//number of thumbs on the right

ShowArray [35][3] = 0;


//number of center thumbs

ShowArray [35][4] = 8;


ShowArray [36][0] = pathPrepend + "content/"+categoryandshowpath+"/set37";

//initial state (0 = two images up, 1 = 1 in the center, 2 = banner 1, 3 = comicbook)

ShowArray [36][1] = 0;

//number of thumbs on the left

ShowArray [36][2] = 0;

//number of thumbs on the right

ShowArray [36][3] = 0;

//number of center thumbs

ShowArray [36][4] = 0;




//For set 2

//root

ShowArray [37][0] = pathPrepend + "content/"+categoryandshowpath+"/set38";


ShowArray [37][1] = 0;

//number of thumbs on the left

ShowArray [37][2] = 0;

//number of thumbs on the right

ShowArray [37][3] = 0;

//number of center thumbs

ShowArray [37][4] = 0;


return(ShowArray);


}


