$(document).ready(function () {
//set rollover functionality for inputs globally
	$("input[type=image]").mouseover(function(){
    	if ($(this).attr("src"))
        	$(this).attr("src",$(this).attr("src").replace('.gif','_hover.gif'));
        });

	$("input[type=image]").mouseout(function(){
    	if ($(this).attr("src"))
            $(this).attr("src",$(this).attr("src").replace('_hover.gif','.gif'));
        });
});