var gal = new Array(); gal[604] = new Array(); gal[604][0] = 'Las Vegas Nascar 2013'; gal[604][1] = '\"\"'; gal[604][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[604][3] = 1; gal[604][4] = 2; gal[604][5] = new Array(); gal[604][5][1] = new Array(); gal[604][5][1][1] = new Array('164_604_1_1369417864_full.jpg','Las Vegas 2013 Nascar!'); gal[604][5][2] = new Array(); gal[604][5][2][1] = new Array('164_604_1_1369417899_full.jpg','Batistas!'); gal[604][6] = 293; gal[505] = new Array(); gal[505][0] = 'Go M\'s'; gal[505][1] = '

Mariner\'s Game - Summer 09

'; gal[505][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[505][3] = 1; gal[505][4] = 4; gal[505][5] = new Array(); gal[505][5][1] = new Array(); gal[505][5][1][1] = new Array('164_505_1_1252715721_full.jpg','Go M\'s!'); gal[505][5][2] = new Array(); gal[505][5][2][1] = new Array('164_505_1_1252715753_full.jpg','Scott\'s viewpoint - nice seats!'); gal[505][5][3] = new Array(); gal[505][5][3][1] = new Array('164_505_1_1252715780_full.jpg','Enjoying the royal treament (Seattle, WA)'); gal[505][5][4] = new Array(); gal[505][5][4][1] = new Array('164_505_1_1252715799_full.jpg','Striping rewards'); gal[505][6] = 293; gal[506] = new Array(); gal[506][0] = 'Great seats, guys!'; gal[506][1] = '

Mariners Game - 10th inning winner!!

