/*
    @file: base.js
    @author: Eugene Kuzmin
*/

$(document).ready(function() {
	
	$('#portfolio li').mouseover(function(){
		topY = $(this).find('span').height();
		topY = '-' + topY + 'px';
		$(this).find('a > img').stop().animate({marginTop: topY}, 500).next('span').stop().fadeTo("slow", 1.0);
	});
	$('#portfolio li').mouseout(function(){
		$(this).find('a > img').stop().animate({marginTop: 0}, 500).next('span').stop().fadeTo("slow", 0.0);;
	});
	
	$.superbox();
	
	ODKL.init();
	
});


function showSmiles() {
    $('#smilesBlock').toggle("slow");
}
