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%2CE/request~b1223846&FF=i9780813913285pbk&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,E/?save_func=save_to_mylist&save=b1223846&returnurl=/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CE/frameset&FF=i9780813913285pbk&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,E/frameset&FF=i9780813913285pbk&1,1,/indexsort=-?save=b1223846"><img src="/screens/bibexport.gif" alt="Export" border="0" /></a> <a href="/search*tha?/i9780813917924/i9780813917924/-3%2C0%2C0%2CE/marc&FF=i9780813913285pbk&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%2CE/2browse/indexsort=-#anchor_-3"><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="1" /> <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%2CE/frameset&FF=i9780813913278&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%2CE/frameset&FF=i9780813916125pbk&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?/aLeonowens%2C+Anna+Harriette%2C+1831-1915/aleonowens+anna+harriette+++++1831+++++1915/-3,-1,0,B/browse">Leonowens, Anna Harriette, 1831-1915</a> </td></tr> <tr><!-- next row for fieldtag=t --> <td valign="top" width="20%" class="bibInfoLabel">Title</td> <td class="bibInfoData"> <strong>The romance of the harem / Anna Leonowens ; edited and with an introduction by Susan Morgan</strong></td></tr> <tr><!-- next row for fieldtag=p --> <td valign="top" width="20%" class="bibInfoLabel">Imprint</td> <td class="bibInfoData"> Charlottesville : University Press of Virginia, 1991</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=b1223846&size=0" border="0" alt="book jacket"><a id="recordnum" href="/record=b1223846*tha"></a></td> </tr> </table> <table width="100%" border="3" cellspacing="1" class="bibItems"> <tr class="bibItemsHeader"> <th width="33%" class="bibItemsHeader"> LOCATION </th> <th width="43%" class="bibItemsHeader"> CALL # </th> <th width="24%" class="bibItemsHeader"> STATUS </th> </tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 --> <a href="/screens/Location.html">Arts Library</a> </td> <td width="43%" ><!-- field C --> <a href="/search*tha?/cPR4883.L64+L585R/cpr+4883+l64+l585+r/-3,-1,,E/browse">PR4883.L64 L585R</a> <!-- field v --><!-- field # --> </td> <td width="24%" ><!-- field % --> CHECK SHELVES </td></tr> <tr class="bibItemsEntry"> <td width="33%" ><!-- field 1 --> <a href="/screens/Location.html">Central Library (4th Floor)</a> </td> <td width="43%" ><!-- field C --> <a href="/search*tha?/f823.8+L585R/f823.8+l585r/-3,-1,,B/browse">823.8 L585R</a> <!-- field v --><!-- field # --> </td> <td width="24%" ><!-- field % --> CHECK SHELVES </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"> xxxix, 285 p. : ill. ; 22 cm</td></tr> <tr><!-- next row for fieldtag=s --> <td valign="top" width="20%" class="bibInfoLabel">Series</td> <td class="bibInfoData"> Victorian literature and culture series</td></tr> <tr><!-- next row for fieldtag=s --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/tVictorian+literature+and+culture+series/tvictorian+literature+and+culture+series/-3,-1,0,B/browse">Victorian literature and culture series</a> </td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Bibliog.</td> <td class="bibInfoData"> Bibliography: p. [283]-285</td></tr> <tr><!-- next row for fieldtag=d --> <td valign="top" width="20%" class="bibInfoLabel">Subject</td> <td class="bibInfoData"> <a href="/search*tha?/dThailand+--+History+--+1782-1945+--+Fiction/dthailand+history+++++1782+++++1945+fiction/-3,-1,0,B/browse">Thailand -- History -- 1782-1945 -- Fiction</a> </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?/aMorgan%2C+Susan%2C+1943-/amorgan+susan+++++1943/-3,-1,0,B/browse">Morgan, Susan, 1943-</a> </td></tr> <tr><!-- next row for fieldtag=i --> <td valign="top" width="20%" class="bibInfoLabel">ISBN</td> <td class="bibInfoData"> 0813913276</td></tr> <tr><!-- next row for fieldtag=i --> <td></td> <td class="bibInfoData"> 0813913284 (pbk.)</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>