'; gal[506][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[506][3] = 1; gal[506][4] = 1; gal[506][5] = new Array(); gal[506][5][1] = new Array(); gal[506][5][1][1] = new Array('164_506_1_1252715935_full.jpg','10th Inning Game Winner!!'); gal[506][6] = 293; gal[507] = new Array(); gal[507][0] = 'Rewards!'; gal[507][1] = ''; gal[507][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[507][3] = 1; gal[507][4] = 1; gal[507][5] = new Array(); gal[507][5][1] = new Array(); gal[507][5][1][1] = new Array('164_507_1_1252716006_full.jpg','Rewards!'); gal[507][6] = 293; gal[605] = new Array(); gal[605][0] = 'SPS Christmas Getaway 2012'; gal[605][1] = '\"\"'; gal[605][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[605][3] = 1; gal[605][4] = 1; gal[605][5] = new Array(); gal[605][5][1] = new Array(); gal[605][5][1][1] = new Array('164_605_1_1369419628_full.jpg',''); gal[605][6] = 293; gal[622] = new Array(); gal[622][0] = 'Team Down in Nashville for Pavement Expo 2015'; gal[622][1] = ''; gal[622][2] = '/var/www/vhosts/spsenumclaw.com/httpdocs/gallerypro/164/'; gal[622][3] = 1; gal[622][4] = 23; gal[622][5] = new Array(); gal[622][5][1] = new Array(); gal[622][5][1][1] = new Array('164_622_1_1424454889_full.jpg',''); gal[622][5][2] = new Array(); gal[622][5][2][1] = new Array('164_622_1_1424454958_full.jpg',''); gal[622][5][3] = new Array(); gal[622][5][3][1] = new Array('164_622_1_1424454989_full.jpg',''); gal[622][5][4] = new Array(); gal[622][5][4][1] = new Array('164_622_1_1424455116_full.jpg',''); gal[622][5][5] = new Array(); gal[622][5][5][1] = new Array('164_622_1_1424455157_full.jpg',''); gal[622][5][6] = new Array(); gal[622][5][6][1] = new Array('164_622_1_1424455180_full.jpg',''); gal[622][5][7] = new Array(); gal[622][5][7][1] = new Array('164_622_1_1424455206_full.jpg',''); gal[622][5][8] = new Array(); gal[622][5][8][1] = new Array('164_622_1_1424455269_full.jpg',''); gal[622][5][9] = new Array(); gal[622][5][9][1] = new Array('164_622_1_1424455341_full.jpg',''); gal[622][5][10] = new Array(); gal[622][5][10][1] = new Array('164_622_1_1424455371_full.jpg',''); gal[622][5][11] = new Array(); gal[622][5][11][1] = new Array('164_622_1_1424455402_full.jpg',''); gal[622][5][12] = new Array(); gal[622][5][12][1] = new Array('164_622_1_1424455432_full.jpg',''); gal[622][5][13] = new Array(); gal[622][5][13][1] = new Array('164_622_1_1424455481_full.jpg',''); gal[622][5][14] = new Array(); gal[622][5][14][1] = new Array('164_622_1_1424455510_full.jpg',''); gal[622][5][15] = new Array(); gal[622][5][15][1] = new Array('164_622_1_1424455525_full.jpg',''); gal[622][5][16] = new Array(); gal[622][5][16][1] = new Array('164_622_1_1424455565_full.jpg',''); gal[622][5][17] = new Array(); gal[622][5][17][1] = new Array('164_622_1_1424455604_full.jpg',''); gal[622][5][18] = new Array(); gal[622][5][18][1] = new Array('164_622_1_1424455624_full.jpg',''); gal[622][5][19] = new Array(); gal[622][5][19][1] = new Array('164_622_1_1424455654_full.jpg',''); gal[622][5][20] = new Array(); gal[622][5][20][1] = new Array('164_622_1_1424455673_full.jpg',''); gal[622][5][21] = new Array(); gal[622][5][21][1] = new Array('164_622_1_1424455685_full.jpg',''); gal[622][5][22] = new Array(); gal[622][5][22][1] = new Array('164_622_1_1424455704_full.jpg',''); gal[622][5][23] = new Array(); gal[622][5][23][1] = new Array('164_622_1_1424455715_full.jpg',''); gal[622][6] = 293; var _img = ""; var _i = ""; function swapimagepro(img,i){ if (i == 0){ // FULL SWAP fadeobj ('fadedivmain',500, "out") } else { // IMG SWAP for (ct = 1; ct <= gal[img][4]; ct++){ document.getElementById("sublink_" + ct).className = 'gallerybutton'; } document.getElementById("sublink_" + i).className = 'gallerybuttonon'; fadeobj ('fadediv',500, "out") } _img = img; _i = i; cmd = "swapimagepro_swap()"; // alert ('Swapping'); setTimeout(cmd,600); } function swapimagepro_swap(){ img = _img; i = _i; // alert ('img = ' + img + "\n\ni = " + i); var fdm = document.getElementById('fadedivmain'); var fd = document.getElementById('fadediv'); var subselect = ""; var images = ""; if (i == 0){ // FULL SWAP subselect += "\n"; subselect += " \n"; subselect += " \n"; subselect += " \n"; subselect += " \n"; subselect += "

" + gal[img][0] + "

\n"; subselect += " \n"; for (x = 1; x <= gal[img][4]; x++){ subselect += " \n"; } subselect += " \n"; subselect += " \n"; subselect += "
 
\n"; images += ""; for (x = 1; x <= gal[img][3]; x++){ images += ""; } else { images += ""; } } images += "
"; if (gal[img][5][1][x][1] != ""){ images += "
" + gal[img][5][1][x][1] + "
"; text = gal[img][1]; fdm.innerHTML = subselect + "
" + images + "

" + text + "
"; } else { // IMG + TEXT SWAP images += ""; for (x = 1; x <= gal[img][3]; x++){ images += ""; } else { images += ""; } } images += "
"; if (gal[img][5][1][x][1] != ""){ images += "
" + gal[img][5][i][x][1] + "
"; text = gal[img][1]; fd.innerHTML = images; } cmd = "swapimagepro_finish()"; // alert('Done swapping'); setTimeout(cmd,10); } function swapimagepro_finish(){ img = _img; i = _i; // alert ('img = ' + img + "\n\ni = " + i); if (i == 0){ // FULL SWAP fadeobj ('fadedivmain',500, "in") } else { // IMG + TEXT SWAP fadeobj ('fadediv',500, "in") } }