var GM_fbc=GawkerBase.extend({initialize:function(a,b){this.logging_enabled=false;this.appid=a;this.receiver=b;this.fbInit()},fbInit:function(){FB.Facebook.init(this.appid,this.receiver)},fbReady:function(d,b,a){FB.Facebook.get_sessionWaitable().waitUntilReady(function(){this.fb_sess=FB.Facebook.apiClient.get_session();FB.Facebook.apiClient.users_getInfo(this.fb_sess.uid,new Array("name"),function(f,g){this.fb_user=f;try{this.fb_user=this.fb_user[0];if(this.fb_user.uid){if(d){switch(d){case"fbComment":gmfbc.fbComment(b,a);break;case"fbFriends":gmfbc.fbFriends();break}}return true}else{return false}}catch(h){}})})},fbComment:function(b,a){jQuery.post("/index.php?op=fb&action=publishComment",{id:b,cid:a},function(d){gmfbc.fbPublishComment(d)},"json")},fbFriends:function(){jQuery("#spinner").show();jQuery("#fb_friend_finder").load("/index.php",{op:"fb",action:"fbFriends"},function(b,d,a){if("success"==d&&GawkerClientside&&GawkerClientside.widgets&&GawkerClientside.widgets.commentadmin){GawkerClientside.widgets.commentadmin[0].raiseEvent("commenter.fbfriendsloaded",{})}})},fbPublishComment:function(a){try{attachment={name:a.template.storytitle,href:a.template.storylink};actionLinks=[{text:"Read more",href:a.template.commentlink}];retval=FB.Connect.streamPublish(a.template.commentexcerpt,attachment,actionLinks)}catch(b){this._log(b)}},_print_r:function(b){for(var a in b){if(typeof(b[a])=="object"){this._log("KEY "+a+" is OBJ:");this._print_r(b[a])}else{this._log(a+": "+b[a])}}},_log:function(a){if(this.logging_enabled){if(window.console){console.log(a)}}}});function redrawFBML(a){try{FB.Bootstrap.requireFeatures(["XFBML"],function(){if(a==undefined){FB.XFBML.Host.parseDomTree()}else{FB.XFBML.Host.parseDomElement(a)}})}catch(b){}}var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var a;var b;var d;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(d){}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(d){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a="WIN 2,0,0,11"}catch(d){a=-1}}return a}function GetSwfVer(){var h=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var g=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+g].description;var f=a.split(" ");var d=f[2].split(".");var j=d[0];var b=d[1];var e=f[3];if(e==""){e=f[4]}if(e[0]=="d"){e=e.substring(1)}else{if(e[0]=="r"){e=e.substring(1);if(e.indexOf("d")>0){e=e.substring(0,e.indexOf("d"))}}}var h=j+"."+b+"."+e}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){h=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){h=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){h=2}else{if(isIE&&isWin&&!isOpera){h=ControlVersion()}}}}}return h}function DetectFlashVer(g,e,d){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var f=versionArray[0];var a=versionArray[1];var b=versionArray[2];if(f>parseFloat(g)){return true}else{if(f==parseFloat(g)){if(a>parseFloat(e)){return true}else{if(a==parseFloat(e)){if(b>=parseFloat(d)){return true}}}}}return false}}}function AC_AddExtension(b,a){if(b.indexOf("?")!=-1){return b.replace(/\?/,a+"?")}else{return b+a}}function AC_Generateobj(g,f,a,d){var e="";if(isIE&&isWin&&!isOpera){e+="<object ";for(var b in g){e+=b+'="'+g[b]+'" '}e+=">";for(var b in f){e+='<param name="'+b+'" value="'+f[b]+'" /> '}e+="</object>"}else{e+="<embed ";for(var b in a){e+=b+'="'+a[b]+'" '}e+="> </embed>"}if(d){document.getElementById(d).innerHTML=e}else{document.write(e)}}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs,a.insertinto)}function AC_SW_RunContent(){var a=AC_GetArgs(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(b,f,h,e,j){var a=new Object();a.embedAttrs=new Object();a.params=new Object();a.objAttrs=new Object();for(var d=0;d<b.length;d=d+2){var g=b[d].toLowerCase();switch(g){case"classid":break;case"insertinto":a.insertinto=b[d+1];break;case"pluginspage":a.embedAttrs[b[d]]=b[d+1];break;case"src":case"movie":b[d+1]=AC_AddExtension(b[d+1],f);
a.embedAttrs.src=b[d+1];a.params[h]=b[d+1];break;case"rev":a.embedAttrs.src+=b[d+1];a.params[h]+=b[d+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":a.objAttrs[b[d]]=b[d+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":a.embedAttrs[b[d]]=a.objAttrs[b[d]]=b[d+1];break;default:a.embedAttrs[b[d]]=a.params[b[d]]=b[d+1]}}a.objAttrs.classid=e;if(j){a.embedAttrs.type=j}return a}function interstitial_init(d,b,a){window.parent.interstitial_init(d,b,a)}function interstitial_start(){window.parent.interstitial_start()}function interstitial_skippable(){window.parent.interstitial_skippable()}function interstitial_stop(){window.parent.interstitial_stop()}function interstitial_finished(){window.parent.interstitial_finished()}function interstitial_setTimer(a){window.parent.interstitial_setTimer(a)}Cc8b={changeLink:function(a){var d=a.substr(0,a.indexOf("."));var f=a.substr(a.indexOf(".")+1);var b=f.substr(0,f.indexOf("."));var h=f.substr(f.indexOf(".")+1);var g=Cc8b.decipher(h,d);var e=Cc8b.decipher(b,d);return g.link("mailto:"+e)},decipher:function(f,e){var d=new String("");var a;e=parseInt(e,10);for(var b=0;b<=f.length-2;b=b+2){a=f.substr(b,2);a=parseInt(a,16);a+=255;a-=e;a=a%255;d+=String.fromCharCode(a)}return d},write:function(a){document.write(Cc8b.changeLink(a))}};function changePostStatus(d,g,b,a,e){var f=false;if(e){if(!confirm("Delete post?")){f=true}}if(!f){var h=[];h.push("op=changepoststatus");h.push("id="+d);h.push("publishStatus="+g);h.push("realm="+b);new Ajax.Updater("postStatusResponse","/index.php",{parameters:h.join("&"),evalScripts:true})}}function switchView(a){if(a!="classic"){a="condensed"}jQuery.cookie("postlistView",a,{expires:730,path:"/"});location.reload()}if(jQuery.cookie("ganjaPostlistView")==null){jQuery.cookie("ganjaPostlistView",false,{expires:730,path:"/"})}function expandTopStories(){jQuery("#splashPosts .hide").show();jQuery("#ad-300x250").hide();jQuery("#topMenu").animate({width:"1000px"},500);jQuery("#contentSwitch").animate({width:"650px"},500);return 0}function collapseSkyscraper(){jQuery("#skyscraper")[0].style.display="none";jQuery("#skySpacer")[0].style.display="none";jQuery("#sidebar")[0].style.borderTopStyle="solid";jQuery("#sidebar")[0].style.borderTopWidth="1px";return 0}var lastopened=false;var menuout;var tmenuout;var menuin;function initMenu(){jQuery(".menu li").each(function(a,b){b.onmouseover=function(){jQuery(".menu li.toplevelmenu").each(function(e,d){if(b!=d&&jQuery(b).descendantOf(d).length==0){jQuery("ul",d).each(function(g,f){f.style.display="none"});jQuery(d).removeClass("selected")}});jQuery(b).addClass("selected");jQuery("ul",b).each(function(f,e){var d=function(){e.style.display="block"};clearTimeout(menuout);clearTimeout(tmenuout);menuin=setTimeout(d,200);lastopened=e})};b.onmouseout=function(){if(jQuery(b).hasClass("toplevelmenu")){var d=function(){jQuery(b).removeClass("selected")};tmenuout=setTimeout(d,200)}else{jQuery(b).removeClass("selected")}jQuery("ul",b).each(function(g,e){var f=function(){e.style.display="none"};if(jQuery(e).descendantOf(lastopened).length==0){clearTimeout(menuin);menuout=setTimeout(f,200)}})}})}function checkHashForErrors(){var d="errorbar";var a;if(document.location.hash=="#ERR404"){a="You were redirected to our front page because the URL you requested is unavailable. Please try again later."}else{if(document.location.hash=="#ERR500"){a="You were redirected to our front page because the URL you requested is unavailable. Please try again later."}else{if(document.location.hash=="#passworderror"){a="Password change failed. Check your username and password and resubmit."}else{if(document.location.hash=="#emailerror"){a="Email already used. Please type another one."}else{if(document.location.hash=="#authrequired"){a="Authorization required. Please login first."}else{if(document.location.hash=="#profilesuccess"){d="infobar";a="Profile successfully updated."}}}}}}if(a){var b=document.getElementById(d);b.innerHTML=a;b.style.display="block";setTimeout("document.getElementById('"+d+"').style.display = 'none';",30000)}}function gawker_parseQueryString(b){if(b==""||b==undefined){return{}}var a={};var e={};var d=/([^&;=]+)=?([^&;]*)/g;var f=function(g){return decodeURIComponent(g.replace(/\+/g," "))};while(e=d.exec(b)){a[f(e[1])]=f(e[2])
}return a}function setVote(d,a){var b=jQuery.post("/index.php",{op:"polldaddyvote",pollid:d,answerid:a})}function gawkerGallery(b,a,e,d){}function initBanner(){}function showBanner(){}function hideBanner(){GawkerClientside.widgets.maincontent[0].raiseEvent("interstitial.ended")}function displayShareMenu(){jQuery("#sharemenu").show();jQuery("#sharemenu-wrap").bind("clickoutside",function(){jQuery("#sharemenu").hide()});return false}function setBodyPageType(e){var g=jQuery("body"),d=g.attr("class").split(" "),f="page-",b=0,a=0;for(b=0,a=d.length;b<a;b++){if(d[b].indexOf(f)===0){g.removeClass(d[b])}}if(adRobot.getUrlParams().tag){g.addClass("page-tag")}if(e!=undefined&&e!=""){g.addClass(f+e)}}function addAuthorDropdownClick(){jQuery(".post-meta .plus-icon").bind("click",function(){if(jQuery("#author-menu ul:visible").length===0){jQuery("#author-menu ul").show();jQuery(".post-meta cite").bind("clickoutside",function(){jQuery("#author-menu ul").hide();jQuery(".post-meta cite").unbind("clickoutside")})}else{jQuery("#author-menu ul").hide()}})}(function(e){var a=/^(?:https?:)?\/\/([^\/]+)/i;function b(g){if(g){var f=a.exec(g);if(f&&f[1]){return d(f[1].toLowerCase())!==d(window.location.hostname)}}return false}function d(g){if(g){var h=g.split("."),f=h[h.length-1].length?h.length:h.length-1;return f>1?h.slice(f-2,f).join("."):h[0]}else{return g}}e(document).delegate(".post a, .post-body a, .comment a","click",function(g){var f=g.currentTarget;if(!g.isDefaultPrevented()&&b(f.href)){f.target="_blank"}})})(jQuery);function gawker_getScript(g,b){var f=new Promise(),e=typeof b==="function"?{callback:b}:b||{},d=e.parent||document.getElementsByTagName("head")[0],a=document.createElement("script");a.async=true;a.onload=a.onreadystatechange=function(){if(!(this.readyState&&this.readyState!=="complete"&&this.readyState!=="loaded")){this.onload=this.onreadystatechange=null;f.resolve();e.callback&&e.callback()}};a.src=g;d.appendChild(a);return f}function gawker_getImage(b){var a=new Image();a.alt="";a.src=b}function css_browser_selector(p){var a=p.toLowerCase(),j=function(b){return a.indexOf(b)>-1},k="gecko",n="webkit",q="safari",d="opera",e="mobile",f=document.documentElement,l=[(!(/opera|webtv/i.test(a))&&/msie\s(\d)/.test(a))?("ie ie"+RegExp.$1):j("firefox/2")?k+" ff2":j("firefox/3.5")?k+" ff3 ff3_5":j("firefox/3.6")?k+" ff3 ff3_6":j("firefox/3")?k+" ff3":j("gecko/")?k:j("opera")?d+(/version\/(\d+)/.test(a)?" "+d+RegExp.$1:(/opera(\s|\/)(\d+)/.test(a)?" "+d+RegExp.$2:"")):j("konqueror")?"konqueror":j("blackberry")?e+" blackberry":j("android")?e+" android":j("iron")?n+" iron":j("applewebkit/")?n+" "+q+(/version\/(\d+)/.test(a)?" "+q+RegExp.$1:""):j("mozilla/")?k:"",j("j2me")?e+" j2me":j("iphone")?e+" iphone":j("ipod")?e+" ipod":j("ipad")?e+" ipad":j("mac")?"mac":j("darwin")?"mac":j("webtv")?"webtv":j("win")?"win"+(j("windows nt 6.0")?" vista":""):j("freebsd")?"freebsd":(j("x11")||j("linux"))?"linux":"","js"];c=l.join(" ");if((c.match("webkit")!==null)||(c.match("gecko")!==null)){c="html5 "+c}f.className+=" "+c;return c}css_browser_selector(navigator.userAgent);(function(){function x(a){console.log("$f.fireEvent",[].slice.call(a))}function s(a){if(!a||typeof a!="object"){return a}var d=new a.constructor();for(var b in a){if(a.hasOwnProperty(b)){d[b]=s(a[b])}}return d}function p(a,e){if(!a){return}var g,f=0,d=a.length;if(d===undefined){for(g in a){if(e.call(a[g],g,a[g])===false){break}}}else{for(var b=a[0];f<d&&e.call(b,f,b)!==false;b=a[++f]){}}return a}function B(a){return document.getElementById(a)}function v(a,b,d){if(typeof b!="object"){return a}if(a&&b){p(b,function(f,e){if(!d||typeof e!="function"){a[f]=e}})}return a}function o(a){var d=a.indexOf(".");if(d!=-1){var e=a.slice(0,d)||"*";var f=a.slice(d+1,a.length);var b=[];p(document.getElementsByTagName(e),function(){if(this.className&&this.className.indexOf(f)!=-1){b.push(this)}});return b}}function y(a){a=a||window.event;if(a.preventDefault){a.stopPropagation();a.preventDefault()}else{a.returnValue=false;a.cancelBubble=true}return false}function u(a,d,b){a[d]=a[d]||[];a[d].push(b)}function z(){return"_"+(""+Math.random()).slice(2,10)}var w=function(b,e,d){var f=this,g={},a={};f.index=e;if(typeof b=="string"){b={url:b}}v(this,b,true);p(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var k="on"+this;if(k.indexOf("*")!=-1){k=k.slice(0,k.length-1);var j="onBefore"+k.slice(2);f[j]=function(l){u(a,j,l);return f}}f[k]=function(l){u(a,k,l);return f};if(e==-1){if(f[j]){d[j]=f[j]}if(f[k]){d[k]=f[k]}}});v(this,{onCuepoint:function(j,k){if(arguments.length==1){g.embedded=[null,j];return f}if(typeof j=="number"){j=[j]}var l=z();g[l]=[j,k];if(d.isLoaded()){d._api().fp_addCuepoints(j,e,l)}return f},update:function(k){v(f,k);if(d.isLoaded()){d._api().fp_updateClip(k,e)}var l=d.getConfig();var j=(e==-1)?l.clip:l.playlist[e];v(j,k,true)},_fireEvent:function(m,E,l,k){if(m=="onLoad"){p(g,function(G,F){if(F[0]){d._api().fp_addCuepoints(F[0],e,G)
}});return false}k=k||f;if(m=="onCuepoint"){var n=g[E];if(n){return n[1].call(d,k,l)}}if(E&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(m)!=-1){v(k,E);if(E.metaData){if(!k.duration){k.duration=E.metaData.duration}else{k.fullDuration=E.metaData.duration}}}var j=true;p(a[m],function(){j=this.call(d,k,E,l)});return j}});if(b.onCuepoint){var h=b.onCuepoint;f.onCuepoint.apply(f,typeof h=="function"?[h]:h);delete b.onCuepoint}p(b,function(k,j){if(typeof j=="function"){u(a,k,j);delete b[k]}});if(e==-1){d.onCuepoint=this.onCuepoint}};var q=function(g,e,f,b){var h=this,d={},a=false;if(b){v(d,b)}p(e,function(k,j){if(typeof j=="function"){d[k]=j;delete e[k]}});v(this,{animate:function(n,m,j){if(!n){return h}if(typeof m=="function"){j=m;m=500}if(typeof n=="string"){var k=n;n={};n[k]=m;m=500}if(j){var l=z();d[l]=j}if(m===undefined){m=500}e=f._api().fp_animate(g,n,m,l);return h},css:function(k,j){if(j!==undefined){var l={};l[k]=j;k=l}e=f._api().fp_css(g,k);v(h,e);return h},show:function(){this.display="block";f._api().fp_showPlugin(g);return h},hide:function(){this.display="none";f._api().fp_hidePlugin(g);return h},toggle:function(){this.display=f._api().fp_togglePlugin(g);return h},fadeTo:function(m,j,k){if(typeof j=="function"){k=j;j=500}if(k){var l=z();d[l]=k}this.display=f._api().fp_fadeTo(g,m,j,l);this.opacity=m;return h},fadeIn:function(j,k){return h.fadeTo(1,j,k)},fadeOut:function(j,k){return h.fadeTo(0,j,k)},getName:function(){return g},getPlayer:function(){return f},_fireEvent:function(l,m,k){if(l=="onUpdate"){var n=f._api().fp_getPlugin(g);if(!n){return}v(h,n);delete h.methods;if(!a){p(n.methods,function(){var F=""+this;h[F]=function(){var H=[].slice.call(arguments);var G=f._api().fp_invoke(g,F,H);return G==="undefined"||G===undefined?h:G}});a=true}}var j=d[l];if(j){var E=j.apply(h,m);if(l.slice(0,1)=="_"){delete d[l]}return E}return h}})};function C(K,f,l){var e=this,g=null,n=false,j,m,h=[],b={},d={},k,I,M,H,N,L;v(e,{id:function(){return k},isLoaded:function(){return(g!==null&&g.fp_play!=undefined&&!n)},getParent:function(){return K},hide:function(E){if(E){K.style.height="0px"}if(e.isLoaded()){g.style.height="0px"}return e},show:function(){K.style.height=L+"px";if(e.isLoaded()){g.style.height=N+"px"}return e},isHidden:function(){return e.isLoaded()&&parseInt(g.style.height,10)===0},load:function(E){if(!e.isLoaded()&&e._fireEvent("onBeforeLoad")!==false){var G=function(){j=K.innerHTML;if(j&&!flashembed.isSupported(f.version)){K.innerHTML=""}flashembed(K,f,{config:l});if(E){E.cached=true;u(d,"onLoad",E)}};var F=0;p(D,function(){this.unload(function(O){if(++F==D.length){G()}})})}return e},unload:function(E){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(E){E(false)}return e}if(j.replace(/\s/g,"")!==""){if(e._fireEvent("onBeforeUnload")===false){if(E){E(false)}return e}n=true;try{if(g){g.fp_close();e._fireEvent("onUnload")}}catch(G){}var F=function(){g=null;K.innerHTML=j;n=false;if(E){E(true)}};setTimeout(F,50)}else{if(E){E(false)}}return e},getClip:function(E){if(E===undefined){E=H}return h[E]},getCommonClip:function(){return m},getPlaylist:function(){return h},getPlugin:function(G){var E=b[G];if(!E&&e.isLoaded()){var F=e._api().fp_getPlugin(G);if(F){E=new q(G,F,e);b[G]=E}}return E},getScreen:function(){return e.getPlugin("screen")},getControls:function(){return e.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return e.getPlugin("logo")._fireEvent("onUpdate")}catch(E){}},getPlay:function(){return e.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(E){return E?s(l):l},getFlashParams:function(){return f},loadPlugin:function(F,G,R,E){if(typeof R=="function"){E=R;R={}}var O=E?z():"_";e._api().fp_loadPlugin(F,G,R,O);var P={};P[O]=E;var Q=new q(F,null,e,P);b[F]=Q;return Q},getState:function(){return e.isLoaded()?g.fp_getState():-1},play:function(F,G){var E=function(){if(F!==undefined){e._api().fp_play(F,G)}else{e._api().fp_play()}};if(e.isLoaded()){E()}else{if(n){setTimeout(function(){e.play(F,G)},50)}else{e.load(function(){E()})}}return e},getVersion:function(){var E="flowplayer.js 3.2.0";if(e.isLoaded()){var F=g.fp_getVersion();F.push(E);return F}return E},_api:function(){if(!e.isLoaded()){throw"Flowplayer "+e.id()+" not loaded when calling an API method"}return g},setClip:function(E){e.setPlaylist([E]);return e},getIndex:function(){return M}});p(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var F="on"+this;if(F.indexOf("*")!=-1){F=F.slice(0,F.length-1);var E="onBefore"+F.slice(2);e[E]=function(G){u(d,E,G);return e}}e[F]=function(G){u(d,F,G);return e}});p(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var E=this;e[E]=function(G,O){if(!e.isLoaded()){return e
}var F=null;if(G!==undefined&&O!==undefined){F=g["fp_"+E](G,O)}else{F=(G===undefined)?g["fp_"+E]():g["fp_"+E](G)}return F==="undefined"||F===undefined?e:F}});e._fireEvent=function(F){if(typeof F=="string"){F=[F]}var E=F[0],S=F[1],U=F[2],V=F[3],W=0;if(l.debug){x(F)}if(!e.isLoaded()&&E=="onLoad"&&S=="player"){g=g||B(I);N=g.clientHeight;p(h,function(){this._fireEvent("onLoad")});p(b,function(P,O){O._fireEvent("onUpdate")});m._fireEvent("onLoad")}if(E=="onLoad"&&S!="player"){return}if(E=="onError"){if(typeof S=="string"||(typeof S=="number"&&typeof U=="number")){S=U;U=V}}if(E=="onContextMenu"){p(l.contextMenu[S],function(P,O){O.call(e)});return}if(E=="onPluginEvent"||E=="onBeforePluginEvent"){var Z=S.name||S;var Y=b[Z];if(Y){Y._fireEvent("onUpdate",S);return Y._fireEvent(U,F.slice(3))}return}if(E=="onPlaylistReplace"){h=[];var T=0;p(S,function(){h.push(new w(this,T++,e))})}if(E=="onClipAdd"){if(S.isInStream){return}S=new w(S,U,e);h.splice(U,0,S);for(W=U+1;W<h.length;W++){h[W].index++}}var G=true;if(typeof S=="number"&&S<h.length){H=S;var X=h[S];if(X){G=X._fireEvent(E,U,V)}if(!X||G!==false){G=m._fireEvent(E,U,V,X)}}p(d[E],function(){G=this.call(e,S,U);if(this.cached){d[E].splice(W,1)}if(G===false){return false}W++});return G};function J(){if($f(K)){$f(K).getParent().innerHTML="";M=$f(K).getIndex();D[M]=e}else{D.push(e);M=D.length-1}L=parseInt(K.style.height,10)||K.clientHeight;k=K.id||"fp"+z();I=f.id||k+"_api";f.id=I;l.playerId=k;if(typeof l=="string"){l={clip:{url:l}}}if(typeof l.clip=="string"){l.clip={url:l.clip}}l.clip=l.clip||{};if(K.getAttribute("href",2)&&!l.clip.url){l.clip.url=K.getAttribute("href",2)}m=new w(l.clip,-1,e);l.playlist=l.playlist||[l.clip];var F=0;p(l.playlist,function(){var G=this;if(typeof G=="object"&&G.length){G={url:""+G}}p(l.clip,function(P,O){if(O!==undefined&&G[P]===undefined&&typeof O!="function"){G[P]=O}});l.playlist[F]=G;G=new w(G,F,e);h.push(G);F++});p(l,function(O,G){if(typeof G=="function"){if(m[O]){m[O](G)}else{u(d,O,G)}delete l[O]}});p(l.plugins,function(O,G){if(G){b[O]=new q(O,G,e)}});if(!l.plugins||l.plugins.controls===undefined){b.controls=new q("controls",null,e)}b.canvas=new q("canvas",null,e);function E(G){if(!e.isLoaded()&&e._fireEvent("onBeforeClick")!==false){e.load()}return y(G)}j=K.innerHTML;if(j.replace(/\s/g,"")!==""){if(K.addEventListener){K.addEventListener("click",E,false)}else{if(K.attachEvent){K.attachEvent("onclick",E)}}}else{if(K.addEventListener){K.addEventListener("click",y,false)}e.load()}}if(typeof K=="string"){var a=B(K);if(!a){throw"Flowplayer cannot access element: "+K}else{K=a;J()}}else{J()}}var D=[];function A(a){this.length=a.length;this.each=function(b){p(a,b)};this.size=function(){return a.length}}window.flowplayer=window.$f=function(){var f=null;var g=arguments[0];if(!arguments.length){p(D,function(){if(this.isLoaded()){f=this;return false}});return f||D[0]}if(arguments.length==1){if(typeof g=="number"){return D[g]}else{if(g=="*"){return new A(D)}p(D,function(){if(this.id()==g.id||this.id()==g||this.getParent()==g){f=this;return false}});return f}}if(arguments.length>1){var a=arguments[1],e=(arguments.length==3)?arguments[2]:{};if(typeof a=="string"){a={src:a}}a=v({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},a);if(typeof g=="string"){if(g.indexOf(".")!=-1){var b=[];p(o(g),function(){b.push(new C(this,s(a),s(e)))});return new A(b)}else{var d=B(g);return new C(d!==null?d:g,a,e)}}else{if(g){return new C(g,a,e)}}}return null};v(window.$f,{fireEvent:function(){var b=[].slice.call(arguments);var a=$f(b[0]);return a?a._fireEvent(b.slice(1)):null},addPlugin:function(b,a){C.prototype[b]=a;return $f},each:p,extend:v});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(a,b){if(!arguments.length||typeof arguments[0]=="number"){var d=[];this.each(function(){var e=$f(this);if(e){d.push(e)}});return arguments.length?d[arguments[0]]:new A(d)}return this.each(function(){$f(this,s(a),b?s(b):{})})}}})();(function(){var n=document.all,l="http://www.adobe.com/go/getflashplayer",s=typeof jQuery=="function",p=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,u={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function m(a,b){if(b){for(key in b){if(b.hasOwnProperty(key)){a[key]=b[key]}}}return a}function v(d,e){var a=[];for(var b in d){if(d.hasOwnProperty(b)){a[b]=e(d[b])}}return a}window.flashembed=function(d,a,b){if(typeof d=="string"){d=document.getElementById(d.replace("#",""))}if(!d){return}if(typeof a=="string"){a={src:a}}return new q(d,m(m({},u),a),b)};var o=m(window.flashembed,{conf:u,getVersion:function(){var d;try{d=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(e){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
d=b&&b.GetVariable("$version")}catch(a){}}d=p.exec(d);return d?[d[1],d[3]]:[0,0]},asString:function(b){if(b===null||b===undefined){return null}var d=typeof b;if(d=="object"&&b.push){d="array"}switch(d){case"string":b=b.replace(new RegExp('(["\\\\])',"g"),"\\$1");b=b.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+b+'"';case"array":return"["+v(b,function(g){return o.asString(g)}).join(",")+"]";case"function":return'"function()"';case"object":var a=[];for(var e in b){if(b.hasOwnProperty(e)){a.push('"'+e+'":'+o.asString(b[e]))}}return"{"+a.join(",")+"}"}return String(b).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(h,b){h=m({},h);var j='<object width="'+h.width+'" height="'+h.height+'" id="'+h.id+'" name="'+h.id+'"';if(h.cachebusting){h.src+=((h.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(h.w3c||!n){j+=' data="'+h.src+'" type="application/x-shockwave-flash"'}else{j+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}j+=">";if(h.w3c||n){j+='<param name="movie" value="'+h.src+'" />'}h.width=h.height=h.id=h.w3c=h.src=null;h.onFail=h.version=h.expressInstall=null;for(var a in h){if(h[a]){j+='<param name="'+a+'" value="'+h[a]+'" />'}}var g="";if(b){for(var e in b){if(b[e]){var d=b[e];g+=e+"="+(/function|object/.test(typeof d)?o.asString(d):d)+"&"}}g=g.slice(0,-1);j+='<param name="flashvars" value=\''+g+"' />"}j+="</object>";return j},isSupported:function(a){return f[0]>a[0]||f[0]==a[0]&&f[1]>=a[1]}});var f=o.getVersion();function q(d,e,a){if(o.isSupported(e.version)){d.innerHTML=o.getHTML(e,a)}else{if(e.expressInstall&&o.isSupported([6,65])){d.innerHTML=o.getHTML(m(e,{src:e.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!d.innerHTML.replace(/\s/g,"")){d.innerHTML="<h2>Flash version "+e.version+" or greater is required</h2><h3>"+(f[0]>0?"Your version is "+f:"You have no flash plugin installed")+"</h3>"+(d.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+l+"'>here</a></p>");if(d.tagName=="A"){d.onclick=function(){location.href=l}}}if(e.onFail){var b=e.onFail.call(this);if(typeof b=="string"){d.innerHTML=b}}}}if(n){window[e.id]=document.getElementById(e.id)}m(this,{getRoot:function(){return d},getOptions:function(){return e},getConf:function(){return a},getApi:function(){return d.firstChild}})}if(s){jQuery.tools=jQuery.tools||{version:"3.2.0"};jQuery.tools.flashembed={conf:u};jQuery.fn.flashembed=function(a,b){return this.each(function(){$(this).data("flashembed",flashembed(this,a,b))})}}})();var HtmlObjects=(function(){var a=(function(){return{soundCloud:function(e){var d='<object width="300" height="81" class="customHtmlObject soundCloud">';d+='<param name="movie" value="'+e.movie+'"></param>';d+='<param name="allowscriptaccess" value="always"></param>';d+='<param name="wmode" value="transparent"></param>';d+='<embed src="'+e.movie+'" width="300" height="81" type="application/x-shockwave-flash" allowscriptaccess="always" wmode="transparent"></embed>';d+="</object>";return d},pollDaddy:function(e){var d='<style type="text/css" id="poll_style'+e.id+'"></style><a name="pd_a_'+e.id+'"></a><div class="PDS_Poll customHtmlObject pollDaddy" id="PDI_container'+e.id+'"></div><div id="pollDaddyLoader_'+e.id+'"></div>';return d},storify:function(e){e.id=Math.round(Math.random()*1000);var d='<div id="storifyContainer_'+e.id+'"></div>';return d}}})();var b=(function(){return{pollDaddy:function(d){var e=d.id;return function(){var f=document.createElement("script");f.type="text/javascript";f.src="http://static.polldaddy.com/p/"+e+".js";if(jQuery("#PD_superContainer").length==0){jQuery("#pollDaddyLoader_"+e).append('<div id="PD_superContainer"></div>')}jQuery("#pollDaddyLoader_"+e).append(f)}},storify:function(d){var f=d.id;var e=d.src;return function(){var g=document.createElement("script");g.type="text/javascript";g.src=e;document.getElementById("storifyContainer_"+f).appendChild(g)}}}})();return{load:function(e,d){if(d===undefined||d===null){d=false}var f={displayHandler:null};if(e.type!==undefined&&a[e.type]!==undefined){f.html=a[e.type](e)}else{f.html=""}if(e.type!==undefined&&b[e.type]!==undefined){f.displayHandler=b[e.type](e)}if(f.displayHandler===null){f.displayHandler=function(){}}if(d===false){document.write(f.html);var g=function(h){return function(){h.displayHandler()}};jQuery(document).ready(g(f))}else{return f}},parseText:function(l){var k={text:null,handlers:[]};if(l!==null){var h=l.match(/<script[^>]*>[\s\r\n]*HtmlObjects.load[\w\W\r\n]*?<\/script>/g);if(h!==null){for(var f=0;f<h.length;f++){var g=h[f].match(/HtmlObjects\.load\( (\{[\w\W\r\n]*\}) \);[\s\r\n]*<\/script>/);if(g===null){continue}else{try{var g=jQuery.parseJSON(g[1]);var d=this.load(g,true);l=l.replace(h[f],d.html);k.handlers.push(d.displayHandler)}catch(j){}}}}k.text=l}return k}}})();var interstitial={runtime:10,seconds_left:0,stopped:true,auto_finish:false,isFinished:false,start_delay:2000,finish_delay:2000,mc:null,cntdwn:null,timer:null,countdown:function(){this.cntdwn.html(this.seconds_left+" second"+(this.seconds_left>1?"s":""));
if(!this.stopped&&(this.seconds_left>0)){this.seconds_left--}if(this.seconds_left==0&&this.auto_finish){this.finished()}if(!this.isFinished){obj=this;this.timer=window.setTimeout(function(){obj.countdown()},1000)}},init:function(d,b,a){if(this.timer!=null){window.clearTimeout(this.timer)}this.auto_finish=a;this.setTimer(d);this.isFinished=false;this.cntdwn=jQuery(".interstitial_countdown");jQuery(document).trigger("ad.interstitial.init");if((b==undefined||b=="true")&&this.isFinished!==true){this.start()}jQuery("body").addClass("interstitialed");jQuery("#interstitial_skip button").bind("click",jQuery.proxy(function(){this.finished(0)},this))},start:function(){this.stopped=false;this.seconds_left=this.runtime;this.countdown();jQuery(document).trigger("ad.interstitial.started")},skippable:function(){jQuery("#interstitial_skip").show()},stop:function(){this.stopped=true;jQuery(document).trigger("ad.interstitial.stopped")},finished:function(a){if(a===undefined){a=this.finish_delay}if(this.isFinished===false){window.setTimeout(function(){jQuery("#interstitial_countdown_container").remove();jQuery(document).trigger("ad.interstitial.finished")},this.finish_delay);this.isFinished=true}},setTimer:function(a){a+=Math.floor(this.finish_delay/1000);this.runtime=a;if(!this.stopped){this.seconds_left=a}},abort:function(){if(this.timer!=null){window.clearTimeout(this.timer)}jQuery("#interstitial_countdown_container").remove();jQuery("body").removeClass("interstitialed");window.adRobot.interstitial_running=false}};function interstitial_init(d,b,a){interstitial.init(d,b,a)}function interstitial_start(){interstitial.start()}function interstitial_skippable(){interstitial.skippable()}function interstitial_stop(){interstitial.stop()}function interstitial_finished(){interstitial.finished()}function interstitial_setTimer(a){interstitial.setTimer(a)}function interstitial_abort(){interstitial.abort()}var lastIssueDate=new Array();lastIssueDate.posts=null;var firstRun=new Array();firstRun.posts=true;var count=1;var t;var r=false;function stream(b){try{if(b){addItems(b)}else{if(r){return}r=true;var a=new $j.post("/index.php",{op:"liveblog",lastIssueDate:lastIssueDate.posts,tag:pageTags},function(e){addItems(e)},"json")}}catch(d){}streamTimer()}function addItems(b){r=false;try{len=b.length;for(var f=len;f>0;f--){var a=b[f-1];lastIssueDate.posts=a.issued;$j("#"+placeholder.posts).prepend(a.html);if(!firstRun.posts){$j("#"+placeholder.posts+" div:first").slideDown(2000)}else{$j("#"+placeholder.posts+" div:first").show()}if($j("#"+placeholder.posts).children().length>itemsOnPage.posts){$j("#"+placeholder.posts+" div.post:last").remove()}}firstRun.posts=false}catch(d){}}function streamTimer(){t=setTimeout("stream()",(refreshSecs.posts*1000))}function playMBX(a){document.writeln('<object   classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"    width="500"    height="281"    id="mbox_player_4c96d2b61f1be3c5c3">');document.writeln('<param name="movie" value="http://player.motionbox.com/VideoPlayer.swf?" />   <param name="allowScriptAccess" value="always" />   <param name="allowFullscreen" value="true" />   <param value="'+a+'" name="flashvars" />');document.writeln('<!--[if !IE]>-->     <object        width="500"        height="281"        name="progressive_player"        allowscriptaccess="always"        allowfullscreen="true"        data="http://player.motionbox.com/VideoPlayer.swf?"        type="application/x-shockwave-flash"       flashvars="'+a+'"     >   <!--<![endif]-->');document.writeln("<h2>To watch the video, you'll first need to  <a href=\"http://www.adobe.com/go/getflashplayer\">install the flash player</a>.</h2>   <!--[if !IE]>-->     </object>'   <!--<![endif]--> </object>")}Rot13={map:null,convert:function(e){Rot13.init();var f="";for(i=0;i<e.length;i++){var d=e.charAt(i);f+=((d>="A"&&d<="Z")||(d>="a"&&d<="z")?Rot13.map[d]:d)}return f},init:function(){if(Rot13.map!=null){return}var b=new Array();var a="abcdefghijklmnopqrstuvwxyz";for(i=0;i<a.length;i++){b[a.charAt(i)]=a.charAt((i+13)%26)}for(i=0;i<a.length;i++){b[a.charAt(i).toUpperCase()]=a.charAt((i+13)%26).toUpperCase()}Rot13.map=b},write:function(b){document.write(Rot13.convert(b))}};(function(l,n,a){var f=["webkit","Moz","ms","O"],u={},s;function j(v,y){var w=n.createElement(v||"div"),x;for(x in y){w[x]=y[x]}return w}function k(v,x,w){if(w&&!w.parentNode){k(v,w)}v.insertBefore(x,w||null);return v}var m=(function(){var v=j("style");k(n.getElementsByTagName("head")[0],v);return v.sheet||v.styleSheet})();function d(A,v,B,E){var w=["opacity",v,~~(A*100),B,E].join("-"),x=0.01+B/E*100,D=Math.max(1-(1-A)/v*(100-x),A),C=s.substring(0,s.indexOf("Animation")).toLowerCase(),y=C&&"-"+C+"-"||"";if(!u[w]){m.insertRule("@"+y+"keyframes "+w+"{0%{opacity:"+D+"}"+x+"%{opacity:"+A+"}"+(x+0.01)+"%{opacity:1}"+(x+v)%100+"%{opacity:"+A+"}100%{opacity:"+D+"}}",0);u[w]=1}return w}function q(y,z){var x=y.style,v,w;
if(x[z]!==a){return z}z=z.charAt(0).toUpperCase()+z.slice(1);for(w=0;w<f.length;w++){v=f[w]+z;if(x[v]!==a){return v}}}function h(v,x){for(var w in x){v.style[q(v,w)||w]=x[w]}return v}function p(x){for(var v=1;v<arguments.length;v++){var w=arguments[v];for(var y in w){if(x[y]===a){x[y]=w[y]}}}return x}function o(v){var w={x:v.offsetLeft,y:v.offsetTop};while((v=v.offsetParent)){w.x+=v.offsetLeft;w.y+=v.offsetTop}return w}var b=function b(v){if(!this.spin){return new b(v)}this.opts=p(v||{},b.defaults,e)},e=b.defaults={lines:12,length:7,width:5,radius:10,color:"#000",speed:1,trail:100,opacity:1/4,fps:20},g=b.prototype={spin:function(C){this.stop();var F=this,w=F.el=h(j(),{position:"relative"}),G,E;if(C){E=o(k(C,w,C.firstChild));G=o(w);h(w,{left:(C.offsetWidth>>1)-G.x+E.x+"px",top:(C.offsetHeight>>1)-G.y+E.y+"px"})}w.setAttribute("aria-role","progressbar");F.lines(w,F.opts);if(!s){var v=F.opts,z=0,x=v.fps,B=x/v.speed,A=(1-v.opacity)/(B*v.trail/100),D=B/v.lines;(function y(){z++;for(var H=v.lines;H;H--){var I=Math.max(1-(z+H*D)%B*A,v.opacity);F.opacity(w,v.lines-H,I,v)}F.timeout=F.el&&setTimeout(y,~~(1000/x))})()}return F},stop:function(){var v=this.el;if(v){clearTimeout(this.timeout);if(v.parentNode){v.parentNode.removeChild(v)}this.el=a}return this}};g.lines=function(x,z){var w=0,v;function y(A,B){return h(j(),{position:"absolute",width:(z.length+z.width)+"px",height:z.width+"px",background:A,boxShadow:B,transformOrigin:"left",transform:"rotate("+~~(360/z.lines*w)+"deg) translate("+z.radius+"px,0)",borderRadius:(z.width>>1)+"px"})}for(;w<z.lines;w++){v=h(j(),{position:"absolute",top:1+~(z.width/2)+"px",transform:"translate3d(0,0,0)",opacity:z.opacity,animation:s&&d(z.opacity,z.trail,w,z.lines)+" "+1/z.speed+"s linear infinite"});if(z.shadow){k(v,h(y("#000","0 0 4px #000"),{top:2+"px"}))}k(x,k(v,y(z.color,"0 0 1px rgba(0,0,0,.1)")))}return x};g.opacity=function(w,v,x){if(v<w.childNodes.length){w.childNodes[v].style.opacity=x}};(function(){var w=h(j("group"),{behavior:"url(#default#VML)"}),v;if(!q(w,"transform")&&w.adj){for(v=4;v--;){m.addRule(["group","roundrect","fill","stroke"][v],"behavior:url(#default#VML)")}g.lines=function(z,y){var x=y.length+y.width,F=2*x;function E(){return h(j("group",{coordsize:F+" "+F,coordorigin:-x+" "+-x}),{width:F,height:F})}var D=E(),A=~(y.length+y.radius+y.width)+"px",C;function B(H,G,I){k(D,k(h(E(),{rotation:360/y.lines*H+"deg",left:~~G}),k(h(j("roundrect",{arcsize:1}),{width:x,height:y.width,left:y.radius,top:-y.width>>1,filter:I}),j("fill",{color:y.color,opacity:y.opacity}),j("stroke",{opacity:0}))))}if(y.shadow){for(C=1;C<=y.lines;C++){B(C,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)")}}for(C=1;C<=y.lines;C++){B(C)}return k(h(z,{margin:A+" 0 0 "+A,zoom:1}),D)};g.opacity=function(y,x,A,z){var B=y.firstChild;z=z.shadow&&z.lines||0;if(B&&x+z<B.childNodes.length){B=B.childNodes[x+z];B=B&&B.firstChild;B=B&&B.firstChild;if(B){B.opacity=A}}}}else{s=q(w,"animation")}})();l.Spinner=b})(window,document);var lastIssueDate=new Array();lastIssueDate.posts=null;var firstRun=new Array();firstRun.posts=true;var count=1;var t;var r=false;function stream(b){if(b){addItems(b)}else{if(r){return}r=true;var a=new $j.post("/index.php",{op:"stream",lastIssueDate:lastIssueDate.posts},function(d){addItems(d)},"json")}t=setTimeout("stream()",(refreshSecs.posts*1000))}function addItems(d){len=d.length;r=false;for(var e=len;e>0;e--){var a=d[e-1];var b='<div class="post">'+a.html+"</div>";lastIssueDate.posts=a.issued;$j("#"+placeholder.posts).prepend(b);if(!firstRun.posts){$j("#"+placeholder.posts+" div:first").slideDown(2000)}else{$j("#"+placeholder.posts+" div:first").show()}if($j("#"+placeholder.posts).children().length>itemsOnPage.posts){$j("#"+placeholder.posts+" div.post:last").remove()}}firstRun.posts=false}
/*!	SWFObject v2.2 <http://code.google.com/p/swfobject/>
	is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject=function(){var H="undefined",v="object",W="Shockwave Flash",aa="ShockwaveFlash.ShockwaveFlash",u="application/x-shockwave-flash",V="SWFObjectExprInst",B="onreadystatechange",S=window,l=document,x=navigator,X=false,Y=[j],q=[],R=[],M=[],n,U,I,F,N=false,a=false,p,K,o=true,Q=function(){var ae=typeof l.getElementById!=H&&typeof l.getElementsByTagName!=H&&typeof l.createElement!=H,al=x.userAgent.toLowerCase(),ac=x.platform.toLowerCase(),ai=ac?/win/.test(ac):/win/.test(al),ag=ac?/mac/.test(ac):/mac/.test(al),aj=/webkit/.test(al)?parseFloat(al.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ab=!+"\v1",ak=[0,0,0],af=null;if(typeof x.plugins!=H&&typeof x.plugins[W]==v){af=x.plugins[W].description;if(af&&!(typeof x.mimeTypes!=H&&x.mimeTypes[u]&&!x.mimeTypes[u].enabledPlugin)){X=true;ab=false;af=af.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ak[0]=parseInt(af.replace(/^(.*)\..*$/,"$1"),10);ak[1]=parseInt(af.replace(/^.*\.(.*)\s.*$/,"$1"),10);ak[2]=/[a-zA-Z]/.test(af)?parseInt(af.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0
}}else{if(typeof S.ActiveXObject!=H){try{var ah=new ActiveXObject(aa);if(ah){af=ah.GetVariable("$version");if(af){ab=true;af=af.split(" ")[1].split(",");ak=[parseInt(af[0],10),parseInt(af[1],10),parseInt(af[2],10)]}}}catch(ad){}}}return{w3:ae,pv:ak,wk:aj,ie:ab,win:ai,mac:ag}}(),m=function(){if(!Q.w3){return}if((typeof l.readyState!=H&&l.readyState=="complete")||(typeof l.readyState==H&&(l.getElementsByTagName("body")[0]||l.body))){g()}if(!N){if(typeof l.addEventListener!=H){l.addEventListener("DOMContentLoaded",g,false)}if(Q.ie&&Q.win){l.attachEvent(B,function(){if(l.readyState=="complete"){l.detachEvent(B,arguments.callee);g()}});if(S==top){(function(){if(N){return}try{l.documentElement.doScroll("left")}catch(ab){setTimeout(arguments.callee,0);return}g()})()}}if(Q.wk){(function(){if(N){return}if(!/loaded|complete/.test(l.readyState)){setTimeout(arguments.callee,0);return}g()})()}w(g)}}();function g(){if(N){return}try{var ad=l.getElementsByTagName("body")[0].appendChild(G("span"));ad.parentNode.removeChild(ad)}catch(ae){return}N=true;var ab=Y.length;for(var ac=0;ac<ab;ac++){Y[ac]()}}function O(ab){if(N){ab()}else{Y[Y.length]=ab}}function w(ac){if(typeof S.addEventListener!=H){S.addEventListener("load",ac,false)}else{if(typeof l.addEventListener!=H){l.addEventListener("load",ac,false)}else{if(typeof S.attachEvent!=H){k(S,"onload",ac)}else{if(typeof S.onload=="function"){var ab=S.onload;S.onload=function(){ab();ac()}}else{S.onload=ac}}}}}function j(){if(X){Z()}else{L()}}function Z(){var ab=l.getElementsByTagName("body")[0];var ae=G(v);ae.setAttribute("type",u);var ad=ab.appendChild(ae);if(ad){var ac=0;(function(){if(typeof ad.GetVariable!=H){var af=ad.GetVariable("$version");if(af){af=af.split(" ")[1].split(",");Q.pv=[parseInt(af[0],10),parseInt(af[1],10),parseInt(af[2],10)]}}else{if(ac<10){ac++;setTimeout(arguments.callee,10);return}}ab.removeChild(ae);ad=null;L()})()}else{L()}}function L(){var ak=q.length;if(ak>0){for(var aj=0;aj<ak;aj++){var ac=q[aj].id;var af=q[aj].callbackFn;var ae={success:false,id:ac};if(Q.pv[0]>0){var ai=d(ac);if(ai){if(J(q[aj].swfVersion)&&!(Q.wk&&Q.wk<312)){A(ac,true);if(af){ae.success=true;ae.ref=D(ac);af(ae)}}else{if(q[aj].expressInstall&&E()){var am={};am.data=q[aj].expressInstall;am.width=ai.getAttribute("width")||"0";am.height=ai.getAttribute("height")||"0";if(ai.getAttribute("class")){am.styleclass=ai.getAttribute("class")}if(ai.getAttribute("align")){am.align=ai.getAttribute("align")}var al={};var ab=ai.getElementsByTagName("param");var ag=ab.length;for(var ah=0;ah<ag;ah++){if(ab[ah].getAttribute("name").toLowerCase()!="movie"){al[ab[ah].getAttribute("name")]=ab[ah].getAttribute("value")}}T(am,al,ac,af)}else{s(ai);if(af){af(ae)}}}}}else{A(ac,true);if(af){var ad=D(ac);if(ad&&typeof ad.SetVariable!=H){ae.success=true;ae.ref=ad}af(ae)}}}}}function D(ae){var ab=null;var ac=d(ae);if(ac&&ac.nodeName=="OBJECT"){if(typeof ac.SetVariable!=H){ab=ac}else{var ad=ac.getElementsByTagName(v)[0];if(ad){ab=ad}}}return ab}function E(){return !a&&J("6.0.65")&&(Q.win||Q.mac)&&!(Q.wk&&Q.wk<312)}function T(ae,af,ab,ad){a=true;I=ad||null;F={success:false,id:ab};var ai=d(ab);if(ai){if(ai.nodeName=="OBJECT"){n=h(ai);U=null}else{n=ai;U=ab}ae.id=V;if(typeof ae.width==H||(!/%$/.test(ae.width)&&parseInt(ae.width,10)<310)){ae.width="310"}if(typeof ae.height==H||(!/%$/.test(ae.height)&&parseInt(ae.height,10)<137)){ae.height="137"}l.title=l.title.slice(0,47)+" - Flash Player Installation";var ah=Q.ie&&Q.win?"ActiveX":"PlugIn",ag="MMredirectURL="+S.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ah+"&MMdoctitle="+l.title;if(typeof af.flashvars!=H){af.flashvars+="&"+ag}else{af.flashvars=ag}if(Q.ie&&Q.win&&ai.readyState!=4){var ac=G("div");ab+="SWFObjectNew";ac.setAttribute("id",ab);ai.parentNode.insertBefore(ac,ai);ai.style.display="none";(function(){if(ai.readyState==4){ai.parentNode.removeChild(ai)}else{setTimeout(arguments.callee,10)}})()}y(ae,af,ab)}}function s(ac){if(Q.ie&&Q.win&&ac.readyState!=4){var ab=G("div");ac.parentNode.insertBefore(ab,ac);ab.parentNode.replaceChild(h(ac),ab);ac.style.display="none";(function(){if(ac.readyState==4){ac.parentNode.removeChild(ac)}else{setTimeout(arguments.callee,10)}})()}else{ac.parentNode.replaceChild(h(ac),ac)}}function h(ag){var af=G("div");if(Q.win&&Q.ie){af.innerHTML=ag.innerHTML}else{var ad=ag.getElementsByTagName(v)[0];if(ad){var ah=ad.childNodes;if(ah){var ab=ah.length;for(var ae=0;ae<ab;ae++){if(!(ah[ae].nodeType==1&&ah[ae].nodeName=="PARAM")&&!(ah[ae].nodeType==8)){af.appendChild(ah[ae].cloneNode(true))}}}}}return af}function y(am,ak,ac){var ab,ae=d(ac);if(Q.wk&&Q.wk<312){return ab}if(ae){if(typeof am.id==H){am.id=ac}if(Q.ie&&Q.win){var al="";for(var ai in am){if(am[ai]!=Object.prototype[ai]){if(ai.toLowerCase()=="data"){ak.movie=am[ai]}else{if(ai.toLowerCase()=="styleclass"){al+=' class="'+am[ai]+'"'}else{if(ai.toLowerCase()!="classid"){al+=" "+ai+'="'+am[ai]+'"'}}}}}var aj="";for(var ah in ak){if(ak[ah]!=Object.prototype[ah]){aj+='<param name="'+ah+'" value="'+ak[ah]+'" />'
}}ae.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+al+">"+aj+"</object>";R[R.length]=am.id;ab=d(am.id)}else{var ad=G(v);ad.setAttribute("type",u);for(var ag in am){if(am[ag]!=Object.prototype[ag]){if(ag.toLowerCase()=="styleclass"){ad.setAttribute("class",am[ag])}else{if(ag.toLowerCase()!="classid"){ad.setAttribute(ag,am[ag])}}}}for(var af in ak){if(ak[af]!=Object.prototype[af]&&af.toLowerCase()!="movie"){f(ad,af,ak[af])}}ae.parentNode.replaceChild(ad,ae);ab=ad}}return ab}function f(ad,ab,ac){var ae=G("param");ae.setAttribute("name",ab);ae.setAttribute("value",ac);ad.appendChild(ae)}function C(ac){var ab=d(ac);if(ab&&ab.nodeName=="OBJECT"){if(Q.ie&&Q.win){ab.style.display="none";(function(){if(ab.readyState==4){b(ac)}else{setTimeout(arguments.callee,10)}})()}else{ab.parentNode.removeChild(ab)}}}function b(ad){var ac=d(ad);if(ac){for(var ab in ac){if(typeof ac[ab]=="function"){ac[ab]=null}}ac.parentNode.removeChild(ac)}}function d(ad){var ab=null;try{ab=l.getElementById(ad)}catch(ac){}return ab}function G(ab){return l.createElement(ab)}function k(ad,ab,ac){ad.attachEvent(ab,ac);M[M.length]=[ad,ab,ac]}function J(ad){var ac=Q.pv,ab=ad.split(".");ab[0]=parseInt(ab[0],10);ab[1]=parseInt(ab[1],10)||0;ab[2]=parseInt(ab[2],10)||0;return(ac[0]>ab[0]||(ac[0]==ab[0]&&ac[1]>ab[1])||(ac[0]==ab[0]&&ac[1]==ab[1]&&ac[2]>=ab[2]))?true:false}function z(ag,ac,ah,af){if(Q.ie&&Q.mac){return}var ae=l.getElementsByTagName("head")[0];if(!ae){return}var ab=(ah&&typeof ah=="string")?ah:"screen";if(af){p=null;K=null}if(!p||K!=ab){var ad=G("style");ad.setAttribute("type","text/css");ad.setAttribute("media",ab);p=ae.appendChild(ad);if(Q.ie&&Q.win&&typeof l.styleSheets!=H&&l.styleSheets.length>0){p=l.styleSheets[l.styleSheets.length-1]}K=ab}if(Q.ie&&Q.win){if(p&&typeof p.addRule==v){p.addRule(ag,ac)}}else{if(p&&typeof l.createTextNode!=H){p.appendChild(l.createTextNode(ag+" {"+ac+"}"))}}}function A(ad,ab){if(!o){return}var ac=ab?"visible":"hidden";if(N&&d(ad)){d(ad).style.visibility=ac}else{z("#"+ad,"visibility:"+ac)}}function P(ac){var ad=/[\\\"<>\.;]/;var ab=ad.exec(ac)!=null;return ab&&typeof encodeURIComponent!=H?encodeURIComponent(ac):ac}var e=function(){if(Q.ie&&Q.win){window.attachEvent("onunload",function(){var ag=M.length;for(var af=0;af<ag;af++){M[af][0].detachEvent(M[af][1],M[af][2])}var ad=R.length;for(var ae=0;ae<ad;ae++){C(R[ae])}for(var ac in Q){Q[ac]=null}Q=null;for(var ab in swfobject){swfobject[ab]=null}swfobject=null})}}();return{registerObject:function(af,ab,ae,ad){if(Q.w3&&af&&ab){var ac={};ac.id=af;ac.swfVersion=ab;ac.expressInstall=ae;ac.callbackFn=ad;q[q.length]=ac;A(af,false)}else{if(ad){ad({success:false,id:af})}}},getObjectById:function(ab){if(Q.w3){return D(ab)}},embedSWF:function(af,al,ai,ak,ac,ae,ad,ah,aj,ag){var ab={success:false,id:al};if(Q.w3&&!(Q.wk&&Q.wk<312)&&af&&al&&ai&&ak&&ac){A(al,false);O(function(){ai+="";ak+="";var an={};if(aj&&typeof aj===v){for(var ap in aj){an[ap]=aj[ap]}}an.data=af;an.width=ai;an.height=ak;var aq={};if(ah&&typeof ah===v){for(var ao in ah){aq[ao]=ah[ao]}}if(ad&&typeof ad===v){for(var am in ad){if(typeof aq.flashvars!=H){aq.flashvars+="&"+am+"="+ad[am]}else{aq.flashvars=am+"="+ad[am]}}}if(J(ac)){var ar=y(an,aq,al);if(an.id==al){A(al,true)}ab.success=true;ab.ref=ar}else{if(ae&&E()){an.data=ae;T(an,aq,al,ag);return}else{A(al,true)}}if(ag){ag(ab)}})}else{if(ag){ag(ab)}}},switchOffAutoHideShow:function(){o=false},ua:Q,getFlashPlayerVersion:function(){return{major:Q.pv[0],minor:Q.pv[1],release:Q.pv[2]}},hasFlashPlayerVersion:J,createSWF:function(ad,ac,ab){if(Q.w3){return y(ad,ac,ab)}else{return undefined}},showExpressInstall:function(ad,ae,ab,ac){if(Q.w3&&E()){T(ad,ae,ab,ac)}},removeSWF:function(ab){if(Q.w3){C(ab)}},createCSS:function(ae,ad,ac,ab){if(Q.w3){z(ae,ad,ac,ab)}},addDomLoadEvent:O,addLoadEvent:w,getQueryParamValue:function(ae){var ad=l.location.search||l.location.hash;if(ad){if(/\?/.test(ad)){ad=ad.split("?")[1]}if(ae==null){return P(ad)}var ac=ad.split("&");for(var ab=0;ab<ac.length;ab++){if(ac[ab].substring(0,ac[ab].indexOf("="))==ae){return P(ac[ab].substring((ac[ab].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(a){var ab=d(V);if(ab&&n){ab.parentNode.replaceChild(n,ab);if(U){A(U,true);if(Q.ie&&Q.win){n.style.display="block"}}if(I){I(F)}}a=false}}}}();function Promise(){this._thens=[]}Promise.prototype={then:function(a,b){this._thens.push({resolve:a,reject:b})},resolve:function(a){this._complete("resolve",a)},reject:function(a){this._complete("reject",a)},_complete:function(e,a){this.then=e==="resolve"?function(g,f){g&&g(a)}:function(g,f){f&&f(a)};this.resolve=this.reject=function(){throw new Error("Promise already completed.")};var d,b=0;while(d=this._thens[b++]){d[e]&&d[e](a)}delete this._thens}};var trackers={reload:function(e){if(trackers.disabled){return}try{jQuery("#tracker_loader").load("/static/items/"+siteConfig.canonicalHost+"/trackers.html")}catch(b){}try{if(_gaq){_gaq.push(["_trackPageview",window.location.pathname+window.location.search])
}}catch(b){}try{_sf_async_config.title=document.title;if(siteConfig.title=="io9"){_sf_async_config.authors=e.cb_author?e.cb_author:window.cb_author}if(typeof pSUPERFLY==="undefined"){window._sf_endpt=(new Date()).getTime();if(siteConfig.title!="io9"){_sf_async_config.path=window.location.pathname+window.location.search;var d=(("https:"==window.location.protocol)?"https://s3.amazonaws.com/":"http://")+"static.chartbeat.com/js/chartbeat_pub.js"}else{d=(("https:"==document.location.protocol)?"https://a248.e.akamai.net/chartbeat.download.akamai.com/102508/":"http://static.chartbeat.com/")+"js/chartbeat_pub.js"}gawker_getScript(d)}else{pSUPERFLY.virtualPage(window.location.pathname+window.location.search)}}catch(b){}comscore_script.then(function(){try{if(COMSCORE!==undefined&&comscore_beacon!==undefined){comscore_beacon.c4=window.location.href.replace("#!","");COMSCORE.beacon(comscore_beacon)}}catch(f){}});try{if(e.post_id){var a="http://track.gawker.com/stats/count/post?i="+e.post_id+"&s="+Math.floor(Math.random()*99999999);if(!jQuery.cookie("__g_iut")||jQuery.cookie("__g_iut")<((new Date().getTime())-2592000000)){a+="&u=1";jQuery.cookie("__g_iut",(new Date().getTime()),{path:"/",expires:365})}gawker_getImage(a)}}catch(b){}try{if(window.siteConfig.id=="7"||window.siteConfig.id=="4"||window.siteConfig.id=="9"){jQuery("#parsely-script").remove();gawker_getScript(window.location.protocol+"//static.parsely.com/p.js",{parent:document.getElementById("parsely-root")})}}catch(b){}},disabled:gawker_parseQueryString(window.location.search.substring(1)).no_trackers_for_me_rosebud==="true"};function newVideoPlayer(f,b,a,e,d){videoPlayer(f,b,a,e,d)}function videoPlayer(f,b,a,e,d){VideoHandler.load(VideoHandler.parseParams(f,b,a,e,d))}var VideoHandler=(function(){var b=(function(){return{youtube:function(e){e.playerType="iframe";var f=/\/v\/([^?&]+)/.exec(e.player);var g=/start=([\d]+)/.exec(e.player);e.iframeSrc="http://www.youtube.com/embed/"+f[1]+"?wmode=Opaque&rel=0&showinfo=0"+(e.autoplay&&e.autoplayable?"&autoplay=1":"")+(g!=null?"&start="+g[1]:"");return e},youtubeplaylist:function(e){e.playerType="iframe";e.iframeSrc=e.player+(e.autoplay&&e.autoplayable?"&autoplay=1":"");return e},ustream:function(e){e.playerType="iframe";e.iframeSrc=e.player+(e.autoplay&&e.autoplayable?"&autoplay=true":"");return e},livestream:function(e){e.playerType="iframe";e.iframeSrc=e.player+(e.autoplay&&e.autoplayable?"&autoplay=true":"");return e},justintv:function(e){var f=/channel=(.*)/.exec(e.player);if(f!==null){e.customParams={falshvars:"start_volume=25&channel="+f[1]+"&auto_play="+(e.autoplay&&e.autoplayable?"true":"false")}}e.classname="justintv";e.playerType="standard";e.noEmbed=true;return e},vimeo:function(e){var f=/clip_id=([0-9]+)/.exec(e.player);if(f!==null){e.playerType="iframe";e.iframeSrc="http://player.vimeo.com/video/"+f[1];e.iframeSrc+=(e.iframeSrc.indexOf("?")!=-1?"&":"?")+"title=false&byline=false&portrait=false&autoplay="+(e.autoplay&&e.autoplayable?"true":"false");e.iframeParams=[]}e.classname="vimeo";return e},viddler:function(f){var e=f.player.match(/([a-zA-Z0-0\.]+\.com)\/[a-z]+\/([a-z0-9]+)/);if(e!==null){var g=e[1];var h=e[2];f.playerType="iframe";f.iframeSrc="http://"+g+"/embed/"+h+"/?f=1"+(f.autoplay&&f.autoplayable?"&autoplay=true&initialVolume=0":"&autoplay=false")+"&player=mini&disablebranding=0&wmode=opaque";f.iframeParams=[["id","viddlervideo-"+h]]}return f},iframe:function(e){e.playerType="iframe";e.iframeSrc=e.player;return e}}})();var d=(function(){return{html:function(f){var e="";if(f.addObject){e+='<object class="'+f.classname+'" width="'+f.width+'" height="'+f.height+'" id="'+f.outerObjectId+'" type="application/x-shockwave-flash" data="'+f.origVidSrc+'">';e+='<param value="'+f.origVidSrc+'" name="movie" />';e+='<param value="always" name="allowScriptAccess" />';e+='<param value="true" name="allowFullScreen" />';e+='<param name="autoplay" value="f" />';e+='<param name="disablebranding" value="f" />';e+="<object"+(f.objectId?' id="'+f.objectId+'"':"")+">"}e+='<video width="'+f.width+'" height="'+f.height+'" ';if(f.autoplay){}if(f.videoId){e+=' id="'+f.videoId+'" '}if(f.videoSrc){e+=' src="'+f.videoSrc+'" '}if(f.videoType){e+=' type="'+f.videoType+'"'}e+='poster="'+f.thumbnail+'" ';e+='controls="controls">';for(var g in f.videos){if(typeof f.videos[g].url!=="undefined"){e+='	<source src="'+f.videos[g].url+"\" type='"+f.videos[g].codec+"' />"}}e+="</video>";if(f.addObject){e+="</object></object>"}return{output:e}},standard:function(e){var k="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";var f='<object class="'+e.classname+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"';if(e.flashData){f+=' data="'+e.flashData+'"'}if(e.objectId){f+=' id="'+e.objectId+'"'}var h="";if(e.wrap){h=' style="float:left;"'}if(!e.noClassId){f+=' classid="'+k+'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"'}f+=h+">";if(e.player){f+='<param name="movie" value="'+e.player+'"></param>'
}f+='<param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param>';var l="";for(var g in e.customParams){if(typeof e.customParams[g]!="string"){continue}var j=g.toLowerCase();if(j=="flashvars"){l=e.customParams[g]}else{if(j=="allowfullscreen"||j=="allowscriptaccess"){continue}}f+='<param name="'+g+'" value="'+e.customParams[g]+'"></param>'}f+='<param name="wmode" value="transparent" />';if(!e.noEmbed){f+='<embed src="'+e.player+'" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" allowscriptaccess="always" allowfullscreen="true" width="'+e.width+'" height="'+e.height+'" wmode="transparent"';if(l){f+=' flashvars="'+l+'"'}if(e.embedName){f+=' name="'+e.embedName+'"'}f+="></embed>"}f+="</object>";return{output:f}},flow:function(k,f){var m={"default":"#@729b1ef2eb63513996a",deadspin:"#@c4de160d2885634aef2",fleshbot:"#@6f4293756ec6f2d0f5e",gawker:"#@729b1ef2eb63513996a",gizmodo:"#@165c7e3eaf777189373",io9:"#@0c6d54676e70351ad8d",jalopnik:"#@2360a735466fc1bc9d4",jezebel:"#@071da37431d95497438",kotaku:"#@0cf9dea9bfc70dce2c8",lifehacker:"#@0a3b01f1f3c947d395d"};var g={"default":"http://edge-cache.gawker.com/util/flowplayer/flowplayer.commercial-3.2.2.swf",fleshbot:"http://cache.fleshbot.com/assets/util/flowplayer/flowplayer.commercial-3.2.2.swf"};var h=location.hostname.match(/([^\.]+)\.[a-z]+$/);if(h!==null){var n=h[1];var l=(m[n]!==undefined?m[n]:m["default"]);var j=(g[n]!==undefined?g[n]:g["default"])}output='<a href="'+k.player+'" style="display: block;width: '+k.width+"px;height: "+k.height+'px;" id="flowplayer_'+f+'"></a>';var e={key:l,clip:{autoPlay:false,autoBuffering:true},screen:{height:"100pct",top:0},plugins:{controls:{timeColor:"#ffffff",borderRadius:"0px",slowForward:true,bufferGradient:"none",backgroundColor:"rgba(0, 0, 0, 0)",volumeSliderGradient:"none",slowBackward:false,timeBorderRadius:20,progressGradient:"none",time:true,height:26,volumeColor:"#4599ff",tooltips:{marginBottom:5,volume:true,scrubber:true,buttons:false},opacity:1,fastBackward:false,timeFontSize:12,volumeSliderColor:"#ffffff",border:"0px",bufferColor:"#a3a3a3",buttonColor:"#ffffff",mute:true,autoHide:{enabled:true,hideDelay:500,hideStyle:"fade",mouseOutDelay:500,hideDuration:400,fullscreenOnly:false},backgroundGradient:"none",width:"100pct",sliderBorder:"1px solid rgba(128, 128, 128, 0.7)",display:"block",buttonOverColor:"#ffffff",fullscreen:true,timeBgColor:"rgb(0, 0, 0, 0)",scrubberBarHeightRatio:0.2,bottom:0,stop:false,zIndex:1,sliderColor:"#000000",scrubberHeightRatio:0.6,tooltipTextColor:"#ffffff",sliderGradient:"none",timeBgHeightRatio:0.8,volumeSliderHeightRatio:0.6,name:"controls",timeSeparator:" ",volumeBarHeightRatio:0.2,left:"50pct",tooltipColor:"rgba(0, 0, 0, 0)",playlist:false,durationColor:"#b8d9ff",play:true,fastForward:true,progressColor:"#4599ff",timeBorder:"0px solid rgba(0, 0, 0, 0.3)",scrubber:true,volume:true,builtIn:false,volumeBorder:"1px solid rgba(128, 128, 128, 0.7)"}}};if(k.autoplay){}return{output:output,postShow:function(){flowplayer("flowplayer_"+f,j,e)}}},iframe:function(f,h){var e='<iframe src="'+f.iframeSrc+'" type="text/html" allowfullscreen frameborder="0" width="'+f.width+'" height="'+f.height+'" scrolling="no"';if(f.iframeParams!=undefined){for(var g=0;g<f.iframeParams.length;g++){e+=" "+f.iframeParams[g][0]+'="'+f.iframeParams[g][1]+'"'}}e+="></iframe>";return{output:e,postShow:function(){}}},oldStyle:function(e,f){var g="";if(e.wrap){g="float:left;"}return{output:'<object class="flv gawkerVideo" style="height: '+e.height+"px; width: "+e.width+"px;"+g+'" id="flv_'+f+'"></object>',postShow:function(){swfobject.embedSWF("http://cache.gawkerassets.com/assets/util/videoModule.008.2.swf","flv_"+f,e.width,e.height,"9.0.0","expressInstall.swf",e.flashvars,e.params,e.attributes)}}}}})();var a=(function(){var e=function(g,h,k){if(h===undefined){h=0}if(k===undefined){k=false}var j=VideoHandler.defaultWidth;var f=VideoHandler.defaultHeight;if(h){j=h;f=f*h/VideoHandler.defaultWidth}if(isNaN(g.width)){g.width=j}if(isNaN(g.height)){g.height=f}if((g.width<630&&VideoHandler.defaultWidth!=500)||k){g.height=g.height*j/g.width;g.width=j}g.height=Math.round(g.height)};return{viddlerHTML:function(k){e(k,((document.body.offsetWidth<300)?document.body.offsetWidth:300),true);var f=new RegExp("^(http://[^/]+)/[^/]+/([^/]+)/$");var h=f.exec(k.player);var j=h[1];var l=h[2];var g=j+"/file/"+l+"/html5mobile/";var m=j+"/thumbnail/"+l+"/";return{width:k.width,height:k.height,videoType:"video/mp4",videoSrc:g,thumbnail:m,videoId:"viddlerVideo-"+l,addObject:true,objectId:"viddlerInner-"+l,outerObjectId:"viddlerOuter-"+l,origVidSrc:k.player,handler:d.html}},html:function(f){if(videoData.native_source.sources.length==0){return{}}e(f,((document.body.offsetWidth<300)?document.body.offsetWidth:300),true);return{videos:f.native_source.sources,thumbnail:f.native_source.thumbnail,width:f.width,height:f.height,autoplay:f.autoplay,handler:d.html}},standard:function(f){f.handler=d.standard;
e(f);return f},flow:function(f){f.handler=d.flow;e(f);return f},iframe:function(f){f.handler=d.iframe;e(f);return f},oldStyle:function(h){e(h,0,true);var f={bgcolor:"#000000",videoURL:h.player,stageWidth:h.width,stageHeight:h.height,waterMarkImageURL:h.watermark};var j={quality:"best",scale:"noscale",salign:"tl",allowScriptAccess:"always"};var g={"class":"flv gawkerVideo"};if(window.permalink){f.permalink=permalink}else{f.permalink="undefined"}if(window.autoplay){window.autoplay=false}else{f.autoplay="undefined"}return{width:h.width,height:h.height,flashvars:f,params:j,attributes:g,handler:d.oldStyle}}}})();return{defaultWidth:0,defaultHeight:0,parseParams:function(k,f,e,h,g){var j={};if(typeof k==="object"&&k!==null){j=k}else{j.player=k;j.width=!isNaN(f)?f:500;j.height=!isNaN(e)?e:500;if(h){j.watermark=h}}return j},getData:function(e){var g=(navigator.userAgent.match(/iPhone|iPad|iPod|Android/i)!=null||location.search.match(/[&?]html5=true/i)!=null);e.playerType="flash";if(e.source!==undefined&&b[e.source]!=undefined){e=b[e.source](e)}var f=null;if(e.playerType=="iframe"){f=a.iframe(e)}else{if(g){if(e.source!==undefined&&e.source=="viddler"){f=a.viddlerHTML(e)}else{if(typeof e.native_source!=="undefined"){f=a.html(e)}}}else{if(e.source&&e.source=="motionboxTranslated"){f=a.flow(e)}else{if(e.source){f=a.standard(e)}else{f=a.oldStyle(e)}}}}return f},load:function(e,k){if(k===undefined){k=false}e.autoplayable=false;var j=this.getData(e);var h=Math.round(Math.random()*10000);var g='</p><div id="obj_'+h+'" class="videoContainer video_'+e.width+'" style="height: '+e.height+'"></div><p>';var f=function(){var l=j.handler(j,h);var m=jQuery("#obj_"+h);if(m!==undefined&&m.length>0){m.eq(0).html(l.output)}if(l.postShow!==undefined){l.postShow()}};if(k){return{replacement:g,handler:function(){f()}}}document.writeln(g);if(e.agegate){GawkerClientside.pushWidget("agegate",jQuery("#obj_"+h).AgeGate({id:h,object:j,limit:e.agegate,handler:f}).data("AgeGate"))}else{jQuery(document).ready(function(){f()})}},dumpObject:function(e,h,f,g){if(g===undefined||!g){e.autoplayable=false}else{e.autoplayable=true}e.autoplay=(f||detectAutoplay());if(e.autoplay&&e.autoplayable&&adRobot.marquee_config.marquee_should_run){jQuery(document).bind("ad.marquee.finished",jQuery.proxy(function(){this.dumpObjectReal(e,h);jQuery(document).unbind("ad.marquee.finished")},this))}else{this.dumpObjectReal(e,h);if(!e.agegate){jQuery(document).trigger("video.init",{})}}removeAutoplayCookie()},dumpObjectReal:function(e,h){var f=this.getData(e);if(typeof post_age_limit!="undefined"){e.agegate=post_age_limit}if(e.agegate){GawkerClientside.pushWidget("agegate",jQuery("#"+h).AgeGate({id:h,object:f,limit:e.agegate,handler:e.handler}).data("AgeGate"))}else{var g=f.handler(f,h);jQuery(function(){jQuery("#"+h).get(0).innerHTML=g.output;if(g.postShow!==undefined){g.postShow()}if(f.customHandler!==undefined){f.customHandler()}})}},replaceInText:function(m){if(!m){return{html:"",handler:function(){}}}var j=[];var o=m.match(/<script[^>]*>\s*VideoHandler.dumpObject[^<]*<\/script>/g);if(o===null){o=[]}for(var l=0;l<o.length;l++){var p=m.match(/<script[^>]*>\s*VideoHandler.dumpObject\( (\{.*?\}), '([^']+)'(?:, (true|false))? \)\s*<\/script>/);if(p!==null){try{var g=jQuery.parseJSON(p[1]);var h=(p[3]!==undefined&&p[3]==="true");var f=p[2];var q=function(){var u=g;var s=f;var e=h;return function(){VideoHandler.dumpObject(u,s,e)}};j.push(q());m=m.replace(p[0],"")}catch(n){}}}var k=m.match(/<script[^>]*>\s*newVideoPlayer[^<]*<\/script>/g);if(k==null){k=[]}for(var l=0;l<k.length;l++){var g=k[l].match(/\(\s*({.*})\s*\)/);if(g===null){continue}try{g=jQuery.parseJSON(g[1])}catch(n){continue}data=VideoHandler.load(g,true);m=m.replace(k[l],data.replacement);j.push(data.handler)}return{html:m,handler:function(){for(var s=0;s<j.length;s++){try{j[s]()}catch(u){}}}}}}})();VideoHandler.defaultWidth=300;VideoHandler.defaultHeight=225;function onYouTubePlayerReady(a){a=decodeURIComponent(a);var b=jQuery("#"+a)[0];if(a.indexOf("_mute")!=-1){try{b.mute()}catch(d){}}}function bindAutoplayEvent(){jQuery("body").delegate("a.autoplay","click",function(){jQuery.cookie("gwkr_autoplay","1",{path:"/"})})}function removeAutoplayCookie(){jQuery.cookie("gwkr_autoplay",null,{path:"/"})}function detectAutoplay(){return jQuery.cookie("gwkr_autoplay")};

