<!-- 

var LocalExpires = new Date()
var MilliSecCount   = LocalExpires.getTime()


// Now set the Expires to 1 year from now
MilliSecCount = MilliSecCount + (365 * 24 * 60 * 60 * 1000);
LocalExpires.setTime(MilliSecCount)

var CookieExpires = LocalExpires.toGMTString()

cookie_name = "LastPicShown";	// Used to see if the user has been here already

// Moved Array up here as well so it is global
var PicArray = new Array();
DefinePictureArray();


function getIEVersion()
{
   var ua = navigator.userAgent;
   var IEOffset = ua.indexOf("MSIE ");
   return parseFloat(ua.substring(IEOffset + 5, ua.indexOf(";", IEOffset)));
}
var isIE4 = navigator.appName.indexOf("Microsoft") === 0 && parseInt(getIEVersion(), 10) >= 4;
var isIE5 = navigator.appName.indexOf("Microsoft") === 0 && parseInt(getIEVersion(), 10) >= 5;
var isW3C = false;
if (document.documentElement)
{
   isW3C = true;
}


// Used to build the Array of pictures we are going to load/view
function DefinePictureArray()
{
   var CurrLength = 0;

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/Momeye.jpg", 350, 347, 'OK, Throw the ball already.');  

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/Catch1.jpg", 142, 234, 'Air Who???');
/*
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/ChristmasCousins.jpg", 350, 341, 'Look what I got!!!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/ChristmasCousins2.jpg", 350, 234, 'Isn' + "'" + 't this cool?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/Going.jpg", 350, 349, 'OK I' + "'" + 'll let you take One Picture.'); 

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Bounce(11-01).jpg", 350, 287, 'Bouncing is FUN!!!!');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Cheerios(11-01).jpg", 350, 253, 'Can' + "'" + 't you see I' + "'" + 'm eating cheerios? I' + "'" + 'll be cute later.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/Cute2.jpg", 350, 254, 'Now we know where they got the idea for the Sphinx.');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/DadeyeBed.jpg", 350, 233, 'This is how things are supposed to be.');  

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Tigger&Hat.jpg", 350, 300, 'Stop, no more pictures!!!');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/9Months.jpg", 300, 379, 'Who' + "'" + 's Cuter me or the Bear? (DUH);');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Halloween.jpg", 350, 266, 'I LOVE this hat Mom...');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/TksVicki.jpg", 350, 590, 'Me and Auntie Vicki (We Dance a LOT)');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/BowHead.jpg", 350, 417, 'Must...Keep Playing...Can' + "'" + 't go on.....');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/EnGarde.jpg", 350, 331, 'I Challenge you to a Duel.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/Envelope1.jpg", 350, 249, 'I' + "'" + 'll take the Envelope Monty.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/PJs.jpg", 350, 281, 'Aren' + "'" + 't Christmas PJs cool?');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/CalGpa.jpg", 350, 322, 'Hey...those look like fun');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/BarfToy.jpg", 350, 281, 'I dare you to try and take it.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/dakota/Cute1.jpg", 350, 270, 'Who me???');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/FirstCookie(9-01).jpg", 350, 315, 'Cookies RULE!!!!!');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/PumpkinFest(10-01).jpg", 350, 245, 'Grandma took me to Pumpkin Festival<BR>(After they forgot me in the car with Grandfather)');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/Going2.jpg", 350, 249, 'I said ONE picture.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/christmas/Gone.jpg", 350, 265, 'Enough, I am outta here......');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/FirstCake.jpg", 350, 293, 'This is good cake.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/FirstCake2.jpg", 350, 230, 'Boy that didn' + "'" + 't last long.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/MollyBDay.jpg", 350, 270, 'I like your new haircut Auntie Molly.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/TeddyCake.jpg", 350, 238, 'That looks GOOD!');   
*/
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/4Gen.jpg", 350, 248, '4 Generations together.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/RuthDinner.jpg", 350, 254, 'We had a lot of fun at Aunt Ruths.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Piano.jpg", 350, 318, 'And for my Next Number...');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/BlueberriesRule.jpg", 350, 232, 'I LIKE BLUEBERRIES!!!!!');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Bike.jpg", 350, 369, 'Born to be Wild.');   
/*
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/UpsideDownMo.jpg", 350, 370, 'Daddy makes me laugh.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Haircut1.jpg", 350, 321, 'I don' + "'" + 't know about this Mom.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/Haircut2.jpg", 350, 311, 'This isn' + "'" + 't so bad.');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/GMaMikayla.jpg", 350, 403, 'Hi Grandma');   

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/mikayla/EyeBook.jpg", 350, 243, 'This is my Favorite Book.');   
   
   // Pics added 10/19/2002
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/pjs_book032002.jpg", 350, 397, 'What a cool book!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/mikaylaobike042002.jpg", 350, 239, 'Like my Neat Bike?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/mikaylafoodface042002.jpg", 350, 350, 'Messy aren' + "'" + 't I?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/mikaylaasleep042002.jpg", 350, 262, 'I had a hard day');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/TigerRyansBDay2002.jpg", 350, 433, 'Ryans Birthday and I got a present, Yeah!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/BikePiano052002.jpg", 350, 321, 'Couldn' + "'" + 't you get me a Stereo?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Mikayla_DakotaBackDoor052002.jpg", 350, 390, 'Lets go play.');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Hat052002.jpg", 350, 366, 'What do you think of my hat?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Overalls052002.jpg", 350, 440, 'These used to be Dads overalls');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/EatingCrayons052002.jpg", 350, 242, 'Crayons taste good.');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/GMaMothersDay2002.jpg", 347, 445, 'Pretty Flowers Grandma');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DadMothersDay2002.jpg", 350, 198, 'Hi Dad');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MothersDayFlowers2002.jpg", 350, 601, 'More Flowers');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/JoeMothersDay2002.jpg", 350, 317, 'Swinging with Auntie Jo');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/ChairSnacks062002.jpg", 350, 373, 'Havin Snacks in my chair');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Crate_1062002.jpg", 350, 323, 'See my new house?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Crate_2062002.jpg", 350, 373, 'I really like it in here');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Crate_3062002.jpg", 340, 458, 'Can we give Dakota my room?');
/*
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Swing062002.jpg", 350, 417, 'Swinging with Pooh Bear');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/WawaDad062002.jpg", 350, 224, 'Look Dad, an Elephant');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/ZooMonkey062002.jpg", 350, 221, 'Monkey See, Monkey Do');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/AquariumTank072002.jpg", 350, 223, 'Fish!!!!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/AquariumWindow072002.jpg", 350, 302, 'I see otters playing over there');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/AquariumStarfish072002.jpg", 350, 378, 'I get to touch the Starfish!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/FlowerSquat082002.jpg", 350, 350, 'I think I will pick some flowers...');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/CRGrandmasLap082002.jpg", 350, 353, 'Here Grandma, you can read me a story');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/CRGrandpa082002.jpg", 350, 262, 'Yum, yum, yum.');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/CRBathingSuit072002.jpg", 350, 307, 'See my new Bathing suit?');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Noodles072002.jpg", 350, 399, 'Noodles!!!!!!');
*/
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/HMBFaceCloseUp072002.jpg", 350, 357, 'Hi there.');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/HMBMom072002.jpg", 350, 249, 'Me and Mom at Grandmas house');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/HMBGrandma072002.jpg", 350, 408, 'Hi grandma');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/HMBStool072002.jpg", 200, 456, 'Wow, now I can get into everything');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DadsShouldersHMB072002.jpg", 350, 280, 'Weeeee!');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Sam_ZooCheerios072002.jpg", 350, 302, 'Here Sam, have some Cheerios');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/BigShoes072002.jpg", 295, 461, 'Dad, you have big feet!');
   // End of October Adds

   // Adds for November Snowstorm 2003
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MRH_Eskimo2.jpg", 200, 300, 'Ready for the Snow');
   
