function initThumbs()
{
	$('#main ul.itemlist li').mouseover(
		function()
		{
			var op = $('.descr',this).css("opacity");
			speed = showspeed * op;

			$(this).stop();
			$('img',this).stop();
			$('.title',this).stop();
			$('.descr',this).stop();
			//$(this).animate( { height: '170' }, speed );
			$('img',this).animate( { width: '425', height: '170',top:'-40' }, speed );
			$('.title',this).animate( { opacity:0 }, speed );
			$('.descr',this).animate( { opacity:0 }, speed );
			return false;
		}
	);
	$('#main ul.itemlist li').mouseout(
		function()
		{
			var op = $('.descr',this).css("opacity");
			speed = hidespeed - ( hidespeed * op );

			$(this).stop();
			$('img',this).stop();
			$('.title',this).stop();
			$('.descr',this).stop();
			//$(this).animate( { height:90 }, speed );
			$('img',this).animate( { width:225,height:90,top:'0' }, speed );
			$('.title',this).animate( { opacity: 1 }, speed );
			$('.descr',this).animate( { opacity: 1 }, speed );
			return false;
		}
	);
$(window).unload(function() {
	$('#main ul.itemlist li img').css( { width:225,height:90,top:'0' } );
	$('#main ul.itemlist li .title').css( { opacity:1 } );
	$('#main ul.itemlist li .descr').css( { opacity:1 } );
});


}

showspeed = 800;
hidespeed = 800;

$(document).ready
(
	function()
	{
		initThumbs();
	}
);