var alterStoryTextSizeState = 0;
function alterStoryTextSize() {
    if ( alterStoryTextSizeState ) {
        jQuery('#content h1').each(function () { this.style.fontSize = '32px' });
        jQuery('#content h2').each(function () { this.style.fontSize = '16px' });
        jQuery('#content p, #content div').each(function () { this.style.fontSize = '12px' });
        alterStoryTextSizeState = 0;
    }
    else {
        jQuery('#content h1').each(function () { this.style.fontSize = '48px' });
        jQuery('#content h2').each(function () { this.style.fontSize = '24px' });
        jQuery('#content p, #content div').each(function () { this.style.fontSize = '16px' });
        alterStoryTextSizeState = 1;
    }
} 

jQuery(function () {
    if ( jQuery('#breaking_news_content').text() != jQuery.cookie('breaking_news_hidden') ) {
        jQuery('#breaking_news').show(200);
        jQuery('#breaking_news_close').click(function () {
            jQuery.cookie('breaking_news_hidden', jQuery('#breaking_news_content').text(), { expires: 365, path: "/" });
            jQuery('#breaking_news').remove();

            return false;
        });
    }
});

$(function() {
  $('.thickbox').show();
});