/*
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/CooterSnow2.jpg", 199, 300, 'We can still play catch');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/NovSnow3.jpg", 300, 200, 'The front yard');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/NovSnow2.jpg", 300, 199, 'More Front yard');
*/   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MRH_Sno3.jpg", 200, 300, 'I like this stuff');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MakeSnoman4.jpg", 300, 200, 'Here we go');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/FixSnoman2.jpg", 199, 300, 'Here let me fix that for you');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/FixSnoman1.jpg", 200, 300, 'There you go');
   
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MakeSnoman5.jpg", 300, 200, 'Almost done...');

   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MRH_Dad_Snoman4.jpg", 300, 199, 'Look what we did!');
   // end of November 2003 Adds

   // Adds in Jan 05
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/BuildingSnow1.jpg", 300, 225, 'Mikayla works on the First Snowman of 2005');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/BuildingSnow2.jpg", 300, 225, 'Dad Helps with the Face');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Cooter_Snow2.jpg", 300, 225, 'Dakota wonders what is going on');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/SnowmanFamily2.jpg", 300, 225, 'Look what we did');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/LadyBug&Lion1.jpg", 300, 200, 'Mikayla and Kiran, ready to go');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Lion2.jpg", 200, 300, 'Mikayla gets a little warm in her Lion suit');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MRH_Serena_Cupcakes4.jpg", 300, 200, 'Mikayla and Serena decorate Cupcakes');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Cupcakes.jpg", 300, 200, 'Here is how the cupcakes turned out');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH_PackHaloween.jpg", 300, 200, 'Kiran in the Pack at the Zoo');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/PProwl1.jpg", 300, 200, 'The Pumkin Prowl was pretty neat');   
   // end of Jan 05 Adds
   
   // March 2004 Adds (Kirans birth)
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KiranAsleep.JPG", 200, 300, 'Resting to recover from Delivery');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KiranScale.JPG", 300, 200, '7 pounds, 15 ounces');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/NewFamilyMember.JPG", 300, 200, 'Mom, Dad and Kiran');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DadandGirls.JPG", 300, 200, 'Dad with his two girls');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/HoldingHands.JPG", 300, 200, 'Big sister holds Kirans hand');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KiranAndGrandma.JPG", 300, 200, 'Grandma meets Kiran');
   // End of March '04 Adds
   
   // More Janu 05 adds
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Girls_Chair3.jpg", 300, 200, 'June ' + "'" + '04 (Kiran is 3 Months)');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH_4Months_Girls2.jpg", 300, 200, 'July ' + "'" + '04 (Kiran is 4 Months)');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH_5MoGirls1.jpg", 300, 200, 'August ' + "'" + '04 (Kiran is 5 Months)');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Girls_7Months.jpg", 300, 200, 'Oct. ' + "'" + '04 (Kiran is 7 Months)');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH9Months_GirlsChair2.jpg", 300, 225, 'Dec ' + "'" + '04 (Kiran is 9 Months)');  
   // End of round 2 Jan 05 Adds
   
   // Adds in March 05 for new house pics
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_BackofAddition.JPG", 300, 225, 'The Family Room from outside');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_BackYard2.JPG", 300, 225, 'The Back Yard');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_FamilyRoom2.JPG", 300, 225, 'The Family Room from inside');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_Front.JPG", 300, 225, 'The Front of the House');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_Kitchen1.JPG", 300, 225, 'The Kitchen');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/House_DiningRoom.JPG", 300, 225, 'The Dining Room');
   CurrLength = PicArray.length;   
   // end of March 05 House adds
   // Adds in June of 06 (for the end of 05 pictures)
   PicArray[CurrLength] = new ImageObject("/images/uploads/OrcaFin.JPG", 300, 225, 'Mikayla hugs an Orca fin');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/GirlsFish.JPG", 300, 225, 'The girls watch the fish swim by');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KiranOverAQU.JPG", 300, 225, 'Kiran gets a better look at the water');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/MikaylaOverAQU.JPG", 300, 225, 'So does Mikayla');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/ChristmasPJs.JPG", 300, 225, 'Christmas PJs with Mom');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DPresents1.JPG", 300, 225, 'Mikayla enjoying her Vanity');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DPresents2.JPG", 300, 225, 'Lumpy peeks out of the Stocking');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DPresents8.JPG", 300, 225, 'Kiran Checking out her presents');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DPresents6.JPG", 300, 225, 'Dakota is pretty happy with Santa too');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/DPresents15.JPG", 300, 225, 'Big sister helps Kiran open one');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/SoccerLG1.JPG", 300, 225, 'Mikayla playing Soccer');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH_AvaFarm.JPG", 300, 225, 'Kiran and Ava on their Farm Field trip');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/KEH_Pumpkin2.JPG", 300, 225, 'Kiran picks out just the right pumpkin');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/PumpkinPic2.JPG", 300, 225, 'Mikayla helps Kiran show off her pumpkin');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Belle1.JPG", 225, 300, 'Belle all ready for Halloween');
   CurrLength = PicArray.length;
   PicArray[CurrLength] = new ImageObject("/images/uploads/Eyore1.JPG", 225, 300, 'Kiran all set for Trick or Treating');
   CurrLength = PicArray.length;
   
}


