<!--
//Edit this line to list all of your background images
var feature_headline = new Array();
var feature_text = new Array();
var feature_pic = new Array();

feature_headline[0] = "May session starting soon!";
feature_text[0] = "Sign up deadline is April 27th. Classes start on May 9th, 2007. <a href='#'>Learn More ></a>";
feature_pic[0] = "images/pine_cone.gif";
feature_headline[1] = "White Water Rafting Adventure";
feature_text[1] = "Take a wild ride on a expedition of a lifetime. Learn survival and wilderness skills on this week long adventure. <a href='#'>Learn More ></a>";
feature_pic[1] = "images/paddles.gif";
feature_headline[2] = "Unity Centre for the Performing Arts";
feature_text[2] = "The Unity Centre for the Performing Arts is located at 42 Depot Street (off Route 202) in Unity, Maine. <a href='#'>Learn More ></a>";
feature_pic[2] = "images/mandolin.gif";
feature_headline[3] = "Unity Students to Host Eco Challenge";
feature_text[3] = "On Sat., April 21, members of the Unity College Outing Club will host an Eco Challenge adventure race in Unity, Maine. <a href='#'>Learn More ></a>";
feature_pic[3] = "images/compass.gif";

function rotate_feature()
{
//This line picks an image at random from the list you entered above
var randNumValue = (Math.round(Math.random()*(feature_pic.length-1)));
var headline=feature_headline[randNumValue];
var text=feature_text[randNumValue];
var bgimage=feature_pic[randNumValue];

//This line applies the background image to your rotating_image
document.getElementById("feature_headline").innerHTML = headline;
document.getElementById("feature_text").innerHTML = text;
document.getElementById("feature_bottom_image").style.backgroundImage = "url('" + bgimage + "')";
}

//window.onload = rotate_feature;


function rotate_feature_load()
{
	window.onload = rotate_feature;
}

-->