Editorial
The Guardian,
Wednesday 19 December 2012 23.06 GMT
56c
We offer you these words a day in advance, since – if they prove prescient – there will be neither a newspaper nor eyes to read it tomorrow. Some experts say that final turn of the final cog on the Mesoamerican long calendar doesn’t spell the end of the world, arguing that Mayans would not have feared but instead celebrated their celestial mileometer looping the loop. But don’t rely on that. The cluster of magical dates – 12/12/12 last week, 20/12/2012 this week – surely points to a tryst with destiny. There is no data on past Armageddons to draw on, so no empirical basis for rejecting the notion that on 21/12/12 the referee in the sky will glance at his watch and blow the whistle. Besides, there is advantage in assuming the worst. Religions rely on apocalypse to drum up urgency among their ranks – just think of the fire and brimstone in Revelation. But for the faithless, too, there’s no better philosophy than living every day like it’s your last.
5a8
‘,
obPaidHtml = ”,
containerHtml = ”+obInternalHtml+obPaidHtml+”;
jQuery(‘.article #box > .share-links’).after(containerHtml);
// Load the widget and setup callbacks
OBR.extern.reloadWidget();
if(typeof(OBR) !== ‘undefined’) { // OBR Object must be found in Dom
OBR.extern.onOdbReturn(“AR_1″,function(){
var totalCountOfRecs = OBR.extern.getCo
b50
untOfRecs(“AR_1″);
fixOBComponent(“AR_1″);
});
OBR.extern.onOdbReturn(“AR_2″,function(){
var totalCountOfRecs = OBR.extern.getCountOfRecs(“AR_2″);
fixOBComponent(“AR_2″);
});
}
// Do the popup explainers – sorry this is done quite badly
jQuery(document).delegate(‘.outbrain-container .explainer-link’, ‘click’, function(e) {
e.preventDefault();
var sponsoredText = “These are paid-for links provided by Outbrain, and may or may not be relevant to the other content on this page. To find out more information about driving traffic to your content or to place this widget on your site, visit outbrain.com. We welcome your feedback at userhelp@guardian.co.uk or feedback@outbrain.com. You can read Outbrain’s privacy and cookie policy here.”,
internalText = “These are links to Guardian pages suggested by Outbrain, which may or may not be relevant to the other content on this page. We welcome your feedback at userhelp@guardian.co.uk or feedback@outbrain.com. You can read Outbrain’s privacy and cookie policy here.”,
explainerText = jQuery(this).parent().parent().hasClass(‘AR_1′) ? internalText : sponsoredText;
var position = jQ(this).offset(),
overlayNode = jQ(”+explainerText+”);
// Listen for events to close the overlay
overlayNode.find(‘.close’).click(function(e) {
e.preventDefault();
overlayNode.remove();
});
if(jQ(‘.outbrain-explainer’).is(“:visible”)) {
jQ(‘.outbrain-explainer’).remove();
}
// Position the overlay
overlayNode.css({‘top’: position.top+20,
‘left’: position.left-393});
// ….and showtime
jQuery(‘.ob_box_cont’).append(overlayNode);
overlayNode.fadeIn();
// Close the overlay if there’s clicks outside it
jQ(document).click(function(e) {
overlayNode.remove();
});
jQ(‘.outbrain-explainer, .outbrain-explainer *’).click(function(e) {
5a8
if (jQ(e.target)[0].tagName.toLowerCase() != ‘a’) {
e.stopPropagation();
return false;
}
});
});
// This re-arranges the OB markup to match ours
function fixOBComponent(id) {
var node = jQuery(‘div[data-widget-id="'+id+'"]‘);
node.find(‘.ob_box_cont’).addClass(‘component’);
node.find(‘.ob_org_header’).addClass(‘hd b1′);
node.find(‘.ob_org_header div’).wrap(”);
node.find(‘.hd’).prepend(‘What’s this?’);
var titleNode = node.find(‘.hd h2 div’),
title = titleNode.text().replace(‘guardian’, ‘Guardian’);
titleNode.text(title);
}
}
});