function MoveTo(newLocale)
{
   self.location.href = newLocale
}

// Used to print the Trailer text on all pages
function PrintTrailer()
{
   var TodaysDate = new Date();
   var TodayYear = TodaysDate.getYear();
   // since the code went into place on 2002
   if (TodayYear < 2002)
   {
      // Fix netscape JS bug
      TodayYear = TodayYear + 1900;
   }
   document.write('<BLOCKQUOTE><CENTER><BR><FONT SIZE="-2" FACE="Tahoma">');
   document.write("Proprietary to and Copyright " + TodayYear + " TrackMaster, an Equibase Company. All Rights Reserved. ");
   document.write("Republication or redissemination of the contents of this screen are expressly ");
   document.write("prohibited without the written consent of TrackMaster, an Equibase Company. ");
   document.write("Use (including viewing) of the material contained herein constitutes acceptance of these terms. ");   
   document.write("TrackMaster is a registered trademark of AXCIS Information Network, Inc.");
   document.write("</FONT></CENTER></BLOCKQUOTE>");
}

function PrintMenus()
{

   oCMenu=new makeCM("oCMenu"); //Making the menu object. Argument: menuname

   //Menu properties   
   oCMenu.pxBetween=30;
   oCMenu.fromLeft=20; 
   oCMenu.fromTop=0;   
   oCMenu.rows=1;
   oCMenu.menuPlacement="center";
                                                                
   oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/"; 
   oCMenu.onlineRoot=""; 
   oCMenu.resizeCheck=1; 
   oCMenu.wait=1000; 
   oCMenu.fillImg="cm_fill.gif";
   oCMenu.zIndex=0;

   //Background bar properties
   oCMenu.useBar=0;
   //oCMenu.barWidth="100%"
   oCMenu.barWidth="menu";
   oCMenu.barHeight="menu"; 
   oCMenu.barClass="clBar";
   //oCMenu.barX=0 
   //oCMenu.barY=0
   oCMenu.barX="menu";
   oCMenu.barY="menu";

   oCMenu.barBorderX=0;
   oCMenu.barBorderY=0;
   oCMenu.barBorderClass="";

   //Level properties - ALL properties have to be spesified in level 0
   oCMenu.level[0]=new cm_makeLevel(); //Add this for each new level
   oCMenu.level[0].width=110;
   oCMenu.level[0].height=25;
   oCMenu.level[0].regClass="clLevel0";
   oCMenu.level[0].overClass="clLevel0over";
   oCMenu.level[0].borderX=1;
   oCMenu.level[0].borderY=1;
   oCMenu.level[0].borderClass="clLevel0border";
   oCMenu.level[0].offsetX=0;
   oCMenu.level[0].offsetY=0;
   oCMenu.level[0].rows=0;
   oCMenu.level[0].arrow="/images/menu/menu_arrow.gif";
   oCMenu.level[0].arrowWidth=10;
   oCMenu.level[0].arrowHeight=10;
   oCMenu.level[0].align="bottom";


   //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this
   oCMenu.level[1]=new cm_makeLevel(); //Add this for each new level (adding one to the number)
   oCMenu.level[1].width=oCMenu.level[0].width-2;
   oCMenu.level[1].height=22;
   oCMenu.level[1].regClass="clLevel1";
   oCMenu.level[1].overClass="clLevel1over";
   oCMenu.level[1].borderX=1;
   oCMenu.level[1].borderY=1;
   oCMenu.level[1].align="right";
   oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20;
   oCMenu.level[1].offsetY=0;
   oCMenu.level[1].borderClass="clLevel1border";


   //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
   oCMenu.level[2]=new cm_makeLevel(); //Add this for each new level (adding one to the number)
   oCMenu.level[2].width=150;
   oCMenu.level[2].height=20;
   oCMenu.level[2].offsetX=0;
   oCMenu.level[2].offsetY=0;
   //oCMenu.level[2].regClass="clLevel2"
   //oCMenu.level[2].overClass="clLevel2over"
   //oCMenu.level[2].borderClass="clLevel2border"


   /******************************************
   Menu item creation:
   myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
   *************************************/
   oCMenu.makeMenu('top0','','&nbsp;Home','/','');
   	
   oCMenu.makeMenu('top1','','&nbsp;Pictures','/');
   	oCMenu.makeMenu('sub10','top1','Mikayla','#');
   	   oCMenu.makeMenu('sub110','sub10','2001','#');
      		oCMenu.makeMenu('sub210','sub110','July 2001','/gappa_pics.html');
      		oCMenu.makeMenu('sub211','sub110','October 2001 ','/mikayla2001Oct.html');
      		oCMenu.makeMenu('sub212','sub110','November 2001 ','/mikayla2001Nov.html');
      		oCMenu.makeMenu('sub213','sub110','Thanksgiving 2001 ','/mikayla2001Thanks.html');
      		oCMenu.makeMenu('sub214','sub110','Christmas 2001 ','#');
      		   oCMenu.makeMenu('sub340','sub214','At Home ','/christmas/mikayla2001.html');
      		   oCMenu.makeMenu('sub341','sub214','At the Clarks ','/christmas/mikayla2001hubb.html');
      		   oCMenu.makeMenu('sub342','sub214','In California ','/christmas/mikayla2001CA.html');
         oCMenu.makeMenu('sub111','sub10','2002','#');
      		oCMenu.makeMenu('sub215','sub111','1st Birthday Pictures ','/first_bday.html');
      		oCMenu.makeMenu('sub216','sub111','February 2002 ','/mikayla2002Feb.html');
            oCMenu.makeMenu('sub217','sub111','Early Spring 2002 ','/mikaylamarapr2002.html');
            oCMenu.makeMenu('sub218','sub111','May 2002 Pictures ','/mikaylamay2002.html');
            oCMenu.makeMenu('sub219','sub111','Mothers Day 2002 ','/mikaylamothersday2002.html');
            oCMenu.makeMenu('sub220','sub111','June 2002 Pictures ','/mikaylajune2002.html');
            oCMenu.makeMenu('sub221','sub111','The Zoo &amp; Aquarium','/mikaylazoo_aqu2002.html');
            oCMenu.makeMenu('sub222','sub111','Half Moon Bay July #1 ','/mikaylahmb_jul2002.html');
            oCMenu.makeMenu('sub223','sub111','Half Moon Bay July #2 ','/mikaylahmb2_jul2002.html');
            oCMenu.makeMenu('sub224','sub111','July &amp; August 2002 ','/mikaylajulaug2002.html');
         oCMenu.makeMenu('sub112','sub10','2003','#');
            oCMenu.makeMenu('sub225','sub112','Building a Snowman','/snowman112003.htm');
            oCMenu.makeMenu('sub226','sub112','November Snow','/nov2003_snow1.htm');
      oCMenu.makeMenu('sub11','top1','Kiran','/kiran_born.html');
   	oCMenu.makeMenu('sub13','top1','Camano Island','/camano.htm');
      oCMenu.makeMenu('sub14','top1','2004','#');
         oCMenu.makeMenu('sub227','sub14','Watch the girls grow','/girls2004.html');
         oCMenu.makeMenu('sub228','sub14','Halloween 04','/halloween2004.html');
      oCMenu.makeMenu('sub15','top1','2005','#');
         oCMenu.makeMenu('sub229','sub15','Snowman of 05','/snowmanjan2005.html');
         oCMenu.makeMenu('sub230','sub15','The New House','/newhouse05.html');
         oCMenu.makeMenu('sub231','sub15','Fall','/fall05.html');
         oCMenu.makeMenu('sub232','sub15','Christmas 0f 2005','#');
            oCMenu.makeMenu('sub1101','sub232','Christmas Pictures','/christmas05.html');
            oCMenu.makeMenu('sub1102','sub232','The Trip to the Aquarium','/christmasaqu05.html');
   	oCMenu.makeMenu('sub16','top1','2006','#');
			oCMenu.makeMenu('sub160','sub16','Redoing the Backyard','/06backyard.html');
			oCMenu.makeMenu('sub161','sub16','The BBQ','#');
				oCMenu.makeMenu('sub1610','sub161','Picture Page #1','/bbq06page1.html');
				oCMenu.makeMenu('sub1611','sub161','Picture Page #2','/bbq06page2.html');				
			oCMenu.makeMenu('sub163','sub16','Halloween Party','#');
				oCMenu.makeMenu('sub1630','sub163','The Party','/halloween06.html');
				oCMenu.makeMenu('sub1631','sub163','Pumpkin Stems','/halloween06pumpkinstem.html');
				oCMenu.makeMenu('sub1632','sub163','Costume Shoot #1','/halloween06costumes01.html');
				oCMenu.makeMenu('sub1633','sub163','Costume Shoot #2','/halloween06costumes02.html');
			oCMenu.makeMenu('sub164','sub16','Christmas','/christmas0601.html');
		oCMenu.makeMenu('sub17','top1','2007','#');
			oCMenu.makeMenu('sub170','sub17','June at Grandma\'s','/june07grandma.html');
   oCMenu.makeMenu('top2','','&nbsp;Recipies','#');
   	oCMenu.makeMenu('sub21','top2','Search','/recipe_search.html');
   	oCMenu.makeMenu('sub22','top2','View List','/cgi-bin/list_recipes.cgi');
   	oCMenu.makeMenu('sub23','top2','Send One','/recipe_send.html');

   oCMenu.makeMenu('top3','','&nbsp;Contact Us','#');
   	oCMenu.makeMenu('sub30','top3','Email Doug','mailto:doug@dougis.com');
   	oCMenu.makeMenu('sub31','top3','Email Leigh','mailto:leigh@dougis.com');
   	oCMenu.makeMenu('sub32','top3','Directions','/house_map.html');

   oCMenu.makeMenu('top4','','&nbsp;Links','#');
   	oCMenu.makeMenu('sub40','top4','Doug' + "'" + 's Work','http://www.trackmaster.com');
   	oCMenu.makeMenu('sub41','top4','Yahoo','http://www.yahoo.com/');
   	//oCMenu.makeMenu('sub43','top4','Hubbard Building','http://www.hubbard-building.com/');
   //Leave this line - it constructs the menu
   oCMenu.construct();
}

