jQuery(document).ready(function() {
  jQuery('body.front #overlay').click(function() {
    window.location.href = jQuery("#goto-website").attr('href')
  })
});;
jQuery(document).ready(function() {
  jQuery.each(jQuery('#main-menu li'), function(index, item) {
    var title = jQuery(item).text().toLowerCase();
    jQuery(item).addClass(title);
  });
});;


jQuery(document).ready(function() {
// jQuery('.fb-like-box iframe').contents().find('#facebook').load(function() {
//     alert('iframe loaded');
//   }));
});
jQuery(document).ready(function() {
  jQuery("#block-block-4").click(function(e) {
    window.open('http://twitter.com/#!/dimitrivegas', '_blank');
  });
  jQuery("#block-block-4 .content").click(function(e) {
    e.stopPropagation();
  })
  
  jQuery("#block-block-5").click(function(e) {
    window.open('http://twitter.com/#!/officialikemike', '_blank');
  });
  jQuery("#block-block-5 .content").click(function(e) {
    e.stopPropagation();
  })
});;
function equalHeight(group) {
	var max = 0;
	group.each(function() {
		var h = jQuery(this).height();
		if(h > max) {
			max = h;
		}
	});
	group.height(max);
};
jQuery(document).ready(function() {
  jQuery('#logo').attr('href', '/news');
});

