var gal = new Array();
gal[530] = new Array();
gal[530][0] = 'FNMS Angel Gabriel Revis';
gal[530][1] = '
In Loving Memory of Gabriel Revis
';
gal[530][2] = '/gallerypro/160/';
gal[530][3] = 1;
gal[530][4] = 1;
gal[530][5] = new Array();
gal[530][5][1] = new Array();
gal[530][5][1][1] = new Array('160_530_1_1664733097_full.jpg','Mom April Revis with Gabriel');
gal[530][6] = 400;
gal[532] = new Array();
gal[532][0] = 'Hether Madsen - A True Original';
gal[532][1] = '';
gal[532][2] = '/gallerypro/160/';
gal[532][3] = 1;
gal[532][4] = 1;
gal[532][5] = new Array();
gal[532][5][1] = new Array();
gal[532][5][1][1] = new Array('160_532_1_1664733456_full.jpg','Heather Madsen at the 2019 FNMS Conference');
gal[532][6] = 400;
gal[528] = new Array();
gal[528][0] = 'Lalo Lapham';
gal[528][1] = ' Lalo will be dearly missed.
July 8, 1990 - June 16, 2010
';
gal[528][2] = '/gallerypro/160/';
gal[528][3] = 1;
gal[528][4] = 1;
gal[528][5] = new Array();
gal[528][5][1] = new Array();
gal[528][5][1][1] = new Array('160_528_1_1276792222_full.jpg','Lalo with his Mother, Imelda, Father, Fernando & his younger sister');
gal[528][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 += " " + gal[img][0] + " | \n";
subselect += " \n";
subselect += " \n";
for (x = 1; x <= gal[img][4]; x++){
subselect += " " + x + " | \n";
}
subselect += " | \n";
subselect += " \n";
subselect += " | \n";
subselect += "
\n";
subselect += "
\n";
images += "";
for (x = 1; x <= gal[img][3]; x++){
images += " ";
if (gal[img][5][1][x][1] != ""){
images += " " + gal[img][5][1][x][1] + " | ";
} else {
images += "";
}
}
images += "
";
text = gal[img][1];
fdm.innerHTML = subselect + "" + images + "
" + text + "
";
} else {
// IMG + TEXT SWAP
images += "";
for (x = 1; x <= gal[img][3]; x++){
images += " ";
if (gal[img][5][1][x][1] != ""){
images += " " + gal[img][5][i][x][1] + " | ";
} else {
images += "";
}
}
images += "
";
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")
}
}