$(document).ready(function() {
    
    $('.f-item').each(function () {
	  var $span = $('> div.f-info', this);
	  $(this).hover(function () {
	    $span.stop().animate({top:'9px','height':'180px'},{queue:false,duration:180});
	  }, function () {
	    $span.stop().animate({top:'206px','height':'43px'},{queue:false,duration:180});
	  });
	});
	
$('.ishow').colorbox();
$("a[rel='gal']").colorbox({current:'{current} из {total}',transition:'fade'});

//$('#twitter').tweetable({username: 'rifflog', time: true, limit: 3});

if ($.browser.msie && $.browser.version.substr(0,1)<7) {

	$("#sidebar").height($(window).height());
	$(window).resize(function  () {  //Each time the viewport is adjusted/resized, execute the function
       $("#sidebar").height($(window).height());
    });

}




});


