$(document).ready(function()	{

		$(".backgroundColorChange").hover(function() {
	
				$(this).attr("src","http://www.schnews.org.uk/images_main/buyNow_hover.gif");
				}, function() {
				$(this).attr("src","http://www.schnews.org.uk/images_main/buyNow.gif");
		});
		
		$(".navBar_item").hover(
		
				function()	{
					$(this).css('background-color', 'black');
				}, function()	{
					$(this).css('background-color', '#ff6600');				
		});
		
	
		
		
		$(".navBar_item").hover(
		
				function()	{
					$(this).css('color', 'white');
				}, function()	{
					$(this).css('color', 'black');				
		});
		
		$(".backIssue_image").hover(
		
				function()	{
					$(this).css('border', '2px solid #ff6600');
				}, function()	{
					$(this).css('border', '2px solid black');				
		});

		
		
		
		$("#show_hide_headlines").click(		function()	{
		
				if ($("#homepage_headlines").css('display') == "none")	{	$("#homepage_headlines").fadeIn("slow");	}
				else													{	$("#homepage_headlines").fadeOut("slow");	}
		
		}
		);
		
		$("#show_hide_headlines").click(		function(){ 
									
					if($(this).is(":contains('Show headlines...')")) {			$(this).text("Hide headlines...");		}
			else 	if($(this).is(":contains('Hide headlines...')")) {			$(this).text("Show headlines...");		}
					
			 }
					
		);
		
		$("#show_hide_headlines").click(		function(){ 
			
					if($(this).is(":contains('Show headlines...')")) {			$("#headline_container").css("height", '25px');		}
			else 	if($(this).is(":contains('Hide headlines...')")) {			$("#headline_container").css("height", 'auto');		}
					
			}
			
		);
		
		
		$("#contacts_title_image").hover(function() {
			
			$(this).attr("src","http://www.schnews.org.uk/images_main/contacts-button-mo.png");
			}, function() {
			$(this).attr("src","http://www.schnews.org.uk/images_main/contacts-button.png");
			
		});
		
		$("#indyMediaLink").hover(function() {
			
			$(this).attr("src","http://www.schnews.org.uk/images_main/imc-button-mo.png");
			}, function() {
			$(this).attr("src","http://www.schnews.org.uk/images_main/imc-button.png");
			
		});
	
		
});
