var gal = new Array(); gal[492] = new Array(); gal[492][0] = 'Saul\'s Surgeries'; gal[492][1] = '

First external device jaw distraction

'; gal[492][2] = '/gallerypro/157/'; gal[492][3] = 1; gal[492][4] = 4; gal[492][5] = new Array(); gal[492][5][1] = new Array(); gal[492][5][1][1] = new Array('157_492_1_1250701860_full.jpg','Pre-op jaw distraction with external devices'); gal[492][5][2] = new Array(); gal[492][5][2][1] = new Array('157_492_1_1250701900_full.jpg','Initial post op jaw distraction'); gal[492][5][3] = new Array(); gal[492][5][3][1] = new Array('157_492_1_1250701988_full.jpg','Post op jaw distraction with external devices inserted'); gal[492][5][4] = new Array(); gal[492][5][4][1] = new Array('157_492_1_1250702066_full.jpg','External devices removed jaw distraction results'); gal[492][6] = 400; gal[493] = new Array(); gal[493][0] = 'Jack Bilateral foot and ankle surgery'; gal[493][1] = '

Jack foot and ankle surgery

Surgery to correct clinical valgus, lack of arch and bone graph for absent heel bone

'; gal[493][2] = '/gallerypro/157/'; gal[493][3] = 1; gal[493][4] = 2; gal[493][5] = new Array(); gal[493][5][1] = new Array(); gal[493][5][1][1] = new Array('157_493_1_1250702550_full.jpg','Jack surgical recovery phase II wheel chair 10 weeks'); gal[493][5][2] = new Array(); gal[493][5][2][1] = new Array('157_493_1_1250702629_full.jpg','Post surgical cast removal'); gal[493][6] = 400; 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") } }