<script type="text/javascript">
// Configure these lines for your page
// Put in all the ISBNS and identifiers you know of to ensure a match
var keys = ['ISBN:9784821403134'];
var cburl = "http://books.google.com/books";
// Retrieve the info for these bibkeys
var api_url = cburl + "?jscmd=viewapi&bibkeys=" + keys.join();
document.write(unescape("%3Cscript src=" + api_url +
" type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var buttonImg =
'http://books.google.com/intl/ja/googlebooks/images/gbs_preview_button1.gif';
// var buttonImg =
// 'http://code.google.com/apis/books/images/gbs_preview_button1.gif';
for (isbn in _GBSBookInfo) {
var b = _GBSBookInfo[isbn];
if (b && (b.preview == "full" || b.preview == "partial")) {
document.write('<a class="gs" href="' + b.preview_url + '">');
document.write('<img '
+ 'src="' + buttonImg + '" '
+ 'style="border:0; margin:3px;" />');
document.write('Googleブックスで立ち読み');
document.write('<\/a>');
break;
}
}
</script>