ibFeedString='<?xml version="1.0" encoding="UTF-8" ?>  <rss version="2.0"     xmlns:dc="http://purl.org/dc/elements/1.1/"     xmlns:bsbl="http://spiders.com/specs/xml/bsbl/"      xmlns:xcbl="rrn:org.xcbl:schemas/xcbl/v4_0/core/core.xsd" >  <channel>    <title>Hardcover Nonfiction Bestsellers</title>    <link>http://www.spiders.com/bestsellers/</link>    <description>      Hardcover Nonfiction list for February 4, 2010,       for sales ending January 31, 2010.      Based on sales in independent bookstores nationwide.                 For an independent bookstore store near you, call 1-888-266-5736,      or visit      &lt;a href="http://indiebound.org/?affiliateId=objective"&gt;IndieBound.org&lt;/a&gt;.      Online syndication provided by Objective Consulting, Inc.      &lt;a href="http://www.spiders.com/"&gt;http://www.spiders.com/&lt;/a&gt;    </description>    <language>en-us</language>    <bsbl:listDate published="2010-02-04"                    ending="2010-01-31"		   period="week"/>          <item>        <title>1. Game Change: Obama and the Clintons, McCain and Palin, and the Race of a Lifetime</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780061733635&amp;assignStoreNear=00000</link>        <description>	  by John Heilemann, Mark Halperin (Harper, ISBN: 9780061733635);	  	    Last week: 1;	  	    Weeks on List: 3          	    "A riveting look at the 2008 presidential campaign."          	</description>	<ttl>360</ttl>	<dc:title>Game Change: Obama and the Clintons, McCain and Palin, and the Race of a Lifetime</dc:title>	<bsbl:rank>1</bsbl:rank>	<dc:creator>John Heilemann, Mark Halperin</dc:creator>	<dc:publisher>Harper</dc:publisher>	<dc:identifier>9780061733635</dc:identifier>                <dc:description>A riveting look at the 2008 presidential campaign.</dc:description>                	  <bsbl:history	  last="1"	   wol="3"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>2. Committed: A Skeptic Makes Peace with Marriage</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780670021659&amp;assignStoreNear=00000</link>        <description>	  by Elizabeth Gilbert (Viking, ISBN: 9780670021659);	  	    Last week: 2;	  	    Weeks on List: 4          	    "Gilbert\'s follow-up to her bestseller Eat, Pray, Love is a January Indie Next List Great Read."          	</description>	<ttl>360</ttl>	<dc:title>Committed: A Skeptic Makes Peace with Marriage</dc:title>	<bsbl:rank>2</bsbl:rank>	<dc:creator>Elizabeth Gilbert</dc:creator>	<dc:publisher>Viking</dc:publisher>	<dc:identifier>9780670021659</dc:identifier>                <dc:description>Gilbert\'s follow-up to her bestseller Eat, Pray, Love is a January Indie Next List Great Read.</dc:description>                	  <bsbl:history	  last="2"	   wol="4"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>26.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>3. Stones Into Schools: Promoting Peace With Books, Not Bombs, in Afghanistan and Pakistan</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780670021154&amp;assignStoreNear=00000</link>        <description>	  by Greg Mortenson (Viking, ISBN: 9780670021154);	  	    Last week: 3;	  	    Weeks on List: 9          	    "Mortenson follows up his bestselling Three Cups of Tea with an account of his ongoing efforts to establish schools in Afghanistan and Pakistan."          	</description>	<ttl>360</ttl>	<dc:title>Stones Into Schools: Promoting Peace With Books, Not Bombs, in Afghanistan and Pakistan</dc:title>	<bsbl:rank>3</bsbl:rank>	<dc:creator>Greg Mortenson</dc:creator>	<dc:publisher>Viking</dc:publisher>	<dc:identifier>9780670021154</dc:identifier>                <dc:description>Mortenson follows up his bestselling Three Cups of Tea with an account of his ongoing efforts to establish schools in Afghanistan and Pakistan.</dc:description>                	  <bsbl:history	  last="3"	   wol="9"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>26.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>4. Just Kids</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780066211312&amp;assignStoreNear=00000</link>        <description>	  by Patti Smith (Ecco, ISBN: 9780066211312);	  	    Last week: 4;	  	    Weeks on List: 2          	    "Rock icon Smith\'s memoir of her early years in New York and her relationship with photographer Robert Mapplethorpe."          	</description>	<ttl>360</ttl>	<dc:title>Just Kids</dc:title>	<bsbl:rank>4</bsbl:rank>	<dc:creator>Patti Smith</dc:creator>	<dc:publisher>Ecco</dc:publisher>	<dc:identifier>9780066211312</dc:identifier>                <dc:description>Rock icon Smith\'s memoir of her early years in New York and her relationship with photographer Robert Mapplethorpe.</dc:description>                	  <bsbl:history	  last="4"	   wol="2"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>5. The Kind Diet: A Simple Guide to Feeling Great, Losing Weight, and Saving the Planet</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9781605296449&amp;assignStoreNear=00000</link>        <description>	  by Alicia Silverstone (Rodale, ISBN: 9781605296449);	  	  	    Weeks on List: 1          	    "A new plant-based diet by the popular actress and activist."          	</description>	<ttl>360</ttl>	<dc:title>The Kind Diet: A Simple Guide to Feeling Great, Losing Weight, and Saving the Planet</dc:title>	<bsbl:rank>5</bsbl:rank>	<dc:creator>Alicia Silverstone</dc:creator>	<dc:publisher>Rodale</dc:publisher>	<dc:identifier>9781605296449</dc:identifier>                <dc:description>A new plant-based diet by the popular actress and activist.</dc:description>                	  <bsbl:history	  	   wol="1"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>29.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>6. The Happiness Project</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780061583254&amp;assignStoreNear=00000</link>        <description>	  by Gretchen Craft Rubin (Harper, ISBN: 9780061583254);	  	  	    Weeks on List: 1          	    "Rubin\'s inspiring account of her year-long quest to live a happier life."          	</description>	<ttl>360</ttl>	<dc:title>The Happiness Project</dc:title>	<bsbl:rank>6</bsbl:rank>	<dc:creator>Gretchen Craft Rubin</dc:creator>	<dc:publisher>Harper</dc:publisher>	<dc:identifier>9780061583254</dc:identifier>                <dc:description>Rubin\'s inspiring account of her year-long quest to live a happier life.</dc:description>                	  <bsbl:history	  	   wol="1"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>25.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>7. Outliers</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780316017923&amp;assignStoreNear=00000</link>        <description>	  by Malcolm Gladwell (Little Brown, ISBN: 9780316017923);	  	    Last week: 10;	  	    Weeks on List: *          	    "The author of Blink and The Tipping Point looks at what makes some people successful--and others not."          	</description>	<ttl>360</ttl>	<dc:title>Outliers</dc:title>	<bsbl:rank>7</bsbl:rank>	<dc:creator>Malcolm Gladwell</dc:creator>	<dc:publisher>Little Brown</dc:publisher>	<dc:identifier>9780316017923</dc:identifier>                <dc:description>The author of Blink and The Tipping Point looks at what makes some people successful--and others not.</dc:description>                	  <bsbl:history	  last="10"	   wol="*"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>8. Have a Little Faith</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780786868728&amp;assignStoreNear=00000</link>        <description>	  by Mitch Albom (Hyperion, ISBN: 9780786868728);	  	    Last week: 8;	  	    Weeks on List: 18          	    "The new true story about the power of faith by the bestselling author of Tuesdays With Morrie."          	</description>	<ttl>360</ttl>	<dc:title>Have a Little Faith</dc:title>	<bsbl:rank>8</bsbl:rank>	<dc:creator>Mitch Albom</dc:creator>	<dc:publisher>Hyperion</dc:publisher>	<dc:identifier>9780786868728</dc:identifier>                <dc:description>The new true story about the power of faith by the bestselling author of Tuesdays With Morrie.</dc:description>                	  <bsbl:history	  last="8"	   wol="18"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>23.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>9. What the Dog Saw</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780316075848&amp;assignStoreNear=00000</link>        <description>	  by Malcolm Gladwell (Little Brown, ISBN: 9780316075848);	  	    Last week: 5;	  	    Weeks on List: 15          	    "A collection of writing from The New Yorker by the bestselling author of Blink and Outliers."          	</description>	<ttl>360</ttl>	<dc:title>What the Dog Saw</dc:title>	<bsbl:rank>9</bsbl:rank>	<dc:creator>Malcolm Gladwell</dc:creator>	<dc:publisher>Little Brown</dc:publisher>	<dc:identifier>9780316075848</dc:identifier>                <dc:description>A collection of writing from The New Yorker by the bestselling author of Blink and Outliers.</dc:description>                	  <bsbl:history	  last="5"	   wol="15"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27.99</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>10. Born to Run</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780307266309&amp;assignStoreNear=00000</link>        <description>	  by Christopher McDougall (Knopf, ISBN: 9780307266309);	  	    Last week: 6;	  	    Weeks on List: 35          	    "A look at the Tarahumara Indians and their practice of the lost art of distance running."          	</description>	<ttl>360</ttl>	<dc:title>Born to Run</dc:title>	<bsbl:rank>10</bsbl:rank>	<dc:creator>Christopher McDougall</dc:creator>	<dc:publisher>Knopf</dc:publisher>	<dc:identifier>9780307266309</dc:identifier>                <dc:description>A look at the Tarahumara Indians and their practice of the lost art of distance running.</dc:description>                	  <bsbl:history	  last="6"	   wol="35"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>24.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>11. Drive: The Surprising Truth About What Motivates Us</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9781594488849&amp;assignStoreNear=00000</link>        <description>	  by Daniel H. Pink (Riverhead, ISBN: 9781594488849);	  	    Last week: 14;	  	    Weeks on List: 4          	    "The bestselling author of A Whole New Mind looks at what truly motivates people."          	</description>	<ttl>360</ttl>	<dc:title>Drive: The Surprising Truth About What Motivates Us</dc:title>	<bsbl:rank>11</bsbl:rank>	<dc:creator>Daniel H. Pink</dc:creator>	<dc:publisher>Riverhead</dc:publisher>	<dc:identifier>9781594488849</dc:identifier>                <dc:description>The bestselling author of A Whole New Mind looks at what truly motivates people.</dc:description>                	  <bsbl:history	  last="14"	   wol="4"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>26.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>12. The Checklist Manifesto: How to Get Things Right</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780805091748&amp;assignStoreNear=00000</link>        <description>	  by Atul Gawande (Metropolitan, ISBN: 9780805091748);	  	    Last week: 12;	  	    Weeks on List: 4          	    "Gawande\'s fascinating look at how to-do lists help people live more successful lives."          	</description>	<ttl>360</ttl>	<dc:title>The Checklist Manifesto: How to Get Things Right</dc:title>	<bsbl:rank>12</bsbl:rank>	<dc:creator>Atul Gawande</dc:creator>	<dc:publisher>Metropolitan</dc:publisher>	<dc:identifier>9780805091748</dc:identifier>                <dc:description>Gawande\'s fascinating look at how to-do lists help people live more successful lives.</dc:description>                	  <bsbl:history	  last="12"	   wol="4"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>24.50</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>13. Open</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780307268198&amp;assignStoreNear=00000</link>        <description>	  by Andre Agassi (Knopf, ISBN: 9780307268198);	  	    Last week: 7;	  	    Weeks on List: 11          	    "The autobiography of tennis great Andre Agassi."          	</description>	<ttl>360</ttl>	<dc:title>Open</dc:title>	<bsbl:rank>13</bsbl:rank>	<dc:creator>Andre Agassi</dc:creator>	<dc:publisher>Knopf</dc:publisher>	<dc:identifier>9780307268198</dc:identifier>                <dc:description>The autobiography of tennis great Andre Agassi.</dc:description>                	  <bsbl:history	  last="7"	   wol="11"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>28.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>14. Half the Sky</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780307267146&amp;assignStoreNear=00000</link>        <description>	  by Nicholas D. Kristof, Sheryl WuDunn (Knopf, ISBN: 9780307267146);	  	    Last week: 9;	  	    Weeks on List: 14          	    "Powerful true stories of women overcoming adversity and injustice."          	</description>	<ttl>360</ttl>	<dc:title>Half the Sky</dc:title>	<bsbl:rank>14</bsbl:rank>	<dc:creator>Nicholas D. Kristof, Sheryl WuDunn</dc:creator>	<dc:publisher>Knopf</dc:publisher>	<dc:identifier>9780307267146</dc:identifier>                <dc:description>Powerful true stories of women overcoming adversity and injustice.</dc:description>                	  <bsbl:history	  last="9"	   wol="14"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>          <item>        <title>15. Freefall: America, Free Markets, and the Sinking of the World Economy</title>        <link>http://www.booksense.com/product/info.jsp?affiliateId=objective&amp;isbn=9780393075960&amp;assignStoreNear=00000</link>        <description>	  by Joseph Stiglitz (Norton, ISBN: 9780393075960);	  	    Last week: 11;	  	    Weeks on List: 2          	    "Nobel Prize-winner Stiglitz looks at the current financial crisis."          	</description>	<ttl>360</ttl>	<dc:title>Freefall: America, Free Markets, and the Sinking of the World Economy</dc:title>	<bsbl:rank>15</bsbl:rank>	<dc:creator>Joseph Stiglitz</dc:creator>	<dc:publisher>Norton</dc:publisher>	<dc:identifier>9780393075960</dc:identifier>                <dc:description>Nobel Prize-winner Stiglitz looks at the current financial crisis.</dc:description>                	  <bsbl:history	  last="11"	   wol="2"	  />            <xcbl:Price><xcbl:UnitPrice>      <xcbl:UnitPriceValue>27.95</xcbl:UnitPriceValue>    </xcbl:UnitPrice></xcbl:Price>      </item>      </channel></rss>';ibSyntax='http://www.indiebound.org/book/IIISBNNN?aff=EastBayExpress';

