function setClassBtn() {
	$(".setButton img, .setButton input, ul#localNav li a img, div#pageTitle p a img,table.inputList td img, ul.stepFlow a img, div#homeNav a img, div#pointSummary a img, ul#secondNav a img").each(function() {
		$(this).addClass("btn");
	});
}


function initsetButtonImages() {
	var image_cache = new Object();
	$("a img.btn").each(function(i) {
		$(this).hover(
			function() {
                            if (this.src.lastIndexOf('_o.') !== -1) {
                                return;
                            }
                            var dot = this.src.lastIndexOf('.');
                            this.src = this.src.substr(0, dot) + '_o' + this.src.substr(dot, 4);
                        },
			function() {
                            this.src = this.src.replace('_o.', '.');
                        }
		);
	});
}




$(document).ready(setClassBtn);
$(document).ready(initsetButtonImages);
