// (C) 2003 by CodeLifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 3000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 2;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this
var showHot = false;       // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'gallery/theGrind_001.jpg';
Picture[2]  = 'gallery/theGrind_002.jpg';
Picture[3]  = 'gallery/theGrind_003.jpg';
Picture[4]  = 'gallery/theGrind_004.jpg';
Picture[5]  = 'gallery/theGrind_005.jpg';
Picture[6]  = 'gallery/theGrind_006.jpg';
Picture[7]  = 'gallery/theGrind_007.jpg';
Picture[8]  = 'gallery/theGrind_008.jpg';
Picture[9]  = 'gallery/theGrind_009.jpg';
Picture[10] = 'gallery/theGrind_010.jpg';
Picture[11]  = 'gallery/theGrind_011.jpg';
Picture[12]  = 'gallery/theGrind_012.jpg';
Picture[13]  = 'gallery/theGrind_013.jpg';
Picture[14]  = 'gallery/theGrind_014.jpg';
Picture[15]  = 'gallery/theGrind_015.jpg';
Picture[16]  = 'gallery/theGrind_016.jpg';
Picture[17]  = 'gallery/theGrind_017.jpg';
Picture[18]  = 'gallery/theGrind_018.jpg';
Picture[19]  = 'gallery/theGrind_019.jpg';
Picture[20]  = 'gallery/theGrind_020.jpg';
Picture[21]  = 'gallery/theGrind_021.jpg';
Picture[22]  = 'gallery/theGrind_022.jpg';
Picture[23]  = 'gallery/theGrind_023.jpg';
Picture[24]  = 'gallery/theGrind_024.jpg';
Picture[25]  = 'gallery/theGrind_025.jpg';
Picture[26]  = 'gallery/theGrind_026.jpg';
Picture[27]  = 'gallery/theGrind_027.jpg';
Picture[28]  = 'gallery/theGrind_028.jpg';
Picture[29]  = 'gallery/theGrind_029.jpg';
Picture[30]  = 'gallery/theGrind_030.jpg';
Picture[31]  = 'gallery/theGrind_031.jpg';
Picture[32]  = 'gallery/theGrind_032.jpg';
Picture[33]  = 'gallery/theGrind_033.jpg';
Picture[34]  = 'gallery/theGrind_034.jpg';
Picture[35]  = 'gallery/theGrind_035.jpg';
Picture[36]  = 'gallery/theGrind_036.jpg';
Picture[37]  = 'gallery/theGrind_037.jpg';
Picture[38]  = 'gallery/theGrind_038.jpg';
Picture[39]  = 'gallery/theGrind_039.jpg';
Picture[40]  = 'gallery/theGrind_040.jpg';
Picture[41]  = 'gallery/theGrind_041.jpg';
Picture[42]  = 'gallery/theGrind_042.jpg';
Picture[43]  = 'gallery/theGrind_043.jpg';
Picture[44]  = 'gallery/theGrind_044.jpg';
Picture[45]  = 'gallery/theGrind_045.jpg';
Picture[46]  = 'gallery/theGrind_046.jpg';
Picture[47]  = 'gallery/theGrind_047.jpg';
Picture[48]  = 'gallery/theGrind_048.jpg';
Picture[49]  = 'gallery/theGrind_049.jpg';
Picture[50]  = 'gallery/theGrind_050.jpg';
Picture[51]  = 'gallery/theGrind_051.jpg';
Picture[52]  = 'gallery/theGrind_052.jpg';
Picture[53]  = 'gallery/theGrind_053.jpg';
Picture[54]  = 'gallery/theGrind_054.jpg';
Picture[55]  = 'gallery/theGrind_055.jpg';
Picture[56]  = 'gallery/theGrind_056.jpg';
Picture[57]  = 'gallery/theGrind_057.jpg';
Picture[58]  = 'gallery/theGrind_058.jpg';
Picture[59]  = 'gallery/theGrind_059.jpg';
Picture[60]  = 'gallery/theGrind_060.jpg';
Picture[61]  = 'gallery/theGrind_061.jpg';
Picture[62]  = 'gallery/theGrind_062.jpg';
Picture[63]  = 'gallery/theGrind_063.jpg';
Picture[64]  = 'gallery/theGrind_064.jpg';
Picture[65]  = 'gallery/theGrind_065.jpg';
Picture[66]  = 'gallery/theGrind_066.jpg';
Picture[67]  = 'gallery/theGrind_067.jpg';
Picture[68]  = 'gallery/theGrind_068.jpg';
Picture[69]  = 'gallery/theGrind_069.jpg';
Picture[70]  = 'gallery/theGrind_070.jpg';
Picture[71]  = 'gallery/theGrind_071.jpg';
Picture[72]  = 'gallery/theGrind_072.jpg';
Picture[73]  = 'gallery/theGrind_073.jpg';
Picture[74]  = 'gallery/theGrind_074.jpg';
Picture[75]  = 'gallery/theGrind_075.jpg';
Picture[76]  = 'gallery/theGrind_076.jpg';
Picture[77]  = 'gallery/theGrind_077.jpg';
Picture[78]  = 'gallery/theGrind_078.jpg';
Picture[79]  = 'gallery/theGrind_079.jpg';
Picture[80]  = 'gallery/theGrind_080.jpg';
Picture[81]  = 'gallery/theGrind_081.jpg';
Picture[82]  = 'gallery/theGrind_082.jpg';
Picture[83]  = 'gallery/theGrind_083.jpg';
Picture[84]  = 'gallery/theGrind_084.jpg';
Picture[85]  = 'gallery/theGrind_085.jpg';
Picture[86]  = 'gallery/theGrind_086.jpg';
Picture[87]  = 'gallery/theGrind_087.jpg';
Picture[88]  = 'gallery/theGrind_088.jpg';
Picture[89]  = 'gallery/theGrind_089.jpg';
Picture[90]  = 'gallery/theGrind_090.jpg';
Picture[91]  = 'gallery/theGrind_091.jpg';
Picture[92]  = 'gallery/theGrind_092.jpg';
Picture[93]  = 'gallery/theGrind_093.jpg';
Picture[94]  = 'gallery/theGrind_094.jpg';
Picture[95]  = 'gallery/theGrind_095.jpg';
Picture[96]  = 'gallery/theGrind_096.jpg';
Picture[97]  = 'gallery/theGrind_097.jpg';
Picture[98]  = 'gallery/theGrind_098.jpg';
Picture[99]  = 'gallery/theGrind_099.jpg';
Picture[100]  = 'gallery/theGrind_100.jpg';
Picture[101]  = 'gallery/theGrind_101.jpg';
Picture[102]  = 'gallery/theGrind_102.jpg';
Picture[103]  = 'gallery/theGrind_103.jpg';
Picture[104]  = 'gallery/theGrind_104.jpg';
Picture[105]  = 'gallery/theGrind_105.jpg';
Picture[106]  = 'gallery/theGrind_106.jpg';
Picture[107]  = 'gallery/theGrind_107.jpg';
Picture[108]  = 'gallery/theGrind_108.jpg';
Picture[109]  = 'gallery/theGrind_109.jpg';
Picture[110]  = 'gallery/theGrind_110.jpg';
Picture[111]  = 'gallery/theGrind_111.jpg';
Picture[112]  = 'gallery/theGrind_112.jpg';
Picture[113]  = 'gallery/theGrind_113.jpg';
Picture[114]  = 'gallery/theGrind_114.jpg';
Picture[115]  = 'gallery/theGrind_115.jpg';
Picture[116]  = 'gallery/theGrind_116.jpg';
Picture[117]  = 'gallery/theGrind_117.jpg';
Picture[118]  = 'gallery/theGrind_118.jpg';
Picture[119]  = 'gallery/theGrind_119.jpg';
Picture[120]  = 'gallery/theGrind_120.jpg';
Picture[121]  = 'gallery/theGrind_121.jpg';
Picture[122]  = 'gallery/theGrind_122.jpg';
Picture[123]  = 'gallery/theGrind_123.jpg';
Picture[124]  = 'gallery/theGrind_124.jpg';
Picture[125]  = 'gallery/theGrind_125.jpg';
Picture[126]  = 'gallery/theGrind_126.jpg';
Picture[127]  = 'gallery/theGrind_127.jpg';
Picture[128]  = 'gallery/theGrind_128.jpg';
Picture[129]  = 'gallery/theGrind_129.jpg';
Picture[130]  = 'gallery/theGrind_130.jpg';
Picture[131]  = 'gallery/theGrind_131.jpg';
Picture[132]  = 'gallery/theGrind_132.jpg';
Picture[133]  = 'gallery/theGrind_133.jpg';
Picture[134]  = 'gallery/theGrind_134.jpg';
Picture[135]  = 'gallery/theGrind_135.jpg';
Picture[136]  = 'gallery/theGrind_136.jpg';
Picture[137]  = 'gallery/theGrind_137.jpg';
Picture[138]  = 'gallery/theGrind_138.jpg';
Picture[139]  = 'gallery/theGrind_139.jpg';
Picture[140]  = 'gallery/theGrind_140.jpg';
Picture[141]  = 'gallery/theGrind_141.jpg';
Picture[142]  = 'gallery/theGrind_142.jpg';
Picture[143]  = 'gallery/theGrind_143.jpg';
Picture[144]  = 'gallery/theGrind_144.jpg';
Picture[145]  = 'gallery/theGrind_145.jpg';
Picture[146]  = 'gallery/theGrind_146.jpg';
Picture[147]  = 'gallery/theGrind_147.jpg';
Picture[148]  = 'gallery/theGrind_148.jpg';
Picture[149]  = 'gallery/theGrind_149.jpg';
Picture[150]  = 'gallery/theGrind_150.jpg';
Picture[151]  = 'gallery/theGrind_151.jpg';
Picture[152]  = 'gallery/theGrind_152.jpg';
Picture[153]  = 'gallery/theGrind_153.jpg';
Picture[154]  = 'gallery/theGrind_154.jpg';
Picture[155]  = 'gallery/theGrind_155.jpg';
Picture[156]  = 'gallery/theGrind_156.jpg';
Picture[157]  = 'gallery/theGrind_157.jpg';
Picture[158]  = 'gallery/theGrind_158.jpg';
Picture[159]  = 'gallery/theGrind_159.jpg';
Picture[160]  = 'gallery/theGrind_160.jpg';
Picture[161]  = 'gallery/theGrind_161.jpg';
Picture[162]  = 'gallery/theGrind_162.jpg';
Picture[163]  = 'gallery/theGrind_163.jpg';
Picture[164]  = 'gallery/theGrind_164.jpg';
Picture[165]  = 'gallery/theGrind_165.jpg';
Picture[166]  = 'gallery/theGrind_166.jpg';
Picture[167]  = 'gallery/theGrind_167.jpg';
Picture[168]  = 'gallery/theGrind_168.jpg';
Picture[169]  = 'gallery/theGrind_169.jpg';
Picture[170]  = 'gallery/theGrind_170.jpg';
Picture[171]  = 'gallery/theGrind_171.jpg';
Picture[172]  = 'gallery/theGrind_172.jpg';
Picture[173]  = 'gallery/theGrind_173.jpg';
Picture[174]  = 'gallery/theGrind_174.jpg';
Picture[175]  = 'gallery/theGrind_175.jpg';
Picture[176]  = 'gallery/theGrind_176.jpg';
Picture[177]  = 'gallery/theGrind_177.jpg';
Picture[178]  = 'gallery/theGrind_178.jpg';
Picture[179]  = 'gallery/theGrind_179.jpg';
Picture[180]  = 'gallery/theGrind_180.jpg';
Picture[181]  = 'gallery/theGrind_181.jpg';
Picture[182]  = 'gallery/theGrind_182.jpg';
Picture[183]  = 'gallery/theGrind_183.jpg';
Picture[184]  = 'gallery/theGrind_184.jpg';
Picture[185]  = 'gallery/theGrind_185.jpg';
Picture[186]  = 'gallery/theGrind_186.jpg';
Picture[187]  = 'gallery/theGrind_187.jpg';
Picture[188]  = 'gallery/theGrind_188.jpg';
Picture[189]  = 'gallery/theGrind_189.jpg';
Picture[190]  = 'gallery/theGrind_190.jpg';


// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "1 of 190";
Caption[2]  = "2 of 190";
Caption[3]  = "3 of 190";
Caption[4]  = "4 of 190";
Caption[5]  = "5 of 190";
Caption[6]  = "6 of 190";
Caption[7]  = "7 of 190";
Caption[8]  = "8 of 190";
Caption[9]  = "9 of 190";
Caption[10] = "10 of 190";
Caption[11]  = "11 of 190";
Caption[12]  = "12 of 190";
Caption[13]  = "13 of 190";
Caption[14]  = "14 of 190";
Caption[15]  = "15 of 190";
Caption[16]  = "16 of 190";
Caption[17]  = "17 of 190";
Caption[18]  = "18 of 190";
Caption[19]  = "19 of 190";
Caption[20]  = "20 of 190";
Caption[21]  = "21 of 190";
Caption[22]  = "22 of 190";
Caption[23]  = "23 of 190";
Caption[24]  = "24 of 190";
Caption[25]  = "25 of 190";
Caption[26]  = "26 of 190";
Caption[27]  = "27 of 190";
Caption[28]  = "28 of 190";
Caption[29]  = "29 of 190";
Caption[30]  = "30 of 190";
Caption[31]  = "31 of 190";
Caption[32]  = "32 of 190";
Caption[33]  = "33 of 190";
Caption[34]  = "34 of 190";
Caption[35]  = "35 of 190";
Caption[36]  = "36 of 190";
Caption[37]  = "37 of 190";
Caption[38]  = "38 of 190";
Caption[39]  = "39 of 190";
Caption[40]  = "40 of 190";
Caption[41]  = "41 of 190";
Caption[42]  = "42 of 190";
Caption[43]  = "43 of 190";
Caption[44]  = "44 of 190";
Caption[45]  = "45 of 190";
Caption[46]  = "46 of 190";
Caption[47]  = "47 of 190";
Caption[48]  = "48 of 190";
Caption[49]  = "49 of 190";
Caption[50]  = "50 of 190";
Caption[51]  = "51 of 190";
Caption[52]  = "52 of 190";
Caption[53]  = "53 of 190";
Caption[54]  = "54 of 190";
Caption[55]  = "55 of 190";
Caption[56]  = "56 of 190";
Caption[57]  = "57 of 190";
Caption[58]  = "58 of 190";
Caption[59]  = "59 of 190";
Caption[60]  = "60 of 190";
Caption[61]  = "61 of 190";
Caption[62]  = "62 of 190";
Caption[63]  = "63 of 190";
Caption[64]  = "64 of 190";
Caption[65]  = "65 of 190";
Caption[66]  = "66 of 190";
Caption[67]  = "67 of 190";
Caption[68]  = "68 of 190";
Caption[69]  = "69 of 190";
Caption[70]  = "70 of 190";
Caption[71]  = "71 of 190";
Caption[72]  = "72 of 190";
Caption[73]  = "73 of 190";
Caption[74]  = "74 of 190";
Caption[75]  = "75 of 190";
Caption[76]  = "76 of 190";
Caption[77]  = "77 of 190";
Caption[78]  = "78 of 190";
Caption[79]  = "79 of 190";
Caption[80]  = "80 of 190";
Caption[81]  = "81 of 190";
Caption[82]  = "82 of 190";
Caption[83]  = "83 of 190";
Caption[84]  = "84 of 190";
Caption[85]  = "85 of 190";
Caption[86]  = "86 of 190";
Caption[87]  = "87 of 190";
Caption[88]  = "88 of 190";
Caption[89]  = "89 of 190";
Caption[90]  = "90 of 190";
Caption[91]  = "91 of 190";
Caption[92]  = "92 of 190";
Caption[93]  = "93 of 190";
Caption[94]  = "94 of 190";
Caption[95]  = "95 of 190";
Caption[96]  = "96 of 190";
Caption[97]  = "97 of 190";
Caption[98]  = "98 of 190";
Caption[99]  = "99 of 190";
Caption[100]  = "100 of 190";
Caption[101]  = "101 of 190";
Caption[102]  = "102 of 190";
Caption[103]  = "103 of 190";
Caption[104]  = "104 of 190";
Caption[105]  = "105 of 190";
Caption[106]  = "106 of 190";
Caption[107]  = "107 of 190";
Caption[108]  = "108 of 190";
Caption[109]  = "109 of 190";
Caption[110]  = "110 of 190";
Caption[111]  = "111 of 190";
Caption[112]  = "112 of 190";
Caption[113]  = "113 of 190";
Caption[114]  = "114 of 190";
Caption[115]  = "115 of 190";
Caption[116]  = "116 of 190";
Caption[117]  = "117 of 190";
Caption[118]  = "118 of 190";
Caption[119]  = "119 of 190";
Caption[120]  = "120 of 190";
Caption[121]  = "121 of 190";
Caption[122]  = "122 of 190";
Caption[123]  = "123 of 190";
Caption[124]  = "124 of 190";
Caption[125]  = "125 of 190";
Caption[126]  = "126 of 190";
Caption[127]  = "127 of 190";
Caption[128]  = "128 of 190";
Caption[129]  = "129 of 190";
Caption[130]  = "130 of 190";
Caption[131]  = "131 of 190";
Caption[132]  = "132 of 190";
Caption[133]  = "133 of 190";
Caption[134]  = "134 of 190";
Caption[135]  = "135 of 190";
Caption[136]  = "136 of 190";
Caption[137]  = "137 of 190";
Caption[138]  = "138 of 190";
Caption[139]  = "139 of 190";
Caption[140]  = "140 of 190";
Caption[141]  = "141 of 190";
Caption[142]  = "142 of 190";
Caption[143]  = "143 of 190";
Caption[144]  = "144 of 190";
Caption[145]  = "145 of 190";
Caption[146]  = "146 of 190";
Caption[147]  = "147 of 190";
Caption[148]  = "148 of 190";
Caption[149]  = "149 of 190";
Caption[150]  = "150 of 190";
Caption[151]  = "151 of 190";
Caption[152]  = "152 of 190";
Caption[153]  = "153 of 190";
Caption[154]  = "154 of 190";
Caption[155]  = "155 of 190";
Caption[156]  = "156 of 190";
Caption[157]  = "157 of 190";
Caption[158]  = "158 of 190";
Caption[159]  = "159 of 190";
Caption[160]  = "160 of 190";
Caption[161]  = "161 of 190";
Caption[162]  = "162 of 190";
Caption[163]  = "163 of 190";
Caption[164]  = "164 of 190";
Caption[165]  = "165 of 190";
Caption[166]  = "166 of 190";
Caption[167]  = "167 of 190";
Caption[168]  = "168 of 190";
Caption[169]  = "169 of 190";
Caption[170]  = "170 of 190";
Caption[171]  = "171 of 190";
Caption[172]  = "172 of 190";
Caption[173]  = "173 of 190";
Caption[174]  = "174 of 190";
Caption[175]  = "175 of 190";
Caption[176]  = "176 of 190";
Caption[177]  = "177 of 190";
Caption[178]  = "178 of 190";
Caption[179]  = "179 of 190";
Caption[180]  = "180 of 190";
Caption[181]  = "181 of 190";
Caption[182]  = "182 of 190";
Caption[183]  = "183 of 190";
Caption[184]  = "184 of 190";
Caption[185]  = "185 of 190";
Caption[186]  = "186 of 190";
Caption[187]  = "187 of 190";
Caption[188]  = "188 of 190";
Caption[189]  = "189 of 190";
Caption[190]  = "190 of 190";


// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 0;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function control(how){
if (showHot){
if (how=="H") jss = 1;
if (how=="F") jss = jss + 1;
if (how=="B") jss = jss - 1;
if (jss > (pss)) jss=1;
if (jss < 1) jss = pss;
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();

}}