$(document).ready(function(){
	
	
	
	
	$("a").click(function(){
		$(this).blur();
	});
	
	//When mouse rolls over
	$("#but1").mouseover(function(){
		$(this).stop().css("background-image","url(images/buttons/blueHover.gif)");
	});
	
	//When mouse is removed
	$("#but1").mouseout(function(){
		$(this).stop().css("background-image","url(images/buttons/blue.gif)");
	});
	
	//When mouse rolls over
	$("#but2").mouseover(function(){
		$(this).stop().css("background-image","url(images/buttons/purpleHover.gif)");
	});
	
	//When mouse is removed
	$("#but2").mouseout(function(){
		$(this).stop().css("background-image","url(images/buttons/purple.gif)");
	});
	
	//When mouse rolls over
	$("#but3").mouseover(function(){
		$(this).stop().css("background-image","url(images/buttons/redHover.gif)");
	});
	
	//When mouse is removed
	$("#but3").mouseout(function(){
		$(this).stop().css("background-image","url(images/buttons/red.gif)");
	});
	
	//When mouse rolls over
	 
	window.setInterval(function(){
		$("#but4").animate({opacity: 0.7}, 180) .animate({opacity: 1.0}, 180) .animate({opacity: 0.7}, 180) .animate({opacity: 1.0}, 180);
									   }, 7000);
	
	 
	//When mouse rolls over
	$("#but4").mouseover(function(){
		$(this).stop().css("background-image","url(images/buttons/greenHover.gif)");
	});
 

	
	//When mouse is removed
	$("#but4").mouseout(function(){
		$(this).stop().css("background-image","url(images/buttons/green.gif)");
	});
	
	 
	
});
