
function button_hover(button_obj)
{
	var element = document.getElementById(button_obj);
	if(button_obj == "button1")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button11.jpg)";
	}
	else if(button_obj == "button2")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button21.jpg)";
	}
	else if(button_obj == "button3")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button3.jpg)";
	}
	else if(button_obj == "button4")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button4.jpg)";
	}
	else if(button_obj == "button5")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button5.jpg)";
	}
	else if(button_obj == "button6")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/dark_green_button6.jpg)";
	}
	else
	{
		element.style.backgroundImage = "url(http://www.kctechnologee.com/dark_green_button.jpg)";
	}

	element.style.cursor = 'pointer';
}


function button_leave(button_obj)
{
	var element = document.getElementById(button_obj);
	if(button_obj == "button1")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button11.jpg)";
	}
	else if(button_obj == "button2")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button21.jpg)";
	}
	else if(button_obj == "button3")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button3.jpg)";
	}
	else if(button_obj == "button4")
	{
	element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button4.jpg)";
	}
	else if(button_obj == "button5")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button5.jpg)";
	}
	else if(button_obj == "button6")
	{
		element.style.backgroundImage = "url(http://www.christianapp.org/wp-content/uploads/2010/07/light_green_button6.jpg)";
	}
	else
	{
		element.style.backgroundImage = "url(http://www.kctechnologee.com/light_green_button.jpg)";
	}
}

function gotopage(button_id)
{
	if(button_id == "button1")
	{
		document.location = "https://salsa.wiredforchange.com/o/5994/p/salsa/web/common/public/content?content_item_KEY=8845";
	}
	else if(button_id == "button2")
	{
		document.location = "https://salsa.wiredforchange.com/o/5994/p/salsa/web/common/public/content?content_item_KEY=8845";
	}
	else if(button_id == "button3")
	{
		document.location = "http://christianapp.org/vol/";
	}
	else if(button_id == "button4")
	{
		document.location = "http://support.christianapp.org/p/salsa/web/common/public/signup?signup_page_KEY=6022";
	}
	else if(button_id == "button5")
	{
		document.location = "http://www.christianapp.org/enews-and-updates/";
	}
	else if(button_id == "button6")
	{
		document.location = "http://www.christianapp.org/about/corporate-caring-partners/";
	}
	else
	{
		document.location = "http://www.christianapp.org";
	}
}


