$(document).ready(function(){
	function reverse_str(str){
		str = str.split("");
		str = str.reverse();
		str = str.join("");
		return str;
	}	
	$(".roll_image").mouseover(function(){
		var img_src = $(this).attr("src");
		img_src = reverse_str(img_src);
		img_src = img_src.split(".");
		img_src_new = img_src[0]+'.llor_'+img_src[1];
		img_src_new = reverse_str(img_src_new);
		$(this).attr({src:img_src_new});
	});
	$(".roll_image").mouseout(function(){
		var img_src = $(this).attr("src");
		img_src = reverse_str(img_src);
		img_src = img_src.split(".");
		img_src[1] = img_src[1].replace(/llor_/, "");
		img_src_new = img_src[0]+'.'+img_src[1];
		img_src_new = reverse_str(img_src_new);
		$(this).attr({src:img_src_new});
	});
});