// Prints out the Bottom of every web page
function PrintFooter(TableColor)
{
   if (TableColor == null)
   {
      TableColor = "#000000";
   }
   else
   {
      TableColor = "" + TableColor;
      if (TableColor.substr(0, 1) != "#")
      {
         TableColor = "#" + TableColor;
      }
      // At this point we should have a valid color (if one was passed in
      // Check the length to see
      if (TableColor.length != 7)
      {
         TableColor = "#000000";
      }
   }

   // Used for the Copyright Data
   var TodaysDate = new Date();
   var TodayYear = "" + TodaysDate.getYear();

   // Now lets see if we are on the Secure server
   var WhereareWe = self.location.href;
   var WebServerName = "";
   if (WhereareWe.substr(0, 5) == "https")
   {
      WebServerName = "http://" + self.location.hostname;
   }
   // Ok now we are ready to output the Data
   document.write('<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">');
   document.write('   <TR>');
   document.write('      <TD COLSPAN="2" HEIGHT=24 BGCOLOR="' + TableColor + '">');
   document.write('         <CENTER><A HREF="' + WebServerName + '/"><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF">');
   document.write('         <B>&#91;Home&#93;</B></FONT></A><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>');
   document.write('         - </B></FONT><A HREF="mailto:doug@dougis.com"><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>&#91;Email');
   document.write('         Doug&#93;</B></FONT></A><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>');
   document.write('         - </B></FONT><A HREF="mailto:leigh@dougis.com"><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>&#91;Email');
   document.write('         Leigh&#93;</B></FONT></A>');

   if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) 
   {
      var url=self.location.href;
      var title=self.document.title;

      document.write('<FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B> - </B></FONT><A HREF="javascript:window.external.AddFavorite(' + "'" + url + "'" + ', ' + "'" + title + "'" + ');" ');
      document.write('onMouseOver=" window.status=');
      document.write("'Add our site to your favorites!'; return true ");
      document.write('"onMouseOut=" window.status=');
      document.write("' '; return true ");
      document.write('"><FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>&#91;Add this page to your favorites&#93;</B></FONT></a>');
   }
   else 
   {
      var msg = '<FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B> - </B></FONT>&#91;Don' + "'" + 't forget to bookmark us';
      if(navigator.appName == "Netscape") 
      {
         msg += " (CTRL-D)";
      }
      document.write('<FONT SIZE="-1" FACE="Tahoma" COLOR="#FFFFFF"><B>' + msg + '&#93;</B></FONT></a>');
   }
   document.write('</CENTER>');

   document.write('      </TD>');
   document.write('   </TR>');

   document.write('   <TR BGCOLOR="#FFFFFF">');
   document.write('      <TD WIDTH="100%" COLSPAN=\"2\" HEIGHT=24>');
   document.write('         <CENTER>&nbsp;<FONT SIZE="-2" FACE="Tahoma"><B>This site requires JavaScript enabled.</B></FONT></CENTER>');
   document.write('      </TD>');
   document.write('   </TR>');
   document.write('</TABLE>');
   // Added for Google Analytics on each page DMH 11/01/2006
   _uacct = "UA-519186-1";
   urchinTracker();
}

