ibFeedString='- http://www.indiebound.org/book/97804252320952010-01-05T00:00:00-05:00
- http://www.indiebound.org/book/97808358997032008-10-01T00:00:00-04:00
- http://www.indiebound.org/book/97803160276562009-08-04T00:00:00-04:00
- http://www.indiebound.org/book/97815854277722009-12-24T00:00:00-05:00
- http://www.indiebound.org/book/97801410424972009-10-01T00:00:00-04:00
';ibSyntax='http://aaronsbooks.theretailerplace.com/MLB/actions/searchHandler.do?key=IIISBNNN&nextPage=bookDetails&parentNum=1';
// this code incorporates qTip, by Craig Erskine (http://qrayg.com)
ibUseTooltip=(typeof(ibUseTooltip)!="undefined")?ibUseTooltip:true;ibTitle=(typeof(ibTitle)!="undefined")?ibTitle:'';ibRWidth=(typeof(ibWidth)!="undefined")?ibWidth-2:158;ibRHeight=(typeof(ibHeight)!="undefined")?ibHeight-2:598;ibUseFooter=(typeof(ibUseFooter)!="undefined")?ibUseFooter:true;if(ibUseFooter==true)ibRHeight-=16;else ibRHeight-=7;ibBGColor=(typeof(ibBGColor)!="undefined")?ibBGColor:'b9cf96';ibBorderColor=(typeof(ibBorderColor)!="undefined")?ibBorderColor:'000000';ibHeaderColor=(typeof(ibHeaderColor)!="undefined")?ibHeaderColor:'ba131a';ibHeaderTextColor=(typeof(ibHeaderTextColor)!="undefined")?ibHeaderTextColor:'ffffff';ibTextColor=(typeof(ibTextColor)!="undefined")?ibTextColor:'000000';ibBookSize=(typeof(ibBookSize)!="undefined")?ibBookSize:100;var ibqTipTag="a";var ibqTipX=-50;var ibqTipY=15;
if(!tipContainerID){var tipContainerID="ibqTip"};var tipContainer=document.getElementById(tipContainerID);if(!tipContainer){document.write('
');tipContainer=1}
ibTooltip={name:"ibqTip",offsetX:ibqTipX,offsetY:ibqTipY,tip:null};ibTooltip.init=function(){var tipNameSpaceURI="http://www.w3.org/1999/xhtml";if(!tipContainerID){var tipContainerID="ibqTip"};var tipContainer=document.getElementById(tipContainerID);if(!tipContainer){document.write('');tipContainer=1}if(!document.getElementById)return;this.tip=document.getElementById(this.name);if(this.tip)document.onmousemove=function(evt){ibTooltip.move(evt)};var a,sTitle,elements;var elementList=ibqTipTag.split(",");for(var j=0;j-1;var isMoz=document.implementation&&document.implementation.createDocument;var isSafari=((navigator.userAgent.toLowerCase().indexOf("safari")!=-1)&&(navigator.userAgent.toLowerCase().indexOf("mac")!=-1))?true:false;bo=0;document.write('');var books=[];ml=35;ibLoadFeed();ibRenderWidget();function ibRenderWidget(){ibRWidth=(typeof(ibWidth)!="undefined")?ibWidth-2:158;ibRHeight=(typeof(ibHeight)!="undefined")?ibHeight-2:598;if(ibUseFooter==true)ibRHeight-=16;else ibRHeight-=7;bh=ibBookSize-2;bw=Math.round(92*(ibBookSize/140))-2;ww=bw+80;wh=bh+6;ibwa=8;ml=35;hf=12;if(bh<=60){ibwa=28;ml=25;hf=10}headerHeight=40;if(!ibUseFooter)headerHeight=8;cols=Math.floor((ibRHeight-headerHeight)/wh);rows=Math.floor((ibRWidth-ibwa)/ww);ibNumBooks=cols*rows;if(rows<2)headerHeight+=28;if(isIE&&rows<2)headerHeight+=16;footerHeight=ibRHeight-headerHeight-(wh*cols);bp=Math.round((ibRWidth-((ww*rows)+16))/2);if(bp<8)bp=8;var widget='';widget+='';document.getElementById('indiebound_widget').innerHTML=widget;if(ibUseTooltip){ibTooltip.init();}}function ibRenderBooks(){var output='';for(i=bo;i<((bo+ibNumBooks';output+='';output+=''+book.title+"
";if(book.author.substring(0,3)=='By '||book.author.substring(0,3)=='by ')output+=''+book.author+"
";else output+='By '+book.author+"
";output+=''}return output}function ibLoadFeed(){var xmlDoc='';try{if(window.ActiveXObject){xmlDoc=new ActiveXObject("Microsoft.XMLDOM");xmlDoc.async=false;xmlDoc.loadXML(ibFeedString)}else if(window.XMLHttpRequest){parser=new DOMParser();xmlDoc=parser.parseFromString(ibFeedString,"text/xml")}else{var url="data:text/xml;charset=utf-8,"+encodeURIComponent(ibFeedString);var req=new XMLHttpRequest();req.open("GET",url);req.onload=function(){xmlDoc=req.responseXML};req.send(null)}}catch(e){}if(ibTitle==''){x=xmlDoc.getElementsByTagName("title");if(x[0].firstChild.nodeValue){ibTitle='IndieBound - '+x[0].firstChild.nodeValue;ibTitle=ibTitle.replace('Trade Paperback','Paperback')}else{ibTitle='IndieBound - Shop Indie Online'}}x=xmlDoc.getElementsByTagName("item");for(i=0;i=ibMaxBooks){bo=0}ibRenderWidget()}function ibTrimString(val,offset){ml2=ml-offset;if(val.length>ml2){return val.substring(0,val.lastIndexOf(' ',ml2))+'…'}return val}