//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.
//example: dbugScripts("/the/location/of/my/scripts/",["script1.js","script2.js","etc"])
//returns true if scripts are included, otherwise false.
if(!dbugScripts("http://c18-x-publish1.cnet.com:8100/html/rb/js/tiburon/cat/",["ssa.prodreview.js"])){

/* begin packed code */
var Tips=new Class({Implements:[Events,Options],options:{onShow:function(a){a.setStyle('visibility','visible')},onHide:function(a){a.setStyle('visibility','hidden')},maxTitleChars:30,showDelay:100,hideDelay:100,className:'tool',offsets:{'x':16,'y':16},fixed:false},initialize:function(a,b){this.setOptions(b);a=$$(a);this.document=(a.length)?a[0].ownerDocument:document;this.toolTip=new Element('div',{'class':this.options.className+'-tip','styles':{'position':'absolute','top':'0','left':'0','visibility':'hidden'}},this.document).inject(this.document.body);this.wrapper=new Element('div').inject(this.toolTip);a.each(this.build,this)},build:function(b){b.$attributes.myTitle=(b.href&&b.get('tag')=='a')?b.href.replace('http://',''):(b.rel||false);if(b.title){var c=b.title.split('::');if(c.length>1){b.$attributes.myTitle=c[0].trim();b.$attributes.myText=c[1].trim()}else{b.$attributes.myText=b.title}b.removeProperty('title')}else{b.$attributes.myText=false}if(b.$attributes.myTitle&&b.$attributes.myTitle.length>this.options.maxTitleChars)b.$attributes.myTitle=b.$attributes.myTitle.substr(0,this.options.maxTitleChars-1)+"&hellip;";b.addEvent('mouseenter',function(a){this.start(b);if(!this.options.fixed)this.locate(a);else this.position(b)}.bind(this));if(!this.options.fixed)b.addEvent('mousemove',this.locate.bind(this));var d=this.end.bind(this);b.addEvent('mouseleave',d)},start:function(a){this.wrapper.empty();if(a.$attributes.myTitle){this.title=new Element('span').inject(new Element('div',{'class':this.options.className+'-title'}).inject(this.wrapper)).set('html',a.$attributes.myTitle)}if(a.$attributes.myText){this.text=new Element('span').inject(new Element('div',{'class':this.options.className+'-text'}).inject(this.wrapper)).set('html',a.$attributes.myText)}$clear(this.timer);this.timer=this.show.delay(this.options.showDelay,this)},end:function(a){$clear(this.timer);this.timer=this.hide.delay(this.options.hideDelay,this)},position:function(a){var b=a.getPosition();this.toolTip.setStyles({'left':b.x+this.options.offsets.x,'top':b.y+this.options.offsets.y})},locate:function(a){var b=this.document.getSize();var c=this.document.getScroll();var d={'x':this.toolTip.offsetWidth,'y':this.toolTip.offsetHeight};var e={'x':'left','y':'top'};for(var z in e){var f=a.page[z]+this.options.offsets[z];if((f+d[z]-c[z])>b[z])f=a.page[z]-this.options.offsets[z]-d[z];this.toolTip.setStyle(e[z],f)}},show:function(){if(this.options.timeout)this.timer=this.hide.delay(this.options.timeout,this);this.fireEvent('onShow',[this.toolTip])},hide:function(){this.fireEvent('onHide',[this.toolTip])}});var ImgTips=new Class({Extends:Tips,initialize:function(a,b){b=b||{};this.parent(a,$merge({largePathAttribute:'enlarge'},b))},build:function(b){if(b.get(this.options.largePathAttribute)){b.$attributes.myTitle='<img src="'+b.get(this.options.largePathAttribute)+'" />';b.$attributes.myText='';b.removeAttribute('title')}else{b.myText=false}b.addEvent('mouseenter',function(a){this.start(b);if(!this.options.fixed)this.locate(a);else this.position(b)}.bind(this));if(!this.options.fixed)b.addEvent('mousemove',this.locate.bind(this));var c=this.end.bind(this);b.addEvent('mouseleave',c)}});var MG={};MG.ThumbScroller=new Class({Implements:Options,currentTop:0,options:{thumbContainer:'productThumbs',thumbScroller:'thumbScroller',upArrow:'scrollThumbsUp',downArrow:'scrollThumbsDown'},initialize:function(a){this.setOptions(a);this.container=$(this.options.thumbContainer);this.scroller=$(this.options.thumbScroller);this.scroll=new Fx.Scroll(this.container);$(this.options.downArrow).addEvent('click',this.scrollDown.bind(this));$(this.options.upArrow).addEvent('click',this.scrollUp.bind(this))},scrollDown:function(){this.scroll.toElement(this.scroller.getElements('img.imageTips')[3]);$(this.options.downArrow).setStyle('display','none');$(this.options.upArrow).setStyle('display','block')},scrollUp:function(){this.scroll.toTop();$(this.options.downArrow).setStyle('display','block');$(this.options.upArrow).setStyle('display','none')}});window.addEvent('domready',function(){if($('similarProds')){$('similarProds').getElements('ul.data').each(function(a){a.setStyles({'display':'block','opacity':'0'});a.getParent('li').getElements('a').set({events:{'mouseenter':function(){this.getParent('li').getElement('ul.data').fade(.85)},'mouseleave':function(){this.getParent('li').getElement('ul.data').fade('out')}}})})}$$('.uoSorting ul').set('reveal',{duration:'short'});$$('.uoSorting span.current').addEvent('click',function(){this.getParent('div').getElement('ul').get('reveal').toggle()});if($('scrollThumbsDown')){new MG.ThumbScroller()}});function openWindow(a,x,y){if(!x){x=480}if(!y){y=620}var b=window.open(a,'popupWin','toolbar=0,location=no,directories=0,status=0,scrollbars=yes,resizable=1,width='+x+',height='+y);b.focus()};window.addEvent('load',function(){new ImgTips($$('.imageTips'))});var SSAHelpfulRating=new Class({initialize:function(){if($('fullUO')){if(this.isOwnOpinion()){this.hideAll()}else if(this.hasRated()){this.showThanks()}else{this.initLinks()}}},initLinks:function(){var a=$('isHelpful').getElements('a');a.addEvent('click',function(e){e=new Event(e).stop();this.sendVote(e.target.get('href'));this.showThanks()}.bind(this))},sendVote:function(a){new Request({url:a,method:'get'}).send()},isOwnOpinion:function(){return($('fullUO').get('userName')==PageVars.get('userName'))},hasRated:function(){return(Browser.qs.helpvote=='true')},showThanks:function(){$('thanksForFeedback').show();$('isHelpful').hide()},hideAll:function(){$('thanksForFeedback').setStyle('display','none');$('isHelpful').setStyle('display','none')}});window.addEvent('domready',function(){if([4505,4852,4507,4540,4510,4014,4566,1705,1714,1752,1764].contains(PageVars.get('pageType')-0)){if(!($('historyBarCss')))new Asset.css('http://i.i.com.com/cnwk.1d/css/rb/pers/historybar.css',{id:'historyBarCss'});if(!($('historyBarJs')))new Asset.javascript('http://i.i.com.com/cnwk.1d/html/rb/js/tiburon/ssa.historybar.js',{id:'historyBarJs'})}});

/* end packed code */
} //end debug scripts
