// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 8000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = '../images/makeawish.jpg';
Picture[2]  = '../images/UWComicPoster.jpg';
Picture[3]  = '../images/franklinschool.jpg';
Picture[4]  = '../images/cookoff.jpg';
Picture[5]  = '../images/unitedway.jpg';

// Specify the Captions...
// To add more captions, just continue
// the pattern, adding to the array below.
// To use fewer captions, remove lines
// starting at the end of the Caption array.
// Caution: The number of Captions *must*
// equal the number of Pictures!

Caption[1]  = "<strong>TMD Supports Make-A-Wish</strong><br /><br />John Marshall, partner; Frank Discenza, managing partner and past board chair of the Make-A-Wish Foundation (MAW) of CNY; and Diana Kanfer, principal and a current MAW board member, recently presented a special donation to Andrea Marshall, Director of Development at MAW. As the presenting sponsor of the Greater Syracuse Chamber of Commerce Economic Champions luncheon, TMD annually makes a donation to a local charity in honor of the event's award recipients.  The firm chose Make-A-Wish as this year's recipient.";
Caption[2]  = "<strong>TMD Employees Outdo Themselves – AGAIN!</strong><br /><br />TMD joined fundraising forces for the second year in a row with Dermody, Burke and Brown (DB&B) and bmc for this year's United Way of Central New York annual campaign. The three Franklin Square firms raised $37,355 exceeding last year's total by more than $11,000. TMD saw 100 percent participation among our workforce and raised $13,264 - an increase of more than 15 percent over last year's contributions!  Frank Discenza, TMD managing partner, was the vice chair of this year's United Way campaign.";
Caption[3] = "<strong>Backpack Bonanza at Franklin School</strong><br /><br />TMD employees delivered backpacks to students at Franklin Magnet School to help get their school year off to a positive start. The delivery included 30 backpacks; 50 books; craft supplies including construction paper, scissors, and glue sticks; a variety of school supplies including pencil cases, folders, notebooks, pencils, crayons, and colored pencils; a dry erase board and calendars for the teachers; healthy snacks; totes for storage; and rewards for student achievement including stickers and award certificates.";
Caption[4] = "<strong>TMD Takes Second at UW Cook-Off!!</strong><br /><br />TMD's culinary team took second place in the appetizer category for its Cash Cups – a unique Asian-inspired meatball - at the 6th Annual United Way Cook-off. The event attracted more than 600 people who sampled foods in a variety of categories and selected their favorites. Frank Discenza, vice chair for the 2008 United Way Campaign, presented the best in show awards.";
Caption[5]  = "<strong>United Way Community Campaign Exceeds Goal!</strong><br /><br />Thanks to the generosity of TMD’s employees and the leadership of United Way community campaign chair, Frank Discenza, the firm exceeded its goal for a 60% increase in giving from last year.  And the combined total with our partners Dermody, Burke & Brown and ParenteBeard came to $51,431! TMD partner, John Marshall, as well as representatives from Dermody, Burke & Brown and ParenteBeard delivered the check (in costume) as part of the UW's Walk The Talk - Halloween celebration.";

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}