$(document).ready(function() {
//	initPager();
	$('.tevRows .cegCartCont:last').css("height", "200px");
	$('#tevRow0 a:not(:last), #tevRow1 a:not(:last)').hover(
		function() { $(this).parents('.cegCartCont').delay(400).animate({ height: 185 }); },
		function() { $(this).parents('.cegCartCont').stop(true, true).delay(500).animate({ height: 47 }); }
	);

	$("a.ceglistaA").fancybox({
		'centerOnScroll':	true,
		'titleShow'		:	false,
		'hideOnOverlayClick':true,
	});

	$(".searchInput").autocomplete( 'cegkereses/', { selectFirst: false, minChars: 1, max: 0 });
});

function initPager() {
	$('#tevPaginator span').click( function(index) {
    	showTevPage(index);
	});
	showTevPage(1);
}

function showTevPage(page) {
	$('.tevPages').hide();
	$('#tevPage_'+page).show();
}

