//run masonry when page first loads
$(window).load(function() {
		$('#wrapper').masonry({ singleMode: true }); 
	});
	//run masonry when window is resized
//		$(window).resize(function() {
//		$('#wrapper').masonry();
//});


$(window).ready(function(){
    $(".colsearch").hover(function() {
    $(this).stop().animate({ backgroundColor: "#E4EFF5"}, 200);
},function() {
    $(this).stop().animate({ backgroundColor: "white"}, 400);
});

 $('.comment').addClass('col');
var col = $('.col', '#wrapper');

    col.hover(function() {
    $(this).stop().animate({ backgroundColor: "#E4EFF5"}, 200);
},function() {
    $(this).stop().animate({ backgroundColor: "white"}, 400);
});

$("#menu .top").hover(function(){
 	$(this).next(".bot").slideDown(200).siblings(".bot").slideUp(400);
});
$("#menu").mouseleave(function(){
	$(".bot").slideUp(400);
});

$("#rss img").hover(function(){
	jQuery(this).stop().animate({width: "30px", height: "30px", left:"0", top:"-5"}, 100);
}, function() {
	jQuery(this).stop().animate({width: "25px", height: "25px",left:"0", top:"0"}, 200);
});

});


//$(window).ready(function(){
//    $("#menu_inside").hover(function() {
//    $("body").stop().animate({ backgroundColor: "#E4EFF5"}, 400);
//},function() {
//    $("body").stop().animate({ backgroundColor: "#E4EFF5"}, 400);
//});
//
//});


