$(document).ready(function(){
	
	$('.addtocart').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/addtocart_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/addtocart.jpg'});             }
	);
	
	$('.secondtime').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/secondtime_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/secondtime.jpg'});             }
	);
	
	$('.add').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/add_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/add.jpg'});             }
	);
	
	$('.register').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/register_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/register.jpg'});             }
	);
	
	$('.viewcart').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/viewcart_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/viewcart.jpg'});             }
	);
	
	$('.submit').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/submit_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/submit.jpg'});             }
	);
	
	$('.logout').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/logout_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/logout.jpg'});             }
	);
	
	$('.sendmyinfo').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/sendmyinfo_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/sendmyinfo.jpg'});             }
	);
	
	$('.login').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/login_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/login.jpg'});             }
	);
	
	$('.search').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/search_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/search.jpg'});             }
	);
	
	$('.viewallusers').hover(
		function(){ // Change the input image's source when we "roll on"
			$(this).attr({ src : '_img/_buttons/viewallusers_over.jpg'});
		},
		function(){ // Change the input image's source back to the default on "roll off"
			$(this).attr({ src : '_img/_buttons/viewallusers.jpg'});             }
	);

});