// 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('<style type="text/css">#ibqTip p {font-size: 9px}</style><div id="ibqTip" style="width:200px;font-size:9px;padding: 4px;border: 1px solid #'+ibBorderColor+';display: none;background: #'+ibHeaderColor+';color: #'+ibHeaderTextColor+';font: bold 9px Verdana, Arial, sans-serif;text-align: left;position: absolute;z-index: 1000;"></div>');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('<style type="text/css">#ibqTip p {font-size: 9px}</style><div id="ibqTip" style="width:200px;font-size:9px;padding: 4px;border: 1px solid #'+ibBorderColor+';display: none;background: #'+ibHeaderColor+';color: #'+ibHeaderTextColor+';font: bold 9px Verdana, Arial, sans-serif;text-align: left;position: absolute;z-index: 1000;"></div>');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<elementList.length;j++){elements=document.getElementsByTagName(elementList[j]);if(elements){for(var i=0;i<elements.length;i++){a=elements[i];sTitle=a.getAttribute("title");if(sTitle){a.setAttribute("ibtiptitle",sTitle);a.removeAttribute("title");a.removeAttribute("alt");a.onmouseover=function(){ibTooltip.show(this.getAttribute('ibtiptitle'))};a.onmouseout=function(){ibTooltip.hide()}}}}}};ibTooltip.move=function(evt){var x=0,y=0;if(document.all){x=(document.documentElement&&document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft;y=(document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop;x+=window.event.clientX;y+=window.event.clientY}else{x=evt.pageX;y=evt.pageY};this.tip.style.left=(x+this.offsetX)+"px";this.tip.style.top=(y+this.offsetY)+"px"};ibTooltip.show=function(text){if(!this.tip)return;this.tip.innerHTML=text;this.tip.style.display="block"};ibTooltip.hide=function(){if(!this.tip)return;this.tip.innerHTML="";this.tip.style.display="none"};

