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?/.b1568152/.b1568152/1%2C1%2C1%2CB/request~b1568152"><img src="/screens/request.gif" alt="Hold this item" border="0"></a> <a href="/search*tha?/.b1568152/.b1568152/1,1,1,B/?save_func=save_to_mylist&save=b1568152&returnurl=/search*tha?/.b1568152/.b1568152/1%2C1%2C1%2CB/frameset~b1568152"><img src="/screens/mylists_record.gif" alt="Add to My Lists" border="0" /></a> <a href="/search*tha?/.b1568152/.b1568152/1,1,1,B/frameset~b1568152?save=b1568152"><img src="/screens/bibexport.gif" alt="Export" border="0" /></a> <a href="/search*tha?/.b1568152/.b1568152/1%2C1%2C1%2CB/marc~b1568152"><img src="/screens/marc_display.gif" alt="MARC Display" border="0" /></a> <a href="/search*tha/,"><img src="/screens/another.gif" alt="Another Search" border="0" /></a> </div> <div id="bibDisplayContent"> <div class="bibSearch"> <script type="text/JavaScript"> <!-- Hide the JS var savedScope; var savedTag; var savedSearch; var sortButtonText = null; var savedExactSearch = null; var sortButtonEvent = null; var sortExactBrowseURL = null; var sortTypes = new Array(); var sortLabels = new Array(); sortTypes[0] = "t"; sortLabels[0] = "Title"; sortTypes[1] = "a"; sortLabels[1] = "Author"; sortTypes[2] = "c"; sortLabels[2] = "Year"; sortTypes[3] = "r"; sortLabels[3] = "Reverse Year"; sortTypes[4] = "n"; sortLabels[4] = "Call Number"; sortTypes[5] = "m"; sortLabels[5] = "MaterialType"; sortLabels[6] = "System Sorted"; sortTypes[6] = "-"; var sortSelectedValue = "6"; var nonSortTags = "XYZprWw" // Unhide the JS --> </script> <form name="searchtool" target="_self" action="/search*tha/" method='GET'> <label for="searchtype" style="display:none;">SearchType</label> <select name="searchtype" id="searchtype" onChange="initSort()"> <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"> ISN</option> <option value="o"> CONV.NO</option> <option value="." selected="selected"> RECORD #</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="b1568152" /> <span id="sort_cell"> </span> <script type="text/JavaScript"> <!-- Hide the JS initSort(); // Unhide the JS --> </script> <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="checkbox" name="availlim" value="1" /> <span class="availLimMessage">Limit search to available items</span><br/> </div> <div> <input type="hidden" name="searchlimits" value="" /> <input type="hidden" name="searchorigarg" value=".b1568152" /> </div> </form> </div><!-- close tool --> <div class="bibHistoryRow"> <div class="bibSearchHistory"> <form> </form> </div> </div> </div> <div class="bibPager"> </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=t --> <td valign="top" width="20%" class="bibInfoLabel">Title</td> <td class="bibInfoData"> <strong>Invertebrates as webmasters in ecosystems / edited by D.C. Coleman and P.F. Hendrix</strong></td></tr> <tr><!-- next row for fieldtag=p --> <td valign="top" width="20%" class="bibInfoLabel">Imprint</td> <td class="bibInfoData"> Wallingford, Oxon, UK ; New York : CABI Pub., 2000</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=b1568152&size=0" border="0" alt="book jacket"><a id="recordnum" href="/record=b1568152*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">Science Library</a> </td> <td width="43%" ><!-- field C --> <a href="/search*tha?/cQL364.4+I62c+2000/cql++364.4+i62+c+2000/-3,-1,,E/browse">QL364.4 I62c 2000</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"> xi, 336 p. : ill. ; 25 cm</td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Bibliog.</td> <td class="bibInfoData"> Includes bibliographical references and index</td></tr> <tr><!-- next row for fieldtag=n --> <td valign="top" width="20%" class="bibInfoLabel">Contents</td> <td class="bibInfoData"> pts.I. Webmaster functions in ecosystems -- pts.II. Webmasters in feedback interactions and food webs -- pts.III. Webmasters and ecosystem diversity -- pts.IV. Webmasters in regional and global contexts</td></tr> <tr><!-- next row for fieldtag=d --> <td valign="top" width="20%" class="bibInfoLabel">Subject</td> <td class="bibInfoData"> <a href="/search*tha?/dInvertebrates+--+Ecology/dinvertebrates+ecology/-3,-1,0,B/browse">Invertebrates -- Ecology</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?/aColeman%2C+David+C.%2C+1938-/acoleman+david+c+++++1938/-3,-1,0,B/browse">Coleman, David C., 1938-</a> </td></tr> <tr><!-- next row for fieldtag=b --> <td></td> <td class="bibInfoData"> <a href="/search*tha?/aHendrix%2C+Paul+F/ahendrix+paul+f/-3,-1,0,B/browse">Hendrix, Paul F</a> </td></tr> <tr><!-- next row for fieldtag=i --> <td valign="top" width="20%" class="bibInfoLabel">ISBN</td> <td class="bibInfoData"> 085199394x (hbk.)</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>