'+json.content+''); popup.document.close(); return false; } function printArticle(articleId) { TWpopup = window.open(); // have to use a global as window.open returns null in an ajax callback //console.log("printArticle " + articleId); new Ajax.Updater('post','/article/formatForPrinting/'+articleId, {asynchronous:true, evalScripts:true, onSuccess:function(transport) {printArticleBody(transport.responseText)}, requestHeaders:['X-Update', 'post']}); return false; } function getQueryString(key, default_) { if (default_==null) default_=""; key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regex = new RegExp("[\\?&]"+key+"=([^&#]*)"); var qs = regex.exec(window.location.href); if(qs == null) return default_; else return qs[1]; } jQuery(document).ready(function() { // handle missing console if(console === undefined){ function _console(){ return { log : function(v){ } } } var console = new _console(); } jQuery("img.logo").dblclick(function(){ jQuery("#serverName").show(); setTimeout(function() { jQuery("#serverName").hide(); }, 2500); }); });
The Wayback Machine - https://web.archive.org/web/20121209021749/http://theweek.com/
close
 

Facebook

Twitter

Stumble

Tumblr

RSS

Newsletter

MOST READ
The week's best photojournalism

In some of the week's most remarkable images, stilt walkers rest, Tennessee Titans fans dress to impress, and Syrian rebel fighters play ping pong

Only in America #1

Alarmed Florida high school officials lock down their campus when students bring thermometers to school — and more in our collection of strange revelations about the nation

Get The Week iPad app
Get The Week iPad app