// Prints out the Top of every web page
function PrintHeader(HeaderText, TableColor)
{

   // Now lets see if we are on the Secure server
   var WhereareWe = self.location.href;
   var WebServerName = "";
   var IsSecure = false;
   if (WhereareWe.substr(0, 5) == "https")
   {
      WebServerName = "http://" + self.location.hostname;
      IsSecure = true;
   }

   // Now validate the header text (printed in the Table element)
   if (HeaderText == null)
   {
      HeaderText = self.document.title;
   }
   else
   {
      HeaderText = "" + HeaderText;
      if (HeaderText.length < 5)
      {
         HeaderText = self.document.title;
      }
   }

   
   // Next validate the Table color
   if (TableColor == null)
   {
      TableColor = "#000000";
   }
   else
   {
      TableColor = "" + TableColor;
      if (TableColor.substr(0, 1) != "#")
      {
         TableColor = "#" + TableColor;
      }
      // At this point we should have a valid color (if one was passed in
      // Check the length to see
      if (TableColor.length != 7)
      {
         TableColor = "#000000";
      }
   }
   var MenuColor = "#CC00FF";
   document.write('<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>');
   // At this point we have defined all the params Lets print out the Header
   document.write('<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">' + "\n");
   document.write('   <TR>' + "\n");
   document.write('      <TD HEIGHT=25>' + "\n");
   document.write('      </TD>' + "\n");
   document.write('   </TR>' + "\n");
   document.write('</TABLE>' + "\n");

   PrintMenus();

   document.write('<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%">' + "\n");
   document.write('   <TR>' + "\n");
   document.write('      <TD VALIGN=MIDDLE BGCOLOR="' + TableColor + '">' + "&nbsp;<BR>\n");
   document.write('         <CENTER><FONT SIZE="+2" FACE="Tahoma" COLOR="#FFFFFF"><B>' + HeaderText + '</B></FONT>&nbsp;<BR>&nbsp;</CENTER>' + "\n");
   document.write('      </TD>' + "\n");
   document.write('   </TR>' + "\n");
   document.write('</TABLE>' + "\n");
}

