/**
 * Frontend page JS script
 *
 * Project: Tender.pro
 * File: catalogue.js
 *
 * @author AltSolution
 * @package js
 */

$(document).ready(function(){
	
	var timer = 0;
	
	$('.catItemLink').click(function() {	
		$(this).parent().children('.catItemSub').show();
		$(this).hide();
		return false;
	});
	/*
	$('.catItem').hover(
		function(){					
			var elem = $(this);	
			timer = setTimeout( function (){	
			elem.children().children('.catsub .catItemSub').show();	
			elem.children().children('.catsub .catItemLink').hide();
			}, 3000 );  *//*  set timer  in mlSecond  *//*
		},
		function(){				
			clearTimeout(timer);			
		}
	);
	*/	
});

