var keeper;
$("#mainRightButton1").hover(
function() {
keeper = $(this).attr("src");
var keeper2 = keeper.replace("img","txt");
$(this).attr("src",keeper2);
},
function() {$(this).attr("src",keeper);}
);
$("#mainRightButton2").hover(
function() {
keeper = $(this).attr("src");
var keeper2 = keeper.replace("http://i791.photobucket.com/albums/yy194/GopheriGEM/pes_maroon_img_zps10b17630.png","http://i791.photobucket.com/albums/yy194/GopheriGEM/pes_gold_txt_zps96347d4e.png");
$(this).attr("src",keeper2);
},
function() {$(this).attr("src",keeper);}
);
$("#mainRightButton3").hover(
function() {
keeper = $(this).attr("src");
var keeper2 = keeper.replace("http://i791.photobucket.com/albums/yy194/GopheriGEM/insulin_maroon_img_zpsfc8c87cc.png","http://i791.photobucket.com/albums/yy194/GopheriGEM/insulin_gold_txt_zps6a94b6c8.png");
$(this).attr("src",keeper2);
},
function() {$(this).attr("src",keeper);}
);
}); //ends .ready function