var headerImage=new Array(6);
headerImage[0]='younggirl';
headerImage[1]='youngboy';
headerImage[2]='teenagegirl';
headerImage[3]='man30s';
headerImage[4]='olderwoman';
headerImage[5]='olderman';

var headerHeader = new Array(6);
headerHeader[0] = "Inspiring Resources";
headerHeader[1] = "There is Hope";
headerHeader[2] = "Reaching Out";
headerHeader[3] = "Creative Workshops";
headerHeader[4] = "Hidden Gem";
headerHeader[5] = "Questions Answered";

var headerText=new Array(6);
headerText[3] = "It's amazing what happens when I take the time to sketch. It's like and hour goes by and I've forgotten what I was so anxious about.";
headerText[0] = "Mom and I sat and looked at books in the library for an hour. I even brought a couple kids books home.";
headerText[1] = "I didn't know what was wrong with me. But other kids in group felt the same way I did. It's nice to know I'm not alone.";
headerText[4] = "I never knew this place existed. I felt like there weren't any more answers. The ARC restored my hope.";
headerText[5] = "I attended one of the professional presentations the center offers. I was surprised at how much I learned about my wife's anxiety and the new treatments available.";
headerText[2]= "My friend found the center on the Web. We came together to the teen support group. I was really surprised to see a couple other people from my school.";

function newImage()
{

document.getElementById('headerImage').innerHTML = '<img src="images/' + headerImage[imageCount] + '.jpg" width="401" height="267" alt="Story Photo">';
document.getElementById('headerHeader').innerHTML = headerHeader[imageCount];
document.getElementById('headerText').innerHTML = "<p><strong>" + headerText[imageCount] + "</strong></p>";
imageCount++;
if (imageCount > 5) imageCount = 0;
setTimeout("newImage()", 8000);
}