
   if(!dbugScripts("commerce",["commerce.tron.coco.js"])) {
   /*	commerce.tron.coco.js - packed	*/
       var StickyWinModal,StickyWinFxModal;(function(){var A=function(C){return{Extends:C,initialize:function(D){D=D||{};this.setModalOptions($merge(D.modalOptions||{},{onModalHide:function(){this.hide(false);}.bind(this)}));this.parent(D);},show:function(D){if($pick(D,true)){this.modalShow();this.win.getElements(this.modalOptions.elementsToHide).setStyle("opacity",1);}this.parent();},hide:function(D){if($pick(D,true)){this.modalHide();}this.parent($pick(D,true));}};};StickyWinModal=new Class(A(StickyWin));StickyWinModal.implement(new Modalizer);StickyWinFxModal=(typeof StickyWinFx!="undefined")?new Class(A(StickyWinFx)):$empty;try{StickyWinFxModal.implement(new Modalizer());}catch(B){}})();var JsonP=new Class({Implements:[Options,Events],options:{callBackKey:"callback",queryString:"",data:{},timeout:5000,retries:0},initialize:function(B,A){this.setOptions(A);this.url=this.makeUrl(B).url;this.fired=false;this.scripts=[];this.requests=0;this.triesRemaining=[];},request:function(C,E){var B=this.makeUrl(C);if(!$chk(E)){E=this.requests;this.requests++;}if(!$chk(this.triesRemaining[E])){this.triesRemaining[E]=this.options.retries;}var D=this.triesRemaining[E];dbug.log("retrieving by json script method: %s",B.url);var A=(Browser.Engine.trident)?50:0;(function(){var F=new Element("script",{src:B.url,type:"text/javascript",id:"jsonp_"+B.index+"_"+E});this.fired=true;this.addEvent("onComplete",function(){try{F.dispose();}catch(G){}}.bind(this));F.inject(document.head);if(D){(function(){this.triesRemaining[E]=D-1;if(F.getParent()&&D){dbug.log("removing script (%o) and retrying: try: %s, remaining: %s",E,D);F.dispose();this.request(C,E);}}).delay(this.options.timeout,this);}}.bind(this)).delay(A);return this;},makeUrl:function(B){var A;if(JsonP.requestors.contains(this)){A=JsonP.requestors.indexOf(this);}else{A=JsonP.requestors.push(this)-1;JsonP.requestors["request_"+A]=this;}if(B){var D=(B.test("\\?"))?"&":"?";var C=B+D+this.options.callBackKey+"=JsonP.requestors.request_"+A+".handleResults";if(this.options.queryString){C+="&"+this.options.queryString;}C+="&"+Hash.toQueryString(this.options.data);}else{var C=this.url;}return{url:C,index:A};},handleResults:function(A){dbug.log("jsonp received: ",A);this.fireEvent("onComplete",[A,this]);}});JsonP.requestors=[];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 PopupVideo=new Class({Implements:Options,options:{target:null,event:"click",position:"upperLeft",videoId:null},initialize:function(A){this.setOptions(A);this.options.target.addEvent(this.options.event,this.displayPopup.bind(this));},displayPopup:function(){this.newVideo=new StickyWin({width:364,height:302,position:"upperLeft",className:"productVideo",relativeTo:this.options.target,onDisplay:this.writePlayer.delay(10,this),closeClassName:"closeVideo"},this);},writePlayer:function(){new Element("a",{"class":"closeVideo"}).addEvent("click",this.destroyPopup.bind(this)).inject(this.newVideo.win,"top");var A=this.newVideo.win;var B=this.options.videoId;$lazy(window.GeckoVideoPlayer,CBSi.lazy.videoPlayer,function(){loadGeckoVideoPlayer({parentElement:A,flashVars:{contentType:"id",contentValue:B}},"feature");});},destroyPopup:function(){this.newVideo.destroy();}});if(!UserLists){var UserLists={};UserLists.Manager={listForms:new Hash({}),getUserListModal:function(B,A){CURS.Manager.checkLogin({loginHed:"Log in to CNET to add this product to a list",registerHed:"Join CNET to add this product to a list",appId:222,cval:"userlist",nextAction:function(){if(B=="AddToList"||B=="CreateList"){UserLists.Manager.initListAssetData(A);}UserLists.Manager.getUserListFiles(B);}.bind(UserLists)});},getUserListFiles:function(A){var B;if(dbug.enabled||(Browser.qs&&Browser.qs.jsdebug)){if(CBSi.jsdebug){if(CBSi.jsdebug=="true"){B="http://publish.cnet.com:8100/html/rb/js/tron/techtracker/techtracker.tron.userlists.process.js";}else{B="http://publish.cnet.com:8100/html/rb/js/~dev/"+CBSi.jsdebug+"/techtracker/techtracker.tron.userlists.process.js";}}else{B="http://i.i.com.com/cnwk.1d/html/rb/js/tron/techtracker/techtracker.tron.userlists.process.compressed.js";}}else{B="http://i.i.com.com/cnwk.1d/html/rb/js/tron/techtracker/techtracker.tron.userlists.process.compressed.js";}if(!UserLists.Process){new Asset.javascript(B,{id:"userListsProcess",onload:(!A)?function(){}:this.getUserListModalHtml.bind(this,A)});}else{if(A){this.getUserListModalHtml(A);}}},startProcess:function(A){dbug.log("start user list process");if(UserLists.Process&&$("userListShell")){UserLists.Process.showUserListForm(A);}},getUserListModalHtml:function(B){var A=new Hash();UserLists.UserListData.listItemsToAdd.each(function(C){if(C.assetTypeId==2){A.extend({techProductId:true});}else{if(C.assetTypeId==24){A.extend({softwareProductId:true});}}});if(!document.body.getElement(".globalModal.userList")){new Element("div",{id:"userListShell",styles:{display:"none"}}).inject(document.body);new Request({url:"/8690-4_"+PageVars.get("siteId")+"-0.html?nomesh&"+$time(),data:A,method:"get",onSuccess:function(C){$("userListShell").set("html",C);if($("userHasLists")){UserLists.Manager.userHasLists=true;}UserLists.Process.showUserListForm(B);}.bind(UserLists)}).send();}else{UserLists.Process.showUserListForm(B);}},initFormValidator:function(A){UserLists.Manager.listForms[A].validator=new UserListFormValidator($(A).getElement("form"),{evaluateFieldsOnBlur:false,evaluateFieldsOnChange:false,evaluateOnSubmit:false,errorPrefix:""});},initListAssetData:function(A){UserLists.UserListData.listItemsToAdd.empty();UserLists.Manager.cvalTarget=(!$$(A).getParent(".contentTools"))?"button":"link";dbug.log(A);if(!A.length){A=[A];}A.each(function(C){var B={assetId:C.getProperty("productid").toInt(),assetTypeId:C.getProperty("producttype").toInt(),name:C.getProperty("productname"),image:C.getProperty("productimage")};dbug.log(B);if(C.getProperty("productSetId")){B.productSetId=C.getProperty("productsetid").toInt();}UserLists.UserListData.listItemsToAdd.push(B);});},pingDW:function(A,B,C){new Jlogger({asId:(UserLists.UserListData.listItemsToAdd.length>0)?UserLists.UserListData.listItemsToAdd[0].assetId:PageVars.get("assetId"),tag:A,element:false,ctype:B,cval:C}).ping();}};UserLists.ListItem={getItemAssetId:function(A){if(UserLists.ListItem.assetId){return UserLists.ListItem.assetId;}else{if(A){return A;}}},getItemAssetTypeId:function(A){if(UserLists.ListItem.assetTypeId){return UserLists.ListItem.assetTypeId;}else{if(A){return A;}}},getItemName:function(A){if(UserLists.ListItem.assetName){return UserLists.ListItem.assetName;}else{if(A){return A;}}},getDownloadProductSetId:function(A){if(UserLists.ListItem.productSetId){return UserLists.ListItem.productSetId;}else{if(A){return A;}}},getItemImage:function(A){if(UserLists.ListItem.assetImage){return UserLists.ListItem.assetImage;}else{if(A){return A;}}}};UserLists.UserListData={userListDataObj:new Hash(),addToListLaunchTarget:new Hash(),listItemsToAdd:[],listsAddedTo:[],addToDataObj:function(B,A){UserLists.UserListData.userListDataObj.extend({field:decodeURIComponent(A)});},getListId:function(){if(PageVars.get("pageType")==3460){if(PageVars.get("assetId")!=0){return PageVars.get("assetId");}else{return $("editList").getElement("input[name=listId]").get("value");}}}};}window.addEvent("domready",function(){$$("a.linkIcon.addToList").setStyle("visibility","visible");});var WantItGotItHadIt=new Class({Implements:Options,options:{voteType:"",assetTypeId:"",voteNumElem:"",msgLocation:{position:"bottomLeft",edge:"upperLeft"}},initialize:function(B,A){this.setOptions(A);this.voteElems=$$(B);this.likeWaiter=new Waiter(this.voteElems,{baseHref:"http://i.i.com.com/cnwk.1d/i/News/",layer:{styles:{"z-index":10000000}},img:{src:"commentsLikeLoader.gif",styles:{width:16,height:16}}});this.voteElems.each(function(C){C.addEvent("click",function(D){this.likeWaiter.stop();CURS.Manager.checkLogin({registerHed:"Please tell us who you are",loginHed:"Please tell us who you are",appId:242,cval:"assetrating",nextAction:function(){this.likeWaiter.start(C);this.sendRequest(C);}.bind(this)});}.bind(this));}.bind(this));this.successMsg="";this.currentRateClass="";this.currentRateVal="";},sendRequest:function(C){var A=(C.hasClass("like"))?true:false;var B=(A)?8683:8680;var D=function(){if(A){switch(this.options.voteType){case"gotIt":return 1;break;case"wantIt":return 2;break;case"hadIt":return 3;break;default:return null;break;}}else{return null;}}.bind(this);new Request.JSON({url:"/"+B+"-4_"+PageVars.get("siteId")+"-0.html",data:{assetId:C.getProperty("assetId")||null,assetTypeId:this.options.assetTypeId,viewType:"json",assetVoteId:C.getProperty("assetVoteId")||null,value:D()},onSuccess:function(E){E=E.response;this.likeWaiter.stop();if(E){if(E.status["$"]=="success"){this.toggleBtnStates(A,E,C);if(A){this.showSuccessMsg(C);}this.likeWaiter.stop();}else{switch(E.errors.error["@name"]){case"ALREADY_VOTED":this.showFailureMsg(C,"You have already voted");this.toggleBtnStates(A,E,C);break;case"REMOVE_PROBLEM":this.showFailureMsg(C,"<b>Error: </b>There was a problem removing your vote. Please try again.");break;case"SUBMIT_PROBLEM":this.showFailureMsg(C,"<b>Error: </b>There was a problem submitting your vote. Please try again.");break;case"NOT_OWNER":this.showFailureMsg(C,"<b>Error: </b>You do not have a vote registered for this product.");break;case"REQUEST_PENDING":if(A){this.showSuccessMsg(C);}this.toggleBtnStates(A,E,C);break;case"MISSING_REQUIRED_FIELD":this.showFailureMsg(C,"<b>Error: </b>There was a problem submitting your vote. Please try again.");break;}}}}.bind(this),onFailure:function(){this.likeWaiter.stop();this.showFailureMsg(C,"<b>Error: </b>We're having trouble contacting our servers. Please try again later.");}.bind(this)}).send();},toggleBtnStates:function(D,G,H){var I,A,F,K;var B;var C=H.getProperty("assetId");var E=$$("a.gotIt[assetId="+C+"], a.wantIt[assetId="+C+"], a.hadIt[assetId="+C+"]");E.each(function(L){if(L.hasClass("unlike")){B=L;}});E.removeClass("unlike");E.addClass("like");G.data.datum.each(function(L){if(L["@name"]=="assetId"){K=L["@value"];}if(L["@name"]=="assetTypeId"){I=L["@value"];}if(L["@name"]=="assetVoteId"){A=L["@value"];}if(L["@name"]=="totalVotes"){F=L["@value"];}});if(D){H.removeClass("like");H.addClass("unlike");H.getProperty("class");H.setProperty("assetVoteId",A);if(B){var J=B.getElement(this.options.voteNumElem).get("text").toInt()-1;B.getElement(this.options.voteNumElem).set("text",J);B.removeProperty("assetVoteId");if(B.hasClass("gotIt",H.getProperty("assetId"))){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"ungot",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("ungot");}else{if(B.hasClass("wantIt")){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"unwant",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("unwant",H.getProperty("assetId"));}else{if(B.hasClass("hadIt")){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"unhad",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("unhad",H.getProperty("assetId"));}}}}if(H.getProperty("class").contains("gotIt")){new JloggerLEVT.Social.Connect({applicationTags:{eventt:"gotit",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("gotIt",H.getProperty("assetId"));}else{if(H.getProperty("class").contains("wantIt")){new JloggerLEVT.Social.Connect({applicationTags:{eventt:"wantit",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("wantIt",H.getProperty("assetId"));}else{if(H.getProperty("class").contains("hadIt")){new JloggerLEVT.Social.Connect({applicationTags:{eventt:"hadit",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("hadIt",H.getProperty("assetId"));}}}}else{H.removeClass("unlike");H.addClass("like");H.removeProperty("assetVoteId");if(H.getProperty("class").contains("gotIt")){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"ungot",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("ungot",H.getProperty("assetId"));}else{if(H.getProperty("class").contains("wantIt")){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"unwant",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("unwant",H.getProperty("assetId"));}else{if(H.getProperty("class").contains("hadIt")){new JloggerLEVT.Social.Disconnect({applicationTags:{eventt:"unhad",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();this.pingDW("unhad",H.getProperty("assetId"));}}}}H.getElement(this.options.voteNumElem).set("text",F);},showSuccessMsg:function(C){var B=this;if((PageVars.get("pageType")=="4505")||(PageVars.get("pageType")=="4852")||(PageVars.get("pageType")=="4864")||(PageVars.get("pageType")=="4507")||(PageVars.get("pageType")=="4014")){if(!B.hasUserReview(C).contains("true")&&this.options.voteType!="wantIt"){B.successMsg=new StickyWinFx({content:'<a class="toolTipElement closeSticky">close</a><p class="gwhUOPrompt">Tell us what you think:<a class="userStars userRate medium s0"><span>0 stars</span></a></p>',closeClassName:"closeSticky",relativeTo:C,id:"assetVoteSuccess",className:"voteResponseSuccess",position:this.options.msgLocation.position,edge:this.options.msgLocation.edge,fadeDuration:500,zIndex:1000,onClose:function(){}}).show();$$(".gwhUOPrompt .userStars").addEvents({mouseover:function(){$$(".gwhUOPrompt .userStars").each(function(D){new StarPower(D,{className:"cnetTip",onRate:function(F,E){B.currentRateClass=E;B.currentRateVal=F;$$(".gwhUOPrompt .userStars").each(function(G){if(!G.hasClass(E)){var H=G.get("class").match(/userRate medium s\d+h*/)[0];G.removeClass(H);G.addClass(E);G.store("rating",F);G.store("defaultClass",E);}});}});});},click:function(){B.successMsg.hide();if(!UserVars.get("userName")){A(C);}else{B.getUOmodal(C);}}});}else{if(B.hasUserReview(C).contains("true")&&this.options.voteType!="wantIt"){B.getUOmodal(C);}else{if(this.options.voteType=="wantIt"&&(PageVars.get("pageType")=="4505")&&(!$defined($("seoprice"))||$("seoprice").get("text").replace("$","").toInt()>2)){this.wantItWindowContent(C);}}}}else{if(PageVars.get("pageType")=="5270"&&this.options.voteType=="wantIt"&&(C.getParent().getPrevious(".prodName").get("href").contains("4505")||C.getParent().getPrevious(".prodName").get("href").contains("reviews"))){this.wantItWindowContent(C);}}var A=function(E){var D=this;var F={registerHed:"Join CNET to submit your review",loginHed:"Log in to CNET to submit your review",appId:"74",cval:"userreview",nextAction:function(){D.getUOmodal.delay(500,this,E);}.bind(this)};F.ursForm="fbconnect";CURS.Manager.checkLogin(F);}.bind(this);},wantItWindowContent:function(D){var C='<p class="wantItHeader" style="float: left; margin: 0 0 5px 3px;"><b>Notify me when:</b></p>';var H='<a class="closeSticky">close</a>';var F='<input class="priceAlertCheck" type="checkbox" checked="true" style="margin-top: 3px; margin-bottom: 0; float: left; clear: left;"/><p class="alertPrice" style="float: left; width: 285px;">This product is available for $<input class="priceAlertAmount" style="margin: 0;" type="text" size="3"/>.00</p>';var G='<p class="priceError" style="color: red; font-weight: bold; float: left; clear: left; margin-left: 22px;"></p>';var A='<input class="dealAlertCheck" type="checkbox" checked="true" style="margin-top: 6px; float: left; clear: left;"/><p style="float: left; margin-top: 5px; width: 280px;">Deals are available for this product</p>';var B='<a class="flexButton alertSubmit" style="float: left; clear: left; margin: 3px 0 0 110px">Sign Up</a>';var I='<div class="confirmPrice" style="display: none;"><p class="wantItHeader" style="float: left; margin: 0 0 5px 3px;"><b>Are you sure?</b></p><p style="float: left; clear: left;">That\'s more than 50% below the current lowest price. It isn\'t likely that you will get alerted.</p><a class="flexButton alertConfirm" style="float: left; clear: left; margin-top: 10px;">Yes, I\'m sure</a><a class="flexButton goBack" style="float: right; margin-top: 10px;">Go back</a></div>';var E='<div class="successConfirm" style="display: none;"><p class="wantItHeader" style="float: left; margin: 0 0 5px 0;"><b>Successfully subscribed</b></p><p class="successMsg" style="float: left; clear: left;">Your price alert has been set for this product.<br/></p><a class="seeMore" href="/8714-4_1-0.html" style="float: left; clear: left;">Manage my alerts >></a></div>';if(PageVars.get("pageType")=="5270"){return H+C+'<div class="alertsSignUpWrap" style="float: left;">'+A+B+"</div>"+E;}else{if(!$defined($("seoprice"))){F='<input class="priceAlertCheck" type="checkbox" checked="true" style="margin-top: 2px; margin-bottom: 0; float: left; clear: left;"/><p style="float: left;">A price becomes available for this product</p>';E='<div class="successConfirm" style="display: none;"><p class="wantItHeader" style="float: left; margin: 0 0 5px 0;"><b>Successfully subscribed</b></p><p class="successMsg" style="float: left; clear: left;">An alert will be sent when pricing is available for this product.<br/></p><a class="seeMore" href="/8714-4_1-0.html" style="float: left; clear: left;">Manage my alerts >></a></div>';A='<input class="dealAlertCheck" type="checkbox" checked="true" style="margin-top: 12px; float: left; clear: left;"/><p style="float: left; margin-top: 10px;">Deals are available for this product</p>';B='<a class="flexButton alertSubmit" style="clear: left; margin: 3px 0 0 118px">Sign Up</a>';}else{F='<p class="curLowPrice" style="float: left; clear: left; margin: 0 0 3px 3px; font-style: italic; font-size: 12px;">(Current lowest price: '+$("seoprice").get("text")+")</p>"+F;}}this.wantItWindow(D,(H+C+'<div class="alertsSignUpWrap" style="float: left;">'+F+G+A+B+"</div>"+I+E));},submitAlerts:function(B,D){var C="&alertItemType=2&alertItemId="+D.get("assetid");var A="";if(PageVars.get("pageType")!="5270"&&B.getElement(".priceAlertCheck").checked){if($defined(B.getElement(".priceAlertAmount"))){C=C+"&targetPrice="+B.getElement(".priceAlertAmount").get("value").replace(/^0+/,"")+"&eventType=12&actionType=1";}else{C=C+"&eventType=11&actionType=1";}}else{C="";}if(B.getElement(".dealAlertCheck").checked){if(C==""){C="&alertItemType=2&alertItemId="+D.get("assetid")+"&targetPrice=0&eventType=12&actionType=2";B.getElement(".successMsg").set("text","An alert will be sent when deals are available for this product.");}A="&alertItemType2=2&alertItemId2="+D.get("assetid")+"&eventType2=10&actionType2=1";}else{A="&alertItemType2=2&alertItemId2="+D.get("assetid")+"&eventType2=10&actionType2=2";}new Request({url:"http://"+document.location.host+"/8630-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-0.html",data:"nomesh"+C+A,onSuccess:function(E){dbug.log("Successfully signed up for deal");B.setStyle("width","auto");B.getElement(".confirmPrice").hide();B.getElement(".alertsSignUpWrap").hide();B.getElement(".wantItHeader").hide();B.getElement(".successConfirm").show("block");new JloggerLEVT("deal",{tag:"LEVT_deal",applicationTags:{event:"dealsignup",eventt:"signup",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,turl:"",tname:"",ssite:"cnet",wd:"gwh",wdloc:"gwh"}}).ping();},onFailure:function(E){dbug.log("Failed to sign up for deal");}}).send();},verifyAlertPrice:function(B){var A=$("seoprice").get("text").replace("$","").replace(",","");if(A.contains(".00")){A=A.toInt();}else{A=A.toInt()+1;}dbug.log(A);if(B==""||B==null){return"Price cannot be blank";}else{if(!/^[0-9]+$/.test(B)){return"Please enter only numbers (0-9)";}else{if(A<=B){return"Price can't be higher than starting price";}else{if((A/2)>B){return"Price is very low";}}}}return"";},wantItWindow:function(C,B){var A=this;A.successMsg=new StickyWinFx({content:B,closeClassName:"closeSticky",relativeTo:C,id:"assetVoteSuccess",className:"voteResponseSuccess",position:this.options.msgLocation.position,edge:this.options.msgLocation.edge,fadeDuration:500,zIndex:10000000}).show();$("assetVoteSuccess").set("styles",{width:"305px","-webkit-box-shadow":"0px 0px 3px rgba(0,0,0,.25)","-moz-box-shadow":"0px 0px 3px rgba(0,0,0,.25)","box-shadow":"0px 0px 3px rgba(0,0,0,.25)",border:"solid 1px black"});if($defined($("seoprice"))){$("assetVoteSuccess").getElement("p").set("styles",{width:"200px","float":"left"});}else{$("assetVoteSuccess").setStyle("width","320px");}$("assetVoteSuccess").getElement(".alertSubmit").addEvent("click",function(D){var E="";if(PageVars.get("pageType")!="5270"&&$("assetVoteSuccess").getElements(".priceAlertCheck")[0].checked&&$defined($("assetVoteSuccess").getElements(".priceAlertAmount")[0])){E=this.verifyAlertPrice($("assetVoteSuccess").getElements(".priceAlertAmount")[0].get("value"));}if(!$("assetVoteSuccess").getElements(".priceAlertCheck")[0].checked&&!$("assetVoteSuccess").getElements(".dealAlertCheck")[0].checked){E="To sign up, you must select an alert";}if(E===""){this.loginCheck(C);}else{if(E==="Price is very low"){$("assetVoteSuccess").getElement(".alertsSignUpWrap").hide();$("assetVoteSuccess").getElement(".wantItHeader").hide();$("assetVoteSuccess").getElement(".confirmPrice").show("block");$("assetVoteSuccess").getElement(".alertConfirm").addEvent("click",function(F){this.loginCheck(C);}.bind(this));$("assetVoteSuccess").getElement(".goBack").addEvent("click",function(F){$("assetVoteSuccess").getElement(".confirmPrice").hide();$("assetVoteSuccess").setStyle("width","320px");$("assetVoteSuccess").getElement(".alertsSignUpWrap").show("block");$("assetVoteSuccess").getElement(".wantItHeader").show("block");}.bind(this));}else{$("assetVoteSuccess").getElements(".priceError")[0].set("text",E);}}}.bind(this));},loginCheck:function(A){CURS.Manager.checkLogin({registerHed:"Please tell us who you are",loginHed:"Please tell us who you are",appId:305,cval:"assetrating",nextAction:function(){this.submitAlerts($("assetVoteSuccess"),A);}.bind(this)});},hasUserReview:function(B){var A=new Request({url:"/8654-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html?nomesh",async:false,data:{assetId:B.getProperty("assetId"),techProdReview:(this.options.assetTypeId=="2")?true:null}}).send().response;return A.text;},getUOmodal:function(B){var A=this;new Request({url:"/8654-"+PageVars.get("nodeId")+"_"+PageVars.get("siteId")+"-"+PageVars.get("assetId")+".html?nomesh",data:{showForm:true,assetId:B.getProperty("assetId"),techProdReview:(this.options.assetTypeId=="2")?true:null},onSuccess:function(C){A.displayUOmodal(C);}}).send();},displayUOmodal:function(B){var A=this;new GlobalModal({content:B,onInit:function(){},onDisplay:function(){if(A.successMsg){A.successMsg.hide();}$lazy(window.uoFormsModal,"http://i.i.com.com/cnwk.1d/html/rb/js/tron/ugc/ugc.tron.uoFormModal.compressed.js",function(){uoFormsModal.initSubmitForm({ctype:"evnt;elem;orig",cval:"click;A;gwh"});});if($$(".userReview .starsvalidation")){$$(".userReview .starsvalidation").set("value",A.currentRateVal*2);$$(".globalModal.userReview .userStars").each(function(C){if(!C.hasClass(A.currentRateClass)){var D=C.get("class").match(/userRate medium s\d+h*/)[0];C.removeClass(D);C.addClass(A.currentRateClass);C.store("rating",A.currentRateVal);C.store("defaultClass",A.currentRateClass);}});}},onClose:function(){this.destroy();}}).show();},showFailureMsg:function(B,A){var C=new StickyWinFx({content:A,relativeTo:B,id:"assetVoteFail",className:"voteResponseFail",position:this.options.msgLocation.position,edge:this.options.msgLocation.edge,fadeDuration:500,zIndex:10000000}).show();this.likeWaiter.stop();C.hide.delay(4000,C);C.destroy.delay(5000,C);},pingDW:function(A,B){new Jlogger({tag:A,ctype:"pid",cval:B}).ping();}});var Fixation=new Class({Implements:Options,options:{inset:20,widthOffset:0},initialize:function(C,A,B){this.setOptions(B);this.element=$(C);this.container=$(A);this.coords=this.container.getCoordinates();this.container.size=this.container.getSize();this.defaults=this.element.getStyles("left","top");this.element.size=this.element.getSize();this.options.inset=!isNaN(this.options.inset.toInt())?this.options.inset.toInt():0;this.options.widthOffset=!isNaN(this.options.widthOffset.toInt())?this.options.widthOffset.toInt():0;if(window.MooTools&&MooTools.version=="1.2dev"){this.defaults=new Hash(this.defaults);this.defaults.each(function(E,D){this[D]=!isNaN(E.toInt())?E.toInt():0;}.bind(this.defaults));}else{Object.each(this.defaults,function(E,D){this[D]=!isNaN(E.toInt())?E.toInt():0;}.bind(this.defaults));}this.max={top:this.coords.top-this.options.inset+this.defaults.top,bottom:this.coords.bottom-this.options.inset,colBottom:this.container.size.y-this.element.size.y};this.fixed=false;this.pos={position:"absolute",top:this.defaults.top,left:this.defaults.left};if(!Browser.Engine.trident4&&(this.element.size.y+this.options.inset<window.getSize().y)){this.attachScroll();this.attachResize();}},attachScrollEvent:function(){var B=this.container.getSize().y-this.options.inset;if(this.max==null){return false;}else{if(this.max.bottom!=(B+this.max.top)){this.max.bottom=B+this.max.top;this.max.colBottom=this.container.getSize().y-this.element.getSize().y;}}var A=window.getScroll();if(this.fixed&&A.y<this.max.top){this.pos={position:"absolute",top:this.defaults.top,left:(this.defaults.left-this.options.widthOffset)};this.setPosition();this.fixed=false;}else{if(this.fixed&&(A.y+this.element.size.y)>this.max.bottom){this.pos={position:"absolute",top:this.max.colBottom,left:(this.defaults.left-this.options.widthOffset)};this.setPosition();this.fixed=false;}else{if(!this.fixed&&(A.y>this.max.top)&&(A.y+this.element.size.y<this.max.bottom)){this.pos={position:"fixed",top:this.options.inset,left:(this.coords.left+this.options.widthOffset)};this.setPosition();this.fixed=true;}}}},attachScroll:function(){boundAttachScrollEvent=this.attachScrollEvent.bind(this);window.addEvent("scroll",boundAttachScrollEvent);},detatchScroll:function(){window.removeEvent("scroll",boundAttachScrollEvent);},attachResizeEvent:function(){this.coords=this.container.getCoordinates();if(this.fixed){this.pos.left=this.coords.left+this.options.widthOffset;this.setPosition();}},attachResize:function(){boundAttachResizeEvent=this.attachResizeEvent.bind(this);window.addEvent("resize",boundAttachResizeEvent);},detatchResize:function(){window.removeEvent("resize",boundAttachResizeEvent);},setPosition:function(){this.element.setStyles({position:this.pos.position,top:this.pos.top,left:this.pos.left});}});var ShareBar=new Class({Extends:Fixation,Implements:[Options,Events],options:{defaultView:"side",enableToggle:true,barId:"shareBar",shareBarResourceId:false,levtEnabled:true,shortenerCallback:false,views:{side:{id:"contentBody",element:"#contentBody",position:"bottom"},inline:{element:"#contentBody header",position:"bottom"}},data:{commentCount:"#postComments .countNumber"},adSkin:{regex:/^url\((\")?http:\/\/i\.i\.com\.com\/cnwk.1d\/Ads.*$/gi,element$$:".rb_skin, #rb_skin"}},loaded:{side:false,inline:false},thirdPartyLoading:{google:false,linkedIn:false,twitter:false},initialize:function(A){this.setOptions(A);this.shortURL=this.shareURL;this.processingRequest=false;this.gotShortUrl=false;this.commentCount="0";this.initValues();var B=$$(this.options.adSkin.element$$)[0];B=B!=null?B.getStyle("background-image"):B;if(B!=null&&B.match(this.options.adSkin.regex)!=null){this.options.enableToggle=false;this.requestShareBar("inline");}else{if(!$$(".inline-sharebar")[0]&&document.body.offsetWidth<1200){this.requestShareBar("inline");}else{if(!$(this.options.barId)){this.requestShareBar(this.options.defaultView);}else{this.parent("shareBar",this.options.views.side.id);this.initLevtTracking();if(this.options.enableToggle){this.attachWidthResize();}}}}},initLevtTracking:function(){if(!this.options.levtEnabled){return ;}try{if(twttr){twttr.events.bind("tweet",function(B){this.pingLEVT("twitter","socialbutton");}.bind(this));}$$(".shareContent li .linkIcon").each(function(B){B.addEvent("click",function(){if(B.hasClass("facebook")){this.pingLEVT("facebook","sharelink");}else{if(B.hasClass("twitter")){this.pingLEVT("twitter","sharelink");}else{if(B.hasClass("linkedin")){this.pingLEVT("linkedin","sharelink");}else{if(B.hasClass("digg")){this.pingLEVT("digg","sharelink");}else{if(B.hasClass("delicious")){this.pingLEVT("delicious","sharelink");}else{if(B.hasClass("reddit")){this.pingLEVT("reddit","sharelink");}else{if(B.hasClass("stumble")){this.pingLEVT("stumbleupon","sharelink");}else{if(B.hasClass("google")){this.pingLEVT("google","sharelink");}}}}}}}}}.bind(this));}.bind(this));}catch(A){dbug.log("LEVT tracking failed to initialize!");}},loadScript:function(A,B){if(B){new Asset.javascript(A,{onload:B});}else{new Asset.javascript(A);}},attachWidthResizeEvent:function(){if(document.body.offsetWidth<1200){if(this.loaded.inline||$$(".inline-sharebar")[0]){this.toggleShareBars("inline");}else{this.requestShareBar("inline");}}else{if(this.loaded.side||$$(".side-sharebar")[0]){this.toggleShareBars("side");}else{this.requestShareBar("side");}}},shareBarLocation:function(A){if(PageVars.get("siteId")==162){var B="http://"+document.location.host+"/html/cbs/shareBar/";B+=(Browser.qs&&Browser.qs.htmldebug?"dev-":"");if(this.options.shareBarResourceId!=false){B+=this.options.shareBarResourceId+"-";}B+=A;B+="-sharebar.html";return B;}return"http://"+document.location.host+"/html/rb/cnet/"+(Browser.qs&&Browser.qs.htmldebug?"dev-":"")+A+"-sharebar.html";},requestShareBar:function(A){if(!this.processingRequest){this.processingRequest=true;new Request({method:"get",url:this.shareBarLocation(A),onSuccess:function(B){if(!this.gotShortUrl){if(typeof this.options.shortenerCallback=="function"){this.shortURL=this.options.shortenerCallback(this.shareURL);this.injectShareBar(A,B);this.gotShortUrl=true;}else{new Request({method:"get",url:"http://"+document.location.host+"/posidn/rest/v1.0/shareBarUrlShortener?longUrl="+this.shareURL,onSuccess:function(C,E){try{if(E!=null&&E.getElement("CNETResponse")!=null&&E.getElement("CNETResponse").getElement("cnetCoUrl")!=null&&E.getElement("CNETResponse").getElement("cnetCoUrl").getElement("shortUrl")!=null){this.shortURL=E.getElement("CNETResponse").getElement("cnetCoUrl").getElement("shortUrl").get("text");}else{this.shortURL=this.shareURL;}}catch(D){this.shortURL=this.shareURL;}this.injectShareBar(A,B);this.gotShortUrl=true;}.bind(this),onFailure:function(){this.shortURL=this.shareURL;this.injectShareBar(A,B);}.bind(this)}).send();}}else{this.injectShareBar(A,B);}this.processingRequest=false;}.bind(this)}).send();}},injectShareBar:function(A,C){var B=new Element("div",{html:this.replacePlaceholders(C)});B.getChildren()[0].inject($$(this.options.views[A].element)[0],this.options.views[A].position);$$("."+A+"-sharebar .linkedInShareBtn").each(function(D){if(D.get("html")==""&&A=="side"){D.adopt(new Element("script",{type:"IN/Share","data-url":this.shareURL,"data-counter":"top","data-onsuccess":"shareSuccess"}));}else{if(D.get("html")==""&&A=="inline"){D.adopt(new Element("script",{type:"IN/Share","data-url":this.shareURL,"data-counter":"right","data-onsuccess":"shareSuccess"}));}}}.bind(this));this.initializeSocialButtons(A);this.loaded[A]=true;this.fireEvent("loaded",A);if(A=="side"){new Fixation("shareBar",this.options.views.side.id);}this.initLevtTracking();if(this.options.enableToggle){this.attachWidthResize();}this.toggleShareBars(A);},initValues:function(){var C=(document.URL.contains("?"))?document.URL.substring(0,document.URL.indexOf("?")):document.URL;this.shareURL=(this.options.data.shareURL!=null)?this.options.data.shareURL:C;this.tagPrefix=(this.shareURL.contains("&tag=")||this.shareURL.contains("?tag="))?";":"?tag=";this.shareDescription=this.options.data.shareDescription;if(PageVars.get("siteId")==162){this.shareTitle=(this.options.data.shareTitle!=null)?this.options.data.shareTitle:document.title.split("- CBS News")[0].trim();this.shareTitle=this.shareTitle.replace(/'/g,"");var A={500395:"business",207:"entertainment",205:"technology",204:"science",250:"politics",501370:"offbeat",400:"sports"};if(A[PageVars.get("channelId")]){this.diggTopic=A[PageVars.get("channelId")];}else{this.diggTopic="world_news";}this.shareSource="CBSNEWS";}else{this.shareTitle=(this.options.data.shareTitle!=null)?this.options.data.shareTitle:document.title.split("|")[0].trim();this.shareTitle=this.shareTitle.replace(/'/g,"");this.shareSource="CNET";this.diggTopic=(PageVars.get("pageType")=="2100")?"tech_news":"gadgets";}var B=setInterval(function(){setTimeout(function(){if($$(this.options.data.commentCount)[0]){this.commentCount=parseFloat($$(this.options.data.commentCount)[0].get("text"));if(this.commentCount<0){$$("li.commentTeaser").hide();}$$(".commentTeaser .countNumber").set("text",this.commentCount);clearInterval(B);}}.bind(this),"200");}.bind(this),"200");},replacePlaceholders:function(A){if(this.shortURL===undefined){this.shortURL=this.shareURL;}A=A.replace(/{{shareUrl}}/g,this.shareURL);A=A.replace(/{{shortUrl}}/g,this.shortURL);A=A.replace(/{{shareTitle}}/g,this.shareTitle);A=A.replace(/{{eShareUrl}}/g,encodeURIComponent(this.shareURL));A=A.replace(/{{eShortUrl}}/g,encodeURIComponent(this.shortURL));A=A.replace(/{{eTagPrefix}}/g,encodeURIComponent(this.tagPrefix));A=A.replace(/{{eShareTitle}}/g,encodeURIComponent(this.shareTitle));A=A.replace(/{{eShareDescription}}/g,encodeURIComponent(this.shareDescription));A=A.replace(/{{eShareSource}}/g,encodeURIComponent(this.shareSource));A=A.replace(/{{eDiggTopic}}/g,encodeURIComponent(this.diggTopic));A=A.replace(/{{commentCount}}/g,this.commentCount);return A;},toggleShareBars:function(A){if(A=="inline"){$$(".side-sharebar").setStyle("display","none");$$(".inline-sharebar").setStyle("display","block");}else{if(A=="side"){$$(".side-sharebar").setStyle("display","block");$$(".inline-sharebar").setStyle("display","none");}}},pingLEVT:function(A,B){new JloggerLEVT.Social.Share({applicationTags:{eventt:"socialsite",tasid:PageVars.get("assetId"),tastid:(DW.pageParams.astId)?DW.pageParams.astId:0,ssite:A,wd:B,wdloc:"sharebar"}}).ping();},initializeSocialButtons:function(A){try{$$(".shareBar a.email").each(function(C){C.removeEvents();C.addEvent("click",PageTools.email);});$$(".shareBar a.print").each(function(C){C.removeEvents();C.addEvent("click",PageTools.print);});if(window.FB&&$$(".facebookShareBtn").length>0){FB.XFBML.parse();}if((typeof twttr==="undefined"||typeof twttr.widgets==="undefined")&&!this.thirdPartyLoading.twitter&&$$(".twitterShareBtn").length>0){this.thirdPartyLoading.twitter=true;this.loadScript("http://platform.twitter.com/widgets.js",function(){twttr.widgets.load();});}else{twttr.widgets.load();}if(typeof gapi==="undefined"&&!this.thirdPartyLoading.google&&$$(".googlePlusOneShareBtn").length>0){this.thirdPartyLoading.google=true;this.loadScript("https://apis.google.com/js/plusone.js",function(){gapi.plusone.go();});}else{gapi.plusone.go();}if(typeof IN==="undefined"&&!this.thirdPartyLoading.linkedIn&&$$(".linkedInShareBtn").length>0){this.thirdPartyLoading.linkedIn=true;this.loadScript("https://platform.linkedin.com/in.js?async=true",function(){IN.init();});}else{IN.init();}}catch(B){dbug.log("Uh-oh one of the buttons didn't parse correctly",B);}},attachWidthResize:function(){boundAttachResizeEvent=this.attachWidthResizeEvent.bind(this);window.addEvent("resize",boundAttachResizeEvent);}});var CoCo={initEvents:function(){try{$("whatsSame").addEvent("click",this.whatsTheSame.bind(this));$("whatsDifferent").addEvent("click",this.whatsDifferent.bind(this));}catch(A){dbug.log(A);}$$(".simProductShowLink").addEvent("click",function(B){this.showSimilarProducts(B,B.target.getProperty("prodId"));}.bind(this));},whatsTheSame:function(){dbug.log("whatsTheSame");this.hiliteElWithClassName("areSame","#cae5f5");this.hiliteElWithClassName("areDifferent","#FFFFFF");},whatsDifferent:function(){dbug.log("whatsDifferent");this.hiliteElWithClassName("areDifferent","#f8e493");this.hiliteElWithClassName("areSame","#FFFFFF");},hiliteElWithClassName:function(B,A){dbug.log("hiliteElWithClassName");$$("td."+B).each(function(C){C.getParent().getChildren("td").each(function(D){D.morph({"background-color":A});});});},showSimilarProducts:function(B,A){$(B.target).set("text","Loading...");new Request.HTML({update:$("simProduct"+A),onSuccess:function(){$(B.target).dissolve();$("simProduct"+A).reveal();$("simProduct"+A).getElement("a.compHide").addEvent("click",function(C){CoCo.hideSimilarProducts(C.target);});$("simProduct"+A).getElement("input.compProd").addEvent("click",function(C){C.stop();CoCo.addPidsToComparison(C.target);});},onFailure:function(){$("simProduct"+A).set("text","We encountered an error while loading similar products. Please try again later.");}}).get(PageVars.getPath({pageType:4504,assetId:A,pageNumber:false})+"?_tilename_=.cocoSimilarProductsAjaxUpdate&shPid="+A+"&nomesh&s=1");},hideSimilarProducts:function(B){var A=B.getParent("td").getElement("a.simProductShowLink");$("simProduct"+A.getProperty("prodId")).hide();A.set("text","Compare more products").reveal();},addPidsToComparison:function(B){var C=$(B).getParent("form").getElements("input[name=pids]");var A={id:$splat(new Link(window.location.href).getQueryObject()["id"])||[],tag:"addtocompare"};C.each(function(D){if(D.checked){A.id.include(D.get("value"));}});if(C.length<2){alert("Please select at least two products to compare.");}else{window.location=new Link(window.location.href).mergeQueryString($merge(A,{tag:"simcomp"})).get("href");}}};window.addEvent("domready",function(){CoCo.initEvents();$$(".edRate a.toolTipElement").each(function(B){var C=B.getParent("li").getElement("ul.data");if(C){B.store("tip:text",C.getParent().get("html"));}else{B.store("tip:text","Product summary not available");}});$$(".prodBasicImg").each(function(B){if(B.getProperty("videoId")){new PopupVideo({target:B,videoId:B.getProperty("videoId")});}});$$(".addToList").each(function(B){B.addEvent("click",function(){UserLists.Manager.getUserListModal("AddToList",B);});});new WantItGotItHadIt($$(".gwhTools a.gotIt"),{assetTypeId:2,voteNumElem:"b",voteType:"gotIt"});new WantItGotItHadIt($$(".gwhTools a.wantIt"),{assetTypeId:2,voteNumElem:"b",voteType:"wantIt"});new WantItGotItHadIt($$(".gwhTools a.hadIt"),{assetTypeId:2,voteNumElem:"b",voteType:"hadIt"});try{if(PageVars.get("pageType")=="4540"){new ShareBar({views:{inline:{position:"before",element:"#contentBody"}}});}else{if(PageVars.get("pageType")=="2795"){new ShareBar({views:{side:{id:"contentMain",element:"#contentMain",position:"bottom"},inline:{element:"#overviewHead",position:"before"}}});}}}catch(A){}});
   }
       