function ImageObject(file, width, height, caption)
{
   this.file = file;
   this.width = width;
   this.height = height;
   this.caption = caption;
}


function RandomPicture()
{
   var PicIndex = 0;
   var WorkString = '';

	if(document.cookie)
	{
		counter = 0;
		resultArr = document.cookie.split(";")
		while (counter < resultArr.length)
		{
			ValArray = resultArr[counter].split("=")
			if (ValArray[0].indexOf(cookie_name) >= 0)
			{
				PicIndex = parseInt(ValArray[1]) + 1;
				if (PicIndex > (PicArray.length - 1))
				{
               PicIndex = 0;
				}
            counter = resultArr.length;
			}
			counter++
      }
   }
   document.cookie=cookie_name+"=" + PicIndex + "; path=/; expires=" + CookieExpires;
   var imgText = generateImageHTML(PicIndex);
   var WorkImage = PicArray[PicIndex];
   WorkString = '<div align="center" id="randImage">' +  imgText + '</div>';
   WorkString += '<div align="center"><P><FORM><INPUT TYPE="button" VALUE="<< Previous Picture" onclick="MovePicture(-1)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<INPUT TYPE="button" VALUE="Next Picture >>" onclick="MovePicture(1)"></FORM></div>';
   document.write(WorkString);
   //setInnerHTML("randImage", imgText);
}