var isIE=navigator.userAgent.toLowerCase().indexOf("msie")>-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('<div id="indiebound_widget" class="indiebound_widget"><div id="indiebound_widget_wrapper" class="indiebound_widget_wrapper"></div></div>');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+='<div id="indiebound_widget_wrapper" class="indiebound_widget_wrapper" style="line-height:130%;font-family:Trebuchet MS;border:1px solid #'+ibBorderColor+';background:#'+ibHeaderColor+';color:#'+ibTextColor+';width:'+ibRWidth+'px;height:'+ibRHeight+'px;';if(!ibUseFooter)widget+='padding: 8px 0 0 0;';else widget+='padding:8px 0;';widget+='font-size:10px;">';widget+='<div id="indiebound_wibTitle" style="font-family:Verdana;margin-top:-7px;text-align:center;font-size:'+hf+'px;padding:3px 0;font-weight:bold;color:#'+ibHeaderTextColor+';border-bottom:1px solid #'+ibBorderColor+'">'+ibTitle;if(!ibUseFooter)widget+=' - Make Your Own Widget @ IndieBound.org!';widget+='</div>';widget+='<div id="indiebound_wbody" style="padding-top:4px;padding-bottom:4px;padding-left:'+bp+'px;';widget+='border-bottom:1px solid #'+ibBorderColor+';';widget+='background:#'+ibBGColor+';height:'+((bh*cols)+(8*(cols-1)))+'px">'+ibRenderBooks()+'</div>';if(ibUseFooter==true)widget+='<div id="indiebound_wfooter" style="clear:both;font-size:8px;text-align:center;"><a style="color:#'+ibHeaderTextColor+'" href="http://www.indiebound.org/affiliate/widgets" target="_blank">make a widget @ indiebound.org</a></div>';if(ibMaxBooks>ibNumBooks)widget+='<span style="position:relative;top:-36px;float:right;right:8px"><a style="background:#'+ibHeaderColor+';color:#'+ibHeaderTextColor+'" href="" onclick="ibBoInc();return false;">next &gt;</a></span>';widget+='</div>';document.getElementById('indiebound_widget').innerHTML=widget;if(ibUseTooltip){ibTooltip.init();}}function ibRenderBooks(){var output='';for(i=bo;i<((bo+ibNumBooks<ibMaxBooks)?(bo+ibNumBooks):ibMaxBooks);i++){book=books[i];output+='<div class="indiebound_bwrapper" style="width:'+ww+'px;height:'+wh+'px;float:left;display:inline;margin-right:8px;text-align:left">';output+='<div style="float:left;margin-right:6px;width:'+bw+'px;height:'+bh+'px;vertical-align:middle;"><a class="indiebound_link" style="color:#'+ibTextColor+';text-decoration:none;" title="'+book.desc+'" href="'+ibSyntax.replace(/IIISBNNN/,book.isbn)+'" target="_blank">';output+='<img src="'+ibGetBookSmallImage(book.isbn)+'" onerror="this.src = \'http://www.indiebound.org/files/book_not_found.jpg\';" style="padding:0;max-height:'+bh+'px;height:expression(this.height > '+bh+' ? \''+bh+'px\': true);max-width:'+bw+'px;width:expression(this.width > '+bw+' ? \''+bw+'px\': true);border:1px solid #000" /></div>';output+='<div class="indiebound_btitle" style="text-align:left">'+book.title+"</div>";if(book.author.substring(0,3)=='By '||book.author.substring(0,3)=='by ')output+='<div class="indiebound_bauthor" style="text-align:left">'+book.author+"</div>";else output+='<div class="indiebound_bauthor" style="text-align:left">By '+book.author+"</div>";output+='</a></div>'}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<x.length;i++){books.push(ibGetBookData(x[i]))}ibMaxBooks=books.length}function ibGetBookData(x){var book=new Object;if(!isIE){xx=x.getElementsByTagNameNS('http://purl.org/dc/elements/1.1/',"identifier");{try{book.isbn=xx[0].firstChild.nodeValue}catch(er){}}xx=x.getElementsByTagNameNS('http://purl.org/dc/elements/1.1/',"creator");{try{book.author=ibTrimString(xx[0].firstChild.nodeValue,10)}catch(er){}}}else{xx=x.getElementsByTagName("dc:identifier");{try{book.isbn=xx[0].firstChild.nodeValue}catch(er){}}xx=x.getElementsByTagName("dc:creator");{try{}catch(er){}book.author=ibTrimString(xx[0].firstChild.nodeValue,10)}}xx=x.getElementsByTagName("title");{try{book.title=ibTrimString(xx[0].firstChild.nodeValue,0)}catch(er){}}book.desc='';xx=x.getElementsByTagName("description");{try{book.desc=ibTrimString(xx[0].firstChild.nodeValue.replace(/"/g,"\'"),-500)}catch(er){}}return book}function ibGetBookSmallImage(isbn){return'http://images.booksense.com/images/books/'+isbn.substring(10)+'/'+isbn.substring(7,10)+'/FC'+isbn+'.JPG'}function ibBoInc(){bo+=ibNumBooks;if(bo>=ibMaxBooks){bo=0}ibRenderWidget()}function ibTrimString(val,offset){ml2=ml-offset;if(val.length>ml2){return val.substring(0,val.lastIndexOf(' ',ml2))+'&hellip;'}return val}