// JavaScript Document

// JavaScript Document: Dolls of Joy - Certificate of Appreciation Album
<!-- 
/*
Interactive Image slideshow with text description
By Christian Carlessi Salvadó (cocolinks@c.net.gt). Keep this notice intact.
Visit http://www.dynamicdrive.com for script
*/


g_fPlayMode = 0;
g_iimg = -1;
g_imax = 0;
g_ImageTable = new Array();

function ChangeImage(fFwd)
{
if (fFwd)
{
if (++g_iimg==g_imax)
g_iimg=0;
}
else
{
if (g_iimg==0)
g_iimg=g_imax;
g_iimg--;
}
Update();
}

function getobject(obj){
if (document.getElementById)
return document.getElementById(obj)
else if (document.all)
return document.all[obj]
}

function Update(){
getobject("_Ath_Slide").src = g_ImageTable[g_iimg][0];
getobject("_Ath_FileName").innerHTML = g_ImageTable[g_iimg][1];
getobject("_Ath_Img_X").innerHTML = g_iimg + 1;
getobject("_Ath_Img_N").innerHTML = g_imax;
}


function Play()
{
g_fPlayMode = !g_fPlayMode;
if (g_fPlayMode)
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = true;
Next();
}
else 
{
getobject("btnPrev").disabled = getobject("btnNext").disabled = false;

}
}
function OnImgLoad()
{
if (g_fPlayMode)
window.setTimeout("Tick()", g_dwTimeOutSec*3000);
}
function Tick() 
{
if (g_fPlayMode)
Next();
}
function Prev()
{
ChangeImage(false);
}
function Next()
{
ChangeImage(true);
}


////configure below variables/////////////////////////////

//configure the below images and description to your own. 
g_ImageTable[g_imax++] = new Array ("family_02/family_02_16.jpg", "<strong><em>Mr and Mrs Thomas Beddoe and Family – November 13, 1869</em></strong><br>Christina’s Dad’s Ancestors from Wales");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_01.jpg", "<strong><em>The Beddoe Family</em></strong><br>Christina’s Dad’s Ancestors from Wales");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_12.jpg", "<strong><em>Morgan Meredith Williams</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_07.jpg", "<strong><em>Hart and Mary Baird Phillips</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_15.jpg", "<strong><em>O.H. Phillips, Sr and Elizabeth Clelland</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_14.jpg", "<strong><em>O.H. Phillips, Jr. – 1918</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_13.jpg", "<strong><em>O.H. Phillips, Jr. and Family – 1918</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_08.jpg", "<strong><em>Grandfather Henry Moore – 1918</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_09.jpg", "<strong><em>Grandparents Henry and Ellie Moore – 1935</em></strong><br>In Washington, DC");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_06.jpg", "<strong><em>Grandparents Henry and Ellie Moore – 1935</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_05.jpg", "<strong><em>Grandpa McCarthy and Ruth Moore (Christina’s Mom) – 1922</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_21.jpg", "<strong><em>The Phillips Family – 1942</em></strong><br>Christina’s Grandparents, Father, and Aunts");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_20.jpg", "<strong><em>Christina’s Dad, Robert – 1945</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_19.jpg", "<strong><em>Christina’s Mom, Ruth – 1945</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_18.jpg", "<strong><em>Christina’s Mom, Ruth – 1946</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_02.jpg", "<strong><em>Christina and her Dad, Robert – 1947</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_11.jpg", "<strong><em>Christina and her Mom, Ruth – 1947</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_03.jpg", "<strong><em>Christina and her Dad, Robert – 1949</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_10.jpg", "<strong><em>Ruth and Robert Philllips – 1950</em></strong><br>Christina’s Mom and Dad");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_17.jpg", "<strong><em>Christina’s Mom, Ruth – 1950</em></strong><br>At Camp Atterbury");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_04.jpg", "<strong><em>Christina and Dane Philllips - Aged 6 and 3</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_22.jpg", "<strong><em>Robert and Ruth (Dad and Mom) Phillips – 1962</em></strong>");
g_ImageTable[g_imax++] = new Array ("family_02/family_02_23.jpg", "<strong><em>Family Visit to Grandfather Moore’s Grave at Arlington – circa 1964</em></strong><br>“A family photograph of my grandmother Moore, my mother and the 5 of us kids at my grandfather Moore’s grave in Arlington. He had died a few years before this photo was taken and we were visiting the site. Of course, Arlington has grown even more, and my grandmother is now buried next to grandfather. This photo was taken in 1964, I believe.”<br>Christina – November 2005");

//extend the above list as desired
g_dwTimeOutSec=2

////End configuration/////////////////////////////

if (document.getElementById||document.all)
window.onload=Play
-->
