﻿$(document).ready(function() {
        //setup all the other hover states
	    $.each($("input"), function(i, val)
	    {
	        var tp = $(this).attr("type");
		    if(tp=='image')
		    {
    		
			    $(this).mouseenter(function()
			    {
				    $(this).attr("src",$(this).attr("src").replace(".png","_over.png"));
			    });
			    $(this).mouseleave(function()
			    {
				    $(this).attr("src",$(this).attr("src").replace("_over.png",".png"));
			    });
			    }
	    });
        
        
});

	    
