function setText(){

//This is where you set the Headline, subheadline and href links

var h1 = "Prayer Shawl Teaching Retreat"
var s1 = "Learn how to knit or crochet prayer shawls at the Prayer Shawl Teaching Retreat on Feb. 11. "
var a1 = "http://www.lordoflife.org/prayershawl"

var h2 = "Souper Bowl of Caring"
var s2 = "It's time again to bring in cans of soup to donate to CROSS, our local foodshelf! Bring soup through Feb. 12!"
var a2 = "http://www.lordoflife.org/souperbowlofcaring"

var h3 = "GFF Hits the Slopes"
var s3 = "All families are welcome as we hit the slopes of Wild Mountain on Saturday, Feb. 25."
var a3 = "http://www.lordoflife.org/gff"

var h4 = "Building Updates"
var s4 = "Construction of our building expansion is underway. Check for regular updates and photos..."
var a4 = "http://www.lordoflife.org/build"

var h5 = "Volunteer at Hope Lodge"
var s5 = "Help prepare and serve dinner at Hope Lodge, a home away from home for adult cancer patients and families."
var a5 = "http://www.lordoflife.org/hopelodge"

var h6 = "Club 56 Tubing"
var s6 = "5th and 6th graders go tubing at Elm Creek on Friday, Feb. 24. Bring a friend!"
var a6 = "http://www.lordoflife.org/club56"

var h7 = "Emergency Foodshelf Network"
var s7 = "Join in the next opportunity to serve at Emergency Foodshelf Network..."
var a7 = "http://www.lordoflife.org/efn"
//----------------------------------------------------------------
// ---------------Dont edit anything below here----------------

var a = $('pic').get('src');

switch(a){
case 'html/pic1.jpg':

$('headline').set('text' , h1);
$('subheadline').set('text', s1);
$('mylink').set('href' , a1 );
break;
case 'html/pic2.jpg':

$('headline').set('text' , h2);
$('subheadline').set('text' , s2);
$('mylink').set('href' , a2 );
break;
case 'html/pic3.jpg':

$('headline').set('text' , h3);
$('subheadline').set('text' , s3);
$('mylink').set('href' , a3 );
break;
case 'html/pic4.jpg':

$('headline').set('text' , h4);
$('subheadline').set('text' , s4);
$('mylink').set('href' , a4 );
break;
case 'html/pic5.jpg':

$('headline').set('text' , h5);
$('subheadline').set('text', s5);
$('mylink').set('href' , a5 );
break;
case 'html/pic6.jpg':

$('headline').set('text' , h6);
$('subheadline').set('text' , s6);
$('mylink').set('href' , a6 );
break;
case 'html/pic7.jpg':

$('headline').set('text' , h7);
$('subheadline').set('text' , s7);
$('mylink').set('href' , a7 );
break;

}
}

window.addEvent('domready', function() {
    setText();
})



