jQuery(function($) {
	var postfix = '_on';
	$('#gnav a img').not('[src*="'+ postfix +'."]').each(
		function() {var img = $(this);var src = img.attr('src');
		var src_on = src.substr(0, src.lastIndexOf('.'))+ postfix+ src.substring(src.lastIndexOf('.'));
		$('<img>').attr('src', src_on);
		img.hover(
			function() {img.attr('src', src_on);}, 
			function() {img.attr('src', src);});}
			);

	$('#right p a img.ro').not('[src*="'+ postfix +'."]').each(
		function() {var img = $(this);var src = img.attr('src');
		var src_on = src.substr(0, src.lastIndexOf('.'))+ postfix+ src.substring(src.lastIndexOf('.'));
		$('<img>').attr('src', src_on);
		img.hover(
			function() {img.attr('src', src_on);}, 
			function() {img.attr('src', src);});}
			);

	$('.box1 p.btn a img').not('[src*="'+ postfix +'."]').each(
		function() {var img = $(this);
		var src = img.attr('src');
		var src_on = src.substr(0, src.lastIndexOf('.'))+ postfix+ src.substring(src.lastIndexOf('.'));
		$('<img>').attr('src', src_on);
		img.hover(
			function() {img.attr('src', src_on);}, 
			function() {img.attr('src', src);});}
			);
		});

	$(function(){$("#contents #left ul li").mouseover(function(){this.style.backgroundColor = "#ECECE2";});$("#contents #left ul li").mouseout(function(){this.style.backgroundColor = "#fff";});});

