
 //dbugScripts - will include non-compressed versions of this code if "jsdebug=true" is in the url of this page,
 //otherwise it will execute this code.

 if(!dbugScripts("http://publish.cnet.com:8100/html/rb/js/tron/download/",["download.tron.title.detail2-b.js"])) {
 /*	download.tron.title.detail2.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);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 TextFieldCounter=new Class({Implements:[Options,Events],options:{countUpdateSelector:".cnt",fieldSelector:"textarea",commonParentSelector:"dd",errorClass:"validation-advice",findCounter:function(A){return A.getParent(this.options.commonParentSelector).getElement(this.options.countUpdateSelector);}},initialize:function(B,A){this.setOptions(A);this.form=$(B);this.findCounter=this.options.findCounter;this.form.getElements(this.options.fieldSelector).each(this.setFieldValidation.bind(this));this.fireEvent("onInit");},setFieldValidation:function(D){var B=D.get("validatorProps");if(!B){return ;}B=JSON.decode(B);if(!B&&!B.maxLength){return ;}try{var A=this.findCounter(D);}catch(C){var A=null;}if(!A){return ;}D.addEvent("keyup",function(){var E=D.value.trim().length;A.set("text",E);if((E<(B.minLength||0))||(E>B.maxLength)){A.addClass(this.options.errorClass);}else{A.removeClass(this.options.errorClass);}}.bind(this));},resetCounter:function(B){var A=this.findCounter(B);if(!A){return ;}A.set("text","0").removeClass(this.options.errorClass);},resetAllCounters:function(){this.form.getElements(this.options.fieldSelector).each(this.resetCounter.bind(this));}});var CommentForm=new Class({Extends:FormRecycler.Inline,commentOptions:{submitElems:false,closeElems:false,useValidator:true,validatorOptions:{},useTextFieldCounter:true},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);}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){var D=JSON.decode(E);this.hide();this.thanks=new Element("div",{"class":"userReviewForm thankyou"}).inject(this.shell,"before");if(D.responseMessages){new Element("h2",{html:"<span>"+(D.responseMessages[0].replace(", !",", "+UserVars.getDisplayName()+"!"))+"</span>"}).adopt(new Element("a",{"class":"closeConfirm",text:"close",events:{click:function(){this.thanks.dissolve();}.bind(this)}})).inject(this.thanks);if(D.responseMessages.length>1){for(var C=1;C<D.responseMessages.length;C++){new Element("div",{html:D.responseMessages[C]}).inject(this.thanks);}}}if(D.links){var B=new Element("ul",{"class":"viewLinks"}).inject(this.thanks);var A=function(G,F){B.adopt(new Element("li").adopt(new Element("a",{href:F,text:G,"class":"readMore"})));};if(D.links.READ_YOUR_REVIEW){this.reviewLink=D.links.READ_YOUR_REVIEW;A("Read your review",this.reviewLink);}if(D.links.READ_YOUR_UPDATE){A("Read your update",D.links.READ_YOUR_UPDATE);}if(D.links.READ_YOUR_REPLY){this.replyLink=D.links.READ_YOUR_REPLY;A("Read your reply",this.replyLink);}if(D.links.READ_MORE_USER_REVIEWS){A("Read more user reviews",D.links.READ_MORE_USER_REVIEWS);}if(D.links.BACK_TO_PRODUCT_REVIEW){this.overviewLink=D.links.BACK_TO_PRODUCT_REVIEW;A("Back to product review",this.overviewLink);}}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 HelpfulVote=new Class({launchElem:null,Implements:[Options],options:{responseKey:"response",responseSuccess:1},initialize:function(B,A){B.stop();this.setOptions(A);this.launchElem=$(B.target);if(this.errorDiv){this.errorDiv.empty();}if(!CURS.Manager.checkLogin({loginHed:"Log in to CNET to vote for this review",registerHed:"Join CNET to vote for this review",appId:12,nextAction:this.makeRequest.bind(this),cval:"helpful"})){return false;}},makeRequest:function(){new Request({url:this.launchElem.get("href"),method:"get",onComplete:function(A){A=JSON.decode(A);this[(A&&A.status==this.options.responseSuccess)?"success":"failure"](A);}.bind(this)}).send();new Jlogger({tag:"submitHelpful"}).ping();},success:function(A){if(A[this.options.responseKey]){var B=A[this.options.responseKey];if($type(B)=="array"){B=B[0];}this.findParent().set("html",B);}},failure:function(A){if(A&&A.errors){$each(A.errors,function(B){this.getErrorDiv().appendText(B.message);}.bind(this));}else{this.getErrorDiv().set("html",'We\'re sorry, but an error has occurred. Please try again or contact our <a href="http://cnet.custhelp.com/" target="_new">Help Center</a>.');}},findParent:function(){return(this.launchElem.hasClass("rateUR"))?this.launchElem:this.launchElem.getParent(".rateUR");},getErrorDiv:function(){if(!this.errorDiv){this.errorDiv=this.findParent().getElement("div.error")||new Element("div",{"class":"error"}).inject(this.findParent(),"top");}return this.errorDiv;}});var StarPower=new Class({Extends:Tips,options:{timeOut:700,maxTitleChars:50,maxOpacity:0.9,offsets:{x:-14,y:24},starTips:{"0.5":"Abysmal::Click to rate this product 0.5 star out of 5","1":"Terrible::Click to rate this product 1 star out of 5","1.5":"Poor::Click to rate this product 1.5 stars out of 5","2":"Mediocre::Click to rate this product 2 stars out of 5","2.5":"OK::Click to rate this product 2.5 stars out of 5","3":"Good::Click to rate this product 3 stars out of 5","3.5":"Very good::Click to rate this product 3.5 stars out of 5","4":"Excellent::Click to rate this product 4 stars out of 5","4.5":"Outstanding::Click to rate this product 4.5 stars out of 5","5":"Spectacular::Click to rate this product 5 stars out of 5"},useHalfStars:true,onRate:function(A){}},initialize:function(B,A){this.elements=$$(B);if(A.starTips){this.options.starTips=A.starTips;}if($defined(A.useHalfStars)){this.options.useHalfStars=A.useHalfStars;}this.bound={mousemove:this.hoverStars.bind(this),mouseleave:this.hoverStars.bind(this),click:this.hoverStars.bind(this)};this.parent(this.elements,A);},attach:function(A){A.each(function(B){B.store("defaultClass",B.get("class"));B.addEvents(this.bound);},this);},detach:function(A){A.each(function(B){B.removeEvents(this.bound);},this);},getTarget:function(B){if(this.elements.contains(B)){return B;}var A;this.elements.each(function(C){if(C.hasChild(B)){A=C;}});return A;},hoverStars:function(F){var C=this.getTarget(F.target);switch(F.type){case"mousemove":var A=this.convert(this.calc(F),true).toString();if(A=="0"){break;}var E=this.options.starTips[this.convert(this.calc(F),true).toString()];C.store("tip:title",E.split("::")[0]);C.store("tip:text",E.split("::")[1]);this.elementEnter(F,C);C.set("class",C.get("class").replace(/userRate\d\w?/,this.convert(this.calc(F))));C.addClass("userStars");break;case"mouseout":this.elementLeave.bindWithEvent(this,C)(F);C.set("class",C.retrieve("defaultClass"));break;case"click":var B=this.convert(this.calc(F),true);var D=this.convert(this.calc(F));C.store("rating",B);C.store("defaultClass",C.get("class"));this.fireEvent("onRate",[B,D]);break;}},show:function(){this.fireEvent("onShow",this.tip);},hide:function(){this.fireEvent("onHide",this.tip);},calc:function(B){var C=$(B.target).getPosition().x;var A=B.page.x-C;return A;},convert:function(D,C){var E="userRate";var A=(D/20).toInt();var B=D/20-A;if(this.options.useHalfStars){if(B>0.5){A++;}E+=A;if(B<=0.5){E+="h";A+=0.5;}}else{if(B){A++;}E+=A;}return C?A:E;}});var WatchList={Adder:new Class({Implements:[Options,Events],options:{container:"watchlist",pageType:"3353",referencedType:25,addManual:23,addAuto:85,viewName:".add-to-watch-list-postdl"},commands:{add:"addWatchItem",remove:"removeListItem",sync:"syncListItem",check:"syncIfWatchItemExists"},tipsTitles:[10320142,10208565,10028984,10047473,10251792,10007677,10003164,10029188,10039884,10051892,10296306,10057840,10021962,10155605,10411076,10265538,10122137,10019223,10590188],initialize:function(B,A){this.setOptions(A);this.referencedId=B;this.container=$(this.options.container);this.getPreferences();return this;},getPreferences:function(){if(document.domain.contains(".cnet.com")&&!Cookie.read("DLWatchlistAutoAdd-SW_PS")){window.addEvents({onCookieXfer:this.getPreferences.bind(this),domready:function(){new Element("iframe",{src:"http://img.download.com/html/rb/dl/cookieXfer.html",width:0,height:0,styles:{display:"none"}}).inject(document.body);}});return ;}this.prefs={autoAdd:(Cookie.read("DLWatchlistAutoAdd-SW_PS")!="false"),tipsEmail:(new Cookie("DLWatchlistAutoAdd-SW_PS-TTAlert").read()!="false"),rateEmail:(new Cookie("DLWatchlistAutoAdd-SW_PS-SYRAlert").read()!="false")};},checkTipsTitles:function(){if(window.location.href&&!window.location.href.test("also-dwnld")&&this.prefs.tipsEmail){if(this.tipsTitles.contains(this.referencedId)){return"&eventTypes=2";}}return"";},addWatchItem:function(C,B){if(!this.prefs){window.addEvent("onCookieXfer",arguments.callee.bind(this,arguments));return ;}if(this.needFBPerms()){this.checkFBPerms();}var A="cmd=addWatchItem";A+="&referencedId="+this.referencedId;if(this.options.viewName){A+="&viewName="+this.options.viewName;}A+="&referencedType="+this.options.referencedType;if(C.action){A+="&usrAction="+C.action;}A+="&eventTypes=1";if(!B){if(this.prefs.rateEmail){A+="&eventTypes=4";}A+=this.checkTipsTitles();}A+="&component";this.makeRequest({pageType:"3353",complete:this.checkResponse.bind(this),queryString:A});return this;},syncWatchItem:function(B){if(!this.prefs){window.addEvent("onCookieXfer",arguments.callee.bind(this,arguments));return ;}var A="cmd=syncIfWatchItemExists";A+="&referencedId="+this.referencedId;if(this.options.viewName){A+="&viewName="+this.options.viewName;}A+="&referencedType="+this.options.referencedType;A+="&eventTypes=1";if(!B){if(this.prefs.rateEmail){A+="&eventTypes=4";}A+=this.checkTipsTitles();}A+="&component";this.makeRequest({pageType:"3353",complete:this.checkResponse.bind(this),queryString:A});return this;},makeRequest:function(B){B=B||{};var A=PageVars.getPath({pageType:B.pageType||"3353",assetId:0,pageNumber:null});var D=25;var C=new Request({url:A,method:"get",onSuccess:B.complete,onFailure:function(){C.send.delay(D*=2);},data:B.queryString});C.send();},manualAdd:function(A){A=$(A)||null;this.addWatchItem({action:this.addManual});},needFBPerms:function(){if(!UserVars.isRemembered()&&CURS.Social.fb.isUser()&&CURS.Social.fb.isActive()){var A=false;var C=new CURS.RPS.Request({resource:"rps-regIdToEmail",data:{regId:UserVars.get("ursRegId")},async:false}).send();try{A=C.response.json.User.Email["$"];dbug.log(A);}catch(B){dbug.log("Email request failed: %o",B);return true;}dbug.log("Need email perms? %s",!!(A.match("proxymail.facebook.com")));return !!(A.match("proxymail.facebook.com"));}dbug.log("returning false");return false;},checkFBPerms:function(){CURS.Social.fb.ensureInit(function(){var A=Cookie.read(CURS.Social.fb.cookieName+"_permsCheck");A=(!A||A=="true")?{}:JSON.decode(A);if(!A[UserVars.get("ursRegId","string")]){FB.Connect.showPermissionDialog("email",function(){A[UserVars.get("ursRegId","string")]="true";Cookie.write(CURS.Social.fb.cookieName+"_permsCheck",JSON.encode(A),{path:"/",domain:CURS.Manager.getCookieHost(),expires:365});});}});}})};WatchList.TitleDetail=new Class({Extends:WatchList.Adder,initialize:function(C,A){dbug.log($("watchlist"));this.parent(C,A);this.container=$("watchlist");$("featuresOptionLeft").setStyle("display","block");var B=this.syncWatchItem.bind(this,true);this.addEvents({onAdd:function(){this.container.set("html",'This product has been added to <a href="/3656-4_4-0.html">your Watch List</a>.');this.container.addClass("added");new Jlogger({tag:"addToWatchListTitleDetail",ctype:"textlink;source",cval:"watchlist;titlepage"}).ping();}.bind(this),onAlreadyAdded:function(){this.container.set("html",'This product is on <a href="/3656-4_4-0.html">your Watch List</a>.');this.container.addClass("added");}.bind(this)});if(UserVars.isLoggedIn()){if(window.location.search.match("addWatchItem=true")){this.addWatchItem({action:this.addManual},true);}else{B();}}else{CURS.Manager.addEvent("onLogin",B);}if(this.container.getElement("a").hasClass("addtowatch")){this.container.getElement("a").addEvent("click",function(D){CURS.Manager.checkLogin({registerHed:"Join CNET to track updates to this product",loginHed:"Log in to CNET to track updates to this product",appId:151,cval:"watchlist",nextAction:function(){this.addWatchItem({action:this.addManual},true);CURS.Manager.removeEvent("onLogin",B);}.bind(this),path:new Link(document.location.href).mergeQueryString({tag:"wl_add_reg_conf",addWatchItem:"true"}).get("href")});}.bind(this));}},checkResponse:function(A){if(A.test(/download has been added/i)||A.test(/We've added this to your/i)){this.fireEvent("onAdd");}else{if(A.test(/product is on your/i)||A.test(/download is on your/i)){this.fireEvent("onAlreadyAdded");}}}});if(!window.UniversalPlayer){var UniversalPlayer={};UniversalPlayer.manager={playerIds:[],players:[],getId:function(){return this.addPlayerId("player"+this.playerIds.length);},addPlayerId:function(A){return this.playerIds[this.playerIds.push(A)-1];},addPlayer:function(A){return this.players[this.players.push(A)-1];}};var loadUniversalPlayer=function(A){if(document.location.search.contains("autoplay=true")){A=$merge((A||{}),{autoPlay:(document.location.search.contains("autoplay=true"))});}var B=function(C){UniversalPlayer.manager.addPlayer(new UniversalPlayer.Player(C));};if(A.parentElement){UniversalPlayer.manager.players.push(A.parentElement);if($(A.parentElement)){B(A);}else{window.addEvent("domready",B(A));}}else{A.parentElement=UniversalPlayer.manager.getId();document.write('<div id="'+A.parentElement+'"></div>');B(A);}};UniversalPlayer.Player=new Class({Implements:Options,options:{parentElement:"",playerType:"Universal",playerTitle:"Cnet Universal Player",autoPlay:false,externalPlayer:false,watchedVideoRotation:false,wrapperFloat:"left",localTest:false,lumiereQueryType:"orderBy",lumiereQueryValue:"productionDate+desc",startVolume:30,expandTabs:false,showVideoInfo:false,hideBkg:false,hideTabs:false,hideLeftTab:false,hideHeader:false,useCurrentPageUrl:false,userAutoplay:false,displayMuteBtn:false,reviewsVideoOnly:false,hideEmailBtn:false,playOverlayText:"PLAY CNET VIDEO",adInterval:2,preRollAd:false,firstVideoPostAd:true,contentPostRollAd:false,adTest:false,relatedVideo:true,externalLinks:false,vendorVideo:false,siteId:PageVars.get("siteId"),pageType:PageVars.get("pageType"),nodeId:PageVars.get("nodeId"),oid:PageVars.getOid(),editionId:PageVars.get("editionId"),brandId:PageVars.get("brandId"),userIP:PageVars.get("userIP"),ncat:PageVars.get("breadcrumb"),userAgent:escape(navigator.userAgent),channelId:PageVars.get("channelId"),assetId:PageVars.get("assetId"),guid:PageVars.get("guid"),ePartner:"",cpnModule:"",refDomain:"",videoTitle:null,productionDate:null,lengthSecs:null,videoId:null,description:null,embedable:true,primaryNodeId:null,primaryNodePath:PageVars.get("breadcrumb"),externalItemId:null,externalVideoType:null,downloadable:null,isTranscriptAvailable:null,siteId:PageVars.get("siteId"),image53x40:null,image106x80:null,image320x240:null,relatedLinkUrls:null,relatedLinks:null,relatedLinkTexts:null,deliveryUrl:null,downloadUrl:null,initObject:window,initAction:"load"},initialize:function(A){this.setOptions(A);this.processPlayerData();this.setAutoPlayProperties();this.makeDiv();},processPlayerData:function(){if(this.options.useCurrentPageUrl){this.options.useCurrentPageUrl=document.URL;}if(Cookie.get("userVolume")!=null){this.options.startVolume=Cookie.get("userVolume");}},setAutoPlayProperties:function(){if(Cookie.get("userAutoPlay")=="disabled"){this.options.autoPlay=false;}},makeDiv:function(){var G=(this.options.playerType=="Widget")?"http://i.i.com.com/cnwk.1d/i/vid/uPlayerWidgetLoader.gif":"http://i.i.com.com/cnwk.1d/i/vid/uPlayerLoader.gif";if(this.options.playerType=="Widget"){var E=300;var H=250;var F="universalWidget";var B="0px";}else{if(this.options.playerType=="small"){var E=364;var H=280;var F="universalSmall";var B="0px";}else{if(this.options.hideTabs==true){var E=460;var H=322;}else{var E=460;var H=342;}var D="http://i.i.com.com/cnwk.1d/i/vid/uPlayerBG.gif";var B="61px 0px 0px 8px";var F="universal";}}var A=new Element("div",{id:"universalVideoWrapper"+UniversalPlayer.manager.players.length,"class":"float"+this.options.wrapperFloat,styles:{width:E,height:H,position:"relative",zIndex:"90","float":this.options.wrapperFloat}});if(this.options.hideTabs==true){if(this.options.pageType==4505){A.setStyle("borderBottom","#ffffff solid 2px");}else{A.setStyle("borderBottom","#cbcbcb solid 1px");}}A.inject(this.options.parentElement);var C=new Element("img",{id:"universalLoaderImg"+UniversalPlayer.manager.players.length,src:G,styles:{position:"absolute",zIndex:"100",margin:B}});this.checkFlashVersion(A,E,H,F,C,B);},checkFlashVersion:function(D,A,H,F,J,B){var E=8;var I=Swiff.getVersion()>=E;if(!I){D.set("html","We&rsquo;ve detected that you need to upgrade or install Flash "+E+' or later to view our library of thousands of tech videos. Installing Flash is fast, free, and easy! Simply follow the instructions from your browser, or <a href="http://www.adobe.com/go/getflashplayer" id="flashVidErrorLink">click here to install/upgrade the free Flash player</a>.<br />&nbsp;<br />Thanks,<br />The CNET TV Team');D.setStyles({font:"normal 14px Arial, Helvetica, San Serif",lineHeight:"18px",color:"#000",margin:B,padding:"8px",width:A-16,height:H-16});}else{var G=this;if(this.options.initAction==false){G.makeSwf(D,A,H,F);}else{var C=$(this.options.initObject)||$$(this.options.initObject);C.addEvent(this.options.initAction,function(){G.makeSwf(D,A,H,F);});}}},makeSwf:function(K,J,Q,C){if(this.options.watchedVideoRotation==true){if(Cookie.get("cnetWatchedVideos")!=false){var G=Cookie.get("cnetWatchedVideos").split(",");for(r=0;r<G.length;r++){if(G.length>5){G.splice(0,1);}}var H=this.options.lumiereQueryValue.split(",");for(var N=0;N<G.length;N++){var D=G[N];for(var O=0;O<H.length;O++){if(D==H[O]){H.splice(O,1);H.push(D);var M=true;}}}var E=(M==true)?H:escape(this.options.lumiereQueryValue);}else{var E=escape(this.options.lumiereQueryValue);}}else{var E=escape(this.options.lumiereQueryValue);}var L=document.URL;if((L.contains(".com:")==true&&L.contains("uat")==false)||L.contains("preview1.")==true||L.contains("dev-server-test.dev.sub.classes")==true){var A=false;}else{var A=true;}if(this.options.adTest==true){var R="http://www.cnet.com/av/video/flv/universalPlayer/"+C+".swf";}else{if(L.contains("i.i.com.com/cnwk.1d")==true||L.contains("localhost")==true){var R="http://www.cnet.com/av/video/flv/universalPlayer/"+C+".swf";}else{if(L.contains("ssadev")==true){var R="http://publish.cnet.com:8100/av/video/flv/universalPlayer/"+C+".swf";}else{var R="/av/video/flv/universalPlayer/"+C+".swf";}}}if(this.options.localTest==true){var R="http://publish.cnet.com:8100/av/video/flv/universalPlayer/tests/"+C+".swf";}if(window.location.href.indexOf("playerVersion")>0){var F=Browser.getQueryStringValues().playerVersion;var R="/av/video/flv/universalPlayer/"+F+"/"+C+".swf";}if(this.options.playerType=="Reviews"){if(this.options.image53x40.contains("http://www.download.com")){this.options.image53x40=this.options.image53x40.split("http://www.download.com")[1];}if(this.options.image106x80.contains("http://www.download.com")){this.options.image106x80=this.options.image106x80.split("http://www.download.com")[1];}if(this.options.image320x240.contains("http://www.download.com")){this.options.image320x240=this.options.image320x240.split("http://www.download.com")[1];}}var P=K.getProperty("id").split("universalVideoWrapper")[1];var B=this.options.parentElement;var I=new Swiff(R,{id:"universalPlayer"+P,width:J,height:Q,container:K,params:{wMode:"transparent",bgcolor:"#EDEDED",scale:"noscale",salign:"lt",swLiveConnect:"true",allowScriptAccess:"always",allowFullScreen:"true"},vars:{ddom:Browser.getHost(),parent:true,live:A,parentElement:B,playerIteration:P,playerType:this.options.playerType,name:this.options.playerTitle,autoplay:this.options.autoPlay,externalPlayer:this.options.externalPlayer,type:this.options.lumiereQueryType,value:E,startVolume:this.options.startVolume,expandTabs:this.options.expandTabs,showVideoInfo:this.options.showVideoInfo,hideLeftTab:this.options.hideLeftTab,hideHeader:this.options.hideHeader,copyUrl:this.options.useCurrentPageUrl,userAutoplay:this.options.userAutoplay,displayMuteBtn:this.options.displayMuteBtn,hideTabs:this.options.hideTabs,reviewsVideoOnly:this.options.reviewsVideoOnly,hideBkg:this.options.hideBkg,hideEmailBtn:this.options.hideEmailBtn,playOverlayText:this.options.playOverlayText,adInterval:this.options.adInterval,firstVideoPreRoll:this.options.preRollAd,firstVideoPostRoll:this.options.firstVideoPostAd,contentPostRoll:this.options.contentPostRollAd,adTest:this.options.adTest,relatedVideo:this.options.relatedVideo,externalLinks:this.options.externalLinks,vendorVideo:this.options.vendorVideo,si:this.options.siteId,br:this.options.brandId,ip:this.options.userIP,ua:this.options.userAgent,cid:this.options.assetId,oid:this.options.oid,edid:this.options.editionId,nd:this.options.nodeId,pt:this.options.pageType,ncat:this.options.ncat,guid:this.options.guid,ePartner:this.options.ePartner,cpnModule:this.options.cpnModule,refDomain:this.options.refDomain,videoTitle:this.options.videoTitle,productionDate:this.options.productionDate,lengthSecs:this.options.lengthSecs,videoId:this.options.videoId,description:this.options.description,embedable:this.options.embedable,primaryNodeId:this.options.primaryNodeId,primaryNodePath:this.options.primaryNodeId,externalItemId:this.options.externalItemId,externalVideoType:this.options.externalVideoType,downloadable:this.options.downloadable,isTranscriptAvailable:this.options.isTranscriptAvailable,siteId:this.options.siteId,image53x40:this.options.image53x40,image106x80:this.options.image106x80,image320x240:this.options.image320x240,relatedLinkUrls:this.options.relatedLinkUrls,relatedLinks:this.options.relatedLinks,relatedLinkTexts:this.options.relatedLinkTexts,deliveryUrl:this.options.deliveryUrl,downloadUrl:this.options.downloadUrl}});}});var trackEvent=function(B){B=escape(B);var A="http://dw.com.com/redir?destUrl="+escape("http://i.i.com.com/cnwk.1d/b.gif?"+Math.floor(Math.random()*1000));A+="&edid="+this.options.edid;A+="&oid="+this.options.oid;A+="&onid="+this.options.nd;A+="&siteid="+this.options.si;A+="&ptid="+this.options.pt;A+="&ctype=event";A+="&cval="+B;var C=new Image;C.src=A;dbug.log("trackEvent: &cval="+B);};var checkCookie=function(A){return Number(new Cookie(A).read().toString());};var setCookie=function(C,B,A){new Cookie(C).write(B,A);};var Swiff=function(K,L){if(!Swiff.fixed){Swiff.fix();}var J="Swiff_"+Native.UID++;L=$merge({id:J,height:1,width:1,container:null,properties:{},params:{quality:"high",allowScriptAccess:"always",wMode:"transparent",swLiveConnect:true},events:{},vars:{}},L);var D=L.params,E=L.vars,B=L.id;var F=$extend({height:L.height,width:L.width},L.properties);Swiff.Events[J]={};for(var A in L.events){Swiff.Events[J][A]=function(){L.events[A].call($(L.id));};E[A]="Swiff.Events."+J+"."+A;}D.flashVars=Hash.toQueryString(E);if(Browser.Engine.trident){F.classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";D.movie=K;}else{F.type="application/x-shockwave-flash";F.data=K;}var I='<object id="'+L.id+'"';for(var H in F){I+=" "+H+'="'+F[H]+'"';}I+=">";for(var C in D){I+='<param name="'+C+'" value="'+D[C]+'" />';}I+="</object>";var G=new Element("div").set("html",I).firstChild;if(L.container){$(L.container).adopt(G);}};Swiff.extend({Events:{},remote:function(obj,fn){var rs=obj.CallFunction('<invoke name="'+fn+'" returntype="javascript">'+__flash__argumentsToXML(arguments,2)+"</invoke>");return eval(rs);},getVersion:function(){if(!$defined(Swiff.pluginVersion)){var A;if(navigator.plugins&&navigator.mimeTypes.length){A=navigator.plugins["Shockwave Flash"];if(A&&A.description){A=A.description;}}else{if(Browser.Engine.trident){A=$try(function(){return new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version");});}}Swiff.pluginVersion=(typeof A=="string")?parseInt(A.match(/\d+/)[0]):0;}return Swiff.pluginVersion;},fix:function(){Swiff.fixed=true;window.addEvent("beforeunload",function(){__flash_unloadHandler=__flash_savedUnloadHandler=$empty;});if(!Browser.Engine.trident){return ;}window.addEvent("unload",function(){Array.each(document.getElementsByTagName("object"),function(B){B.style.display="none";for(var A in B){if(typeof B[A]=="function"){B[A]=$empty;}}});});}});}if(window.HandangoCart){HandangoCart.CartAdder=new Class({Implements:Options,options:{addClassName:"handangoAddToCart",cookieName:"handangoCart",cookieDuration:30,cookieDomain:window.location.hostname},initialize:function(A){this.setOptions(A);this.setLinks();},setLinks:function(){$$("."+this.options.addClassName).addEvent("click",this.addCart.bind(this));},addCart:function(A){this.addCookie();},addCookie:function(){Cookie.set(HandangoCart.cookieName,"true",{path:"/",duration:this.options.cookieDuration});}});}else{var HandangoCart={};HandangoCart.CartAdder=new Class({});}FormValidator.implement({test:function(C,E,F){E=$(E);if(E.hasClass("ignoreValidation")){return true;}F=$pick(F,false);if(E.hasClass("warnOnly")){F=true;}var D=true;if(E){var B=this.getValidator(C);if(B){D=B.test(E);if(!D&&B.getError(E)){if(F){E.addClass("warning");}var A=this.makeAdvice(C,E,B.getError(E),F);this.insertAdvice(A,E);this.showAdvice(C,E);}else{this.hideAdvice(C,E);}this.fireEvent("onElementValidate",[D,E]);}}if(F){return true;}return D;}});var commentsForms={findMessageId:function(C){var B=null;var A=C;do{B=A.getProperty("messageId");}while(!B&&(A=A.getParent("li")));if(!B){return false;}var D={messageID:B};if(A.get("commentId")){D.commentId=A.get("commentId");}return D;},initSubmitForm:function(){var A=!!($("submitReview").getElement("#prodUpdateReview"));commentsForms.submit=new CommentForm("submitReview",{clone:false,resetOnHide:false,submitElems:".submit a.submitButton",onCommentSuccess:function(){try{new Fx.Scroll(window).toElement(this.thanks);}catch(D){}var C=this.thanks.getElement("a.updateReview");if(C){C.addEvent("click",function(){window.location=CURS.getRefreshPath();});return ;}new Jlogger({tag:(A)?"updateReview":"submitNew"}).ping();},validatorOptions:{evaluateFieldsOnBlur:false,evaluateFieldsOnChange:false,evaluateOnSubmit:false}});$$(".userStars").each(function(C){new StarPower(C,{starTips:{"1":"Terrible::Click to rate this product 1 star out of 5","2":"Mediocre::Click to rate this product 2 stars out of 5","3":"Good::Click to rate this product 3 stars out of 5","4":"Excellent::Click to rate this product 4 stars out of 5","5":"Spectacular::Click to rate this product 5 stars out of 5"},useHalfStars:false,onRate:function(E,D){$("rating").set("value",E*2);$$(".userStars").each(function(F){if(!F.hasClass(D)){var G=F.get("class").match(/userRate\d+h*/)[0];F.removeClass(G);F.addClass(D);F.store("rating",E);F.store("defaultClass",D);}});}});});if($("rating")&&$("rating").get("value")!="-1"){$("rating").set("value","-1");}commentsForms.submit.validator.addAllThese([["starsvalidation",{errorMsg:"Please select a star rating.",test:function(C){return C.get("value")!="-1";}}],["validate-opt-length",{errorMsg:"This field must be blank, or between 10 and 5000 characters",test:function(E,D){var C=E.value.length;return(!C||(C>=D.minLength&&C<=D.maxLength));}}]]);if(CURS.Social.fb.isUser()&&commentsForms.submit&&!A){try{commentsForms.submit.addEvent("onCommentSuccess",function(){var E=this.overviewLink;var C=this.reviewLink;var D={prodName:$E("h1").get("text"),prodSummary:CURS.Social.fb.getParsedText($("prodSubmitReview").getElement("textarea[name=shortSummary]").get("value"),55,false),userRate:parseInt($("prodSubmitReview").getElement("input[name=rating]").get("value"))/2,reviewUrl:"http://download.cnet.com"+C};CURS.Social.fb.ensureInit(FB.Connect.showFeedDialog.pass([53974731698,D]),true);});}catch(B){dbug.log("Failed adding feed posting: %o",B);}}}};var initializeComments=new Class({initialize:function(){this.setUpComments();this.initLinks();},setUpComments:function(){try{commentsForms.reply=new CommentForm("replyReview",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submitElems:".submit a.submitButton",closeElems:".submit .cancel a",validatorOptions:{evaluateFieldsOnBlur:false,evaluateFieldsOnChange:false,evaluateOnSubmit:false},onCommentSuccess:function(){new Jlogger({tag:"replyReview"}).ping();}});if(!UserVars.isLoggedIn()){if(window.FB){$$(".status .fbConnectInvite").set("html",'<a class="connect2fbButton"><img src="http://i.i.com.com/cnwk.1d/i/rb/fb/fb-connect-button-169x23.gif" alt="Connect with Facebook" width="169" height="23"/></a>');CURS.Social.fb.init();var B=(dbug.enabled||Browser.qs.jsdebug)?"http://publish.cnet.com:8100/html/rb/js/tron/oreo.login.js":"http://i.i.com.com/cnwk.1d/html/rb/js/tron/oreo.login.compressed.js";if(!CURS.Process){new Asset.javascript(B,{id:"oreoLogin",onload:function(){CURS.Social.fb.initFBConnect();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}});}else{CURS.Social.fb.initFBConnect();$$(".connect2fbButton").addEvent("click",CURS.Social.fb.triggerLogin.pass(CURS.Social.fb.startSession));}}$$(".status .fbConnectInvite").setStyle("height",$$(".status")[0].getSize().y-20);if($$(".status .connect2fbButton").length>0){$$(".status .connect2fbButton").setStyle("margin-top",($$(".status")[0].getSize().y/2)-$$(".status .connect2fbButton")[0].getSize().y);}if($$(".status .or").length>0){$$(".status .or").setStyle("top",($$(".status")[0].getSize().y/2)-$$(".status .or")[0].getSize().y+10);}}CURS.Manager.addEvent("onLogin",function(){if(CURS.Social.fb.isUser()){try{commentsForms.reply.addEvent("onCommentSuccess",function(){var I=this.overviewLink;var H=this.replyLink;CURS.Social.fb.ensureInit(FB.Connect.showFeedDialog.pass([53975636698,{prodName:$E("h1").get("text"),prodUrl:"http://download.cnet.com"+I,commentSummary:CURS.Social.fb.getParsedText($("prodReplyReview").getElement("textarea[name=body]").get("value"),120),commentUrl:"http://download.cnet.com"+H}]),true);});}catch(G){dbug.log("Failed adding feed posting: %o",G);}}});}catch(F){dbug.log("Reply form initialization failed: %o",F);}try{commentsForms.offensive=new CommentForm("ropReview",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submitElems:".submit. a.submitButton",closeElems:".submit .cancel a",useValidator:false,onCommentSuccess:function(){new Jlogger({tag:"ropReview"}).ping();}});}catch(F){dbug.log("Offensive form initialization failed: %o",F);}try{commentsForms.email=new CommentForm("emailReview",{findLocalData:commentsForms.findMessageId,resetOnHide:false,submitElems:".submit a.submitButton",closeElems:".submit .cancel a",validatorOptions:{evaluateFieldsOnBlur:false,evaluateFieldsOnChange:false,evaluateOnSubmit:false},onCommentSuccess:function(){new Jlogger({tag:"emailReview"}).ping();}});}catch(F){dbug.log("E-mail form initialization failed: %o",F);}try{if($("submitReview")){var C=function(G){if(D=="undefined"||!D.length){return false;}D=D.filter(function(I){return !!$(I);});var H=$(G).getElements("a");H=H.filter(function(I){return !D.contains(I);});H.addEvent("click",E);D.combine(H);};var A=function(){var G=$("submitReview").getElement(".invite");if(!UserVars.isLoggedIn()){return ;}else{if(!UserVars.hasFullAccess()){G.set("html","<p>Your account is not yet confirmed. <a>Click here to see how to confirm your account.</a></p>");C(G);}else{if(!$chk(UserVars.get("userName"))){G.set("html","<p>You'll need a CNET username in order to submit a review. <a>Click here to create a username.</a></p>");C(G);}else{if(G){G.setStyle("display","none");$("submitReview").getElement("div.loggedin").setStyle("display","block");}if(!commentsForms.submit){commentsForms.initSubmitForm();}}}}};var D=$("submitReview").getElements(".invite a, textarea, .userStars, .submit a");var E=function(G){var H={registerHed:"Join CNET to submit your review",loginHed:"Log in to CNET to submit your review",appId:"12",cval:"userreview",nextAction:function(){if(commentsForms.submit){D.removeEvent("click",E);CURS.Manager.removeEvents("onStateChange");}}};if(G.target.hasClass("fbConnectLink")||G.target.getParent(".fbConnectLink")){H.ursForm="fbconnect";}if(!G.target.hasClass("connect2fbButton")&&!G.target.getParent().hasClass("connect2fbButton")){CURS.Manager.checkLogin(H);}};D.addEvent("click",E);CURS.Manager.addEvent("onLogin",function(){A();CURS.Manager.addEvent("onStateChange",A);});if(!UserVars.isLoggedIn()){CURS.Manager.addEvent("onLogin",function(){new Request({url:new Link(window.location).mergeQueryString({tag:false,_tilename_:".userReviewUpdate",nomesh:null}).get("href"),onComplete:function(G){if(!G.match(/no update form/)){window.location.href=PageVars.getRefreshPath();}}}).send();});}}}catch(F){dbug.log("Submission/Update form initialization failed: %o",F);}},initLinks:function(A){A=$(A)||$(document.body);A.getElements(".replyUR a.reply").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CNET to reply to this review",loginHed:"Log in to CNET to reply to this review",appId:"12",nextAction:function(){commentsForms.reply.move($(B.target).getParent("li"));},cval:"reply"});});A.getElements(".postTools a.report").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CNET to report this comment",loginHed:"Log in to CNET to report this comment",appId:"12",nextAction:function(){commentsForms.offensive.move($(B.target).getParent("li"));},cval:"rop"});});A.getElements(".postTools a.email").addEvent("click",function(B){CURS.Manager.checkLogin({registerHed:"Join CNET to e-mail this to a friend",loginHed:"Log in to CNET to e-mail this to a friend",appId:"12",nextAction:function(){commentsForms.email.move($(B.target).getParent("li"));},cval:"emailfriend"});});A.getElements("p.rateUR a").addEvent("click",function(B){new HelpfulVote(B,{responseKey:"responseMessages",responseSuccess:"success"});});}});window.addEvent("domready",function(){$$("#deleteReview, .deleteComment").each(function(B){var A=new CommentForm(B,{clone:false,resetOnHide:false,submitElems:"a.submitButton",closeElems:".cancel a",useValidator:false,firstParent:B.getParent("li")});B.getParent("li").getElement(".admin .delete").addEvent("click",function(C){A.show();});});$$("#editReview, .editComment").each(function(B){var A=new CommentForm(B,{clone:false,resetOnHide:false,submitElems:"a.submitButton",closeElems:".cancel a",useValidator:false,firstParent:B.getParent("li")});B.getParent("li").getElement(".admin .edit").addEvent("click",function(C){A.show();});});new HandangoCart.CartAdder();new initializeComments();$$(".productVideo").each(function(A){new popupVideo(A,{relativeTo:A,videoId:A.getProperty("videoId")});});$$(".contentTools a.share").each(function(A){A.addEvent("mouseenter",PageTools.openShare.bind(PageTools));});});var popupVideo=new Class({Implements:Options,options:{videoPosition:"upperleft",relativeTo:null,videoClassName:"popupVideo",videoId:null},initialize:function(B,A){this.setOptions(A);this.videoTarget=B;this.initStickyWin();this.videoTarget.addEvent("click",function(){this.popupVideo.show();}.bind(this));},initStickyWin:function(){this.popupVideo=new StickyWin({width:364,height:280,position:this.options.videoPosition,relativeTo:this.options.relativeTo,showNow:false,className:this.options.videoClassName,content:'<a href="javascript:void(0);" class="closeSticky">Close Video</a><div class="videoPlayer"></div>',allowMultipleByClass:true,onDisplay:function(){dbug.log("video target: %o",this.popupVideo.win);loadUniversalPlayer({parentElement:this.popupVideo.win.getElement(".videoPlayer"),playerType:"small",lumiereQueryType:"id",lumiereQueryValue:this.options.videoId,firstVideoPostAd:false,preRollAd:true,contentPostRollAd:true,hideTabs:true,initObject:window,initAction:false,autoPlay:true,hideBkg:true});}.bind(this),onClose:function(){this.popupVideo.win.getElement(".videoPlayer").empty();}.bind(this)},this);}});
 /* end packed code */
 }
       
