$(document).ready(function(){
    $('div.scrollable .items').innerfade({speed: 'slow', timeout: 7000, type: 'sequence', containerheight: '292px'});
    $('#search .search').focus(function(){
        ($(this).val()=='search'?$(this).val(''):'');
    });
    $('#search .search').blur(function(){
        ($(this).val()==''?$(this).val('search'):'');
    });
    $('.box-b .content a').mouseover(function(){
        $(this).children('span.link').hide();
        $(this).children('span.hover').show();
    });
    $('.box-b .content a').mouseout(function(){
        $(this).children('span.link').show();
        $(this).children('span.hover').hide();
    });

    $('.box-b .content a').children('span.hover').hide();
});

function getQuote()
{
	var mtQuotes = new Array();
	
	mtQuotes[0] = "Do not follow where the path may lead. Go instead where there is no path and leave a trail.";
	mtQuotes[1] = "Mountaintops inspire leaders but valleys mature them.";
	mtQuotes[2] = "Success is simple. Do what's right, the right way, at the right time.";	
	mtQuotes[3] = "Synergy - the bonus that is achieved when things work together harmoniously.";	
	mtQuotes[4] = "The achievements of an organization are the results of the combined effort of each individual.";
	mtQuotes[5] = "Perseverance is not a long race: It is many short races, one after another.";
		
	var Names = new Array();

	Names[0] = "Harold R. McAlindon";
	Names[1] = "Winston Churchill ";
	Names[2] = "Arnold H. Glasgow ";
	Names[3] = "Mark Twain";
	Names[4] = "Vince Lombardi";
	Names[5] = "Walter Elliot";
	
	var randValue = Math.floor(Math.random() * mtQuotes.length);
	document.write('<div class="banner-text">&#8220;' + mtQuotes[randValue] + '&#8221; <p class="banner-name"> &#45;' + Names[randValue] +'</p></div>')
}


function getProfile()
{
	var fullNames = new Array();
	
	//fullNames[0] = "Carl C. Peterson";
	fullNames[0] = "Chad B. Hoes";
	//fullNames[2] = "Jennifer Richardson";
	fullNames[2] = "Lisa L. Davidson";
	fullNames[3] = "Erwin Almonte";
	fullNames[1] = "Theron R. Holladay";
	fullNames[4] = "Christy Nigro";
	
	var Bio = new Array();

	//Bio[0] = "I attended a recent volunteer appreciation day with Meals on Wheels, and it was encouraging to see so many people who are willing to serve others in their time of need.  Volunteering with Meals on Wheels has touched my heart.  I have realized that every encounter with another person is a chance to say, &#39;Hello, I see you, and I care.&#39; My experience with Meals on Wheels has encouraged me to continually be aware of the kind of impact we can have on one another.";
	Bio[0] = "I enjoy spending time with my family and engaging with them in active, outdoor activities. My oldest son (five years old) and I recently went running in a fun run. He loves running and loves participating in events like a big kid. I&#39;m blessed to be able to have moments like these with my son when I see his face light up-I know this might be one of those moments he remembers for a long time.";
	//Bio[2] = "My son's first tee ball game was a learning experience for both of us. I laughed when the children would forget to drop the bat as they hit the ball or when they'd take off to 3rd base instead of 1st. They were so cute! One day they'll understand the rules of the game. For now, it's nice to see that learning is not about feeling bad when you make mistakes. A good coach will put his arm around your shoulder and cheer you on as you turn around to go back in the right direction.";
	Bio[2] = "I grew up around here, and it was really great to get to take my daughter sightseeing around New York. Our favorite place to visit was Ellis Island, where so many people in America can trace back their roots and family history. After visiting Ellis Island we arrived at my niece&#39;s wedding, where my daughter met family members she&#39;d never even seen before. It was a wonderful homecoming trip in so many ways. We came away with the sense that family and roots are important. They teach us who we are and where we come from, but more so, they teach us of the kind of courage and greatness we are capable of. ";
	Bio[3] = "My wife ASH is an artist and entering her world of art with her has been eye-opening for me.  She has helped me understand over the past few years that for her, painting has a deeper meaning than just an image; it is a way for her to express her feelings and emotions on paper and canvas. Sharing her paintings with me and the world is like allowing us to look into her soul. I feel alive when I see her joy and passion as she paints, expressing a part of her heart with each brush stroke. ";
	Bio[1] = "I love traveling and spending time with family, sharing with them the natural wonders God has displayed for us to see. Recently, we got to visit Yellowstone as a family. It was simply breathtaking. Lake Yellowstone and the surrounding areas brimmed with life and color and beauty. We spent time fishing on the lake, enjoying the peacefulness of the water and each other&#39;s company. There was an unexplainable feeling of being alive. We were simply in awe of the workmanship of God&#39;s hands, and getting to share this with my children was a moment I will forever remember.";
	Bio[4] = "In our fast paced world spending quality time with my kids can be far and few between.  With them growing up so fast and all going in different directions, spending a weekend together all in the same place is a rarity.  This past Fourth of July I had the opportunity to experience many 'firsts' with my kids. We spent the weekend camping and tubing at a lake with good friends.   For the kids, it was their first time on a boat and first time camping in an RV.  For all of us, it was the first time tubing behind a boat.  Experiencing 'firsts' with my kids is an exciting privilege; I continue to be amazed everyday with the blessings that come with watching my kids experiencing new things."

	var Position = new Array();

	//Position[0] = "President and CEO";
	Position[0] = "Portfolio Manager/Analyst";
	//Position[2] = "Director of Corporate Administration, CPA and Chief Compliance Officer";
	Position[2] = "Principal and Chief Operating Officer";
	Position[3] = "Director of Sales/Marketing";
	Position[1] = "President and Chief Executive Officer, CFA";
	Position[4] = "Client Reporting";
	
	var Image = new Array();

	//Image[0] = "images/Clay.jpg";
	Image[0] = "images/Chad.jpg";
	//Image[2] = "images/Chad.jpg";
	Image[2] = "images/lisa2.jpg";
	Image[3] = "images/erwin.jpg";
	Image[1] = "images/Theron2.jpg";
	Image[4] = "images/Christy-Kids.jpg";
	
	var randValue = Math.floor(Math.random() * Bio.length);
	document.write('<div class="left box-a"><div class="top"></div><div class="content"><div class="title"><h2>' + fullNames[randValue] + '</h2>' + Position[randValue] +'</div><div class="body"><p><img alt="photo - Erwin Almonte" src="' + Image[randValue] + '" class="left" />' + Bio[randValue] + '</p></div></div><div class="bottom"></div></div>')
}

