
   if(!dbugScripts("cbsnews",["cbsnews.a2.post.js"])) {
   /*	cbsnews.a2.post.js - packed	*/
       var FormRecycler={Base:new Class({Implements:[Options,Events],options:{clone:false,findLocalData:$lambda({}),resetOnMove:true,resetOnHide:false},initialize:function(B,A){this.setOptions(A);this.shell=(this.options.clone)?$(B).clone():$(B);this.form=(this.shell.get("tag")=="form")?this.shell:this.shell.getElement("form");if(!this.form){return null;}this.findLocalData=this.options.findLocalData;this.form.store("mobileForm",this);this.fireEvent("onInitialize");return this;},relocateForm:function(A){this.removeLocalParams();if(this.options.resetOnMove){this.form.reset();this.fireEvent("onReset");}this.setLocalData(this.findLocalData(A));this.fireEvent("onRelocate",A);},removeLocalParams:function(){this.form.getElements("input").each(function(A){if(A.getProperty("local")){A.dispose();}});},setLocalData:function(A){if(!A||$type(A)!="object"){return null;}$each(A,function(C,B){new Element("input",{type:"hidden",name:B,value:C,local:"true"}).inject(this.form);},this);},move:function(A){A=$(A);if(!A){return false;}this.relocateForm(A);return A;},toElement:function(){return this.shell;}})};$extend(FormRecycler,{Inline:new Class({Extends:FormRecycler.Base,Implements:Chain,options:{hideFormsInParent:true,revealOptions:{},firstParent:null},initialize:function(B,A){A=$merge(this.options,A||{});this.parent(B,A);if(!this.form){return null;}this.form.store("mobileForm",this);this.currentParent=$(this.options.firstParent)||null;this.shell.set("reveal",$merge(this.options.revealOptions,{onComplete:this.callChain.bind(this)}));return this;},relocateForm:function(A){this.parent(A);A.adopt(this.shell);this.currentParent=A;this.callChain();},move:function(A){this.clearChain();A=$(A);if(!A){return ;}if(this.currentParent==A){if(this.options.hideFormsInParent){this.hideOthers();}this.shell.get("reveal").toggle();return ;}this.chain(this.relocateForm.pass(A,this),this.show.bind(this));this.hide();},show:function(){if(this.shell.get("reveal").hiding){this.show.delay(10,this);return ;}if(this.options.hideFormsInParent){this.hideOthers();}this.shell.reveal();this.fireEvent("onShow");},hideOthers:function(){this.currentParent.getElements("form").each(function(A){try{if(A!=this.form){A.retrieve("mobileForm").toElement().dissolve();}}catch(B){dbug.log(B);}});},hide:function(){this.shell.dissolve();this.fireEvent("onHide");}}),GlobalModal:new Class({Extends:FormRecycler.Base,options:{modalOptions:{}},initialize:function(B,A){A=$merge(this.options,A||{});this.parent(B,A);try{this.modal=new GlobalModal($merge(this.options.modalOptions||{},{content:this.shell}));}catch(C){dbug.log("Modal failure: %o",C);}},move:function(A){A=this.parent(A);if(!A){return false;}this.show();},show:function(){this.modal.show();this.fireEvent("onShow");},hide:function(){this.modal.hide();this.fireEvent("onHide");}})});var CommentForm=new Class({Extends:FormRecycler.Inline,commentOptions:{submitElems:false,closeElems:false,useValidator:true,validatorOptions:{},useTextFieldCounter:true,submissionType:null,textFieldCounterOptions:{}},initialize:function(B,A){this.parent(B,$merge(this.commentOptions,A));try{this.validator=(this.options.useValidator)?new FormValidator(this.form,this.options.validatorOptions):false;}catch(C){dbug.log("Validator addition failed: %o",C);this.validator=false;}this.waiter=false;this.form.set("send",{onRequest:function(){if(!this.waiter){this.waiter=new Waiter(this.form);}this.waiter.start();}.bind(this),onComplete:function(){if(this.waiter){this.waiter.stop();}}.bind(this),onSuccess:this.handlePostResponse.bind(this),onFailure:this.handleFailure.bind(this)});if(this.options.useTextFieldCounter&&window.TextFieldCounter){this.textCounters=new TextFieldCounter(this.form,this.options.textFieldCounterOptions);}if(this.options.submitElems){this.form.getElements(this.options.submitElems).addEvent("click",this.doSubmit.bind(this));}if(this.options.closeElems){this.form.getElements(this.options.closeElems).addEvent("click",this.hide.bind(this));}this.form.addEvent("submit",function(D){D.stop();this.doSubmit();}.bind(this));},doSubmit:function(){if(!UserVars.isLoggedIn()){return false;}this.form.getElements("input[type=text], textarea").each(function(A){A.set("value",A.get("value").trim());});if(this.validator&&!this.validator.validate()){return false;}this.form.send();},hide:function(){this.parent();if(this.validator){this.chain(function(){this.validator.reset();if(this.options.useTextFieldCounter){this.textCounters.resetAllCounters();}this.fireEvent("onReset");this.callChain();}.bind(this));}},handlePostResponse:function(E){this.hide();var A=(PageVars.get("siteId")==162)?UserVars.get("userName"):'<a href="http://www.cnet.com/profile/'+UserVars.get("userName").replace(" ","+")+'">'+UserVars.get("userName")+"</a>";var D=(PageVars.get("siteId")==162)?"CBS'":"CNET's";this.responseObj={"delete":{fail:"There was a problem deleting this comment, please try again.",success:"This comment has been deleted.",pending:"This comment will be deleted shortly."},rop:{fail:"There was a problem submitting this form, please try again.",success:"Your message has been submitted and will be reviewed by our staff. Thank you, "+A+", for helping us maintain "+D+" great community!",pending:"Your message will be submitted shortly and reviewed by our staff. Thank you, "+A+", for helping us maintain "+D+" great community!"},comment:{fail:"There was a problem submitting your comment, please try again.",success:"Thanks for your comment, "+A+".",pending:"Thanks for your comment, "+A+". It will be posted to our site shortly."},edit:{fail:"There was a problem updating your comment, please try again.",success:"This comment has been successfully updated.",pending:"This comment will be updated shortly."},email:{fail:"There was a problem submitting this email, please try again.",success:"Thank you, "+A+". Your email has been sent.",pending:"Thank you, "+A+". Your email will be sent shortly."}};this.thanks=new Element("div",{"class":"userReviewForm thankyou"}).inject(this.shell,"before");if(E.match("<status>failure</status>")){var C=this.responseObj[this.options.submissionType].fail;}else{if(E.match("<status>pending</status>")){var C=this.responseObj[this.options.submissionType].pending;}else{var C=this.responseObj[this.options.submissionType].success;}}var B=new Element("h2",{html:'<span class="thanks">'+C+"</span>"}).inject(this.thanks);new Element("a",{"class":"closeConfirm",text:"close",events:{click:function(){this.thanks.dissolve();}.bind(this)}}).inject(B);if(E.match("<status>success</status>")&&this.options.submissionType=="comment"){var F=E.match(/name="assetId"\ value="(\d+)"/)[1].toInt();if(PageVars.get("siteId")!=162){new Element("a",{href:new Link("/8618-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html").mergeQueryString({communityId:this.form.getElement("input[name=communityId]").get("value"),targetCommunityId:this.form.getElement("input[name=targetCommunityId]").get("value"),assetTypeId:this.form.getElement("input[name=assetTypeId]").get("value"),blogId:PageVars.get("pageNumber"),messageId:F}).get("href"),text:"Click here to view your comment","class":"readMore"}).inject(B,"after");}else{new Element("a",{href:new Link("/8618-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html").mergeQueryString({assetTypeId:this.form.getElement("input[name=assetTypeId]").value,messageId:F}).get("href"),text:"Click here to view your comment","class":"readMore"}).inject(B,"after");}}this.fireEvent("onCommentSuccess",arguments);},handleFailure:function(){this.writeMessage('This action was not completed. Please try again, or notify us at our <a href="http://cnet.custhelp.com/">Help Center</a>.');},writeMessage:function(A){new Element("div",{html:A}).inject(this.shell,"before");}});var ThumbScroller=new Class({Extends:Fx.Scroll,scrollOptions:{thumbs:".box",axis:"x",thumbContainer:null,nav:{},startIndex:0,tolerance:0},initialize:function(A,B){if(typeof (A)=="string"){if($(A).retrieve("thumbscroller")){return false;}}else{if(A.retrieve("thumbscroller")){return false;}}this.parent(A,$merge(this.scrollOptions,B));this.element.store("thumbscroller",this);this.element.setStyle("overflow","hidden");this.computeDimensions();this.initNav();this.toIndex(this.options.startIndex);this.lastScroll=null;this.fireEvent("onInitialize");return this;},computeDimensions:function(){this.thumbs=this.element.getElements(this.options.thumbs);this.setParentSize();this.positions=this.getLocations();return this;},isAtEnd:function(A){A=A||this.getRange();var B=A[A.length-1];return(B.index==this.thumbs.length-1&&(B.type!="partial"||B.tolerated));},isAtStart:function(A){A=A||this.getRange();var B=A[0];return(B.index==0&&(B.type!="partial"||B.tolerated));},getLocations:function(){return this.thumbs.map(function(B){var C=B.getComputedSize()[this.getDir("total")];var A=B.getPosition(B.getParent())[this.getDir("xy")];return{size:C,start:A,end:C+A};},this);},initNav:function(){try{if(typeof (this.options.nav.next)=="string"){$$(this.options.nav.next).addEvent("click",this.toNextScreen.bind(this));}else{if(this.options.nav.next instanceof Array){this.options.nav.next[0].addEvent("click",this.toNextScreen.bind(this));}else{this.options.nav.next.addEvent("click",this.toNextScreen.bind(this));}}if(typeof (this.options.nav.previous)=="string"){$$(this.options.nav.previous).addEvent("click",this.toPreviousScreen.bind(this));}else{if(this.options.nav.previous instanceof Array){this.options.nav.previous[0].addEvent("click",this.toPreviousScreen.bind(this));}else{this.options.nav.previous.addEvent("click",this.toPreviousScreen.bind(this));}}if(typeof (this.options.nav.start)=="string"){$$(this.options.nav.start).addEvent("click",this.toStart.bind(this));}else{if(this.options.nav.start instanceof Array){this.options.nav.start[0].addEvent("click",this.toStart.bind(this));}else{this.options.nav.start.addEvent("click",this.toStart.bind(this));}}if(typeof (this.options.nav.end)=="string"){$$(this.options.nav.end).addEvent("click",this.toEnd.bind(this));}else{if(this.options.nav.end instanceof Array){this.options.nav.end[0].addEvent("click",this.toEnd.bind(this));}else{this.options.nav.end.addEvent("click",this.toEnd.bind(this));}}}catch(A){}},getDir:function(A){switch(A){case"total":if(this.options.axis=="y"){return"totalHeight";}return"totalWidth";case"dir":if(this.options.axis=="y"){return"height";}return"width";case"xy":default:if(this.options.axis=="y"){return"y";}return"x";}},getStart:function(A){if(this.options.axis=="y"){return[0,A];}return[A,0];},getStartPx:function(A){if(!A){return 0;}return this.positions[A].start-(this.positions[A].start-this.positions[A-1].end);},setParentSize:function(){var A=(this.options.thumbContainer)?this.element.getElement(this.options.thumbContainer):this.element.getElement(this.options.thumbs).getParent();var B=0;$each(this.thumbs,function(C){B+=C.getComputedSize({styles:["padding","border","margin"]})[this.getDir("total")];},this);A.setStyle(this.getDir("dir"),B);},getRange:function(E){if(isNaN(E)){E=this.element.getScroll()[this.getDir("xy")];}var D=this.element.getComputedSize({styles:["padding"]})[this.getDir("total")];var C=[];for(var A=0;A<this.positions.length;A++){var B=this.withinRange(this.positions[A],E,E+D);if(B){C.push($merge(B,{index:A}));if(B.where=="end"){break;}}}return C;},withinRange:function(C,B,A){if(C.end>B&&C.end<=A){if(C.start>=B){return{type:"full"};}else{return{type:"partial",where:"start",tolerated:((B-C.start)<=this.options.tolerance)};}}else{if(C.start>=B&&C.start<A){return{type:"partial",where:"end",tolerated:((C.start-A)<this.options.tolerance)};}else{if(C.start<B&&C.end>A){return{type:"full"};}}}return false;},toNextScreen:function(){var A=this.getRange();if(A.getLast().type=="partial"&&!A.getLast().tolerated&&A.length>1){this.start.run(this.getStart(this.getStartPx(A.getLast().index)),this);}else{if($(this.thumbs[A.getLast().index+1])){this.start.run(this.getStart(this.getStartPx(A.getLast().index+1)),this);}else{this.toEnd();}}this.lastScroll="next";},toPreviousScreen:function(){var A=this.getRange();var C=(A[0].type=="partial"&&!A[0].tolerated&&A.length>1)?A[0].index:A[0].index-1;if(!this.positions[C]){this.toStart();return ;}var B=this.positions[C].end-this.element.getComputedSize({styles:["padding"]})[this.getDir("total")];var E=this.getRange(B);var D=(E[0].type=="partial"&&E.length>1)?E[0].index+1:E[0].index;this.start.run(this.getStart(this.getStartPx(D)),this);this.lastScroll="previous";},toIndex:function(A){this.start.run(this.getStart(this.getStartPx(parseInt(A))),this);},toStart:function(){if(this.options.axis=="y"){this.toTop();}else{this.toLeft();}},toEnd:function(){if(this.options.axis=="y"){this.toBottom();}else{this.toRight();}}});var CBSThumbScroller=new Class({Extends:ThumbScroller,cbsOptions:{thumbs:"li.promoBox",nav:{next:".arrowRight",previous:".arrowLeft"},setArrowClasses:false,onInitialize:function(){this.addEvent("onStart",this.startEvent);},onComplete:function(){var B=this.getRange(),A;this.setArrows.run([B],this);if(!this.imagesLoaded){A=B.map(function(C){return this.thumbs[C.index];},this);this.loadImages.run(A);}}},initialize:function(C,A){this.outerShell=$(C);var B=$merge(this.cbsOptions,A);if(B.nav){$each(B.nav,function(F,E,D){D[E]=this.outerShell.getElements(F);}.bind(this));}this.parent(this.outerShell.getElement(".scrollShell"),B);},loadImages:function(){$A(arguments).each(function(A){var C=A.getElement(".assetThumb img");var B=(C)?C.getProperty("loadsrc"):null;if(C&&B){if(C.getProperty("src")!=B){C.setProperty("src",B);}}});},setArrows:function(A){if(this.options.setArrowClasses){if(this.isAtStart(A)){$$(this.options.nav.previous).removeClass("arrowsOn").addClass("arrowsOff");}else{$$(this.options.nav.previous).removeClass("arrowsOff").addClass("arrowsOn");}if(this.isAtEnd(A)){$$(this.options.nav.next).removeClass("arrowsOn").addClass("arrowsOff");}else{$$(this.options.nav.next).removeClass("arrowsOff").addClass("arrowsOn");}}else{$$(this.options.nav.previous).morph({opacity:(this.isAtStart(A))?0.3:1});$$(this.options.nav.next).morph({opacity:(this.isAtEnd(A))?0.3:1});}},startEvent:function(){this.loadImages.run(this.thumbs);this.imagesLoaded=true;this.removeEvent("onStart",this.startEvent);},initNav:function(){this.parent();$$(this.options.nav.next,this.options.nav.previous).set("morph",{duration:"short"});}});var CBSAccordion=new Class({Extends:Accordion,options:{curIndex:0,closeStatus:false},initialize:function(){this.parent.apply(this,arguments);},display:function(A){this.options.closeStatus=false;A=($type(A)=="element")?this.elements.indexOf(A):A;if((this.timer&&this.options.wait)||(A===this.previous&&!this.options.alwaysHide)){return this;}if(this.previous==A){this.options.closeStatus=true;}this.previous=A;var B={};this.elements.each(function(E,D){B[D]={};var C=(D!=A)||(this.options.alwaysHide&&(E.offsetHeight>0));this.fireEvent(C?"background":"active",[this.togglers[D],E]);for(var F in this.effects){B[D][F]=C?0:E[this.effects[F]];}},this);return this.start(B);}});var CBSCarousel=new Class({Implements:[Options,Events],options:{slide$$:"li.carouselSlide",slideInterval:6000,transitionDuration:"short",startIndex:0,indicatorActiveClass:"selected",indicatorInactiveClass:"off",indicatorDisplayStart:0,rotateAction:"mouseenter",rotateActionDuration:100,autoplay:true,useIndicators:true,indicatorContainerClass:"indicators",indicator$$:null,nextButtonClass:"carouselNext",prevButtonClass:"carouselPrev",pauseOnHover:true,pauseOnBlur:true},initialize:function(A,B){A=$(A);if(A.retrieve("carousel")){return false;}this.container=A;this.container.store("carousel",this);this.setOptions(B);this.slides=this.setSlides();if(this.options.useIndicators){this.setIndicators();}this.showSlide(this.options.startIndex);this.setButtons();if(this.options.pauseOnHover&&this.options.autoplay){this.setHoverPausing();}if(this.options.pauseOnBlur&&this.options.autoplay){this.setWindowPausing();}if(this.options.autoplay){this.autoplay();}this.fireEvent("onInitialize");return this;},setHoverPausing:function(){this.setBindings();this.container.addEvents({mouseenter:this.bound.stop,mouseleave:this.bound.autoplay});this.addEvent("onActiveSelect",this.bound.clearPausing);},setWindowPausing:function(){if(!this.bound){this.setBindings();}window.addEvents({blur:this.bound.stop,focus:this.bound.autoplay});},clearPausing:function(){this.container.removeEvent("mouseenter",this.bound.stop);this.container.removeEvent("mouseleave",this.bound.autoplay);window.removeEvent("blur",this.bound.stop);window.removeEvent("focus",this.bound.autoplay);this.removeEvent("onActiveSelect",this.bound.clearPausing);},setBindings:function(){this.bound={autoplay:this.autoplay.bind(this),stop:this.stop.bind(this),clearPausing:this.clearPausing.bind(this)};},setSlides:function(){slides=this.container.getElements(this.options.slide$$);slides.each(function(A,B){A.set("tween",{duration:this.options.transitionDuration,onStart:function(){if(A.getStyle("opacity")<0.1){A.setStyle("display","block");}},onComplete:function(){if(A.getStyle("opacity")<1){A.setStyle("display","none");}}});A.setStyles({display:(B==this.options.startIndex)?"block":"none",opacity:(B==this.options.startIndex)?1:0});}.bind(this));return slides;},setIndicators:function(){this.indicators=(this.options.indicator$$)?this.container.getElements(this.options.indicator$$):this.createIndicators();this.indicators.each(function(A,B){A.addEvent(this.options.rotateAction,this.activeSelect.bind(this,B));},this);},createIndicators:function(){var C=this.options,A=new Element("ul",{"class":C.indicatorContainerClass}).inject(this.container);var D=[];for(var B=0;B<this.slides.length;B++){D.push(new Element("li",{text:B+(C.indicatorDisplayStart||0)}).inject(A));}return D;},setButtons:function(){this.container.getElements("."+this.options.nextButtonClass).removeProperties("onclick","href").addEvent("click",this.activeSelect.bind(this,"next"));this.container.getElements("."+this.options.prevButtonClass).removeProperties("onclick","href").addEvent("click",this.activeSelect.bind(this,"prev"));},activeSelect:function(A){if($type(A)!="number"){A=this.getToIndex(A);}if(this.slideshowInt){this.stop();}this.showSlide(A);this.fireEvent("onActiveSelect");},getToIndex:function(A){if(A=="next"){return(this.currentIndex==this.slides.length-1)?0:this.currentIndex+1;}return((this.currentIndex==0)?this.slides.length:this.currentIndex)-1;},showSlide:function(A){if(A==this.currentIndex){return this;}$each(this.slides,function(B,C){if(C==A){if(this.options.useIndicators){this.indicators[C].swapClass(this.options.indicatorInactiveClass,this.options.indicatorActiveClass);}B.fade("in");}else{if(this.options.useIndicators){this.indicators[C].swapClass(this.options.indicatorActiveClass,this.options.indicatorInactiveClass);}B.fade("out");}}.bind(this));this.fireEvent("onShowSlide",[A,this.currentIndex]);this.currentIndex=A;return this;},autoplay:function(){if(this.slideshowInt){return this;}this.slideshowInt=this.rotate.periodical(this.options.slideInterval,this);this.fireEvent("onAutoPlay");return this;},stop:function(){this.slideshowInt=$clear(this.slideshowInt);this.fireEvent("onStop");return this;},rotate:function(){var B=this.currentIndex;var A=(B+1>=this.slides.length)?0:B+1;this.showSlide(A);this.fireEvent("onRotate",[A,B]);return this;},toElement:function(){return this.container;}});var Lightbox=new Class({Implements:[Options,Events],options:{resizeDuration:400,initialWidth:250,initialHeight:250,zIndex:5000,animateCaption:true,showCounter:true,autoScanLinks:true,relString:"lightbox",useDefaultCss:true,assetBaseUrl:"http://www.cnet.com/html/rb/assets/global/slimbox/",overlayStyles:{}},initialize:function(A){this.setOptions(A);this.anchors=this.options.anchors||arguments[1];if(this.options.autoScanLinks&&!this.anchors){this.anchors=[];$$("a[rel^="+this.options.relString+"]").each(function(B){if(!B.retrieve("lightbox")){this.anchors.push(B);}},this);}if(!$$(this.anchors).length){return ;}if(this.options.useDefaultCss){this.addCss();}$$(this.anchors).each(function(B){if(!B.retrieve("lightbox")){B.store("lightbox",this);B.addEvent("click",function(C){C.stop();this.click(B);}.bind(this));}}.bind(this));this.eventKeyDown=this.keyboardListener.bind(this);this.eventPosition=this.position.bind(this);window.addEvent("domready",this.addHtmlElements.bind(this));},addHtmlElements:function(){this.overlay=new Element("div",{"class":"lbOverlay",styles:{zIndex:this.options.zIndex}});this.overlay.inject(document.body).setStyles(this.options.overlayStyles);this.center=new Element("div",{styles:{width:this.options.initialWidth,height:this.options.initialHeight,marginLeft:(-(this.options.initialWidth/2)),display:"none",zIndex:this.options.zIndex+1}}).inject(document.body).addClass("lbCenter");this.image=new Element("div",{"class":"lbImage"}).inject(this.center);this.prevLink=new Element("a",{"class":"lbPrevLink",href:"javascript:void(0);",styles:{display:"none"}}).inject(this.image);this.nextLink=this.prevLink.clone().removeClass("lbPrevLink").addClass("lbNextLink").inject(this.image);this.prevLink.addEvent("click",this.previous.bind(this));this.nextLink.addEvent("click",this.next.bind(this));this.bottomContainer=new Element("div",{"class":"lbBottomContainer",styles:{display:"none",zIndex:this.options.zIndex+1}}).inject(document.body);this.bottom=new Element("div",{"class":"lbBottom"}).inject(this.bottomContainer);new Element("a",{"class":"lbCloseLink",href:"javascript:void(0);"}).inject(this.bottom).addEvent("click",this.close.bind(this));this.overlay.addEvent("click",this.close.bind(this));this.caption=new Element("div",{"class":"lbCaption"}).inject(this.bottom);this.number=new Element("div",{"class":"lbNumber"}).inject(this.bottom);new Element("div",{styles:{clear:"both"}}).inject(this.bottom);var A=this.nextEffect.bind(this);this.fx={overlay:new Fx.Tween(this.overlay,{property:"opacity",duration:500}).set(0),resize:new Fx.Morph(this.center,$extend({duration:this.options.resizeDuration,onComplete:A},this.options.resizeTransition?{transition:this.options.resizeTransition}:{})),image:new Fx.Tween(this.image,{property:"opacity",duration:500,onComplete:A}),bottom:new Fx.Tween(this.bottom,{property:"margin-top",duration:400,onComplete:A})};this.preloadPrev=new Element("img");this.preloadNext=new Element("img");},addCss:function(){window.addEvent("domready",function(){if($("LightboxCss")){return ;}new Element("link",{rel:"stylesheet",media:"screen",type:"text/css",href:this.options.assetBaseUrl+"slimbox.css",id:"LightboxCss"}).inject(document.head);}.bind(this));},click:function(E){E=$(E);var B=E.get("rel")||this.options.relString;if(B==this.options.relString){return this.show(E.get("href"),E.get("title"));}var D,C,A=[];this.anchors.each(function(F){if(F.get("rel")==E.get("rel")){for(D=0;D<A.length;D++){if(A[D][0]==F.get("href")){break;}}if(D==A.length){A.push([F.get("href"),F.get("title")]);if(F.get("href")==E.get("href")){C=D;}}}},this);return this.open(A,C);},show:function(A,B){return this.open([[A,B]],0);},open:function(A,B){this.fireEvent("onDisplay");this.images=A;this.position();this.setup(true);this.top=(window.getScroll().y+(window.getSize().y/15)).toInt();this.center.setStyles({top:this.top,display:""});this.fx.overlay.start(0.8);return this.changeImage(B);},position:function(){this.overlay.setStyles({top:window.getScroll().y,height:window.getSize().y});},setup:function(A){var C=$$("object, iframe");C.extend($$(Browser.Engine.trident?"select":"embed"));C.each(function(D){if(A){D.store("lbBackupStyle",D.getStyle("visibility"));}var E=(A?"hidden":D.retrieve("lbBackupStyle"));D.setStyle("visibility",E);});var B=A?"addEvent":"removeEvent";window[B]("scroll",this.eventPosition)[B]("resize",this.eventPosition);document[B]("keydown",this.eventKeyDown);this.step=0;},keyboardListener:function(A){switch(A.code){case 27:case 88:case 67:this.close();break;case 37:case 80:this.previous();break;case 39:case 78:this.next();}},previous:function(){return this.changeImage(this.activeImage-1);},next:function(){return this.changeImage(this.activeImage+1);},changeImage:function(A){this.fireEvent("onImageShow",[A,this.images[A]]);if(this.step||(A<0)||(A>=this.images.length)){return false;}this.step=1;this.activeImage=A;this.center.setStyle("backgroundColor","");this.bottomContainer.setStyle("display","none");this.prevLink.setStyle("display","none");this.nextLink.setStyle("display","none");this.fx.image.set(0);this.center.addClass("lbLoading");this.preload=new Element("img",{events:{load:function(){this.nextEffect.delay(100,this);}.bind(this)}});this.preload.set("src",this.images[A][0]);return false;},nextEffect:function(){switch(this.step++){case 1:this.image.setStyle("backgroundImage","url("+this.images[this.activeImage][0]+")");this.image.setStyle("width",this.preload.width);this.bottom.setStyle("width",this.preload.width);this.image.setStyle("height",this.preload.height);this.prevLink.setStyle("height",this.preload.height);this.nextLink.setStyle("height",this.preload.height);this.caption.set("html",this.images[this.activeImage][1]||"");this.number.set("html",(!this.options.showCounter||(this.images.length==1))?"":"Image "+(this.activeImage+1)+" of "+this.images.length);if(this.activeImage){$(this.preloadPrev).set("src",this.images[this.activeImage-1][0]);}if(this.activeImage!=(this.images.length-1)){$(this.preloadNext).set("src",this.images[this.activeImage+1][0]);}if(this.center.clientHeight!=this.image.offsetHeight){this.fx.resize.start({height:this.image.offsetHeight});break;}this.step++;case 2:if(this.center.clientWidth!=this.image.offsetWidth){this.fx.resize.start({width:this.image.offsetWidth,marginLeft:-this.image.offsetWidth/2});break;}this.step++;case 3:this.bottomContainer.setStyles({top:(this.top+this.center.getSize().y),height:0,marginLeft:this.center.getStyle("margin-left"),display:""});this.fx.image.start(1);break;case 4:this.center.style.backgroundColor="#000";if(this.options.animateCaption){this.fx.bottom.set(-this.bottom.offsetHeight);this.bottomContainer.setStyle("height","");this.fx.bottom.start(0);break;}this.bottomContainer.style.height="";case 5:if(this.activeImage){this.prevLink.setStyle("display","");}if(this.activeImage!=(this.images.length-1)){this.nextLink.setStyle("display","");}this.step=0;}},close:function(){this.fireEvent("onHide");if(this.step<0){return ;}this.step=-1;if(this.preload){this.preload.destroy();}for(var A in this.fx){this.fx[A].cancel();}this.center.setStyle("display","none");this.bottomContainer.setStyle("display","none");this.fx.overlay.chain(this.setup.pass(false,this)).start(0);return ;}});var ImgRollOver=new Class({initialize:function(A){A=$$(A);this.element=A;this.initRoll(A);return this;},initRoll:function(A){$$(A).addEvent("mouseenter",this.onMouseEnter.bind(this));$$(A).addEvent("mouseleave",this.onMouseLeave.bind(this));},onMouseLeave:function(A){this.element.set({styles:{"background-image":"url("+this.element.getProperty("imgsrc")+")"}});this.element.getElement("a").setStyle("text-indent","-2000px");},onMouseEnter:function(A){this.element.setStyle("background","none");this.element.getElement("a").setStyle("text-indent","0px");}});var ReactionPoll=new Class({Implements:Events,initialize:function(B,E,D,C,A){this.element=B;this.nodeId=E;this.siteId=D;this.assetId=C;this.assetTypeId=A;this.reactionList=B.getElements(".reaction");this.waiter=new Waiter(B);if(!this.cookieExists()){this.enableVoting();}else{this.reactionList.each(function(G){var F=G.getElement("span.reactionId").get("text");if(F==this.cookieExists()){this.enableSharing(G);}}.bind(this));}},enableSharing:function(B){var A=B.getElement("span.name").get("text");B.addEvent("click",function(){this.shareFacebook(A);}.bind(this));B.addClass("sharable");},enableVoting:function(){this.reactionList.each(function(A){A.addEvent("click",function(){var B=221;if(PageVars.get("siteId")==162){B=220;}CURS.Manager.checkLogin({registerHed:"Register to submit your reaction",loginHed:"Log in or connect with Facebook to submit",cval:"reactionPoll",appId:B,nextAction:function(){this.waiter.start();this.submitVote.delay(500,this,A);}.bind(this)});}.bind(this));A.addClass("votable");}.bind(this));},disableClickEvents:function(A){this.reactionList.each(function(B){B.removeEvents("click");B.removeClass("votable");B.removeClass("sharable");});},submitVote:function(D){var A=D.getElement("span.reactionId").get("text");var B=D.getElement("span.name").get("text");var E="/8682-"+this.nodeId+"_"+this.siteId+"-0.html";var C=new Request.JSON({url:E,async:false,data:{assetId:this.assetId,assetTypeId:this.assetTypeId,value:A,viewType:"json"},onComplete:function(){this.waiter.stop();}.bind(this),onSuccess:function(G){if(G.response){var F=G.response;if(F.status["$"]=="success"||F.status["$"]=="pending"){this.disableClickEvents();this.writeCookie(A);this.showResults(F);this.shareFacebook(B);this.showMessage("Your vote has been submitted. Thank you.",D);this.enableSharing(D);}else{this.showMessage("<strong>Error: </strong>There was a problem submitting your vote. Please try again.",D);}}}.bind(this),onFailure:function(F){this.showMessage("<strong>Error: </strong>There was a problem submitting your vote. Please try again.",D);}.bind(this)});C.send();},shareFacebook:function(B){var C="I found this "+B.toLowerCase()+"...";var D=new Link(location.href).mergeQueryString({jsdebug:false,refresh:false,tag:"reactionShare"}).set("hash",false).get("href");var A="";try{A=$(document).getElement("link[rel=image_src]").getProperty("href");}catch(E){A=(PageVars.get("siteId")=="162")?"http://i.i.com.com/cnwk.1d/i/tim/2010/03/25/cbs_eye.jpg":"http://cbsinteractive.com/images/brands_sm_logo_cnet.gif";}var F={name:decodeURIComponent(PageVars.get("title")),href:D,description:decodeURIComponent(PageVars.get("description")),media:[{type:"image",src:A,href:D}]};try{CURS.Social.fb.ensureInit(function(){FB.Connect.requireSession(function(){FB.Connect.streamPublish(C,F,null);});},true);}catch(E){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:F});});}},showResults:function(A){var C=0;var D={};for(var B in A.data.datum){D[A.data.datum[B]["@name"]]=A.data.datum[B]["@value"];}this.reactionList.each(function(I){var E=I.getElement("span.reactionId").get("text");var H=0;var F=0;if(D.totalVotes){C=D.totalVotes;}if(D[E]){H=D[E];}if(C>0){F=Math.round(H/C*100);}var G=new Element("span").addClass("percentage").set("text",F+"%");I.adopt(G);});},showMessage:function(C,A){var B=new StickyWin({content:C,relativeTo:A,className:"reactionPollMessage",position:"upperLeft",fadeDuration:500}).show();B.hide.delay(4000,B);},writeCookie:function(A){Cookie.write("reaction_poll_"+this.assetId,A,{domain:this.getCookieHost(),path:"/",encodeValue:false,duration:14});},getCookieHost:function(){var A=window.location.hostname.split(".");return"."+A[A.length-2]+"."+A[A.length-1];},cookieExists:function(){return Cookie.read("reaction_poll_"+this.assetId);}});var commentsForms={findMessageId:function(C){var B=null;var A=C;do{B=A.getProperty("messageId");}while(!B&&(A=A.getParent("dl")));if(!B){return false;}return{commentId:B};},findParentMessageId:function(C){var B=null;var A=C;do{B=A.getProperty("messageId");}while(!B&&(A=A.getParent("dl")));if(!B){return false;}return{parentCommentId:B};}};var initializeComments=new Class({initialize:function(){if(!$("fixedCommentBox")){return false;}$("fixedCommentBox").getElement("dl.addcommentform").setStyle("display","block");this.setUpComments();this.initLinks();},setUpComments:function(){commentsForms.reply=new CommentForm("replyArea",{findLocalData:commentsForms.findParentMessageId,resetOnHide:false,submitElems:".addcomment a",submissionType:"comment",closeElems:".cancel a",useTextFieldCounter:false,onCommentSuccess:function(I){new Jlogger({tag:"submitReply"}).ping();Cookie.write("cachebypass","true",{duration:0.01,path:"/"});try{I=JSON.decode(I);var H=this.thanks.getElement("div a");if(I.commentId&&H.get("text").contains("Click here to view")){H.setProperty("href",PageVars.getPath({pageType:"8618",pageNumber:false})+"?assetTypeId=41&messageId="+I.commentId);}}catch(J){dbug.log("Failed to ammend the reply link: %o",J);}},onRelocate:function(){if(this.form.getElement("input[name=post_fb]")){this.form.getElement("input[name=post_fb]").checked=true;}}});CURS.Manager.addEvent("onLogin",function(){if(CURS.Social.fb.isUser()){commentsForms.reply.addEvent("onCommentSuccess",function(){var M=$E("h1");var K=M.getElement("a");var J=((K)?K:M).get("text");dbug.log("Story title: "+J);dbug.log("Reply summary: "+CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false));var H=((K)?"http://news.cnet.com"+K.get("href"):new Link(window.location.href).mergeQueryString({jsdebug:false,tag:false}).get("href"));var N=this.thanks.getElement("a.readMore");var I=[{text:"Read this comment",href:(N.get("href").contains("http://"+document.domain))?N.get("href"):"http://"+document.domain+N.get("href")}];try{CURS.Social.fb.ensureInit(function(){FB.Connect.streamPublish("",{name:J,href:H,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false)},I);},true);}catch(L){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:{name:J,href:H,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("replyArea").getElement("textarea[name=body]").get("value"),4999,false)},action_links:I,user_message_prompt:""});});}});}});commentsForms.offensive=new CommentForm("offensiveArea",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submitElems:".submit.send a.button",submissionType:"rop",closeElems:".cancel a",useTextFieldCounter:false,onRelocate:function(){var I=this.form.getElement("input[name=permalink]");var H=new Link(I.get("value")).mergeQueryString({messageId:this.form.getElement("input[name=commentId]").get("value")});H=H.get("href").replace("http://"+document.domain,"");I.set("value",H);},onCommentSuccess:function(){new Jlogger({tag:"submitOffensive"}).ping();}});commentsForms.emailAFriend=new CommentForm("emailAFriendArea",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submissionType:"email",submitElems:".submit.send a.button",closeElems:".cancel a",useTextFieldCounter:false,onRelocate:function(){var I=this.form.getElement("input[name=permalink]");var H=new Link(I.get("value")).mergeQueryString({messageId:this.form.getElement("input[name=commentId]").get("value")});H=H.get("href").replace("http://"+document.domain,"");I.set("value",H);},onCommentSuccess:function(){new Jlogger({tag:"emailComment"}).ping();}});var C=function(){commentsForms.newComment=new CommentForm("newCommentForm",{submitElems:".submit.addcomment a.button",clone:false,submissionType:"comment",useTextFieldCounter:false,onCommentSuccess:function(K){Cookie.write("cachebypass","true",{duration:0.01,path:"/",domain:CURS.Manager.getCookieHost()});new Jlogger({tag:"submitComment"}).ping();var J="opt_out";if($("newCommentForm").getElement("#subscribeComments").checked){J="opt_in";}if(typeof abvar=="undefined"){abvar="";}new Jlogger({ctype:"comment_opt",cval:J,tag:abvar}).ping();try{this.thanks.inject($("fixedCommentBox"),"before");$("fixedCommentBox").setStyle("display","none");K=JSON.decode(K);var I=this.thanks.getElement("div a");if(K.commentId&&I.get("text").contains("Click here to view")){I.setProperty("href",PageVars.getPath({pageType:"8618",pageNumber:false})+"?assetTypeId=41&messageId="+K.commentId);}}catch(L){dbug.log("Thanks replacement fail: %o",L);}}});if(CURS.Social.fb.isUser()){commentsForms.newComment.addEvent("onCommentSuccess",function(){var N=$E("h1");var L=N.getElement("a");var K=((L)?L:N).get("text");var I=((L)?"http://news.cnet.com"+L.get("href"):new Link(window.location.href).mergeQueryString({jsdebug:false,tag:false}).get("href"));var O=this.thanks.getElement("a.readMore");dbug.log("Story title: "+K);dbug.log("Comment summary: "+CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false));var J=[{text:"Read this comment",href:(O.get("href").contains("http://"+document.domain))?O.get("href"):"http://"+document.domain+O.get("href")}];try{CURS.Social.fb.ensureInit(function(){FB.Connect.streamPublish("",{name:K,href:I,caption:"{*actor*} commented on this story on CBS News.",description:CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false)},J);},true);}catch(M){CURS.Social.fb.ensureActiveSession(function(){FB.ui({method:"stream.publish",display:"dialog",message:"",attachment:{name:K,href:I,caption:"{*actor*} replied to a CBS News member's comment on this story.",description:CURS.Social.fb.getParsedText($("newCommentForm").getElement("textarea[name=body]").get("value"),4999,false)},action_links:J,user_message_prompt:""});});}});}var H=commentsForms.newComment.form.getElement("input[name=body]");if(H){H.addClass("maxLength").setProperty("validatorprops","{minLength:2, maxLength: 4999}");}};var G=function(L){var K="<a class='login'>Log in or create an account</a> to post a comment.";K+='<span class="fbButton"> OR';K+='<span class="fbConnectInvite" style="text-align:center;">Quickly sign in with: </span>';L=L||K;var H=$E("dd.invite")||(new Element("dd",{"class":"status invite",html:'<p class="message"></p>'}).inject($("fixedCommentBox").getElement(".addcommentform dt.hed"),"after"));var J=H.getElement("p.message");J.empty();J.set("html",L);D(J);var I;if((dbug.enabled||Browser.qs.jsdebug)&&CBSi.jsdebug){if(CBSi.jsdebug=="true"){I="http://publish.cnet.com:8100/html/rb/js/tron/oreo.login.js";}else{if(PageVars.get("siteId")==162){I="http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/cbsnews/oreo.a2.cbsnews.login.js";}else{I="http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/oreo.login.js";}}}else{I="http://i.i.com.com/cnwk.1d/html/rb/js/tron/oreo.login.compressed.js";}if(!CURS.Process){new Asset.javascript(I,{id:"oreoLogin",onload:function(){CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});}else{CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}D(J);};var B=function(){var H=$("fixedCommentBox").getElement("dd.invite");if(!$("fixedCommentBox").getElement("dd.welcome")){var I=new Element("dd",{"class":"status welcome",html:'<p>You are logged in as <span class="cnetUserName"></span>. Please leave a comment.'});if(H){I.replaces(H);}else{I.inject($("fixedCommentBox").getElement(".addcommentform dt.hed"),"after");}}CURS.Manager.writeUserNames(I);};var D=function(H){if(!E){return false;}E=E.filter(function(J){return !!$(J);});var I=$(H).getElements("a");I=I.filter(function(J){return !E.contains(J);});I.addEvent("click",F);E.combine(I);};G();var A=function(){if(!UserVars.isLoggedIn()){G();}else{if(!UserVars.hasFullAccess()){G("Your account is not yet confirmed. <a>Click here to confirm your account.</a>");}else{if(!$chk(UserVars.get("userName"))){G("You'll need a CBS News username in order to submit a review. <a>Click here to create a username.</a>");}else{B();if(!commentsForms.newComment){C();}}}}};CURS.Manager.addEvent("onLogin",function(){A();CURS.Manager.addEvent("onStateChange",function(){A();});});var E=$("fixedCommentBox").getElements(".status a.login, #new-body, #subComment");var F=function(H){var I={registerHed:"Join CBS News to comment on this story",loginHed:"Log in to CBS News to comment on this story",appId:"189",nextAction:function(){if(commentsForms.newComment){E.removeEvent("click",F);CURS.Manager.removeEvents("onStateChange");}}};CURS.Manager.checkLogin(I);};E.addEvent("click",F);window.addEvent("domready",function(){if(!UserVars.isLoggedIn()){var H;if((dbug.enabled||Browser.qs.jsdebug)&&CBSi.jsdebug){if(CBSi.jsdebug=="true"){H="http://publish.cnet.com:8100/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.js";}else{H="http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/cbsnews/oreo.a2.cbsnews.login.js";}}else{H="http://i.i.com.com/cnwk.1d/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.compressed.js";}if(!CURS.Process){new Asset.javascript(H,{id:"oreoLogin",onload:function(){CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});}else{CURS.Social.fb.init();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}}});},initLinks:function(A){A=$(A)||$(document.body).getElement(".userComments");A.getElements("a.reply").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to reply to this comment",loginHed:"Log in to CBS News to reply to this comment",appId:"189",nextAction:function(){commentsForms.reply.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});A.getElements("a.repo").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to report this comment",loginHed:"Log in to CBS News to report to this comment",appId:"189",nextAction:function(){commentsForms.offensive.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});A.getElements("a.mail").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CBS News to e-mail this comment to a friend",loginHed:"Log in to CBS News to e-mail this comment to a friend",appId:"189",nextAction:function(){commentsForms.emailAFriend.move($(B.target).getParent("dl").getElement(".toolstretch"));}});});this.initLike();},initLike:function(){$$(".userComments a.like, .userComments a.unlike").addEvent("click",function(A){this.likeWaiter=new Waiter(A.target,{baseHref:"http://i.i.com.com/cnwk.1d/i/cbs/",img:{src:"commentsLikeLoader.gif",styles:{width:16,height:16,background:"#EDEDED"}},layer:{styles:{background:"#EDEDED"}}});CURS.Manager.checkLogin({registerHed:"Join CBSNews.com to like this comment",loginHed:"Log in to CBSNews.com to like this comment",appId:220,cval:"assetrating",nextAction:function(){this.likeWaiter.start();this.sendLikeUnlikeRequest(A.target);}.bind(this)});}.bind(this));},sendLikeUnlikeRequest:function(B){var A=(B.hasClass("like"))?"8679":"8680";if(!B.hasClass("likethankyou")){new Request.JSON({url:"/"+A+"-4_"+PageVars.get("siteId")+"-0.html",data:{assetId:(B.getProperty("assetId"))?B.getProperty("assetId"):null,assetTypeId:77,viewType:"json",assetVoteId:(B.hasClass("like"))?null:B.getProperty("assetVoteId")},onSuccess:function(E){if(E){E=E.response;if(E.status["$"]=="success"){new Jlogger({tag:(B.hasClass("like"))?"likeComment%":"unlikeComment%"}).ping();var F;E.data.datum.each(function(H){if(H["@name"]=="assetTypeId"){F=H["@value"];}if(H["@name"]=="assetVoteId"){assetVoteId=H["@value"];}});if(!B.getProperty("assetVoteId")){B.setProperty("assetVoteId",F);}B.set("text","Thank you!");B.addClass("likethankyou");this.likeWaiter.stop();this.setVoteNum(B,(B.hasClass("like"))?"like":"unlike");this.toggleLike.delay(3000,this,B);}else{if(E.errors.error["@name"]=="ALREADY_VOTED"){var C=new StickyWinFx({content:"You have already liked this comment",relativeTo:B,className:"alreadyVotedMsg",position:"upperLeft",fadeDuration:500}).show();this.toggleLike(B);this.likeWaiter.stop();C.hide.delay(4000,C);}else{if(E.errors.error["@name"]=="REMOVE_PROBLEM"){var D=new StickyWinFx({content:"<b>Error: </b>There was a problem removing your vote. Please try again.",relativeTo:B,className:"removeProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();D.hide.delay(4000,D);}else{if(E.errors.error["@name"]=="SUBMIT_PROBLEM"){var G=new StickyWinFx({content:"<b>Error: </b>There was a problem submitting your vote. Please try again.",relativeTo:B,className:"submitProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();G.hide.delay(4000,G);}else{if(E.errors.error["@name"]=="NOT_OWNER"){var D=new StickyWinFx({content:"<b>Error: </b>You do not have a vote registered for this comment.",relativeTo:B,className:"removeProblemMsg",position:"upperLeft",fadeDuration:500}).show();this.likeWaiter.stop();this.toggleLike(B);D.hide.delay(4000,D);}}}}}}}.bind(this)}).send();}else{this.likeWaiter.stop();}},toggleLike:function(A){A.removeClass("likethankyou");if(A.hasClass("like")){A.set("text","Unlike this");}else{A.set("text","Like this");}A.toggleClass("like");A.toggleClass("unlike");},setVoteNum:function(C,B){if(C.getParent().getElement("span.liked")){var E=C.getParent().getElement("span.liked");var A=E.getElement("b").get("text").toInt();var D;if(B=="like"){if(A==1){D="people like";}else{D="people";}A+=1;}else{if(A==1){D="people like";}else{if(A>1){D="person likes";}}A-=1;}E.set("html","<b>"+A+"</b> "+D+" this comment");}else{if(B="like"){new Element("span",{"class":"liked"}).set("html","<b>1</b> person likes this comment").inject(C.getParent(),"bottom");}}}});window.addEvent("domready",function(){commentsForms.initialize=new initializeComments();});var CBSPostCarousel=new Class({initialize:function(){new Jlogger({tag:"galleryStrip",ctype:"button",cval:"arrowRight",element:$$("#cbsPostCarousel .arrowRight")[0],event:"click"});new Jlogger({tag:"galleryStrip",ctype:"button",cval:"arrowLeft",element:$$("#cbsPostCarousel .arrowLeft")[0],event:"click"});return new CBSPhotoCarousel("cbsPostCarousel",{autoplay:false,indicatorActiveClass:"active",rotateAction:"click",indicatorContainerClass:"indicatorNum",nextButtonClass:"arrowRight",prevButtonClass:"arrowLeft",indicatorDisplayStart:1});}});var CBSPhotoCarousel=new Class({Extends:CBSCarousel,initialize:function(A,B){A=$(A);if(A.retrieve("carousel")){return false;}this.container=A;this.container.store("carousel",this);this.setOptions(B);this.slides=this.setSlides();if(this.options.useIndicators){this.setIndicators();}this.showSlide(this.options.startIndex);this.setButtons();if(this.options.pauseOnHover&&this.options.autoplay){this.setHoverPausing();}if(this.options.pauseOnBlur&&this.options.autoplay){this.setWindowPausing();}if(this.options.autoplay){this.autoplay();}this.loadImages.run(this.container.getElements(this.options.slide$$));this.fireEvent("onInitialize");return this;},createIndicators:function(){var C=this.options,A=new Element("div",{"class":C.indicatorContainerClass}).inject($("indicatorPhotoNum"));var D=[];for(var B=0;B<this.slides.length;B++){D.push(new Element("span",{"class":"scrollingNum",text:B+(C.indicatorDisplayStart||0)}).inject(A));}return D;},loadImages:function(){$A(arguments).each(function(A){var C=A.getElement(".assetThumb img");var B=(C)?C.getProperty("loadsrc"):null;if(C&&B){if(C.getProperty("src")!=B){C.setProperty("src",B);}}});}});var bitly=new CbsBitly({login:"cbsnews",apiKey:"R_5194ad6301a8e6a67df7ed416400200e"});window.addEvent("domready",function(){$$(".sideScroller").each(function(A){if(!A.retrieve("thumbscroller")){new CBSThumbScroller(A);}});});var abvar=Cookie.read("cbs_test_group")||"NOCOOKIE";Cookie.dispose("test_group");window.addEvent("domready",function(){new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"bottomMPU",fireOnce:true,event:"scrollTo",scrollTo:{top:"bottomMPU"}});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"story_bottom",fireOnce:true,event:"scrollTo",scrollTo:{top:$$(".socialAreaStoryBlog")[0]}});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"footer",fireOnce:true,event:"scrollTo",scrollTo:{top:"cbsFooterWrap"}});new Jlogger({tag:abvar,ctype:"cbs_scroller",cval:"scroll",fireOnce:true,element:window,event:"scroll"});new JlScroller({tag:abvar,ctype:"cbs_scroller",cval:"reenagagement_bottom",fireOnce:true,event:"scrollTo",scrollTo:{bottom:$$(".cbsnewsTwoColStoryRelatedArea")[0]}});$each($("contentBody").getElements(".post"),function(D,C,B){var F=C+1;if(PageVars.get("pageNumber")){F=F+(PageVars.get("pageNumber")*10);}var E=[3,5,7,10,15,20];if(E.indexOf(F)!=-1){var A=new JlScroller({name:"cbs_scroller",tag:"cbs_scroller",ctype:PageVars.get("pageType"),cval:"post"+F,fireOnce:true,event:"scrollTo",scrollTo:{bottom:D.getElement(".socialAreaStoryBlog")}});}});$$("#cbsPostCarousel .indicatorNum span").addEvent("click",function(){new Jlogger({tag:"galleryStrip",ctype:"button",cval:"centerNum"}).ping();});});window.addEvent("domready",function(){var C=$$(".socialConnect").getElements("li")[0]||false;if(C){$each(C,function(E){cl=E.get("class").toLowerCase();if(cl.indexOf("rss")==-1){cl="social_share_"+cl;}if(cl){cl=cl.replace("about","");new Jlogger({tag:"right_"+cl,ctype:PageVars.get("pageType"),cval:cl,element:E,event:"click"});}});}new Jlogger({tag:abvar,ctype:"social_follow",cval:"rss",element:$$(".about .subscribe")[0],event:"click"});if($$(".inline-slideshow").length>0){dbug.log("cnet gallery");var A=$$(".inline-slideshow");for(var B=0;B<A.length;B++){var D=$("inline-slideShow"+B);$$(".inline-slideshow")[B].getElement(".galleryBody").set("id","inline-slideShow"+B);new ThumbScroller("inline-slideShow"+B,{thumbs:".slides li",nav:{next:$("inline-slideShow"+B).getParent().getElement(".scrollingArrows .arrowRight"),previous:$("inline-slideShow"+B).getParent().getElement(".scrollingArrows .arrowLeft")}}).addEvent("onComplete",function(F){dbug.log($(F));var E=$(F).getParent().getElement(".galleryCount.currentlyViewing").get("text").split("-");if(!this.isAtEnd()&&!this.isAtStart()){if(this.lastScroll=="previous"){$(F).getParent().getElement(".galleryCount.currentlyViewing").set("html",(parseInt(E[0])-1)+"-"+(parseInt(E[1])-1));}else{$(F).getParent().getElement(".galleryCount.currentlyViewing").set("html",(parseInt(E[0])+2)+"-"+(parseInt(E[1])+2));}}else{if(this.isAtEnd()){$(F).getParent().getElement(".galleryCount.currentlyViewing").set("html",(parseInt($(F).getParent().getElement(".galleryCount.totalCount").get("text"))-1)+"-"+(parseInt($(F).getParent().getElement(".galleryCount.totalCount").get("text"))));}else{if(this.isAtStart()&&this.to[0]==0){$(F).getParent().getElement(".galleryCount.currentlyViewing").set("html","1-2");}}}$(F).getParent().getElement(".scrollingArrows.arrowLeft").morph({opacity:((this.isAtStart())?0.3:1)});$(F).getParent().getElement(".scrollingArrows.arrowRight").morph({opacity:((this.isAtEnd())?0.3:1)});}).fireEvent("onComplete","inline-slideShow"+B);}}});window.addEvent("domready",function(){if($("socialToolBarTop")){new JlScroller({tag:"topEmail",ctype:"topEmailExpand",cval:"expand",fireOnce:true,element:$("socialToolBarTop").getElement(".emailForm"),event:"click"});new JlScroller({tag:"bottomEmail",ctype:"bottomEmailExpand",cval:"expand",fireOnce:true,element:$("socialToolBarBottom").getElement(".emailForm"),event:"click"});}});if(!$defined(Element.cbsNodeIndex)){Element.implement("cbsNodeIndex",function(){var A=0;elem=this;while(elem.previousSibling){if(elem.previousSibling.nodeName=="#text"){elem=elem.previousSibling;}else{A++;elem=elem.previousSibling;}}return A;});}window.addEvent("domready",function(){if($("storyStrip")){new Jlogger({tag:"storyStrip",ctype:"button",cval:"prev",element:$("storyStrip").getElement(".arrowLeft"),event:"click"});new Jlogger({tag:"storyStrip",ctype:"button",cval:"next",element:$("storyStrip").getElement(".arrowRight"),event:"click"});$("storyStrip").getElements("a").each(function(B){if(B.getParent(".promoBox")){var A=B.getParent(".promoBox").cbsNodeIndex()+1;A=Math.ceil(A/3);new Jlogger({tag:"storyStrip",ctype:"action;pane",cval:"click;"+A,element:B,event:"click"});}});}if($$("webMDModuleWrap")){new Jlogger({tag:"webmd",ctype:"module_impression",cval:"module_b",element:$$("webMDModuleWrap").getElement(".webmdContent")}).ping();$$(".webMDModuleWrap .webmdContent li a").addEvent("click",function(){new Jlogger({tag:"webmd",ctype:"module_b",cval:"module_click:quiz"}).ping();});}});window.addEvent("domready",function(){try{$$(".reactionPoll").each(function(B){new ReactionPoll(B,PageVars.get("nodeId"),PageVars.get("siteId"),PageVars.get("assetId"),1);});}catch(A){dbug.log("ReactionPoll implementation failure: %o",A);}});window.addEvent("domready",function(){var M=PageVars.get("pageType");if(M!="8300"){if(typeof blogVideoObj!="undefined"){if(PageVars.get("nodeId")=="504803"||blogVideoObj.auto=="true"){if($("vidTemp")){var I=new Element("div",{id:"flashvideocontent"});I.injectAfter($("vidTemp"));$$(".videoLarge").dispose();$("topMPU").empty();CBSVideo.setNewData({playerWidth:"620",vidWidth:"620"});CBSVideo.setPlayerResize(413,620);CBSVideo.setVideoId(blogVideoObj.vidId);}}else{if($("vidTemp")){var D=new Element("div",{id:"videoLargeID","class":"videoLarge",videoid:blogVideoObj.vidId});var A=new Element("div",{"class":"playStoryVid",styles:{"background-image":"url("+blogVideoObj.thumb+")",width:"620px",height:"349px",cursor:"pointer"}});var F=new Element("a",{"class":"videoOverlay playStoryVid",text:"Play CBS News Video"});D.injectAfter($("vidTemp"));A.injectInside(D);F.injectAfter(A);$$(".playStoryVid").addEvent("click",function(O){var N=new Element("div",{id:"flashvideocontent"});N.injectAfter($("vidTemp"));$$(".videoLarge").dispose();$("topMPU").empty();CBSVideo.setNewData({playerWidth:"620",vidWidth:"620"});CBSVideo.setPlayerResize(413,620);CBSVideo.setVideoId(blogVideoObj.vidId);});}}}if($("videoLargeID")){$$(".playStoryVid").addEvent("click",function(P){var N=new Element("div",{id:"flashvideocontent"});var O=$("videoLargeID").get("videoid");N.injectAfter($("videoLargeID"));$$(".playStoryVid").dispose();$("topMPU").empty();CBSVideo.setNewData({playerWidth:"620",vidWidth:"620"});CBSVideo.setPlayerResize(413,620);CBSVideo.setVideoId(O);});}}$$(".secSearch").addEvent("click",function(N){$("secFilter").set("value",this.getChildren("span").get("section"));$("searchDrop").getElement(".searchSectionName").set("text",this.getChildren("span").get("text"));});$$(".imgRoll").each(function(N){new ImgRollOver(N);});if($(document.body).get("html").match(/rel=?.lightbox/i)){new Lightbox({assetBaseUrl:"http://i.i.com.com/cnwk.1d/css/rb/Build/cbsnews/global/"});}if($("socialToolBarTop")){$$(".expose").addEvent("click",function(O){dbug.log("expose 1");var N=Cookie.read("cbsCommentsExpose");if(N==null){dbug.log("write 1");Cookie.write("cbsCommentsExpose","Pharma",{duration:0,path:"/"});}cbsiAdGlobal.DVAR_EXCLUDE="Pharma";cbsiRegisterAdGlobals(cbsiAdGlobal);cbsiGetDeferredAds();K.display(0);new Jlogger({tag:"comment_expand",ctype:"decide_comment",cval:"yes_comment"}).ping();});$$(".accord").setStyle("display","block");var E=$$(".socialToolBar li.position3t, .socialToolBar li.position4t, .socialToolBar li.position5t");var H=$$(".accordion div.pos3Content, .accordion div.pos4Content, .accordion div.pos5Content");var B=new CBSAccordion(E,H,{display:-1,opacity:0,alwaysHide:true,onActive:function(O,N){N.setStyle("margin-top","15px");O.getElement(".smallUnder").set("text","CLOSE [x]");dbug.log("twitter: "+O.getElements("a.primary").get("class")+"|"+O.getElements("a.primary").get("class").contains("icon_twitter"));if(O.getElements("a.primary").get("class")=="primary icon_twitter"){activeTweetBox="tweetBoxSTBTop";bitlyLoader();bitly.shortenCB(unescape(PageVars.get("href")),bitlyCB);}if(O.getElements("a.primary").get("class")=="primary icon_more"){new Jlogger({tag:"shareDropTop",ctype:"shareDropTop",cval:"expand"}).ping();}if(O.getElements("a.primary").get("class")=="primary icon_facebook"){fbLoader("#socialToolBarTop .pos3Content");}},onComplete:function(){},onBackground:function(O,N){N.setStyle("margin-top","0");O.getElement(".smallUnder").set("text",O.getElement(".smallUnder").get("verb"));if(O.getElements("a.primary").get("class")=="primary icon_twitter"){activeTweetBox="tweetBoxSTBTop";bitlyUnLoader();}if(O.getElements("a.primary").get("class")=="primary icon_facebook"){fbUnloader("#socialToolBarTop .pos3Content");}}});}if($("socialToolBarBottom")){var C=true;var J=false;$$(".accord").setStyle("display","block");var G=$$(".socialToolBar li.position1b, .socialToolBar li.position3b, .socialToolBar li.position4b, .socialToolBar li.position5b");var L=$$(".accordionB div.pos1Contentb, .accordionB div.pos3Contentb, .accordionB div.pos4Contentb, .accordionB div.pos5Contentb");var K=new CBSAccordion(G,L,{display:-1,opacity:0,alwaysHide:true,onActive:function(P,N){N.setStyle("margin-top","15px");P.getElement(".smallUnder").set("text","CLOSE [x]");if(P.getElements("a.primary").get("class")=="primary icon_twitter"){activeTweetBox="tweetBoxSTBBottom";bitlyLoader();bitly.shortenCB(unescape(PageVars.get("href")),bitlyCB);}if(P.getElements("a.primary").get("class")=="primary icon_more"){new Jlogger({tag:"shareDropBottom",ctype:"shareDropBottom",cval:"expand"}).ping();}if(P.getElements("a.primary").get("class")=="primary icon_facebook"){dbug.log("fb load");fbLoader("#socialToolBarBottom .pos3Contentb");}if(N.hasClass("pos1Contentb")){dbug.log("pos1Contentb active");J=true;var O=Cookie.read("cbsCommentsExpose");if(O==null){dbug.log("write 2");Cookie.write("cbsCommentsExpose","Pharma",{duration:0,path:"/"});}cbsiAdGlobal.DVAR_EXCLUDE="Pharma";cbsiRegisterAdGlobals(cbsiAdGlobal);cbsiGetDeferredAds();new Jlogger({tag:"comment_expand",ctype:"decide_comment",cval:"yes_comment"}).ping();}},onComplete:function(){if(C){C=false;return ;}dbug.log(G.get("class")[0]);},onBackground:function(O,N){N.setStyle("margin-top","0");O.getElement(".smallUnder").set("text",O.getElement(".smallUnder").get("verb"));dbug.log("I am on background");dbug.log(N);if(N.hasClass("pos1Contentb")&&J){dbug.log("DO SOMETHING REALLY SPECIAL HERE");cbsiAdGlobal.DVAR_EXCLUDE="";cbsiRegisterAdGlobals(cbsiAdGlobal);cbsiGetDeferredAds();new Jlogger({tag:"comment_lock",ctype:"decide_comment",cval:"no_comment"}).ping();J=false;}if(O.getElements("a.primary").get("class")=="primary icon_twitter"){activeTweetBox="tweetBoxSTBBottom";bitlyUnLoader();}if(O.getElements("a.primary").get("class")=="primary icon_facebook"){fbUnloader("#socialToolBarBottom .pos3Contentb");}}});}});var bitlyCB=function(A){var A=this.shortUrl;dbug.log(activeTweetBox);twttr.anywhere(function(B){$(activeTweetBox).empty();B("#"+activeTweetBox).tweetBox({height:100,width:450,label:"What do you think?",defaultContent:"Now reading : "+$$("h1")[0].get("text")+" : "+A+" via @CBSNews"});});};bitlyLoader=function(){$(activeTweetBox).setStyle("height",180);};bitlyUnLoader=function(){$(activeTweetBox).setStyle("height","");};fbLoader=function(A){$$(A).set("html",'<div style="height: 350px;overflow:auto;position:relative;"><fb:comments xid="'+PageVars.get("assetId")+'" numposts="2" migrated="1"></fb:comments></div>');CURS.Social.fb.init();};fbUnloader=function(A){$$(fbUnloader).set("html","");};window.addEvent("domready",function(){var A;if((dbug.enabled||Browser.qs.jsdebug)&&CBSi.jsdebug){if(CBSi.jsdebug=="true"){A="http://publish.cnet.com:8100/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.js";}else{A="http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/cbsnews/oreo.a2.cbsnews.login.js";}}else{A="http://i.i.com.com/cnwk.1d/html/rb/js/tron/cbsnews/oreo.a2.cbsnews.login.compressed.js";}if(!CURS.Process){new Asset.javascript(A,{id:"oreoLogin",onload:function(){CURS.Social.fb.init();$$(".fbHeaderButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});}else{CURS.Social.fb.init();$$(".fbHeaderButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});var UserSearchModule=new Class({Implements:[Options,Events],options:{apiUrl:"http://api.cnet.com/rest/v1.1/cbsNewsSearch"},killBit:false,searchQuery:null,search:false,initialize:function(A){this.setOptions(A);this.getSearchQuery();this.abTest=Cookie.read("CBSNewsSearchTest")||"NONE";if(this.abTest=="NONE"||this.abTest=="CONTROL"||this.search==false){this.killBit=true;return ;}this.setBoxType();this.loaded=false;this.hasContent=false;if($defined(this.searchQuery)){this.fetchResults();}},getSearchQuery:function(){var A=new SearchQuery();var B=A.getQuery();if(B){this.searchQuery=decodeURIComponent(B.replace(/\+/g," "));this.search=true;}},getParams:function(){var A={};A.iod="none";A.start=0;A.limit=3;A.orderBy="relevance~desc";A.partTag="cbsnews-userSearchModule";A.queryType="cbsSearch";A.viewType="json";A.callback="UserSearchModule.requests."+this.requestName+".loadResponse";A.query=this.searchQuery;return A;},fetchResults:function(){this.addRequest();this.script=new Element("script",{type:"text/javascript",src:this.getQuery()}).inject(document.head);},getQuery:function(){var A=new Hash($merge(this.getParams(),{}||{})).toQueryString();return this.options.apiUrl+"?"+A;},addRequest:function(){var A=UserSearchModule.requests.push(this)-1;this.requestName=this.options.requestName||"request_"+A;UserSearchModule.requests[this.requestName]=this;},loadResponse:function(A){this.loaded=true;var B;try{if(this.script){this.script.dispose();}}catch(C){dbug.log("Script disposal issue: %o",C);}if(!A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry||A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry.length<1){return false;}this.numFound=A.CNETResponse.UnifiedContentEntries["@numFound"];this.responses=A.CNETResponse.UnifiedContentEntries.UnifiedContentEntry;this.hasContent=true;this.buildBox();},buildBox:function(){var B=new Hash();B.set("resultsList",this.buildList());B.set("header","<h2>Not What You Were Looking For?</h2>");B.set("searchBox",'<form method="get" action="/1789-5_162-0.html"><input type="text" id="query" name="query" value="" /><input type="hidden" name="searchtype" value="googleSearch" /><input type="submit" name="do_search" id="do_search" value="Search"/>'+this.googleLogo()+"</form>");var A=this.getBox();$each(B,function(E,D,C){E=E.replace("%%%QUERY%%%",this.stringSafe(this.searchQuery));A=A.replace("%%%"+D+"%%%",E);}.bind(this));this.box=A;},stringSafe:function(A){if(A.length>0){A=A.replace("<","&lt;");A=A.replace(">","&gt;");}return A;},setBoxType:function(){if(this.abTest=="TEST2"&&PageVars.get("pageType")==2100){this.boxType="dsGoogleModuleVert";}else{this.boxType="dsGoogleModuleHoriz";}},getBox:function(A){if(this.boxType=="dsGoogleModuleHoriz"){return'<div section="dsGoogleModule" class="dsGoogleModule dsGoogleHoriz clearfix"><div class="dsGoogleModuleInner clearfix"><div class="dsGoogleLeft">%%%resultsList%%%</div><div class="dsGoogleRight">%%%header%%% <p class="dsGoogleOrTry">Try a new Google Web Search</p>%%%searchBox%%%</div></div></div>';}return'<div section="dsGoogleModule" class="dsGoogleModule dsGoogleVert"><div class="dsGoogleModuleInner">%%%header%%% %%%resultsList%%% <p class="dsGoogleOrTry">Or try a new Google Web Search</p>%%%searchBox%%%</div></div>';},googleLogo:function(){var C=1;var A=29;var B=59;if(this.boxType=="dsGoogleModuleHoriz"){C=2;A=21;B=95;}return'<img src="http://i.i.com.com/cnwk.1d/i/cbs/search/google'+C+'.gif" alt="Powered By Google" width="'+B+'" height="'+A+'" class="googleLogo" />';},loadBox:function(){if(this.loaded&&!this.hasContent||this.killBit){dbug.log("Dyn GOOG Search Module: No results or KillBit.");return ;}if(!this.loaded){dbug.log("Dyn Goog Search Module: Checking Status");setTimeout(function(){this.loadBox();}.bind(this),100);return ;}var B=$(this.boxType);dbug.log("Dyn Goog Search Module: Results loading");B.hide();B.set("html",this.box);if(!Browser.Engine.trident){B.reveal();}else{B.setStyles({display:"block",position:"relative"});}var A="horizontal";if(this.boxType=="dsGoogleModuleVert"){A="vertical";}new Jlogger({tag:"dynSearchModule",ctype:"testImpression",cval:A}).ping();},buildList:function(){var B='<p>More results for "%%%QUERY%%%"</p><ul>';for(i=0;i<this.responses.length;i++){B+='<li><a href="'+this.responses[i].Url["$"]+'">'+this.responses[i].Title["$"]+"</a></li>";}B+="</ul>";var A=new Hash($merge({query:this.searchQuery},{}||{})).toQueryString();if(this.numFound>3){B+='<p class="viewMore"><a href="/1770-5_162-0.html?'+A+'&searchtype=cbsSearch">View More</a></p>';}return B;}});UserSearchModule.requests=[];var usm=new UserSearchModule();window.addEvent("load",function(){$$("cbsAudio").each(function(H){var J=H.getAttribute("src");var I=H.innerHTML;var E=new Element("div",{id:"cbsAudioPlayer"});var B=new Element("div",{"class":"cbsAudioPlayerInner"});var D=new Element("div",{id:"cbsaudio"});var G=new Element("p",{text:H.getAttribute("title")+" | "});var A=new Element("a",{text:"Download MP3",href:"http://www.cbsnews.com/common/includes/podcast.php?file="+J});var C=new Element("span",{text:"LISTEN"});E.injectBefore(H);B.injectInside(E);G.injectInside(B);A.injectInside(G);C.injectAfter(G);D.injectAfter(C);var K="http://i.i.com.com/cnwk.1d/av/n/emff.swf?src="+J;var F=new SWFObject(K,"cbsAudioPlayer","150","40","9","#FFFFFF");F.addParam("quality","high");F.addParam("movie",K);F.write("cbsaudio");});});var OutbrainModule=new Class({Implements:Events,killBit:false,searchQuery:null,search:false,initialize:function(){this.getSearchQuery();this.abTest=Cookie.read("cbs_test_group")||"NONE";if(this.abTest=="1"){this.killBit=true;return ;}if(!$defined(this.searchQuery)){this.killBit=true;}if(PageVars.get("channelId")==205||PageVars.get("channelId")==201){this.killBit=false;}},getSearchQuery:function(){var A=new SearchQuery();var B=A.getQuery();if(B){this.searchQuery=decodeURIComponent(B.replace(/\+/g," "));this.search=true;}},load:function(A){dbug.log("Outbrain load");if(this.killBit){return false;}dbug.log("Loading outbrain");window.OB_permalink=A;window.OB_Template="CBS";window.OB_widgetId="AR_1";window.OB_langJS="http://widgets.outbrain.com/lang_en.js";if(typeof (window.OB_Script)!="undefined"){OutbrainStart();}else{window.OB_Script=true;var B="<script src='http://widgets.outbrain.com/outbrainWidget.js'; type='text/javascript'><\/script>";document.write(B);}}});var OutbrainModuleInstance=new OutbrainModule();
   }
       
