CINXE.COM
Chulalongkorn University Library
<!-- Rel 2007 "Skyline" Example Set --> <!-- This File Last Changed: 29 August 2008 --> <html dir="LTR"> <head> <title>Chulalongkorn University Library</title> <base target="_self"/> <link rel="stylesheet" type="text/css" href="/scripts/ProStyles.css" /> <link rel="stylesheet" type="text/css" href="https://library.car.chula.ac.th/screens/styles.css" /> <link rel="shortcut icon" type="ximage/icon" href="/screens/favicon.ico" /> <script type="text/javascript" src="/scripts/common.js"> </script> <script type="text/javascript" src="/scripts/elcontent.js"> </script> </head> <body BGCOLOR=#FFFFFF > <center><img src=/screens/mainbanner.gif></center> <script type="text/JavaScript"> <!-- Hide the JS startTimeout(1800000, "https://library.car.chula.ac.th"); // --> </script> <div id="TimeoutPopup" tabindex="0" class="modal" onkeypress="refreshSession(event)"> <div class="modal-content"> Your session will expire automatically in <span id=TimeoutSeconds>0</span> seconds.<br> <br> <button id="CancelTimeout" onclick="refreshSession()">Continue session</button> <button id="DoTimeout" onclick="endSession()">End session now</button></div> </div> <noscript> <meta http-equiv="Refresh" content="1800;URL=https://library.car.chula.ac.th" /> </noscript> <!--this is customized <screens/bib_display.html>--> <div class="topDiv"> <div> <b class="top"><b class="b1"></b><b class="b2"></b><b class="b3"></b><b class="b4"></b></b> </div> <div style="margin-top:5px"> <div id="bibLeft"> </div> <div id="bibContent"> <div class="raised"> <div class="tool"> <div id="bibDisplayBody"> <div align="center"> </div> <a href="https://library.car.chula.ac.th/screens/mainmenu_tha.html"><img src="/screens/startover.gif" alt="Start Over" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CB/request~b2212370&FF=i9780813941363&1%2C1%2C/indexsort=-"><img src="/screens/request.gif" alt="Hold this item" border="0"></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3,0,0,B/?save_func=save_to_mylist&save=b2212370&returnurl=/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CB/frameset&FF=i9780813941363&1%2C1%2C/indexsort=-"><img src="/screens/mylists_record.gif" alt="Add to My Lists" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3,0,0,B/frameset&FF=i9780813941363&1,1,/indexsort=-?save=b2212370"><img src="/screens/bibexport.gif" alt="Export" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CB/marc&FF=i9780813941363&1%2C1%2C/indexsort=-"><img src="/screens/marc_display.gif" alt="MARC Display" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CB/browse/indexsort=-#anchor_36"><img src="/screens/rtrntb.gif" alt="Return To Browse" border="0" /></a> <a href="/search*tha/i"><img src="/screens/another.gif" alt="Another Search" border="0" /></a> </div> <div id="bibDisplayContent"> <div class="bibSearch"> <form target="_self" action="/search*tha/" method='get'> <label for="searchtype" style="display:none;">Search Type1</label><select name="searchtype" id="searchtype"> <option value="a"> AUTHOR</option> <option value="t"> TITLE</option> <option value="d"> SUBJECT</option> <option value="X"> WORD</option> <option value="f"> DEWEY CALL NO</option> <option value="e"> NLM CALL NO</option> <option value="c"> LC CALL NO</option> <option value="h"> OTHER CALL NO</option> <option value="i" selected="selected"> ISN</option> <option value="o"> CONV.NO</option> </select> <label for="searcharg" style="display:none;">Search</label><input type="text" name="searcharg" id="searcharg" size="30" onchange='return searchtoolSubmitAction()'maxlength="75" value="9780813917924" /> <input type="hidden" name="SORT" value="D" /><input type="hidden" name="extended" value="0" /> <input type="submit" name="SUBMIT" value="Search" onclick='return searchtoolSubmitAction();' /> <div> <input type="hidden" name="searchlimits" value="" /> <input type="hidden" name="searchorigarg" value="i9780813917924" /> </div> </form> </div><!-- close tool --> <div class="bibHistoryRow"> <div class="bibSearchHistory"> <form> </form> </div> </div> </div> <div class="bibPager"> Record:   <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C1%2C1%2CB/frameset&FF=i9780813941301&0%2C0%2C/indexsort=-"><img src="/screens/bib_paging_prev.gif" alt="Previous" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C1%2C1%2CB/frameset&FF=i9780813941424&1%2C1%2C/indexsort=-"><img src="/screens/bib_paging_next.gif" alt="Next" border="0" /></a> </div> </div> <div class="bibClear"></div> <div class="bibResourceSidebar"> </div> <div class="bibDisplayContentMain"> <table cellpadding="10" cellspacing="0" width="100%"> <tr><td valign="top"> <table id="bibDisplayLayout" cellpadding="0" cellspacing="0"width="100%"> <tr> <td valign="top" align="left" > <!-- BEGIN BIBDETAIL TABLE BORDER --> <table width="100%" border="0" cellspacing="1" class="bibDetail"> <tr class="bibInfoEntry" ><td> <!-- BEGIN INNER BIB TABLE --> <table width="100%" cellspacing="3" cellpadding="0"> <tr><!-- next row for fieldtag=a --> <td valign="top" width="20%" class="bibInfoLabel">Author</td> <td class="bibInfoData"> <a href="/search*tha?/aVan+Onselen%2C+Charles%2C/avan+onselen+charles/-3,-1,0,B/browse">Van Onselen, Charles, author</a> </td></tr> <tr><!-- next row for fieldtag=t --> <td valign="top" width="20%" class="bibInfoLabel">Title</td> <td class="bibInfoData"> <strong>The Cowboy Capitalist [electronic resource] : John Hays Hammond, the American West, and the Jameson Raid in South Africa / Charles van Onselen</strong></td></tr> <tr><!-- next row for fieldtag=p --> <td valign="top" width="20%" class="bibInfoLabel">Imprint</td> <td class="bibInfoData"> Charlottesville : University of Virginia Press, 2018. (Baltimore, Md. : Project MUSE, 2015)</td></tr> </table> <!-- END INNER BIB TABLE --> </td></tr> </table> <!-- END BIBDETAIL TABLE --> </td> <td valign="top" id="coverImage" align="center"> <img src="/bookjacket?recid=b2212370&size=0" border="0" alt="book jacket"><a id="recordnum" href="/record=b2212370*tha"></a></td> </tr> </table> <table width="100%" border="3" cellspacing="1" class="bibLinks"> <tr><th> Click on the following to: </th></tr> <tr align="center"> <td > <a href="https://muse.jhu.edu/book/58047/" onclick="window.open('https://muse.jhu.edu/book/58047/'); return false;">Full text available: </a><br /> </td> </tr> </table> </td></tr></tbody></table></div></div> <script type="text/javascript" src="/screens/jquery-1.12.4.min.js"></script> <div id="insertILL"> <script type="text/JavaScript"> var nindex = "-"; var naindex = "-"; var niindex = "-"; var isnindex = "-"; $('.bibInfoLabel').each(function( index ) { if($(this).text() == "Title") { nindex = index; } if($(this).text() == "Author") { naindex = index; } if($(this).text() == "Imprint") { niindex = index; } }); $('.bibInfoData').each(function( index ) { if(index == nindex) { nindex = $(this).text(); nindex = nindex.replace(/&/gi, '%26'); nindex = nindex.replace(/"/gi, '%22'); } if(index == naindex) { naindex = $(this).text(); naindex = naindex.replace(/&/gi, '%26'); naindex = naindex.replace(/"/gi, '%22'); } if(index == niindex) { niindex = $(this).text(); niindex = niindex.replace(/&/gi, '%26'); niindex = niindex.replace(/"/gi, '%22'); } }); iposition = document.documentElement.innerHTML.indexOf('screens/bibexport.gif'); if( ( window.navigator.userAgent.indexOf("Edge") > 0 ) || ( window.navigator.userAgent.indexOf("Trident") > 0 )) { bibnum = document.documentElement.innerHTML.substr(iposition - 34,8); } else { bibnum = document.documentElement.innerHTML.substr(iposition - 21,8); } /* var biby = document.querySelectorAll('.bibHoldingsEntry'); for(var i=0; i<biby.length; i++) { if (biby[i].innerHTML.includes("Central Library")) { biby[i].innerHTML += "<br> - <a href=\"https://www.car.chula.ac.th/tji/detail.php?bibnum=" + bibnum + "\">Journal Request</a>"; } } */ if($('.bibItemsEntry:contains("CHECK SHELVES"),.bibItemsEntry:contains("Recently returned"),.bibItemsEntry:contains("ON DISPLAY")').length > 0) { if(iposition < 10000) { document.write("<a href=\"http://www.car.chula.ac.th/bookdelivery/login.php?"); document.write("bibnum="); document.write(bibnum); document.write("\">Chulalinet's Book Delivery Request</a>"); } document.write("</div>"); } document.write("<div style=\"float: right;\"><a href=\"http://webhost2.car.chula.ac.th/correctbib/index.php?title="); document.write(nindex); document.write("&author="); document.write(naindex); document.write("&imprint="); document.write(niindex); document.write("&url="); document.write(window.location.href.replace(/&/gi, '%26')); document.write("\">Edit this record</a></div>"); </script> </div> <div id="bibDisplayContentMore"> <div> <!-- BEGIN BIBDETAIL TABLE BORDER --> <table width="100%" border="0" cellspacing="1" class="bibDetail"> <tr class="bibInfoEntry" ><td> <!-- BEGIN INNER BIB TABLE --> <table width="100%" cellspacing="3" cellpadding="0"> <tr><!-- next row for fieldtag=r --> <td valign="top" width="20%" class="bibInfoLabel">Descript</td> <td class="bibInfoData"> 1 online resource (pages cm)</td></tr> <tr><!-- next row for fieldtag=r --> <td></td> <td class="bibInfoData"> text txt rdacontent</td></tr> <tr><!-- next row for fieldtag=r --> <td></td> <td class="bibInfoData"> computer c rdamedia</td></tr> <tr><!-- next row for fieldtag=r --> <td></td> <td class="bibInfoData"> online resource cr rdacarrier</td></tr> <tr><!-- next row for fieldtag=s --> <td valign="top" width="20%" class="bibInfoLabel">Series</td> <td class="bibInfoData"> Reconsiderations in southern African history</td></tr> <tr><!-- next row for fieldtag=s --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/tReconsiderations+in+southern+African+history/treconsiderations+in+southern+african+history/-3,-1,0,B/browse">Reconsiderations in southern African history</a> </td></tr> <tr><!-- next row for fieldtag=s --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/tBook+collections+on+Project+MUSE/tbook+collections+on+project+muse/-3,-1,0,B/browse">Book collections on Project MUSE</a> </td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Note</td> <td class="bibInfoData"> "Originally published in 2017 by Jonathan Ball Publishers, South Africa, a division of Media24 (Pty) Ltd."</td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Contents</td> <td class="bibInfoData"> Foreword / by Robert E. May -- Introduction. looking up from the last of history -- North Atlantic revolutions and South African realities : plotting urban insurrection in an agrarian economy, September 1894 -- American sway and acquisitive ways : capitalist culture and the foundations of the Witwatersrand, c1890-1899 -- The makings of Cowboy Jack : John Hays Hammond and the Wild West, 1855-1883 -- Cowboy capitalists, part I :trails in the northern Rockies, 1882-1892 -- Cowboy capitalists, part II :the siege of Bunker Hill and flight, 1892-1893 -- Ghost riders of the Coeur d'Alene :the pursuit of Hammond, Johannesburg, 1893-1894 -- Sheriff Bob blinks and Cowboy Jack steps up : Johannesburg sunlight, San Francisco shadow, 1894-1895 -- Rivalries in the camp :the Beit boys and the Rhodes boys, c1890-1895 -- Dr. Jim's American outriders and medicine men, c1891-1895 -- Wisps and curls rising above the brew : a chronological outline of the plot, c1894-1895 -- Cowboy Jack's secret aspirations : abducting the president and the District of Columbia template, October-December 1895 -- Rangers and rustlers, c. October-mid-December, 1895 -- Cowboy Jack talks fast and fires blanks : from revolutionary imperialist to republican constitutionalist in four days, 29 December 1895 to 2 January 1896 -- The big roundup : a weak agrarian state corrals ascendant mining capitalists, 3-9 January 1896 -- Intelligence and counterintelligence networks in Johannesburg and Pretoria, c1890-1895 -- State attorney versus state president, 1894-1895 -- Mobilisation and manoeuvring, 1895-1896 -- Managing the aftermath, 1895-1896 -- Agents, conspirators and collaborators : buying time, saving face, 1895-1896 -- Organising a rescue party for Cowboy Jack :the Old South reaches out to Washington, DC, 1896 -- The Kruger government in the saddle and Uncle Sam has a word with Oom Paul, 1896 -- Smoking the peace pipe without inhaling : Hammond and Jameson, c1895-1896 -- Aligning fact and fiction : regaining a reputation lost, c1895-1899 -- Back in a country fit for cowboy heroes : Hammond's American success renewed, 1899-1906 -- The phantom vice president : greasing the squeaky wheels of big business, c1906-1913 -- From the court of St James's to the Mexican revolution : diplomacy and the dark arts, c1910-1914 -- Hammond, Mexico and transnational capitalism, c1909-1917 -- A uniform of greed : sword of colonialism, shield of law, c1913-1920 -- Riding shotgun into history : the Old West negotiates the 20th century, c1914-1936 -- Conclusion. John Hays Hammond and the Jameson raid read as American imperial history -- Notes -- A cautionary note: the historiography of the Jameson raid</td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Note</td> <td class="bibInfoData"> Description based on print version record</td></tr> <tr><!-- next row for fieldtag=d --> <td valign="top" width="20%" class="bibInfoLabel">Subject</td> <td class="bibInfoData"> <a href="/search*tha?/dHammond%2C+John+Hays%2C+1855-1936/dhammond+john+hays+++++1855+++++1936/-3,-1,0,B/browse">Hammond, John Hays, 1855-1936</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/dAmericans+--+South+Africa+--+Transvaal+--+History/damericans+south+africa+transvaal+history/-3,-1,0,B/browse">Americans -- South Africa -- Transvaal -- History</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/dMining+engineers+--+United+States+--+Biography/dmining+engineers+united+states+biography/-3,-1,0,B/browse">Mining engineers -- United States -- Biography</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/dJameson%27s+Raid%2C+1895-1896/djamesons+raid+++++1895+++++1896/-3,-1,0,B/browse">Jameson's Raid, 1895-1896</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/dUnited+States+--+Foreign+relations+--+1865-1921/dunited+states+foreign+relations+++++1865+++++1921/-3,-1,0,B/browse">United States -- Foreign relations -- 1865-1921</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/dTransvaal+%28South+Africa%29+--+History+--+1880-1910/dtransvaal+south+africa+history+++++1880+++++1910/-3,-1,0,B/browse">Transvaal (South Africa) -- History -- 1880-1910</a> </td></tr> <tr><!-- next row for fieldtag=d --> <td></td> <td class="bibInfoData"> Electronic books.</td></tr> <tr><!-- next row for fieldtag=b --> <td valign="top" width="20%" class="bibInfoLabel">Alt Author</td> <td class="bibInfoData"> <a href="/search*tha?/aMay%2C+Robert+E.%2C/amay+robert+e/-3,-1,0,B/browse">May, Robert E., writer of foreword</a> </td></tr> <tr><!-- next row for fieldtag=b --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/aProject+Muse/aproject+muse/-3,-1,0,B/browse">Project Muse</a> </td></tr> <tr><!-- next row for fieldtag=i --> <td valign="top" width="20%" class="bibInfoLabel">ISBN</td> <td class="bibInfoData"> 9780813941363</td></tr> <tr><!-- next row for fieldtag=i --> <td></td> <td class="bibInfoData"> 0813941369</td></tr> <tr><!-- next row for fieldtag=y --> <td valign="top" width="20%" class="bibInfoLabel">Marc</td> <td class="bibInfoData"> m o d </td></tr> </table> <!-- END INNER BIB TABLE --> </td></tr> </table> <!-- END BIBDETAIL TABLE --> </div> </div><!-- close bibDisplayContent --> </div><!-- close bibDisplayBody --> <script type="text/JavaScript"> var toReplace = 'CATALOGING'; var toReplace2 = 'LIB USE ONLY'; var replaceWith = ''; var demop = ''; var demop1 = ''; var demop2 = ''; var demop3 = ''; var demop4 = ''; var loc = ''; $('.bibInfoData').each(function( index ) { if(index < 5) { demop = demop + "::" + index + "::" + $(this).text().substring(0,700); } if(index < 1) { demop2 = $(this).text(); } }); $('.bibInfoLabel').each(function( index ) { if(index < 5) { demop3 = demop3 + ":" + $(this).text().substring(0,700); } if(index < 1) { demop4 = $(this).text(); } }); $(".bibItemsEntry:contains('Central Library'),.bibItemsEntry:contains('Medicine Library'),.bibItemsEntry:contains('Arts Library')").not(":contains('Request'),:contains('Fine & Applied')").each(function( index ) { loc = $(this).text().replace(/[^a-zA-Z0-9\.]+/g,"").substring(0,3); demop1 = demop.replace(/&/g,"") + "::11::" + $(this).text(); demop1 = demop1.replace(/"/g, "'"); // replaceWith = 'CATALOGING<br><a href="http://www.car.chula.ac.th/missbook/missbook.php?bibnum=' + bibnum + '\&loc=' + loc + '\&marg=' + demop1 + '\&targ=' + demop3 + '">Cataloging Request</a>'; replaceWith = 'CATALOGING<br><a href="http://www.car.chula.ac.th/cataloging/request.php?bibnum=' + bibnum + '\&loc=' + loc + '\&marg=' + demop1 + '\&targ=' + demop3 + '">Cataloging Request</a>'; $(this).html($(this).html().replace(toReplace,replaceWith)); }); $(".bibItemsEntry:contains('Central Library : Thesis at Stack'):contains('วิทยานิพนธ์')").each(function( index ) { demop2a = demop2.split(','); replaceWith = 'LIB USE ONLY<br><a href="http://omega.car.chula.ac.th/thesis/search.php?tAuthor=' + demop2a[0] + '">Search Call No.</a>'; $(this).html($(this).html().replace(toReplace2,replaceWith)); }); var bibx = document.querySelectorAll('.bibItemsEntry'); for(var i=0; i<bibx.length; i++) { if (bibx[i].innerHTML.includes("Central Library") && !bibx[i].innerHTML.includes("Chamchuri 10") && bibx[i].innerHTML.includes("CHECK SHELVES") && !bibx[i].innerHTML.includes("Contact Staff")) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</td>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); if (bibx[i].innerHTML.includes("Reserve Collection (1st Floor)")) { replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://cucentrallib.car.chula.ac.th/#/en/areas/1/_/16452" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; } else { replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://cucentrallib.car.chula.ac.th/#/en/books/_/_/' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; } bibx[i].innerHTML = bibx[i].innerHTML.replace(alllocationtext[0], replaceWith); locationr=locationtext[0].split("</a>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/interlibrary/detail.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank"><img src="https://www.car.chula.ac.th/interlibrary/images/a_0920.png"> ILL Request</a>'; //uncomment follow line to enable Book request for Central Lib bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("Thailand and ASEAN Information Center")) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</td>"); callnumbera = locationtext[1].split("/browse\">"); alllocationtext = callnumbera[1].split("</td>"); if (bibx[i].innerHTML.includes("Chula Collection")) { replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://cucentrallib.car.chula.ac.th/#/en/areas/6/_/65854" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; } else { replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://cucentrallib.car.chula.ac.th/#/en/areas/6/_/62654" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; } bibx[i].innerHTML = bibx[i].innerHTML.replace(alllocationtext[0], replaceWith); if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Thailand and ASEAN Information Center") ) { locationr=locationtext[0].split("</a>"); callnumberb = callnumbera[1].split("</a>") callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/interlibrary/detail.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0]+ callnumberd[0] + callnumbere[0] + '" target="_blank"><img src="https://www.car.chula.ac.th/interlibrary/images/a_0920.png"> ILL Request</a></a>'; bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } if (bibx[i].innerHTML.includes("ON DISPLAY") && bibx[i].innerHTML.includes("Thailand and ASEAN Information Center") ) { locationr=locationtext[0].split("</a>"); callnumberb = callnumbera[1].split("</a>") callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); replaceWith = 'ON DISPLAY<br> <a href="https://www.car.chula.ac.th/br644/login.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0]+ callnumberd[0] + callnumbere[0] + '" target="_blank">Book Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("ON DISPLAY", replaceWith); } if (bibx[i].innerHTML.includes("LIB USE ONLY") && (bibx[i].innerHTML.includes("Thailand Collection") || bibx[i].innerHTML.includes("Chula Collection") || bibx[i].innerHTML.includes("Government Publication")) ) { locationr=locationtext[0].split("</a>"); callnumberb = callnumbera[1].split("</a>") replaceWith = 'LIB USE ONLY<br> <a href="https://www.car.chula.ac.th/scanondemand/login.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + '" target="_blank">Scan on Demand</a>'; replaceWith2 = 'LIB USE ONLY<br> <a href="https://www.car.chula.ac.th/scanondemand/login.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + '" target="_blank">Scan on Demand</a> <br><a href="https://www.car.chula.ac.th/interlibrary/detail.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + '&status2=lib_use_only' + '" target="_blank"><img src="https://www.car.chula.ac.th/interlibrary/images/a_0920.png"> ILL Request</a>' ; bibx[i].innerHTML = bibx[i].innerHTML.replace("LIB USE ONLY", replaceWith2); } } else if (bibx[i].innerHTML.includes("Chamchuri 10")) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</td>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://goo.gl/maps/BauD2pBRitxgcjPs5" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; bibx[i].innerHTML = bibx[i].innerHTML.replace(alllocationtext[0], replaceWith); if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Chamchuri 10") ) { locationr=locationtext[0].split("</a>"); callnumberb = callnumbera[1].split("</a>") replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/br644/login.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + callnumberd[0] + '" target="_blank">Book Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } } else if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Arts Library") && !(bibx[i].innerHTML.includes("Fine"))) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</a>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/abr/login.php?bibnum=' + bibnum + '&location=' + locationtext[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">Arts Book Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Education Library") ) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</a>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/ebr/login.php?bibnum=' + bibnum + '&location=' + locationtext[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">Education Book Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Political Science Library") ) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</a>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/pol/login.php?bibnum=' + bibnum + '&location=' + locationtext[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">PolSci Book Request</a>'; //bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Engineering Library") ) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</a>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/eng/login.php?bibnum=' + bibnum + '&location=' + locationtext[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">Engineering Book Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("Central Library") && bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Contact Staff")) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</a>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/stack/detail.php?bibnum=' + bibnum + '&location=' + locationtext[0] + '&call_no=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">Stack Request</a>'; // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } else if (bibx[i].innerHTML.includes("Central Library") && bibx[i].innerHTML.includes("CHECK SHELVES") && bibx[i].innerHTML.includes("Contact Staff")) { fielda = bibx[i].innerHTML.split("<a href=\"/screens/Location.html\">"); locationtext = fielda[1].split("</td>"); callnumbera = locationtext[1].split("/browse\">"); callnumberb = callnumbera[1].split("</a>"); callnumberc = fielda[1].split("field v -->"); callnumberd = callnumberc[1].split("<!-- field # -->"); callnumbere = callnumberd[1].split("</td>"); alllocationtext = callnumbera[1].split("</td>"); // replaceWith = alllocationtext[0] + '<div style="float:right; text-align: right"><a href="https://cucentrallib.car.chula.ac.th/#/en/books/_/_/' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank"><img src="https://cucentrallib.car.chula.ac.th/img/map-marker-icon.png">map</a></div></td>' ; // bibx[i].innerHTML = bibx[i].innerHTML.replace(alllocationtext[0], replaceWith); if (bibx[i].innerHTML.includes("Central Library")) { locationr=locationtext[0].split("</a>"); replaceWith = 'CHECK SHELVES<br> <a href="https://www.car.chula.ac.th/br644/login.php?bibnum=' + bibnum + '&location=' + locationr[0] + '&callno=' + callnumberb[0] + callnumberd[0] + callnumbere[0] + '" target="_blank">Book Request</a>'; //uncomment follow line to enable Book request for Central Lib // bibx[i].innerHTML = bibx[i].innerHTML.replace("CHECK SHELVES", replaceWith); } } } var ezproxyurl = 'onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=https://doi.org'; var wwwezproxyurl = 'onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=http://www'; var wwwsezproxyurl = 'onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=https://www'; var siteezproxyurl = 'onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=http://site'; var portalproxyurl='onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=http://portal'; var portalsproxyurl='onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=https://portal'; var ebookproxyurl='onclick="window.open(\'https://login.chula.idm.oclc.org/login?qurl=https://ebook'; var docdroidurl='onclick="window.open(\'https://www.docdroid.net'; var biby = document.querySelectorAll('.bibLinks'); for(var i=0; i<biby.length; i++) { biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('https://doi.org", ezproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('http://dx.doi.org", ezproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('http://www", wwwezproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('https://www", wwwsezproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('https://login.chula.idm.oclc.org/login?qurl=https://www.docdroid.net",docdroidurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('http://site", siteezproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('http://portal", portalproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('https://portal", portalsproxyurl); biby[i].innerHTML = biby[i].innerHTML.replace("onclick=\"window.open('https://ebook", ebookproxyurl); } </script> <br /> </body> </html>