Skip to content
Browse files

Fixed conflicts

  • Loading branch information...
2 parents 51f2747 + 9a01ea0 commit dfc065b0f1fab913b515c069ef5254539df543bd @mreidsma mreidsma committed Oct 5, 2012
Showing with 20 additions and 1 deletion.
  1. +18 −0 360link-reset.2.0.js
  2. +2 −1 360link-reset.2.0.min.js
View
18 360link-reset.2.0.js
@@ -145,6 +145,24 @@ if (format === "Dissertation" || format === "DissertationFormat") {
}
+// Patent
+
+if (format === "Patent" || format === "PatentFormat") {
+
+ var patentTitle = jQuery("td#CitationPatentTitleValue").text();
+ patentTitle = jQuery.trim(patentTitle); //Trim leading white space from patent title
+ var patentDate = jQuery("td#CitationPatentInventorDateValue").text();
+ patentDate = jQuery.trim(patentDate); //Trim leading white space from patent date
+ authorName = jQuery("td#CitationPatentInventorValue").text();
+ authorName = jQuery.trim(authorName);
+
+ var patentTitleLink = encodeURI(patentTitle);
+ var nextstepsLink = '<li><a href="http://www.google.com/?tbm=pts#tbm=pts&q=' + dissTitleLink + '">Search the Google Patents for this patent.</a></li><li>Not Available Online? <a href="' + illiadLink + '">Submit a request.</a></li>';
+
+
+ var citationDiv = '<span id="CitationPatentInventorValue">' + authorName + '</span>&nbsp; <span id="CitationPatentInventorDateValue">(' + patentDate + ')</span>.&nbsp; <span id="CitationPatentTitleValue"><em>' + patentTitle + '</em></span>';
+}
+
// Get information about displayed results and build results list
jQuery("table#JournalLinkTable").find("tr").each(function(index) { // Grab values from the results table
View
3 360link-reset.2.0.min.js
@@ -1 +1,2 @@
-jQuery(document).ready(function(){jQuery("head link").remove();var a="";var b="";var c="";var d="";console.log(d);var e="";var f="";var g="";var h=0;var i=jQuery("#RefinerLink0 a").attr("href");var j=false;var k="";var l="";var m=0;var n="";var o=jQuery("table.CandyWrapper:last a.AnchorButton:contains('Document Delivery')").attr("href");var p=jQuery("table.CandyWrapper:last a.AnchorButton:last").attr("href");var q=jQuery("table.CandyWrapper:last a.AnchorButton:contains('MeLCat')").attr("href");var r=jQuery("span.fn:first").text();r=jQuery.trim(r);if(format==="Journal"||format==="JournalFormat"){var s=jQuery("td#CitationJournalTitleValue").text();s=jQuery.trim(s);var u=jQuery("td#CitationJournalArticleValue").text();u=jQuery.trim(u);var v=jQuery("td#CitationJournalVolumeValue").text();v=jQuery.trim(v);if(v!==""){v=', <span id="CitationJournalVolumeValue"> '+v+"</span>"}var w=jQuery("td#CitationJournalIssueValue").text();w=jQuery.trim(w);if(w!==""){w='<span id="CitationJournalIssueValue"> ('+w+"),</span>"}var x=jQuery("td#CitationJournalDateValue").text();x=jQuery.trim(x);var y=jQuery("td#CitationJournalPageValue").text();y=jQuery.trim(y);if(y!==""){y='<span id="CitationJournalPageValue"> p. '+y+".</span>"}var z=jQuery("td#CitationJournalIssnValue").text();z=jQuery.trim(z);if(z!==""){z='<span id="CitationJournalIssnValue"> (ISSN: '+z+")</span>"}var A='<span id="CitationJournalAuthorValue">'+r+'</span>  <span id="CitationJournalDateValue">('+x+')</span>.  <span id="CitationJournalArticleValue">'+u+'.</span>  <span id="CitationJournalTitleValue">'+s+".</span> "+v+w+y;var B=encodeURI(s);var C='<li>Not Available Online? <a href="'+o+'">Order a copy from Document Delivery</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="BookFormat"||format==="Book"){var D=jQuery("td#CitationBookTitleValue").text();D=jQuery.trim(D);var E=jQuery("td#CitationBookDateValue").text();E=jQuery.trim(E);var F=jQuery("td#CitationBookISBNValue").text();F=jQuery.trim(F);if(F!==""){F=' <span id="CitationBookISBNValue">(ISBN: '+F+")</span> "}var A='<span id="CitationBookAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+E+')</span>.  <span id="CitationBookTitleValue"><em>'+D+"</em></span>"+F;var G=encodeURI(D);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+G+'">Search the GVSU Catalog for this book</a></li><li><a href="'+q+'">Order from another Michigan library</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="UnknownFormat"||format==="Unknown"){var D=jQuery("td#CitationUnknownPublicationValue").text();D=jQuery.trim(D);var E=jQuery("td#CitationUnknownDateValue").text();E=jQuery.trim(E);var F=jQuery("td#CitationBookISBNValue").text();F=jQuery.trim(F);if(F!==""){F=' <span id="CitationBookISBNValue">(ISBN: '+F+")</span> "}var A='<span id="CitationBookAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+E+')</span>.  <span id="CitationBookTitleValue"><em>'+D+'</em></span>  <span id="CitationBookISBNValue">  </span>';var G=encodeURI(D);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+G+'">Search the GVSU Catalog for this book</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="Dissertation"||format==="DissertationFormat"){var H=jQuery("td#CitationDissertationTitleValue").text();H=jQuery.trim(H);var I=jQuery("td#CitationDissertationDateValue").text();I=jQuery.trim(I);var A='<span id="CitationDissAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+I+')</span>.  <span id="CitationBookTitleValue"><em>'+H+"</em></span>";var J=encodeURI(H);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+J+'">Search the GVSU Catalog for this dissertation</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}jQuery("table#JournalLinkTable").find("tr").each(function(d){if(d!==0){if(jQuery(this).find("#ArticleCL a").length>0){var h=jQuery(this).find("#ArticleCL a").attr("href");b=b+h+"|||"}else{b=b+"NA|||"}if(jQuery(this).find("#JournalCL a").length>0){var h=jQuery(this).find("#JournalCL a").attr("href");c=c+h+"|||"}else{c=c+"NA|||"}var i=jQuery(this).find("#DateCL").text();e=e+i+"|||";var j=jQuery(this).find("#DatabaseCL").text();f=f+j+"|||";var k=jQuery(this).find("#DatabaseCL a").attr("href");g=g+k+"|||"}a=d});if(a===""){jQuery("table#BookLinkTable").find("tr").each(function(b){if(b!==0){if(jQuery(this).find("#BookCL a").length>0){var c=jQuery(this).find("#BookCL a").attr("href");d=d+c+"|||";console.log(c)}else{d=d+"NA|||"}var h=jQuery(this).find("#DateCL").text();e=e+h+"|||";var i=jQuery(this).find("#DatabaseCL").text();f=f+i+"|||";var j=jQuery(this).find("#DatabaseCL a").attr("href");g=g+j+"|||"}a=b})}console.log(d);var K=b.split("|||");var L=c.split("|||");var M=d.split("|||");console.log(M[0]);var N=e.split("|||");var O=f.split("|||");var P=g.split("|||");var Q=a-1;if(K[0]==="NA"&&L[0]!=="NA"&&M[0]==="NA"){TopDatabaseName=jQuery.trim(O[0]);if(TopDatabaseName==="Print at GVSU Libraries"){var R='<ul id="top-result"><li><a href="'+L[0]+'" class="article-button" target="_blank">Find a Copy</a> in <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+"</a></li></ul>";var j=true}else{var R='<ul id="top-result"><li><a href="'+L[0]+'" class="article-button" target="_blank">Browse the Journal Online</a> in <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+"</a></li></ul>"}}else{console.log(K[0]);if(M[0]!=="NA"&&d!==""){console.log(M[0]);var R='<ul id="top-result"><li><a href="'+M[0]+'" class="article-button" target="_blank">Full Text Online</a> from <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+'</a> <a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[0]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[0]+"</p></div></li></ul>"}else{console.log(M[0]);var R='<ul id="top-result"><li><a href="'+K[0]+'" class="article-button" target="_blank">Full Text Online</a> from <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+'</a> <a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[0]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[0]+"</p></div></li></ul>"}}if(Q>0){if(Q===1){var S="Show 1 More Result"}else{var S="Show "+Q+" More Results"}var T="";var U="";var V=1;while(V<a){if(K[V]!=="NA"){if(T===""){T=T+"<h4>Online</h4><ul>"}T=T+'<li><a href="'+K[V]+'" target="_blank">Full Text Online</a> from <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[V]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}else{if(jQuery.trim(O[V])==="Print at GVSU Libraries"){var j=true;if(U===""){U=U+"<h4>Print</h4><ul>"}U=U+'<li><a href="'+L[V]+'" target="_blank">Available in Print</a> at the <abbr title="Grand Valley State University">GVSU</abbr> University Libraries</li>'}else{if(T===""){T=T+"<h4>Online</h4><ul>"}if(L[V]==="NA"&&M[V]!=="NA"){T=T+'<li><a href="'+M[V]+'" target="_blank">Browse the Journal Online</a> in <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}else{T=T+'<li><a href="'+L[V]+'" target="_blank">Browse the Journal Online</a> in <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}}}V=V+1}if(T!==""){T=T+"</ul>"}if(U!==""){U=U+"</ul>"}var W='<div class="event-head">'+S+'</div><div class="event-body">'+T+U+"</div>";X=R+W}else{var X=R}if(a===""){var X='<div id="ContentNotAvailableTable"><p class="lib-big-text">We&#8217;re sorry, but this item is not available online.</p><p>Think this is an error? Let our eResources team know at <a href="mailto:erms@gvsu.edu">erms@gvsu.edu</a>.</p></div>'}var Y=jQuery(".SS_HoldingText a").attr("href");if(typeof Y!=="undefined"){var Z="";var $="";var _="";var ab="";jQuery(".SS_HoldingText").each(function(a){var b=jQuery(this).find("a").attr("href");Z=Z+b+"|||";var c=jQuery(this).find(".SS_JournalTitle").text();$=$+c+"|||";var d=jQuery(this).find(".SS_IssnText").text();_=_+d+"|||";ab=a});ab=ab+1;var bb=Z.split("|||");var cb=$.split("|||");var db=_.split("|||");R='<h4>This item is available in the following publications:</h4><ul id="top-result">';t=0;while(t<ab){R=R+'<li><a href="'+bb[t]+'">'+cb[t]+" "+db[t]+"</a></li>";t=t+1}var X=R+"</ul>"}var eb=document.location.search;var fb=eb.split("&");if(fb[0]!=="?SS_Page=refiner"){if(j!=true&&(format==="Journal"||format==="JournalFormat")){C='<li class="appeasement"><a href="http://library.catalog.gvsu.edu/search/s'+B+'">Search the Library Catalog for this journal</a></li>'+C}jQuery(".360link-reset").html('<h2 style="text-align:left;">You are looking for:</h2><div id="citation">'+A+' <a href="'+i+'"><img src="http://gvsu.edu/icon/pencil.png" alt="Edit this Citation" /></a><a id="refworks" href="'+p+'">Export to Refworks</a></div>'+X+'<div id="next-step"><ul>'+C+'</ul></div></div><div class="clear"></div><!-- Begin Custom GVSU Footer code -->');jQuery("#360link-reset").html('<div id="page-content" style="margin: 0; width: 85%;"><h2 style="text-align:left;">You are looking for:</h2><div id="citation">'+A+' <a href="'+i+'"><img src="http://gvsu.edu/icon/pencil.png" alt="Edit this Citation" /></a><a id="refworks" href="'+p+'">Export to Refworks</a></div>'+X+'<div id="next-step"><ul>'+C+'</ul></div></div><div class="clear"></div><!-- Begin Custom GVSU Footer code --></div>')}jQuery("#next-step ul").append('<li class="doc-del-tooltip">Having trouble? You can order a copy from Document Delivery, and they\'ll get it for you. It\'s free!<br /><a href="'+o+'" class="lib-db-access-button" style="font-size: 1.2em !important;">Order a Copy</a></li>');jQuery(".doc-del-tooltip").hide();jQuery("#360link-reset ul li a").click(function(){h=h+1;k=encodeURIComponent(window.location);l=encodeURIComponent(jQuery(this).siblings("a.SS_DatabaseHyperLink").text());m=Math.round((new Date).getTime()/1e3);n=n+m+","+l+","+k+"\n";if(h>1){jQuery(".doc-del-tooltip").show();n="data="+n;jQuery.ajax({dataType:"string",type:"POST",url:"url_write.php",data:n});n=""}})})
+jQuery(document).ready(function(){jQuery("head link").remove();var a="";var b="";var c="";var d="";console.log(d);var e="";var f="";var g="";var h=0;var i=jQuery("#RefinerLink0 a").attr("href");var j=false;var k="";var l="";var m=0;var n="";var o=jQuery("table.CandyWrapper:last a.AnchorButton:contains('Document Delivery')").attr("href");var p=jQuery("table.CandyWrapper:last a.AnchorButton:last").attr("href");var q=jQuery("table.CandyWrapper:last a.AnchorButton:contains('MeLCat')").attr("href");var r=jQuery("span.fn:first").text();r=jQuery.trim(r);if(format==="Journal"||format==="JournalFormat"){var s=jQuery("td#CitationJournalTitleValue").text();s=jQuery.trim(s);var u=jQuery("td#CitationJournalArticleValue").text();u=jQuery.trim(u);var v=jQuery("td#CitationJournalVolumeValue").text();v=jQuery.trim(v);if(v!==""){v=', <span id="CitationJournalVolumeValue"> '+v+"</span>"}var w=jQuery("td#CitationJournalIssueValue").text();w=jQuery.trim(w);if(w!==""){w='<span id="CitationJournalIssueValue"> ('+w+"),</span>"}var x=jQuery("td#CitationJournalDateValue").text();x=jQuery.trim(x);var y=jQuery("td#CitationJournalPageValue").text();y=jQuery.trim(y);if(y!==""){y='<span id="CitationJournalPageValue"> p. '+y+".</span>"}var z=jQuery("td#CitationJournalIssnValue").text();z=jQuery.trim(z);if(z!==""){z='<span id="CitationJournalIssnValue"> (ISSN: '+z+")</span>"}var A='<span id="CitationJournalAuthorValue">'+r+'</span>  <span id="CitationJournalDateValue">('+x+')</span>.  <span id="CitationJournalArticleValue">'+u+'.</span>  <span id="CitationJournalTitleValue">'+s+".</span> "+v+w+y;var B=encodeURI(s);var C='<li>Not Available Online? <a href="'+o+'">Order a copy from Document Delivery</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="BookFormat"||format==="Book"){var D=jQuery("td#CitationBookTitleValue").text();D=jQuery.trim(D);var E=jQuery("td#CitationBookDateValue").text();E=jQuery.trim(E);var F=jQuery("td#CitationBookISBNValue").text();F=jQuery.trim(F);if(F!==""){F=' <span id="CitationBookISBNValue">(ISBN: '+F+")</span> "}var A='<span id="CitationBookAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+E+')</span>.  <span id="CitationBookTitleValue"><em>'+D+"</em></span>"+F;var G=encodeURI(D);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+G+'">Search the GVSU Catalog for this book</a></li><li><a href="'+q+'">Order from another Michigan library</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="UnknownFormat"||format==="Unknown"){var D=jQuery("td#CitationUnknownPublicationValue").text();D=jQuery.trim(D);var E=jQuery("td#CitationUnknownDateValue").text();E=jQuery.trim(E);var F=jQuery("td#CitationBookISBNValue").text();F=jQuery.trim(F);if(F!==""){F=' <span id="CitationBookISBNValue">(ISBN: '+F+")</span> "}var A='<span id="CitationBookAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+E+')</span>.  <span id="CitationBookTitleValue"><em>'+D+'</em></span>  <span id="CitationBookISBNValue">  </span>';var G=encodeURI(D);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+G+'">Search the GVSU Catalog for this book</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}if(format==="Dissertation"||format==="DissertationFormat"){var H=jQuery("td#CitationDissertationTitleValue").text();H=jQuery.trim(H);var I=jQuery("td#CitationDissertationDateValue").text();I=jQuery.trim(I);var A='<span id="CitationDissAuthorValue">'+r+'</span>  <span id="CitationBookDateValue">('+I+')</span>.  <span id="CitationBookTitleValue"><em>'+H+"</em></span>";var J=encodeURI(H);var C='<li><a href="http://library.catalog.gvsu.edu/search/t'+J+'">Search the GVSU Catalog for this dissertation</a></li><li>Not Available Online? <a href="'+o+'">Order a copy from Interlibrary Loan</a></li><li>Found a problem? <a href="mailto:erms@gvsu.edu">Let our crack team of link fixers know</a>!</li>'}jQuery("table#JournalLinkTable").find("tr").each(function(d){if(d!==0){if(jQuery(this).find("#ArticleCL a").length>0){var h=jQuery(this).find("#ArticleCL a").attr("href");b=b+h+"|||"}else{b=b+"NA|||"}if(jQuery(this).find("#JournalCL a").length>0){var h=jQuery(this).find("#JournalCL a").attr("href");c=c+h+"|||"}else{c=c+"NA|||"}var i=jQuery(this).find("#DateCL").text();e=e+i+"|||";var j=jQuery(this).find("#DatabaseCL").text();f=f+j+"|||";var k=jQuery(this).find("#DatabaseCL a").attr("href");g=g+k+"|||"}a=d});if(a===""){jQuery("table#BookLinkTable").find("tr").each(function(b){if(b!==0){if(jQuery(this).find("#BookCL a").length>0){var c=jQuery(this).find("#BookCL a").attr("href");d=d+c+"|||";console.log(c)}else{d=d+"NA|||"}var h=jQuery(this).find("#DateCL").text();e=e+h+"|||";var i=jQuery(this).find("#DatabaseCL").text();f=f+i+"|||";var j=jQuery(this).find("#DatabaseCL a").attr("href");g=g+j+"|||"}a=b})}console.log(d);var K=b.split("|||");var L=c.split("|||");var M=d.split("|||");console.log(M[0]);var N=e.split("|||");var O=f.split("|||");var P=g.split("|||");var Q=a-1;if(K[0]==="NA"&&L[0]!=="NA"&&M[0]==="NA"){TopDatabaseName=jQuery.trim(O[0]);if(TopDatabaseName==="Print at GVSU Libraries"){var R='<ul id="top-result"><li><a href="'+L[0]+'" class="article-button" target="_blank">Find a Copy</a> in <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+"</a></li></ul>";var j=true}else{var R='<ul id="top-result"><li><a href="'+L[0]+'" class="article-button" target="_blank">Browse the Journal Online</a> in <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+"</a></li></ul>"}}else{console.log(K[0]);if(M[0]!=="NA"&&d!==""){console.log(M[0]);var R='<ul id="top-result"><li><a href="'+M[0]+'" class="article-button" target="_blank">Full Text Online</a> from <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+'</a> <a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[0]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[0]+"</p></div></li></ul>"}else{console.log(M[0]);var R='<ul id="top-result"><li><a href="'+K[0]+'" class="article-button" target="_blank">Full Text Online</a> from <a href="'+P[0]+'" class="SS_DatabaseHyperLink">'+jQuery.trim(O[0])+'</a> <a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[0]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[0]+"</p></div></li></ul>"}}if(Q>0){if(Q===1){var S="Show 1 More Result"}else{var S="Show "+Q+" More Results"}var T="";var U="";var V=1;while(V<a){if(K[V]!=="NA"){if(T===""){T=T+"<h4>Online</h4><ul>"}T=T+'<li><a href="'+K[V]+'" target="_blank">Full Text Online</a> from <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p><a href="'+L[V]+'" style="text-decoration: none;">Browse Journal</a></p><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}else{if(jQuery.trim(O[V])==="Print at GVSU Libraries"){var j=true;if(U===""){U=U+"<h4>Print</h4><ul>"}U=U+'<li><a href="'+L[V]+'" target="_blank">Available in Print</a> at the <abbr title="Grand Valley State University">GVSU</abbr> University Libraries</li>'}else{if(T===""){T=T+"<h4>Online</h4><ul>"}if(L[V]==="NA"&&M[V]!=="NA"){T=T+'<li><a href="'+M[V]+'" target="_blank">Browse the Journal Online</a> in <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}else{T=T+'<li><a href="'+L[V]+'" target="_blank">Browse the Journal Online</a> in <a href="'+P[V]+'" class="SS_DatabaseHyperLink">'+O[V]+'</a><a class="holding-details"><img src="http://gvsu.edu/icon/help.png" alt="" /></a><div class="tooltip"><p style="font-size: 1em;"><i>Dates covered:</i><br />'+N[V]+"</p></div></li>"}}}V=V+1}if(T!==""){T=T+"</ul>"}if(U!==""){U=U+"</ul>"}var W='<div class="event-head">'+S+'</div><div class="event-body">'+T+U+"</div>";X=R+W}else{var X=R}if(a===""){var X='<div id="ContentNotAvailableTable"><p class="lib-big-text">We&#8217;re sorry, but this item is not available online.</p><p>Think this is an error? Let our eResources team know at <a href="mailto:erms@gvsu.edu">erms@gvsu.edu</a>.</p></div>'}var Y=jQuery(".SS_HoldingText a").attr("href");if(typeof Y!=="undefined"){var Z="";var $="";var _="";var ab="";jQuery(".SS_HoldingText").each(function(a){var b=jQuery(this).find("a").attr("href");Z=Z+b+"|||";var c=jQuery(this).find(".SS_JournalTitle").text();$=$+c+"|||";var d=jQuery(this).find(".SS_IssnText").text();_=_+d+"|||";ab=a});ab=ab+1;var bb=Z.split("|||");var cb=$.split("|||");var db=_.split("|||");R='<h4>This item is available in the following publications:</h4><ul id="top-result">';t=0;while(t<ab){R=R+'<li><a href="'+bb[t]+'">'+cb[t]+" "+db[t]+"</a></li>";t=t+1}var X=R+"</ul>"}var eb=document.location.search;var fb=eb.split("&");if(fb[0]!=="?SS_Page=refiner"){if(j!=true&&(format==="Journal"||format==="JournalFormat")){C='<li class="appeasement"><a href="http://library.catalog.gvsu.edu/search/s'+B+'">Search the Library Catalog for this journal</a></li>'+C}jQuery(".360link-reset").html('<h2 style="text-align:left;">You are looking for:</h2><div id="citation">'+A+' <a href="'+i+'"><img src="http://gvsu.edu/icon/pencil.png" alt="Edit this Citation" /></a><a id="refworks" href="'+p+'">Export to Refworks</a></div>'+X+'<div id="next-step"><ul>'+C+'</ul></div></div><div class="clear"></div><!-- Begin Custom GVSU Footer code -->');jQuery("#360link-reset").html('<div id="page-content" style="margin: 0; width: 85%;"><h2 style="text-align:left;">You are looking for:</h2><div id="citation">'+A+' <a href="'+i+'"><img src="http://gvsu.edu/icon/pencil.png" alt="Edit this Citation" /></a><a id="refworks" href="'+p+'">Export to Refworks</a></div>'+X+'<div id="next-step"><ul>'+C+'</ul></div></div><div class="clear"></div><!-- Begin Custom GVSU Footer code --></div>')}jQuery("#next-step ul").append('<li class="doc-del-tooltip">Having trouble? You can order a copy from Document Delivery, and they\'ll get it for you. It\'s free!<br /><a href="'+o+'" class="lib-db-access-button" style="font-size: 1.2em !important;">Order a Copy</a></li>');jQuery(".doc-del-tooltip").hide();jQuery("#360link-reset ul li a").click(function(){h=h+1;k=encodeURIComponent(window.location);l=encodeURIComponent(jQuery(this).siblings("a.SS_DatabaseHyperLink").text());m=Math.round((new Date).getTime()/1e3);n=n+m+","+l+","+k+"\n";if(h>1){jQuery(".doc-del-tooltip").show();n="data="+n;jQuery.ajax({dataType:"string",type:"POST",url:"url_write.php",data:n});n=""}})})
+

0 comments on commit dfc065b

Please sign in to comment.
Something went wrong with that request. Please try again.