
$(document).ready(function(){
	$(document).pngFix();

	$('#b_search').hover(
		function(){ $(this).attr('src', 'img/b_search1.gif'); },
		function(){ $(this).attr('src', 'img/b_search.gif'); }
	);

	$('.ml_item').hover(
		function(){ n = $(this).attr('num'); $(this).attr('src', 'img/ml'+n+'_1.gif'); },
		function(){ n = $(this).attr('num'); $(this).attr('src', 'img/ml'+n+'.gif'); }
	);
	$('.mt_item').hover(
		function(){ n = $(this).attr('num'); $(this).attr('src', 'img/m'+n+'_1.gif'); },
		function(){ n = $(this).attr('num'); $(this).attr('src', 'img/m'+n+'.gif'); }
	);

	$('.vac_name').click(
		function(){
			num = $(this).attr('num');
			$(this).hide();
			$('#vnh'+num).show();
			$('#vac_info'+num).show(500);
			return false;
	});
	
	$('.vac_name2').click(
		function(){
			num = $(this).attr('num');
			$(this).hide();
			$('#vn'+num).show();
			$('#vac_info'+num).hide(500);
			return false;
	});
	

	$('.obj_block').hover(
		function(){ n = $(this).attr('num'); $('#p'+n).show(); },
		function(){ n = $(this).attr('num'); $('#p'+n).hide(); }
	);



});