function PreviousPicture()
{
	if(document.cookie)
	{
		counter = 0;
		resultArr = document.cookie.split(";")
		while (counter < resultArr.length)
		{
			ValArray = resultArr[counter].split("=")
			if (ValArray[0].indexOf(cookie_name) >= 0)
			{
				PicIndex = parseInt(ValArray[1]) - 2;
				if (PicIndex < 0)
				{
               PicIndex += PicArray.length;
				}
            counter = resultArr.length;
			}
			counter++
      }
   }
   document.cookie=cookie_name+"=" + PicIndex + "; path=/; expires=" + CookieExpires;
   //location.reload(true);
   var imgText = generateImageHTML(PicIndex);
   setInnerHTML("randImage", imgText);
}

function MovePicture(howMany)
{
   var PicIndex = 0;
	if(document.cookie)
	{
		counter = 0;
		resultArr = document.cookie.split(";")
		while (counter < resultArr.length)
		{
			ValArray = resultArr[counter].split("=")
			if (ValArray[0].indexOf(cookie_name) >= 0)
			{
            PicIndex = parseInt(ValArray[1]) + howMany;
            if (PicIndex < 0)
            {
               PicIndex += PicArray.length;
            }
            else if (PicIndex > (PicArray.length - 1))
            {
               PicIndex = 0;
            }
             counter = resultArr.length;
			}
			counter++
      }
   }
   document.cookie=cookie_name+"=" + PicIndex + "; path=/; expires=" + CookieExpires;
   //location.reload(true);
   var imgText = generateImageHTML(PicIndex);
   setInnerHTML("randImage", imgText);
}

// used to set the Inner HTML on an object
function setInnerHTML(whichNode, theHTML)
{
   if (isIE5 || isW3C)
   {
      if (document.getElementById(whichNode) && document.getElementById(whichNode).innerHTML)
      {
         document.getElementById(whichNode).innerHTML = theHTML;
      }
   }
   else if (isIE4)
   {
      if (document.all(whichNode) && document.all(whichNode).innerHTML)
      {
         document.all(whichNode).innerHTML = theHTML;
      }
   }
}


// used to generate the HTML text for the passed in image, which will then be set to the appropriate div element
function generateImageHTML(whichImageOffset)
{
   var imageText = "";
   // lets first do some checking on the Offset
   if (whichImageOffset < 0)
   {
      whichImageOffset = (PicArray.length - 1);
   }
   else if (whichImageOffset > (PicArray.length - 1))
   {
      whichImageOffset = 0;
   }
   var WorkImage = PicArray[whichImageOffset];
   imageText = '<img src="' + WorkImage.file + '" width="' + WorkImage.width + '" height="' + WorkImage.height + '" alt=""><P><font size="+1">' + WorkImage.caption + '</font>';
   return(imageText);   
}
<!-- //end hide -->
