HoustonLibrarySearch 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -0
- data/Rakefile +16 -3
- data/VERSION +1 -1
- data/lib/HoustonLibrarySearch.rb +2 -21
- data/lib/HoustonLibrarySearch/isbn.rb +33 -0
- data/lib/HoustonLibrarySearch/listing.rb +17 -0
- data/lib/plugins/HCPL.rb +11 -7
- data/lib/plugins/HPL.rb +12 -9
- data/spec/HoustonLibrarySearch/isbn_spec.rb +50 -0
- data/spec/HoustonLibrarySearch/listing_spec.rb +25 -0
- data/spec/fixtures/HCPL-order.html +1070 -0
- data/spec/fixtures/HCPL.html +971 -0
- data/spec/fixtures/HPL.html +520 -0
- data/spec/plugins/HPCL_spec.rb +27 -0
- data/spec/plugins/HPL_spec.rb +19 -0
- data/spec/spec_helper.rb +5 -0
- metadata +61 -19
- data/Gemfile +0 -3
- data/HoustonLibrarySearch.gemspec +0 -47
- data/lib/listing.rb +0 -12
@@ -0,0 +1,971 @@
|
|
1
|
+
<html><head>
|
2
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
3
|
+
<META HTTP-EQUIV="Expires" CONTENT="0"><title>Harris County Public Library Online Catalog</title><link title="bannerstyles" href="/hipres/css/ipac.css" type="text/css" rel="stylesheet"><SCRIPT LANGUAGE="JavaScript">
|
4
|
+
<!--
|
5
|
+
function startTimer()
|
6
|
+
{
|
7
|
+
curUrl = window.location.href;
|
8
|
+
if (curUrl.indexOf("startover=true", 0) < 0)
|
9
|
+
{
|
10
|
+
var time= new Date();
|
11
|
+
hours= time.getHours();
|
12
|
+
mins= time.getMinutes();
|
13
|
+
secs= time.getSeconds();
|
14
|
+
closeTime=hours*3600+mins*60+secs;
|
15
|
+
closeTime+=300;
|
16
|
+
Timer();
|
17
|
+
}
|
18
|
+
}
|
19
|
+
function Timer()
|
20
|
+
{
|
21
|
+
var time= new Date();
|
22
|
+
hours= time.getHours();
|
23
|
+
mins= time.getMinutes();
|
24
|
+
secs= time.getSeconds();
|
25
|
+
curTime=hours*3600+mins*60+secs;
|
26
|
+
if(curTime>=closeTime)
|
27
|
+
{
|
28
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&lang=eng&logout=true&startover=true";
|
29
|
+
}
|
30
|
+
else
|
31
|
+
{
|
32
|
+
window.setTimeout("Timer()",1000);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
//-->
|
36
|
+
</SCRIPT><script language="JavaScript">
|
37
|
+
<!--
|
38
|
+
var checked = false;
|
39
|
+
function checkGoButton()
|
40
|
+
{
|
41
|
+
if (checked)
|
42
|
+
{
|
43
|
+
return false;
|
44
|
+
}
|
45
|
+
else
|
46
|
+
{
|
47
|
+
checked = true;
|
48
|
+
return true;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
function authenticate()
|
52
|
+
{
|
53
|
+
document.security.menu.value='account';
|
54
|
+
window.location = window.location + "#focus";
|
55
|
+
}
|
56
|
+
function newUser()
|
57
|
+
{
|
58
|
+
document.security.newuser_prompt.value='true';
|
59
|
+
document.security.menu.value='account';
|
60
|
+
window.location = window.location + "#focus";
|
61
|
+
}
|
62
|
+
function newUserInfo()
|
63
|
+
{
|
64
|
+
document.newuser.newuser_info.value='true';
|
65
|
+
document.newuser.menu.value='account';
|
66
|
+
window.location = window.location + "#focus";
|
67
|
+
}
|
68
|
+
//-->
|
69
|
+
</script><script language="JavaScript"><!--
|
70
|
+
function setfocus()
|
71
|
+
{
|
72
|
+
if (document.search)
|
73
|
+
{
|
74
|
+
if (document.search.term)
|
75
|
+
{
|
76
|
+
if (document.search.term[0])
|
77
|
+
{
|
78
|
+
document.search.term[0].focus();
|
79
|
+
document.search.term[0].select();
|
80
|
+
}
|
81
|
+
else
|
82
|
+
{
|
83
|
+
document.search.term.focus();
|
84
|
+
document.search.term.select();
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
if (document.security)
|
89
|
+
{
|
90
|
+
if (document.security.sec1)
|
91
|
+
{
|
92
|
+
document.security.sec1.focus();
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
// --></script></head><body bgcolor="#FFFFFF" onload="startTimer();setfocus();" background="" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><input type="hidden" name="session" value="1C667UJ250162.112733"><a xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" class="tinyAnchor" href="#content" title="Jump to Content" alt="Jump to Content"></a><table xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr valign="bottom"><td valign="bottom" align="middle" width="10%" rowspan="2"><a class="globalAnchor" href="http://www.hcpl.net"><img src="/hipres/images/hcpllogo.gif" border="0" alt="Harris County Public Library"></a><br><a class="tinyAnchor" href="http://www.hcpl.net">Harris County Public Library</a><br><table width="100%" border="0" cellpadding="0" cellspacing="0" background="/hipres/images/tab_mt.gif"><tbody><tr><td><img height="2" src="/hipres/images/spacer.gif"></td></tr></tbody></table></td><td align="right" width="100%" colspan="2"><table cellspacing="0" cellpadding="3" valign="top" border="0"><tbody><tr><td class="globalLinks" valign="middle" nowrap="true" align="right"><table cellspacing="2" cellpadding="0" valign="top" border="0"><tr><td><a class="globalAnchor" title="" href="http://catalog.hcpl.net/ipac20/ipac.jsp?profile=webcat-ada&lang=eng"><img src="/hipres/images/flag.gif" width="25" height="20" border="0" alt="Switch to library" align="middle">HCPL ADA catalog</a><a class="globalAnchor" title="" href="http://catalog.hcpl.net/ipac20/ipac.jsp?profile=espanol&lang=esp"><img src="/hipres/images/flag.gif" width="25" height="20" border="0" alt="Switch to library" align="middle">HCPL Spanish catalog</a></td><td><a class="globalAnchor" title="Login" href="javascript:loginIntoOrOutOfAccount('http%3A%2F%2Fcatalog.hcpl.net%2Fipac20%2Fipac.jsp%3Fsession%3D1C667UJ250162.112733%26profile%3Dwebcat%26auth%3Dtrue%26submenu%3Dsubtab14%26date%3D1266732250491','')"><img src="/hipres/images/login.gif" width="25" height="20" border="0" alt="Click here to login" align="middle">Login</a></td><td><a class="globalAnchor" title="Help" href="javascript:popUpHelp('/hipres/help/eng/horizon/viewiteminfo.htm');"><img src="/hipres/images/help.gif" width="25" height="20" border="0" alt="Help" align="middle">Help</a></td></tr></table></td></tr></tbody></table></td></tr><tr><td align="center" valign="bottom" width="99%"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="50%" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="/hipres/images/tab_mt.gif"><tbody><tr><td><img height="2" src="/hipres/images/spacer.gif"></td></tr></tbody></table></td><td valign="bottom"><table bgcolor="#008080" cellpadding="0" cellspacing="0" border="0"><tbody><tr><td width="4"><img height="4" src="/hipres/images/tab_lt.gif" width="4"></td><td background="/hipres/images/tab_mt.gif"><img height="4" src="/hipres/images/spacer.gif" width="8"></td><td width="4"><img height="4" src="/hipres/images/tab_rt.gif" width="4"></td></tr><tr><td background="/hipres/images/tab_lm.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td><td nowrap="true"><table cellpadding="0" cellspacing="0" width="100%" border="0"><tbody><tr><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td><td nowrap="true" class="tabText" align="middle" height="22"> <a class="TabActive" title="Search Library Catalog" alt="Search Library Catalog">Search</a> </td><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td></tr></tbody></table></td><td background="/hipres/images/tab_rm.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td></tr><tr><td><img height="2" src="/hipres/images/tab_lb.gif" width="4"></td><td><img height="2" src="/hipres/images/spacer.gif" width="8"></td><td><img height="2" src="/hipres/images/tab_rb.gif" width="4"></td></tr></tbody></table></td><td valign="bottom"><table bgcolor="#BDC5C9" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="4"><img height="4" src="/hipres/images/NW0-blue.gif" width="4"></td><td background="/hipres/images/bg-N0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="8"></td><td width="4"><img height="4" src="/hipres/images/NE0-blue.gif" width="4"></td></tr><tr><td background="/hipres/images/bg-W0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td><td align="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td><td nowrap="true" class="tabText" align="middle" height="22"> <a class="TabInactive" title="View my account information" alt="View my account information" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=account&ts=1266732250491">My Account</a> </td><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td></tr></tbody></table></td><td background="/hipres/images/bg-E0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td></tr><tr><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="8"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td></tr></tbody></table></td><td valign="bottom"><table bgcolor="#BDC5C9" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="4"><img height="4" src="/hipres/images/NW0-blue.gif" width="4"></td><td background="/hipres/images/bg-N0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="8"></td><td width="4"><img height="4" src="/hipres/images/NE0-blue.gif" width="4"></td></tr><tr><td background="/hipres/images/bg-W0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td><td align="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td><td nowrap="true" class="tabText" align="middle" height="22"> <a class="TabInactive" title="Aquabrowser" alt="Aquabrowser" href="http://newcatalog.hcpl.net/HCPL/">Power Search</a> </td><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td></tr></tbody></table></td><td background="/hipres/images/bg-E0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td></tr><tr><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="8"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td></tr></tbody></table></td><td valign="bottom"><table bgcolor="#BDC5C9" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="4"><img height="4" src="/hipres/images/NW0-blue.gif" width="4"></td><td background="/hipres/images/bg-N0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="8"></td><td width="4"><img height="4" src="/hipres/images/NE0-blue.gif" width="4"></td></tr><tr><td background="/hipres/images/bg-W0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td><td align="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td><td nowrap="true" class="tabText" align="middle" height="22"> <a class="TabInactive" title="HCPL Databases" alt="HCPL Databases" href="http://www.hcpl.net/ref/dbsubs.htm">HCPL Databases</a> </td><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td></tr></tbody></table></td><td background="/hipres/images/bg-E0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td></tr><tr><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="8"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td></tr></tbody></table></td><td valign="bottom"><table bgcolor="#BDC5C9" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td width="4"><img height="4" src="/hipres/images/NW0-blue.gif" width="4"></td><td background="/hipres/images/bg-N0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="8"></td><td width="4"><img height="4" src="/hipres/images/NE0-blue.gif" width="4"></td></tr><tr><td background="/hipres/images/bg-W0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td><td align="middle"><table width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td><td nowrap="true" class="tabText" align="middle" height="22"> <a class="TabInactive" title="HCPL Location Codes" alt="HCPL Location Codes" href="http://www.hcpl.net/content/location-codes">HCPL Locations</a> </td><td><img height="8" src="/hipres/images/spacer.gif" width="2"></td></tr></tbody></table></td><td background="/hipres/images/bg-E0-blue.gif"><img height="4" src="/hipres/images/spacer.gif" width="4"></td></tr><tr><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="8"></td><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif" width="4"></td></tr></tbody></table></td><td width="50%" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="/hipres/images/tab_mt.gif"><tbody><tr><td><img height="2" src="/hipres/images/spacer.gif"></td></tr></tbody></table></td></tr></tbody></table></td><td width="1%" valign="bottom"><table width="180" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td valign="top" align="right" nowrap="true" width="100%"><a class="normalBlackFont1"> </a></td></tr><tr><td background="/hipres/images/tab_mt.gif"><img height="2" src="/hipres/images/spacer.gif"></td></tr></tbody></table></td></tr></tbody></table><table xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" cellspacing="0" cellpadding="3" width="100%" bgcolor="#008080" border="0"><tbody><tr valign="top" align="middle"><td width="100%"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><img height="30" src="/hipres/images/spacer.gif" width="8"></td><td valign="center" align="middle"><a class="navBarAnchor" title="Basic Search" alt="Basic Search" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=search&submenu=subtab13&ts=1266732250491">Basic Search</a></td><td><img height="8" src="/hipres/images/spacer.gif" width="8"></td><td><img height="16" src="/hipres/images/bck_tan.gif" width="1"></td><td><img height="30" src="/hipres/images/spacer.gif" width="8"></td><td valign="center" align="middle"><a class="navBarCurrent" title="Advanced search" alt="Advanced search" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=search&submenu=subtab14&ts=1266732250491">Advanced Search</a></td><td><img height="8" src="/hipres/images/spacer.gif" width="8"></td><td><img height="16" src="/hipres/images/bck_tan.gif" width="1"></td><td><img height="30" src="/hipres/images/spacer.gif" width="8"></td><td valign="center" align="middle"><a class="navBarAnchor" title="Browse Search" alt="Browse Search" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=search&submenu=subtab15&ts=1266732250491">Browse Search</a></td><td><img height="8" src="/hipres/images/spacer.gif" width="8"></td><td><img height="16" src="/hipres/images/bck_tan.gif" width="1"></td><td><img height="30" src="/hipres/images/spacer.gif" width="8"></td><td valign="center" align="middle"><a class="navBarAnchor" title="Bestsellers Lists" alt="Bestsellers Lists" href="http://www.hcpl.net/read/books">Bestsellers Lists</a></td><td><img height="8" src="/hipres/images/spacer.gif" width="8"></td><td><img height="16" src="/hipres/images/bck_tan.gif" width="1"></td><td><img height="30" src="/hipres/images/spacer.gif" width="8"></td><td valign="center" align="middle"><a class="navBarAnchor" title="Your search history" alt="Your search history" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=search&submenu=history&ts=1266732250491">History</a></td><td><img height="8" src="/hipres/images/spacer.gif" width="8"></td></tr></tbody></table></td></tr></tbody></table><table xmlns:sstrings="http://www.dynix.com/2001/sstrings" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" class="tableBackground" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><form name="search" action="http://catalog.hcpl.net/ipac20/ipac.jsp" method="GET"><td bgcolor="#EEEECC" width="100%" align="left" colspan="3"><input type="hidden" name="session" value="1C667UJ250162.112733"><input type="hidden" name="menu" value="search"><input type="hidden" name="aspect" value="subtab14"><input type="hidden" name="npp" value="60" size="2"><input type="hidden" name="ipp" value="325"><input type="hidden" name="spp" value="60"><input type="hidden" name="profile" value="webcat"><input type="hidden" name="ri" value="1"><input type="hidden" name="source" value="~!library"><table class="tableBackgroundHighlight" cellpadding="3" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#EEEECC"><a class="boldBlackFont2">Search: </a></td><td bgcolor="#EEEECC"><select class="comboBox" name="index"><option value=".GH">Keywords Anywhere </option><option value=".TH">Title Keywords</option><option value=".AH">Author Keywords</option><option value=".SH">Subject Keywords </option><option value=".SERH">Series Keywords</option><option selected="true" value="ISBNEXH">ISBN Number</option></select></td><td bgcolor="#EEEECC"> </td><td bgcolor="#EEEECC"><input class="textInputBox" type="text" size="25" name="term" maxsize="100" value="1430219483"></td><td bgcolor="#EEEECC"> <input class="normalBlackFont1" type="image" src="/hipres/images/b-go-red.gif" border="0" alt="Go"><input type="hidden" name="aspect" value="subtab14"></td><td bgcolor="#EEEECC"> </td><td bgcolor="#EEEECC" valign="bottom" nowrap="true"><a class="tinyAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=search&aspect=history&histedit=last">Refine Search</a></td><td bgcolor="#EEEECC" width="40%"> </td><td bgcolor="#EEEECC" width="60%"> </td></tr><tr><td bgcolor="#EEEECC" align="left" valign="top" nowrap="true" colspan="15"><a class="normalBlackFont0">>
|
97
|
+
You're searching: <b>Harris County Public Library</b></a></td></tr></table></td></form></tr></table><table xmlns:sstrings="http://www.dynix.com/2001/sstrings" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" class="tableBackground" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="100%" colspan="3"> </td></tr><tr valign="center"></tr></table><table xmlns:sstrings="http://www.dynix.com/2001/sstrings" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" class="tableBackground" width="100%" cellpadding="0" cellspacing="0" border="0"><tr></tr></table><script xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" LANGUAGE="JavaScript">
|
98
|
+
myarr = null;
|
99
|
+
count = 0;
|
100
|
+
setReturnFlag=0;
|
101
|
+
|
102
|
+
function buildReturnPageNewList(thisurl,returnurl)
|
103
|
+
{
|
104
|
+
|
105
|
+
if(document.buildLink.returnURL )
|
106
|
+
{
|
107
|
+
if(returnurl != '')
|
108
|
+
{
|
109
|
+
document.buildLink.returnURL.value = unescape(returnurl);
|
110
|
+
}
|
111
|
+
|
112
|
+
}
|
113
|
+
// window.location = url;
|
114
|
+
|
115
|
+
if(navigator.appName == "Netscape")
|
116
|
+
{
|
117
|
+
|
118
|
+
document.buildLink.action=unescape(thisurl);
|
119
|
+
}
|
120
|
+
else
|
121
|
+
{
|
122
|
+
document.buildLink.action=thisurl;
|
123
|
+
}
|
124
|
+
|
125
|
+
document.buildLink.submit();
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
function ReturnSearchPage(url)
|
133
|
+
{
|
134
|
+
|
135
|
+
if(document.SearchResult)
|
136
|
+
{
|
137
|
+
|
138
|
+
document.SearchResult.action = unescape(url);
|
139
|
+
document.SearchResult.submit();
|
140
|
+
|
141
|
+
}
|
142
|
+
else if(document.buildLink)
|
143
|
+
{
|
144
|
+
document.buildLink.action = unescape(url);
|
145
|
+
document.buildLink.submit();
|
146
|
+
|
147
|
+
}
|
148
|
+
else
|
149
|
+
window.location = unescape(url);
|
150
|
+
}
|
151
|
+
|
152
|
+
|
153
|
+
function buildNewList(url,retURL,summary)
|
154
|
+
{
|
155
|
+
i = 0;
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
if(myarr != null)
|
161
|
+
{
|
162
|
+
while(myarr[i] != null)
|
163
|
+
{
|
164
|
+
var thisString = new String(myarr[i]);
|
165
|
+
if(thisString.indexOf("bkey") != -1)
|
166
|
+
{
|
167
|
+
url +='&addkeys=' + myarr[i];
|
168
|
+
|
169
|
+
}
|
170
|
+
i++;
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
}
|
175
|
+
|
176
|
+
if(document.buildLink.returnURL )
|
177
|
+
{
|
178
|
+
|
179
|
+
|
180
|
+
if(setReturnFlag == 1)
|
181
|
+
{
|
182
|
+
if(retURL)
|
183
|
+
{
|
184
|
+
if(summary == 'false')
|
185
|
+
document.buildLink.returnURL.value = unescape(retURL);
|
186
|
+
else
|
187
|
+
document.buildLink.returnURL.value = unescape(document.location.toString());
|
188
|
+
}
|
189
|
+
else
|
190
|
+
document.buildLink.returnURL.value = unescape(document.location.toString());
|
191
|
+
}
|
192
|
+
}
|
193
|
+
|
194
|
+
// window.location = url;
|
195
|
+
|
196
|
+
document.buildLink.action=unescape(url);
|
197
|
+
|
198
|
+
|
199
|
+
document.buildLink.submit();
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
}
|
204
|
+
|
205
|
+
function buildMyList(URL,retURL)
|
206
|
+
{
|
207
|
+
i = 0;
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
if(document.buildLink)
|
213
|
+
{
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
if(myarr != null)
|
218
|
+
{
|
219
|
+
|
220
|
+
for(i = 0; i <myarr.length; i++)
|
221
|
+
{
|
222
|
+
|
223
|
+
|
224
|
+
if(myarr[i] != null)
|
225
|
+
{
|
226
|
+
URL+='&addkeys=' + myarr[i];
|
227
|
+
|
228
|
+
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
}
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
if(document.buildLink.returnURL )
|
239
|
+
{
|
240
|
+
|
241
|
+
if(setReturnFlag == 1 || retURL != '')
|
242
|
+
{
|
243
|
+
|
244
|
+
if(retURL != '')
|
245
|
+
document.buildLink.returnURL.value = retURL;
|
246
|
+
else
|
247
|
+
document.buildLink.returnURL.value = document.location.toString();
|
248
|
+
|
249
|
+
index = document.buildLink.returnURL.value.indexOf('#focus');
|
250
|
+
if(index >-1)
|
251
|
+
{
|
252
|
+
document.buildLink.returnURL.value = document.buildLink.returnURL.value.substring(0,index);
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
if(myarr != null)
|
258
|
+
{
|
259
|
+
|
260
|
+
for(i = 0; i <myarr.length; i++)
|
261
|
+
{
|
262
|
+
index = document.buildLink.returnURL.value.indexOf('?');
|
263
|
+
if(index == -1)
|
264
|
+
{
|
265
|
+
document.buildLink.returnURL.value +='?';
|
266
|
+
}
|
267
|
+
else
|
268
|
+
{
|
269
|
+
document.buildLink.returnURL.value+='&';
|
270
|
+
}
|
271
|
+
if(myarr[i] != null)
|
272
|
+
document.buildLink.returnURL.value+='addkeys=' + myarr[i];
|
273
|
+
|
274
|
+
}
|
275
|
+
|
276
|
+
}
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
document.buildLink.returnURL.value = unescape(document.buildLink.returnURL.value);
|
281
|
+
|
282
|
+
}
|
283
|
+
|
284
|
+
}
|
285
|
+
|
286
|
+
|
287
|
+
|
288
|
+
|
289
|
+
document.buildLink.action=unescape(URL);
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
document.buildLink.submit();
|
294
|
+
}
|
295
|
+
else
|
296
|
+
{
|
297
|
+
|
298
|
+
window.location = unescape(URL);
|
299
|
+
}
|
300
|
+
|
301
|
+
|
302
|
+
}
|
303
|
+
|
304
|
+
function loginIntoOrOutOfAccount(URL,retURL)
|
305
|
+
{
|
306
|
+
i = 0;
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
setReturnFlag = 1;
|
313
|
+
|
314
|
+
|
315
|
+
if(document.buildLink)
|
316
|
+
{
|
317
|
+
document.buildLink.action=unescape(URL);
|
318
|
+
|
319
|
+
|
320
|
+
if(myarr != null)
|
321
|
+
{
|
322
|
+
while(myarr[i] != null)
|
323
|
+
{
|
324
|
+
document.buildLink.action+='&addkeys=' + myarr[i];
|
325
|
+
i++;
|
326
|
+
}
|
327
|
+
|
328
|
+
|
329
|
+
}
|
330
|
+
|
331
|
+
|
332
|
+
if(document.buildLink.returnURL || setReturnFlag == 1 )
|
333
|
+
{
|
334
|
+
|
335
|
+
if(retURL != '')
|
336
|
+
{
|
337
|
+
document.buildLink.returnURL.value = retURL;
|
338
|
+
}
|
339
|
+
else
|
340
|
+
{
|
341
|
+
document.buildLink.returnURL.value = document.location.toString();
|
342
|
+
}
|
343
|
+
if(myarr != null)
|
344
|
+
{
|
345
|
+
i = 0;
|
346
|
+
while(myarr[i] != null)
|
347
|
+
{
|
348
|
+
document.buildLink.returnURL.value+='&addkeys=' + myarr[i];
|
349
|
+
i++;
|
350
|
+
}
|
351
|
+
|
352
|
+
}
|
353
|
+
|
354
|
+
|
355
|
+
document.buildLink.returnURL.value = unescape(document.buildLink.returnURL.value);
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
}
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
document.buildLink.submit();
|
364
|
+
}
|
365
|
+
else
|
366
|
+
{
|
367
|
+
|
368
|
+
if(navigator.appName == "Netscape")
|
369
|
+
{
|
370
|
+
window.location = unescape(URL);
|
371
|
+
}
|
372
|
+
else
|
373
|
+
{
|
374
|
+
window.location = URL;
|
375
|
+
}
|
376
|
+
|
377
|
+
}
|
378
|
+
|
379
|
+
|
380
|
+
}
|
381
|
+
|
382
|
+
function popUpHelp(URL)
|
383
|
+
{
|
384
|
+
day = new Date();
|
385
|
+
id = day.getTime();
|
386
|
+
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=350,height=650');");
|
387
|
+
}
|
388
|
+
function changeBookbagText(text)
|
389
|
+
{
|
390
|
+
if (document.getElementById)
|
391
|
+
{
|
392
|
+
document.getElementById('bookbag').innerHTML=text;
|
393
|
+
}
|
394
|
+
else if (document.layers)
|
395
|
+
{
|
396
|
+
document.anchors["viewlist"].text=text;
|
397
|
+
}
|
398
|
+
else
|
399
|
+
{
|
400
|
+
|
401
|
+
bookbag.innerHTML=text;
|
402
|
+
}
|
403
|
+
}
|
404
|
+
</script><!--
|
405
|
+
****************************************************
|
406
|
+
Security
|
407
|
+
****************************************************
|
408
|
+
--><a xmlns:netlib="/com.dynix.util.ulURLAPI" xmlns:stringex="/com.dynix.util.StringEx" xmlns:termhighlight="/com.dynix.util.TermHighlight" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" xmlns:URLDecoder="/java.net.URLDecoder" name="content"></a><table xmlns:netlib="/com.dynix.util.ulURLAPI" xmlns:stringex="/com.dynix.util.StringEx" xmlns:termhighlight="/com.dynix.util.TermHighlight" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" xmlns:URLDecoder="/java.net.URLDecoder" class="tableBackground" cellspacing="0" width="100%" border="0"><tr valign="top"><td width="30%" align="center"><form name="navigation" action="http://catalog.hcpl.net/ipac20/ipac.jsp" method="GET"><table class="tableBackground" cellpadding="0" cellspacing="10" width="85%" border="0"><tr><td><table class="tableBackgroundHighlight" cellpadding="4" cellspacing="0" width="100%" border="0" bgcolor="#EEEECC"><tr><td bgcolor="#008080" align="center"><a class="boldWhiteFont2" title="Item Information">Item Information</a></td></tr><tr><td><table class="tableBackgroundHighlight" cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="#EEEECC"><tr bgcolor="white"><td> </td><td><img src="http://catalog.hcpl.net/hipres/images/right-arrow-black.gif" border="0" alt="Holdings"></td><td><a class="tableBodyHighlightText" title="Holdings">Holdings</a></td></tr><tr></tr><tr></tr><tr></tr><tr><td> </td><td> </td><td><a class="smallAnchor" title="Summary" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=full%3D3100001%7E%211170144%7E%210&ri=1&term=1430219483&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&view=SUMMARY&aspect=subtab14&menu=search&source=~!library&enhancedcontentdata=true%0A%09%09">Summary</a></td></tr><tr><td> </td><td> </td><td><a class="smallAnchor" title="More Content" target="_blank" href="http://www.syndetics.com/index.aspx?type=rn12&client=harrisp&upc=&oclc=&isbn=9781430219484/INDEX.HTML&close=yes">More Content</a></td></tr><tr><td colspan="3"> <hr color="#008080" size="1" width="80%"></td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td colspan="2"><a class="tableBodyBoldText" title="More by this author">More by this author</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td valign="top"><a class="smallAnchor" title="Seibel, Peter" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uindex=AH&term=Seibel,%20Peter&aspect=subtab14&menu=search&source=~!library">Seibel, Peter</a></td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td colspan="2"><a class="tableBodyBoldText" title="Subjects">Subjects</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td valign="top"><a class="smallAnchor" title="Computer programmers -- Interviews." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uindex=SH&term=Computer%20programmers%20--%20Interviews.&aspect=subtab14&menu=search&source=~!library">Computer programmers -- Interviews.</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td valign="top"><a class="smallAnchor" title="Computer programming" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uindex=SH&term=Computer%20programming&aspect=subtab14&menu=search&source=~!library">Computer programming</a></td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td colspan="2"><a class="tableBodyBoldText" title="Browse Catalog">Browse Catalog</a></td></tr><tr><td> </td><td> </td><td><a class="normalBlackFont0">by author:</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td valign="top"><a class="smallAnchor" title="Seibel, Peter" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uindex=AL&term=Seibel,%20Peter&aspect=subtab14&menu=search&source=~!library"> Seibel, Peter</a></td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td> </td><td><a class="normalBlackFont0">by title:</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td valign="top"><a class="smallAnchor" title="Coders at work : reflections on the craft of programming / Peter Seibel." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uindex=TL&term=Coders%20at%20work%20:%20reflections%20on%20the%20craft%20of%20programming%20/&aspect=subtab14&menu=search&source=~!library"> Coders at work : ref...
|
409
|
+
</a></td></tr><tr><td colspan="3"> </td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td colspan="2"><a class="tableBodyBoldText" title="Search Bookstores">Search Bookstores</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td colspan="2"><a href="javascript:openWindow('http://www.amazon.com/exec/obidos/ASIN/9781430219484');" class="smallAnchor">Amazon</a></td></tr><tr><td> </td><td valign="top"><li> </li></td><td colspan="2"><a href="javascript:openWindow('http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?ISBN=9781430219484');" class="smallAnchor">Barnes and Noble</a></td></tr><tr><td colspan="3"> </td></tr><tr><td> </td><td colspan="2"><a class="smallAnchor" title="MARC Display" href="javascript:buildNewList('http%3A%2F%2Fcatalog.hcpl.net%2Fipac20%2Fipac.jsp%3Fsession%3D1C667UJ250162.112733%26profile%3Dwebcat%26uri%3Dfull%253D3100001%257E%25211170144%257E%25210%26fullmarc%3Dtrue%26aspect%3Dsubtab14%26menu%3Dsearch%26source%3D%7E%21library%26view%3Ditems%26ri%3D1%26staffonly%3D%26term%3D1430219483%26index%3DISBNEXH%26uindex%3D%26aspect%3Dsubtab14%26menu%3Dsearch%26ri%3D1','http%3A%2F%2Fcatalog.hcpl.net%2Fipac20%2Fipac.jsp%3Fsession%3D1C667UJ250162.112733%26profile%3Dwebcat%26uri%3Dfull%253D3100001%257E%25211170144%257E%25210%26fullmarc%3Dtrue%26aspect%3Dsubtab14%26menu%3Dsearch%26source%3D%7E%21library%26view%3Ditems%26ri%3D1%26staffonly%3D%26term%3D1430219483%26index%3DISBNEXH%26uindex%3D%26aspect%3Dsubtab14%26menu%3Dsearch%26ri%3D1','false')">MARC Display</a></td></tr></table></td></tr></table></td></tr></table></form></td><td width="70%" colspan="2"><form name="full" action="http://catalog.hcpl.net/ipac20/ipac.jsp" method="GET"><table class="tableBackground" border="0" width="100%"><tr><td width="100%" colspan="3"><a class="largeAnchor" title="Coders at work : reflections on the craft of programming / Peter Seibel." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=search=TL~!Coders%20at%20work%20:%20reflections%20on%20the%20craft%20of%20programming%20/&term=Coders%20at%20work%20:%20reflections%20on%20the%20craft%20of%20programming%20/%20Peter%20Seibel.&aspect=subtab14&menu=search&source=~!library">Coders at work : reflections on the craft of programming / Peter Seibel.</a></td></tr><tr><td colspan="2"><a class="normalBlackFont1">by <a class="smallAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=search=AL~!Seibel,%20Peter&term=Seibel,%20Peter&ri=1&aspect=subtab14&menu=search&source=~!library">Seibel, Peter</a></a></td></tr><tr><td valign="top" width="90" bgcolor="#FFFFFF"><A href="javascript:viewlargeimage('9781430219484')"><img src="http://www.syndetics.com/index.aspx?type=xw12&isbn=9781430219484/SC.GIF&client=harrisp&upc=&oclc=" border="0" alt="View full image"></A></td><td width="100%"><table class="tableBackground" border="0" width="100%"><tr><td width="100%" colspan="2"><a class="normalBlackFont1">[New York] : Apress, c2009. c2009.</a></td></tr><tr><td><a class="boldBlackFont1" title="Subjects">Subjects</a></td><td><a class="smallAnchor" title="Computer programmers -- Interviews." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=search=SL~!Computer%20programmers%20--%20Interviews.&term=Computer%20programmers%20--%20Interviews.&aspect=subtab14&menu=search&source=~!library"><li>Computer programmers -- Interviews.</li></a></td></tr><tr><td> </td><td><a class="smallAnchor" title="Computer programming" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=search=SL~!Computer%20programming&term=Computer%20programming&aspect=subtab14&menu=search&source=~!library"><li>Computer programming</li></a></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">ISBN: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">9781430219484 (pbk.)</a></td></tr><tr><td valign="top"><a class="normalBlackFont1"><font style="background-color: #FFFF80">1430219483</font> (pbk.)</a></td></tr></table></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Description: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">xiii, 617 p. ; 23 cm.</a></td></tr></table></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Contents: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">Jamie Zawinski -- Brad Fitzpatrick -- Douglas Crockford -- Brendan Eich -- Joshua Bloch -- Joe Armstrong -- Simon Peyton Jones -- Peter Norvig -- Guy Steele -- Dan Ingalls -- L. Peter Deutsch -- Ken Thompson -- Fran Allen -- Bernie Cosell -- Donald Knuth.</a></td></tr></table></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Notes: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">"Interviews with some of the top programmers of our times"--Cover.</a></td></tr></table></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Requests: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">1</a></td></tr></table></td></tr><tr><td colspan="3" align="right" nowrap="true"> <input type="button" name="request" onClick="javascript:requestcopy('1170144', 'link=direct');" class="button" value="Request Item" alt="Request Item"></td></tr></table></td></tr></table></form><form name="details" action="http://catalog.hcpl.net/ipac20/ipac.jsp" method="GET"><table class="tableBackground" cellpadding="4" cellspacing="0" border="0" width="100%"><tr height="20"><td bgcolor="#008080" colspan="3" align="center"><a class="boldWhiteFont2">Copy/Holding information</a></td></tr><tr><td><table class="tableBackground" cellpadding="1" cellspacing="0" width="100%" border="0"><tr><td bgcolor="#EEEECC"><table class="tableBackground" cellpadding="3" cellspacing="0" width="100%" border="0"><tr height="20"><td bgcolor="#EEEECC"><a class="boldBlackFont1" title="Location">Location</a></td><td bgcolor="#EEEECC"><a class="boldBlackFont1" title="Collection">Collection</a></td><td bgcolor="#EEEECC"><a class="boldBlackFont1" title="Call No.">Call No.</a></td><td bgcolor="#EEEECC"><a class="boldBlackFont1" title="Status">Status</a></td><td bgcolor="#EEEECC"><a class="boldBlackFont1" title="Due Date">Due Date</a></td><td bgcolor="#EEEECC"> </td></tr><tr height="15"><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">Cy-Fair Library</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">Nonfiction</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">005.1 Sei</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">Checked out</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">03/06/2010</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr></table></td></tr></table><right><table class="tableBackground" cellspacing="0" border="0" cellpadding="3" width="100%"><tr align="right"><td align="left"></td><!--
|
410
|
+
****************************************************
|
411
|
+
Adds the return to source list link used in deduping
|
412
|
+
****************************************************
|
413
|
+
--><td nowrap="true" valign="bottom" align="left" width="100%"></td><!--
|
414
|
+
****************************************************
|
415
|
+
Build page numbers
|
416
|
+
****************************************************
|
417
|
+
--></tr></table></right></td></tr></table></form><br><form name="email_full" action="http://catalog.hcpl.net/ipac20/ipac.jsp" method="GET"><table class="tableBackground" border="0" align="center" cellpadding="2"><tr><td align="right"><a class="boldBlackFont1">Format:</a></td><td><input class="boldBlackFont1" type="radio" name="booklistformat" value="html" checked="true"><a class="normalBlackFont1">HTML</a><input class="boldBlackFont1" type="radio" name="booklistformat" value="plain"><a class="normalBlackFont1">Plain text</a><input class="boldBlackFont1" type="radio" name="booklistformat" value="delimited"><a class="normalBlackFont1">Delimited</a></td></tr><tr><td align="right"><a class="boldBlackFont1">Subject:</a></td><td align="left"><input class="textInputBox" type="text" size="40" name="subject" maxlength="40" value="Coders at work : reflections on the craft of programming / Peter Seibel."></td><td> </td></tr><tr><td align="right"><a class="boldBlackFont1">Email to:</a></td><td align="left"><input class="textInputBox" type="text" size="40" name="emailaddress" maxlength="100" value=""></td><td align="left"><input type="button" name="bla_send_full_bib" value="Send" class="button" onClick="javascript:sendFullBib();"></td></tr></table></form></td></tr></table><br xmlns:netlib="/com.dynix.util.ulURLAPI" xmlns:stringex="/com.dynix.util.StringEx" xmlns:termhighlight="/com.dynix.util.TermHighlight" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" xmlns:URLDecoder="/java.net.URLDecoder"><script xmlns:netlib="/com.dynix.util.ulURLAPI" xmlns:stringex="/com.dynix.util.StringEx" xmlns:termhighlight="/com.dynix.util.TermHighlight" xmlns:URLEncoder="/com.dynix.util.IpacURLEncoder" xmlns:URLDecoder="/java.net.URLDecoder" language="javascript">
|
418
|
+
<!--
|
419
|
+
setReturnFlag=0;
|
420
|
+
var da = (document.all) ? 1 : 0;
|
421
|
+
var pr = (window.print) ? 1 : 0;
|
422
|
+
var mac = (navigator.userAgent.indexOf("Mac") != -1);
|
423
|
+
var bookbagsize = 0;
|
424
|
+
function printPage()
|
425
|
+
{
|
426
|
+
if (pr)
|
427
|
+
{
|
428
|
+
// NS4, IE5
|
429
|
+
window.print();
|
430
|
+
}
|
431
|
+
else if (da && !mac)
|
432
|
+
{
|
433
|
+
// IE4 (Windows)
|
434
|
+
vbPrintPage();
|
435
|
+
}
|
436
|
+
else
|
437
|
+
{
|
438
|
+
// other browsers
|
439
|
+
alert("Sorry, your browser doesn't support this feature. Please press Control-P on a PC or Command-P on a Mac to print this page.");
|
440
|
+
}
|
441
|
+
}
|
442
|
+
if (da && !pr && !mac) with (document)
|
443
|
+
{
|
444
|
+
writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
|
445
|
+
writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
|
446
|
+
writeln('Sub window_onunload');
|
447
|
+
writeln(' On Error Resume Next');
|
448
|
+
writeln(' Set WB = nothing');
|
449
|
+
writeln('End Sub');
|
450
|
+
writeln('Sub vbPrintPage');
|
451
|
+
writeln(' OLECMDID_PRINT = 6');
|
452
|
+
writeln(' OLECMDEXECOPT_DONTPROMPTUSER = 2');
|
453
|
+
writeln(' OLECMDEXECOPT_PROMPTUSER = 1');
|
454
|
+
writeln(' On Error Resume Next');
|
455
|
+
writeln(' WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
|
456
|
+
writeln('End Sub');
|
457
|
+
writeln('<' + '/SCRIPT>');
|
458
|
+
}
|
459
|
+
function viewlargeimage(key)
|
460
|
+
{
|
461
|
+
|
462
|
+
window.open("http://www.syndetics.com/index.aspx?type=xw12&isbn=9781430219484/LC.GIF&client=harrisp&upc=&oclc=","popup","width=360,height=450,resize=yes,scrollbars=yes,dependent=yes,alwaysRaised=yes");
|
463
|
+
}
|
464
|
+
function nl(bookid)
|
465
|
+
{
|
466
|
+
var newid="";
|
467
|
+
for(var i=0;i < bookid.length;++i)
|
468
|
+
{
|
469
|
+
var c=bookid.charAt(i)
|
470
|
+
if(c!=" ") { newid += c; }
|
471
|
+
}
|
472
|
+
src="http://catalog.hcpl.net/ipac20/ipac.jsp/cgi-bin/nl.exe?bookid="+newid;
|
473
|
+
popupWin = window.open(src, "nl", "WIDTH=480,HEIGHT=240,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
|
474
|
+
}
|
475
|
+
var booklist = new Array("");
|
476
|
+
|
477
|
+
if(myarr == null)
|
478
|
+
{
|
479
|
+
count = 0;
|
480
|
+
myarr = new Array('1');
|
481
|
+
for(x = 0;x < myarr.length;x++)
|
482
|
+
{
|
483
|
+
myarr[x] = null;
|
484
|
+
}
|
485
|
+
|
486
|
+
if(1 > 0)
|
487
|
+
{
|
488
|
+
|
489
|
+
bkey='bkey'+1170144;
|
490
|
+
|
491
|
+
|
492
|
+
if(false == true)
|
493
|
+
{
|
494
|
+
myarr[count]=bkey+'ikey'+'7541922';
|
495
|
+
count++;
|
496
|
+
}
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
}
|
504
|
+
|
505
|
+
if(false == true)
|
506
|
+
{
|
507
|
+
myarr[count] = 'bkey'+1170144;
|
508
|
+
count++;
|
509
|
+
}
|
510
|
+
|
511
|
+
}
|
512
|
+
|
513
|
+
|
514
|
+
function searchinternet(query)
|
515
|
+
{
|
516
|
+
window.open("http://www.google.com/search?q=" + query,"popup","resize=yes,scrollbars=yes,dependent=yes,alwaysRaised=yes");
|
517
|
+
}
|
518
|
+
function AddCopy(bkey,ikey,pos)
|
519
|
+
{
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
var i = 0;
|
549
|
+
var found = false;
|
550
|
+
|
551
|
+
keyToSearch = bkey+ikey;
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
var indexfound = 0;
|
556
|
+
|
557
|
+
if(myarr.length > 0)
|
558
|
+
{
|
559
|
+
for(i = 0; i <myarr.length; i++)
|
560
|
+
{
|
561
|
+
|
562
|
+
s = myarr[i];
|
563
|
+
if(s != null)
|
564
|
+
{
|
565
|
+
keyToSearch = bkey+ikey;
|
566
|
+
if(s.indexOf(keyToSearch) != -1)
|
567
|
+
{
|
568
|
+
found = true;
|
569
|
+
indexfound = i;
|
570
|
+
break;
|
571
|
+
}
|
572
|
+
|
573
|
+
}
|
574
|
+
}
|
575
|
+
|
576
|
+
}
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
|
581
|
+
|
582
|
+
if(found == false )
|
583
|
+
{
|
584
|
+
|
585
|
+
if (bookbagsize < 100)
|
586
|
+
{
|
587
|
+
|
588
|
+
myarr[count] = keyToSearch;
|
589
|
+
|
590
|
+
count ++;
|
591
|
+
now = new Date();
|
592
|
+
|
593
|
+
myImage = new Image();
|
594
|
+
|
595
|
+
|
596
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&addbl=' + keyToSearch + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
597
|
+
bookbagsize++;
|
598
|
+
changeBookbagText('My List - ' + bookbagsize);
|
599
|
+
changeRequestLink('Remove Copy from MyList',pos);
|
600
|
+
}
|
601
|
+
|
602
|
+
|
603
|
+
}
|
604
|
+
else
|
605
|
+
{
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
if(found == true)
|
610
|
+
{
|
611
|
+
myarr[indexfound] = null;
|
612
|
+
|
613
|
+
}
|
614
|
+
|
615
|
+
now = new Date();
|
616
|
+
myImage = new Image();
|
617
|
+
|
618
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&removebl=' + keyToSearch + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
619
|
+
|
620
|
+
|
621
|
+
bookbagsize--;
|
622
|
+
changeBookbagText('My List - ' + bookbagsize);
|
623
|
+
changeRequestLink('Add Copy to MyList',pos);
|
624
|
+
|
625
|
+
|
626
|
+
}
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
if (bookbagsize >= 100)
|
634
|
+
{
|
635
|
+
|
636
|
+
url = window.location.toString();
|
637
|
+
|
638
|
+
if(url.indexOf("#focus") != -1)
|
639
|
+
{
|
640
|
+
index = url.indexOf("#focus");
|
641
|
+
url = url.substring(0,index);
|
642
|
+
|
643
|
+
}
|
644
|
+
if(myarr != null)
|
645
|
+
{
|
646
|
+
i = 0;
|
647
|
+
|
648
|
+
for(i = 0; i <count;i++)
|
649
|
+
{
|
650
|
+
if(myarr[i] != null)
|
651
|
+
url+='&addkeys=' + myarr[i];
|
652
|
+
}
|
653
|
+
}
|
654
|
+
|
655
|
+
url += '&maxmylist='+'100';
|
656
|
+
|
657
|
+
document.buildLink.action = unescape(url);
|
658
|
+
document.buildLink.submit();
|
659
|
+
|
660
|
+
|
661
|
+
}
|
662
|
+
|
663
|
+
}
|
664
|
+
|
665
|
+
function changeRequestLink(text,pos)
|
666
|
+
{
|
667
|
+
|
668
|
+
str = 'requestlink'+pos;
|
669
|
+
|
670
|
+
if (document.getElementById)
|
671
|
+
{
|
672
|
+
|
673
|
+
|
674
|
+
document.getElementById(str).innerHTML=text;
|
675
|
+
|
676
|
+
}
|
677
|
+
else if (document.layers)
|
678
|
+
{
|
679
|
+
|
680
|
+
document.anchors[str].text=text;
|
681
|
+
}
|
682
|
+
else
|
683
|
+
{
|
684
|
+
|
685
|
+
|
686
|
+
bookbag.innerHTML=text;
|
687
|
+
}
|
688
|
+
}
|
689
|
+
|
690
|
+
function updatebooklist(myObj)
|
691
|
+
{
|
692
|
+
key = myObj.name;
|
693
|
+
|
694
|
+
var found = false;
|
695
|
+
|
696
|
+
keyToSearch = key;
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
var indexfound = 0;
|
701
|
+
|
702
|
+
if(myarr != null)
|
703
|
+
{
|
704
|
+
|
705
|
+
if(myarr.length > 0)
|
706
|
+
{
|
707
|
+
for(i = 0; i <myarr.length; i++)
|
708
|
+
{
|
709
|
+
|
710
|
+
s = myarr[i];
|
711
|
+
if(s != null)
|
712
|
+
{
|
713
|
+
|
714
|
+
if(s.indexOf(keyToSearch) != -1)
|
715
|
+
{
|
716
|
+
found = true;
|
717
|
+
indexfound = i;
|
718
|
+
break;
|
719
|
+
}
|
720
|
+
|
721
|
+
}
|
722
|
+
}
|
723
|
+
}
|
724
|
+
|
725
|
+
}
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
if (myObj.value == 'Add to my list')
|
731
|
+
{
|
732
|
+
if (bookbagsize < 100)
|
733
|
+
{
|
734
|
+
|
735
|
+
if(myarr == null)
|
736
|
+
{
|
737
|
+
myarr = new Array(1);
|
738
|
+
|
739
|
+
}
|
740
|
+
myarr[count] = key;
|
741
|
+
count++;
|
742
|
+
|
743
|
+
now = new Date();
|
744
|
+
|
745
|
+
myImage = new Image();
|
746
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&addbl=' + key + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
747
|
+
document.images[key].src=myImage.src;
|
748
|
+
myImage = new Image();
|
749
|
+
myImage.src = '/hipres/images/spacer.gif';
|
750
|
+
document.images[key].src=myImage.src;
|
751
|
+
|
752
|
+
document.images[key].alt='Remove from my list';
|
753
|
+
myObj.value=' Remove ';
|
754
|
+
/* my comment */
|
755
|
+
|
756
|
+
myObj.style.color='#FFFFFF';
|
757
|
+
myObj.style.background='#3C7A49';
|
758
|
+
myObj.style.border.left='2px solid #4AA65B';
|
759
|
+
myObj.style.border.top='2px solid #4AA65B';
|
760
|
+
myObj.style.border.right='2px solid #1B5927';
|
761
|
+
myObj.style.border.bottom='2px solid #1B5927';
|
762
|
+
bookbagsize++;
|
763
|
+
changeBookbagText('My List - ' + bookbagsize);
|
764
|
+
|
765
|
+
}
|
766
|
+
|
767
|
+
// now save the value in hidden element
|
768
|
+
|
769
|
+
|
770
|
+
}
|
771
|
+
else
|
772
|
+
{
|
773
|
+
|
774
|
+
if(found == true)
|
775
|
+
{
|
776
|
+
|
777
|
+
myarr[indexfound] = null;
|
778
|
+
}
|
779
|
+
|
780
|
+
now = new Date();
|
781
|
+
myImage = new Image();
|
782
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&removebl=' + key + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
783
|
+
document.images[key].src=myImage.src;
|
784
|
+
myImage = new Image();
|
785
|
+
myImage.src = '/hipres/images/spacer.gif';
|
786
|
+
document.images[key].src=myImage.src;
|
787
|
+
document.images[key].alt='-';
|
788
|
+
myObj.value='Add to my list';
|
789
|
+
|
790
|
+
myObj.style.color='#000066';
|
791
|
+
myObj.style.background='#cccc99';
|
792
|
+
myObj.style.border.left='2px solid #aaaa77';
|
793
|
+
myObj.style.border.top='2px solid #aaaa77';
|
794
|
+
myObj.style.border.right='2px solid #003366';
|
795
|
+
myObj.style.border.bottom='2px solid #003366';
|
796
|
+
bookbagsize--;
|
797
|
+
changeBookbagText("My List - " + bookbagsize);
|
798
|
+
|
799
|
+
|
800
|
+
}
|
801
|
+
|
802
|
+
if (bookbagsize >= 100)
|
803
|
+
{
|
804
|
+
url = window.location.toString();
|
805
|
+
|
806
|
+
if(url.indexOf("#focus") != -1)
|
807
|
+
{
|
808
|
+
index = url.indexOf("#focus");
|
809
|
+
url = url.substring(0,index);
|
810
|
+
|
811
|
+
}
|
812
|
+
if(myarr != null)
|
813
|
+
{
|
814
|
+
i = 0;
|
815
|
+
|
816
|
+
for(i = 0; i <count;i++)
|
817
|
+
{
|
818
|
+
if(myarr[i] != null)
|
819
|
+
url+='&addkeys=' + myarr[i];
|
820
|
+
}
|
821
|
+
|
822
|
+
}
|
823
|
+
|
824
|
+
url += '&maxmylist='+'100';
|
825
|
+
|
826
|
+
document.buildLink.action = unescape(url);
|
827
|
+
document.buildLink.submit();
|
828
|
+
|
829
|
+
|
830
|
+
}
|
831
|
+
|
832
|
+
}
|
833
|
+
function bklist(key)
|
834
|
+
{
|
835
|
+
/* Do nothing here! */
|
836
|
+
}
|
837
|
+
function requestcopy(key, uri)
|
838
|
+
{
|
839
|
+
now = new Date();
|
840
|
+
source = '~!library';
|
841
|
+
location = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&bibkey=' + key + '&aspect=subtab14&lang=eng&menu=request&submenu=none&source=' + source + '&uri=' + uri + '&time=' + now.getTime();
|
842
|
+
}
|
843
|
+
|
844
|
+
function requestILL(illurl)
|
845
|
+
{
|
846
|
+
source = '~!library';
|
847
|
+
location = illurl;
|
848
|
+
}
|
849
|
+
|
850
|
+
function sendFullBib()
|
851
|
+
{
|
852
|
+
if(window.encodeURI)
|
853
|
+
{
|
854
|
+
subject = encodeURI(document.email_full.subject.value);
|
855
|
+
}
|
856
|
+
else
|
857
|
+
{
|
858
|
+
subject = escape(document.email_full.subject.value);
|
859
|
+
}
|
860
|
+
emailaddress = document.email_full.emailaddress.value;
|
861
|
+
format = "html";
|
862
|
+
for (i = 0; i < document.email_full.booklistformat.length; i++)
|
863
|
+
{
|
864
|
+
if (document.email_full.booklistformat[i].checked)
|
865
|
+
{
|
866
|
+
format = document.email_full.booklistformat[i].value;
|
867
|
+
break;
|
868
|
+
}
|
869
|
+
}
|
870
|
+
postmaster = "Harris County Public Library";
|
871
|
+
postmaster = encodeURI(postmaster);
|
872
|
+
|
873
|
+
fullmarc = "false";
|
874
|
+
|
875
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=full%3D3100001%7E%211170144%7E%210&booklistformat=" + format + "&ri=1&bla_send_full_bib=true&aspect=subtab14&menu=search&view=items&page=0&group=0&term=1430219483&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&postmaster=" + postmaster + "&subject=" + subject + "&emailaddress=" + emailaddress + "&fullmarc=" + fullmarc;
|
876
|
+
}
|
877
|
+
function sendFullBibRR()
|
878
|
+
{
|
879
|
+
|
880
|
+
subject = document.rr_full.subject.value;
|
881
|
+
label1 = "";
|
882
|
+
label2 = "";
|
883
|
+
label3 = "";
|
884
|
+
data1 = "";
|
885
|
+
data2 = "";
|
886
|
+
data3 = "";
|
887
|
+
|
888
|
+
if(document.rr_full.label1)
|
889
|
+
{
|
890
|
+
label1 = encodeURI(document.rr_full.label1.value);
|
891
|
+
}
|
892
|
+
if(document.rr_full.label2)
|
893
|
+
{
|
894
|
+
label2 = encodeURI(document.rr_full.label2.value);
|
895
|
+
}
|
896
|
+
if(document.rr_full.label3)
|
897
|
+
{
|
898
|
+
label3 = encodeURI(document.rr_full.label3.value);
|
899
|
+
}
|
900
|
+
|
901
|
+
if(document.rr_full.rr_data1)
|
902
|
+
{
|
903
|
+
data1 = encodeURI(document.rr_full.rr_data1.value);
|
904
|
+
}
|
905
|
+
if(document.rr_full.rr_data2)
|
906
|
+
{
|
907
|
+
data2 = encodeURI(document.rr_full.rr_data2.value);
|
908
|
+
}
|
909
|
+
if(document.rr_full.rr_data3)
|
910
|
+
{
|
911
|
+
data3 = encodeURI(document.rr_full.rr_data3.value);
|
912
|
+
}
|
913
|
+
|
914
|
+
emailaddress_rr = "";
|
915
|
+
postmaster = "Harris County Public Library";
|
916
|
+
postmaster = encodeURI(postmaster);
|
917
|
+
|
918
|
+
fullmarc = "false";
|
919
|
+
|
920
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&uri=full%3D3100001%7E%211170144%7E%210&booklistformat=html&ri=1&bla_send_full_bib_rr=true&aspect=subtab14&menu=search&view=items&page=0&group=0&term=1430219483&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&postmaster=" + postmaster + "&subject=" + subject + "&emailaddress=" + emailaddress_rr + "&fullmarc=" + fullmarc + "&rr_label1=" + label1 + "&rr_label2=" + label2 + "&rr_label3=" + label3 + "&rr_data1=" + data1 + "&rr_data2=" + data2 + "&rr_data3=" + data3;
|
921
|
+
|
922
|
+
}
|
923
|
+
function analytic_link()
|
924
|
+
{
|
925
|
+
link = encodeURI(document.full.analytic);
|
926
|
+
if(link != null)
|
927
|
+
{
|
928
|
+
index = link.selectedIndex;
|
929
|
+
if (index != null && index >= 0)
|
930
|
+
{
|
931
|
+
destination = link.options[index].value;
|
932
|
+
if (destination)
|
933
|
+
{
|
934
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&ri=1&aspect=subtab14&menu=search&source=~!library&uri=" + destination;
|
935
|
+
}
|
936
|
+
}
|
937
|
+
else
|
938
|
+
{
|
939
|
+
alert("Please select an analytic first");
|
940
|
+
}
|
941
|
+
}
|
942
|
+
}
|
943
|
+
function hook_link()
|
944
|
+
{
|
945
|
+
link = document.full.hook;
|
946
|
+
if(link!=null)
|
947
|
+
{
|
948
|
+
index = link.selectedIndex;
|
949
|
+
|
950
|
+
if (index != null && index >= 0)
|
951
|
+
{
|
952
|
+
destination = link.options[index].value;
|
953
|
+
if (destination)
|
954
|
+
{
|
955
|
+
location = destination
|
956
|
+
}
|
957
|
+
}
|
958
|
+
else
|
959
|
+
{
|
960
|
+
alert("Please select a library first");
|
961
|
+
}
|
962
|
+
}
|
963
|
+
}
|
964
|
+
function openWindow(URL)
|
965
|
+
{
|
966
|
+
window.open(URL, "ExternalLink", "");
|
967
|
+
}
|
968
|
+
//-->
|
969
|
+
</script><center><table class="tableBackground" valign="bottom" width="100%"><tr><td align="center"><a class="normalBlackFont1">Email suggestions to the following address: <a class="normalBlackFont1" href="mailto:ipac@hcpl.net"><i>ipac@hcpl.net</i></a><a class="normalBlackFont1"> .</a></a></td></tr><tr><td align="center"> </td></tr><br></table></center><form name="buildLink" action="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1C667UJ250162.112733&profile=webcat&menu=mylist&listkey=ipac_my_list" method="post"><input type="hidden" name="returnURL" value=""></form></body><!-- See Microsoft article Q222064 for reason why there are two head tags --><head>
|
970
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
971
|
+
<META HTTP-EQUIV="Expires" CONTENT="0"><title>Harris County Public Library Online Catalog</title><link title="bannerstyles" href="/hipres/css/ipac.css" type="text/css" rel="stylesheet"></head></html>
|