jsSite = {
	init: function () {
		$('img[width=100]').each(function () {
			var orig = $(this).attr('src');
			var filename = orig.substr(orig.lastIndexOf('/') + 1);
			var newSource = orig.substr(0, orig.lastIndexOf('/') + 1) + 'bw_' + filename;
			$(this).attr('data-original', orig).attr('src', newSource);
			$(this).attr('data-bw', newSource);

			$(this).mouseover(function (e) {
				var img = $(e.target);
				console.log(img);
				$(img).attr('src', $(img).data('original'));
			});

			$(this).mouseout(function (e) {
				var img = $(e.target);
				console.log($(img).data('bw'));
				$(img).attr('src', $(img).data('bw'));
			})
		});
	},

	eoo: true
};
$(document).ready(jsSite.init);
