HoustonLibrarySearch 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/.gitignore
ADDED
data/Rakefile
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
|
+
require 'rake/clean'
|
4
|
+
|
5
|
+
CLOBBER.include("pkg")
|
6
|
+
CLOBBER.include("*.gemspec")
|
3
7
|
|
4
8
|
begin
|
5
9
|
require 'jeweler'
|
@@ -10,11 +14,20 @@ begin
|
|
10
14
|
gemspec.email = "nmorris@nelsonmorris.net"
|
11
15
|
gemspec.homepage = "http://github.com/xeqi/HoustonLibrarySearch"
|
12
16
|
gemspec.authors = ["Nelson Morris"]
|
13
|
-
gemspec.
|
14
|
-
gemspec.add_dependency '
|
15
|
-
gemspec.
|
17
|
+
gemspec.add_dependency 'curb', ">= 0.6.6.0"
|
18
|
+
gemspec.add_dependency 'nokogiri', ">= 1.4.1"
|
19
|
+
gemspec.add_development_dependency 'rspec', ">= 1.3.0"
|
16
20
|
end
|
17
21
|
Jeweler::GemcutterTasks.new
|
18
22
|
rescue LoadError
|
19
23
|
puts "Jeweler not available. Install it with: sudo gem install jeweler"
|
20
24
|
end
|
25
|
+
|
26
|
+
require 'spec/rake/spectask'
|
27
|
+
|
28
|
+
desc "Run all examples"
|
29
|
+
Spec::Rake::SpecTask.new('spec') do |t|
|
30
|
+
t.spec_files = FileList['spec/**/*.rb']
|
31
|
+
end
|
32
|
+
|
33
|
+
task :default => [:spec]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
data/lib/HoustonLibrarySearch.rb
CHANGED
@@ -1,25 +1,6 @@
|
|
1
|
-
begin
|
2
|
-
# Try to require the preresolved locked set of gems.
|
3
|
-
require File.expand_path('../.bundle/environment', __FILE__)
|
4
|
-
rescue LoadError
|
5
|
-
# Fall back on doing an unlocked resolve at runtime.
|
6
|
-
require "rubygems"
|
7
|
-
require "bundler"
|
8
|
-
Bundler.setup
|
9
|
-
end
|
10
|
-
|
11
1
|
require "curb"
|
12
2
|
require "nokogiri"
|
13
|
-
require File.join(File.expand_path(File.dirname(__FILE__)), "listing.rb")
|
3
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), "HoustonLibrarySearch/listing.rb")
|
4
|
+
require File.join(File.expand_path(File.dirname(__FILE__)), "HoustonLibrarySearch/isbn.rb")
|
14
5
|
|
15
6
|
Dir[File.join(File.expand_path(File.dirname(__FILE__)), "plugins/*.rb")].each {|file| require file }
|
16
|
-
|
17
|
-
class HoustonLibrarySearch
|
18
|
-
def self.search(isbn)
|
19
|
-
hash = {}
|
20
|
-
[HPL, HCPL].collect do |x|
|
21
|
-
hash.merge!({x.name => x.listings(isbn)})
|
22
|
-
end
|
23
|
-
hash
|
24
|
-
end
|
25
|
-
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module HoustonLibrarySearch
|
2
|
+
class ISBN
|
3
|
+
attr_accessor :plugins
|
4
|
+
|
5
|
+
def initialize(multifactory = lambda { return Curl::Multi.new}, easyfactory = lambda {|url, &blk| Curl::Easy.new(url,&blk); })
|
6
|
+
@plugins = [HPL,HCPL]
|
7
|
+
@multifactory = multifactory
|
8
|
+
@easyfactory = easyfactory
|
9
|
+
end
|
10
|
+
|
11
|
+
def search(isbn)
|
12
|
+
results = {}
|
13
|
+
unless @plugins.empty?
|
14
|
+
multi = @multifactory.call
|
15
|
+
@plugins.each do |library|
|
16
|
+
c = @easyfactory.call(library.url(isbn)) do |curl|
|
17
|
+
curl.on_success do |data|
|
18
|
+
#TODO Handle parse errors
|
19
|
+
#TODO Add mechanism for multiple page responses
|
20
|
+
results.merge!({library.name => library.parse(data.body_str)})
|
21
|
+
end
|
22
|
+
end
|
23
|
+
multi.add(c)
|
24
|
+
end
|
25
|
+
|
26
|
+
multi.perform do
|
27
|
+
#TODO Include a timeout
|
28
|
+
end
|
29
|
+
end
|
30
|
+
results
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module HoustonLibrarySearch
|
2
|
+
class Listing
|
3
|
+
attr_reader :location, :call_number, :status, :due_date
|
4
|
+
|
5
|
+
def initialize(location, call_number, status, due_date)
|
6
|
+
@location = location
|
7
|
+
@call_number = call_number
|
8
|
+
@status = status
|
9
|
+
@due_date = normalize(due_date)
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
def normalize(location)
|
14
|
+
location.gsub(/-/,'/')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/lib/plugins/HCPL.rb
CHANGED
@@ -1,18 +1,22 @@
|
|
1
|
-
require 'curb'
|
2
|
-
require 'nokogiri'
|
3
1
|
|
4
2
|
class HCPL
|
5
|
-
def self.
|
6
|
-
|
7
|
-
|
3
|
+
def self.url(isbn)
|
4
|
+
"http://catalog.hcpl.net/ipac20/ipac.jsp?index=ISBNEXH&term=#{isbn}"
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.parse(html)
|
8
|
+
xml = Nokogiri::XML.parse(html)
|
8
9
|
results = xml.css(".tableBackground .tableBackground .tableBackground .tableBackground .tableBackground .tableBackground").collect do |table|
|
9
10
|
trs = table.css("tr")
|
10
|
-
#
|
11
|
+
# TODO handle muliple book returns
|
12
|
+
# Currently mask multiple books as no results
|
11
13
|
# see isbn 0887307280
|
12
14
|
if(trs[0].css("td")[0].css("a").text =~ /Location/)
|
13
15
|
trs[1, trs.length-1].collect do |tr|
|
14
16
|
tds = tr.css("td")
|
15
|
-
|
17
|
+
due_date = ''
|
18
|
+
due_date = tds[4].text if tds[4]
|
19
|
+
HoustonLibrarySearch::Listing.new(tds[0].text, tds[2].text, tds[3].text, due_date)
|
16
20
|
end
|
17
21
|
end
|
18
22
|
end
|
data/lib/plugins/HPL.rb
CHANGED
@@ -1,22 +1,25 @@
|
|
1
|
-
require 'curb'
|
2
|
-
require 'nokogiri'
|
3
|
-
|
4
1
|
class HPL
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
|
3
|
+
def self.url(isbn)
|
4
|
+
"http://catalog.houstonlibrary.org/search~S0/?searchtype=i&searcharg=#{isbn}"
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.parse(html)
|
8
|
+
xml = Nokogiri::XML.parse(html)
|
9
|
+
xml.css('.bibItemsEntry').collect do |table|
|
9
10
|
due = ''
|
10
|
-
row =
|
11
|
+
row = table.css('td')
|
11
12
|
status = row[3].text.strip
|
12
13
|
if status =~ /DUE/
|
13
14
|
due = status[4, 8]
|
14
15
|
status = "Checked out"
|
15
16
|
end
|
16
|
-
Listing.new(row[0].text.strip, row[2].text.strip, status.capitalize, due)
|
17
|
+
HoustonLibrarySearch::Listing.new(row[0].text.strip, row[2].text.strip, status.capitalize, due)
|
17
18
|
end
|
18
19
|
end
|
20
|
+
|
19
21
|
def self.name
|
20
22
|
"Houston Public Library"
|
21
23
|
end
|
24
|
+
|
22
25
|
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'spec/spec_helper'
|
2
|
+
|
3
|
+
describe HoustonLibrarySearch::ISBN do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
@multifactory = mock('multifactory')
|
7
|
+
@easyfactory = mock('easyfactory')
|
8
|
+
@isbn = HoustonLibrarySearch::ISBN.new(@multifactory, @easyfactory)
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should have default plugins" do
|
12
|
+
@isbn.plugins.should include(HPL,HCPL)
|
13
|
+
end
|
14
|
+
|
15
|
+
it "should allow changing plugins" do
|
16
|
+
@isbn.plugins = []
|
17
|
+
@isbn.plugins.should be_empty
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should not use the factories if plugins is empty" do
|
21
|
+
@isbn.plugins = []
|
22
|
+
@isbn.search('').should be_empty
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should use plugins to scrape data" do
|
26
|
+
data = mock('data')
|
27
|
+
html = mock('html')
|
28
|
+
name = mock('name')
|
29
|
+
isbn = mock('isbn')
|
30
|
+
url = mock('url')
|
31
|
+
plugin = mock('plugin')
|
32
|
+
results = mock('results')
|
33
|
+
multi = mock('multi')
|
34
|
+
easy_yield = mock('easy_yield')
|
35
|
+
easy = mock('easy')
|
36
|
+
|
37
|
+
plugin.should_receive(:url).with(isbn).once.and_return(url)
|
38
|
+
plugin.should_receive(:parse).with(html).once.and_return(results)
|
39
|
+
plugin.should_receive(:name).once.and_return(name)
|
40
|
+
@multifactory.should_receive(:call).once.and_return(multi)
|
41
|
+
@easyfactory.should_receive(:call).once.and_yield(easy_yield).and_return(easy)
|
42
|
+
easy_yield.should_receive(:on_success).once.and_yield(data)
|
43
|
+
data.should_receive(:body_str).once.and_return(html)
|
44
|
+
multi.should_receive(:add).with(easy).once
|
45
|
+
multi.should_receive(:perform).once
|
46
|
+
|
47
|
+
@isbn.plugins = [plugin]
|
48
|
+
@isbn.search(isbn).should == {name => results}
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'spec/spec_helper'
|
2
|
+
|
3
|
+
describe HoustonLibrarySearch::Listing do
|
4
|
+
|
5
|
+
before(:each) do
|
6
|
+
@listing = HoustonLibrarySearch::Listing.new("location", "call number", "status", "10-9-09")
|
7
|
+
end
|
8
|
+
|
9
|
+
it "should have a status" do
|
10
|
+
@listing.status.should == "status"
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should normalize due date" do
|
14
|
+
@listing.due_date.should == "10/9/09"
|
15
|
+
end
|
16
|
+
|
17
|
+
it "should have a location" do
|
18
|
+
@listing.location.should == "location"
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should have a call number" do
|
22
|
+
@listing.call_number.should == "call number"
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
@@ -0,0 +1,1070 @@
|
|
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=1X6733E525622.241342&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="1X6733E525622.241342"><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%3D1X6733E525622.241342%26profile%3Dwebcat%26auth%3Dtrue%26submenu%3Dsubtab14%26date%3D1267334525950','')"><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=1X6733E525622.241342&profile=webcat&menu=account&ts=1267334525950">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=1X6733E525622.241342&profile=webcat&menu=search&submenu=subtab13&ts=1267334525950">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=1X6733E525622.241342&profile=webcat&menu=search&submenu=subtab14&ts=1267334525950">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=1X6733E525622.241342&profile=webcat&menu=search&submenu=subtab15&ts=1267334525950">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=1X6733E525622.241342&profile=webcat&menu=search&submenu=history&ts=1267334525950">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="1X6733E525622.241342"><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="006172081X"></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=1X6733E525622.241342&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><td> </td><td> </td><td><a class="smallAnchor" title="Author Notes & Sketches" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=full%3D3100001%7E%211163148%7E%210&ri=1&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&view=AUTHOR_NOTES&aspect=subtab14&menu=search&source=~!library&enhancedcontentdata=true%0A%09%09">Author Notes & Sketches</a></td></tr><tr><td> </td><td> </td><td><a class="smallAnchor" title="Fiction & Biography" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=full%3D3100001%7E%211163148%7E%210&ri=1&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&view=FICTION&aspect=subtab14&menu=search&source=~!library&enhancedcontentdata=true%0A%09%09">Fiction & Biography</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=1X6733E525622.241342&profile=webcat&uri=full%3D3100001%7E%211163148%7E%210&ri=1&term=006172081X&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=9780061720819/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="Smith, L. J." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uindex=AH&term=Smith,%20L.%20J.&aspect=subtab14&menu=search&source=~!library">Smith, L. J.</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="Smith, L. J." href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uindex=AL&term=Smith,%20L.%20J.&aspect=subtab14&menu=search&source=~!library"> Smith, L. J.</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="SHADOW SOULS" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uindex=TL&term=SHADOW%20SOULS&aspect=subtab14&menu=search&source=~!library"> SHADOW SOULS...
|
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/9780061720819');" 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=9780061720819');" 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%3D1X6733E525622.241342%26profile%3Dwebcat%26uri%3Dfull%253D3100001%257E%25211163148%257E%25210%26fullmarc%3Dtrue%26aspect%3Dsubtab14%26menu%3Dsearch%26source%3D%7E%21library%26view%3Ditems%26ri%3D1%26staffonly%3D%26term%3D006172081X%26index%3DISBNEXH%26uindex%3D%26aspect%3Dsubtab14%26menu%3Dsearch%26ri%3D1','http%3A%2F%2Fcatalog.hcpl.net%2Fipac20%2Fipac.jsp%3Fsession%3D1X6733E525622.241342%26profile%3Dwebcat%26uri%3Dfull%253D3100001%257E%25211163148%257E%25210%26fullmarc%3Dtrue%26aspect%3Dsubtab14%26menu%3Dsearch%26source%3D%7E%21library%26view%3Ditems%26ri%3D1%26staffonly%3D%26term%3D006172081X%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="SHADOW SOULS" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=search=TL~!SHADOW%20SOULS&term=SHADOW%20SOULS&aspect=subtab14&menu=search&source=~!library">SHADOW SOULS</a></td></tr><tr><td colspan="2"><a class="normalBlackFont1">by <a class="smallAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=search=AL~!Smith,%20L.%20J.&term=Smith,%20L.%20J.&ri=1&aspect=subtab14&menu=search&source=~!library">Smith, L. J.</a></a></td></tr><tr><td valign="top" width="90" bgcolor="#FFFFFF"><A href="javascript:viewlargeimage('9780061720819')"><img src="http://www.syndetics.com/index.aspx?type=xw12&isbn=9780061720819/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">Harper Collins ; 2010 2010</a></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Series (other): </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">Vampire Diaries : the Return</a></td></tr></table></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">9780061720819 ;</a></td></tr></table></td></tr><tr><td width="1%" nowrap="true" valign="top"><a class="normalBlackFont1">Audience: </a></td><td valign="top" width="99%"><table class="tableBackground" cellpadding="0" cellspacing="0"><tr><td valign="top"><a class="normalBlackFont1">12-19</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">27</a></td></tr></table></td></tr><tr><td colspan="3" align="right" nowrap="true"> <input type="button" name="request" onClick="javascript:requestcopy('1163148', '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="Status">Status</a></td><td bgcolor="#EEEECC"> </td></tr><tr height="15"><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">HCPL Aldine</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr><tr height="15"><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">HCPL Atascocita</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="#FCFCDC" width="1%"></td></tr><tr height="15"><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">HCPL Baldwin Boettcher</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr><tr height="15"><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">HCPL Bear Creek Tyra</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="#FCFCDC" width="1%"></td></tr><tr height="15"><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">HCPL Crosby</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr><tr height="15"><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">HCPL Bush Cypress Creek</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="#FCFCDC" width="1%"></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">On Order</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr><tr height="15"><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">HCPL Fairbanks Branch</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="#FCFCDC" width="1%"></td></tr><tr height="15"><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">HCPL Freeman</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td bgcolor="white"><a class="normalBlackFont1" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="white" width="1%"></td></tr><tr height="15"><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">HCPL Galena Park</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td bgcolor="#FCFCDC"><a class="normalBlackFont1" bgcolor="#FCFCDC" title="Item Information">On Order</a></td><td nowrap="true" bgcolor="#FCFCDC" 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
|
+
--><td nowrap="true"><a class="normalBlackFont1">More Results:</a></td><td><a class="boldRedFont1">1</a></td><td><a class="smallAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&source=~!library&page=2&group=0&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&uri=full%3D3100001%7E%211163148%7E%210&view=items&staffonly=">2</a></td><td><a class="smallAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&source=~!library&page=3&group=0&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&uri=full%3D3100001%7E%211163148%7E%210&view=items&staffonly=">3</a></td><td><a class="smallAnchor" href="http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&page=2&group=0&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&uri=full%3D3100001%7E%211163148%7E%210&source=~!library&&view=items&staffonly=">Next</a></td></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="SHADOW SOULS"></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=9780061720819/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('10');
|
481
|
+
for(x = 0;x < myarr.length;x++)
|
482
|
+
{
|
483
|
+
myarr[x] = null;
|
484
|
+
}
|
485
|
+
|
486
|
+
if(10 > 0)
|
487
|
+
{
|
488
|
+
|
489
|
+
bkey='bkey'+1163148;
|
490
|
+
|
491
|
+
|
492
|
+
if(false == true)
|
493
|
+
{
|
494
|
+
myarr[count]=bkey+'ikey'+'7506713';
|
495
|
+
count++;
|
496
|
+
}
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
if(false == true)
|
504
|
+
{
|
505
|
+
myarr[count]=bkey+'ikey'+'7506714';
|
506
|
+
count++;
|
507
|
+
}
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
|
514
|
+
if(false == true)
|
515
|
+
{
|
516
|
+
myarr[count]=bkey+'ikey'+'7506715';
|
517
|
+
count++;
|
518
|
+
}
|
519
|
+
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
if(false == true)
|
526
|
+
{
|
527
|
+
myarr[count]=bkey+'ikey'+'7506716';
|
528
|
+
count++;
|
529
|
+
}
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
|
535
|
+
|
536
|
+
if(false == true)
|
537
|
+
{
|
538
|
+
myarr[count]=bkey+'ikey'+'7506718';
|
539
|
+
count++;
|
540
|
+
}
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
|
546
|
+
|
547
|
+
if(false == true)
|
548
|
+
{
|
549
|
+
myarr[count]=bkey+'ikey'+'7506717';
|
550
|
+
count++;
|
551
|
+
}
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
if(false == true)
|
559
|
+
{
|
560
|
+
myarr[count]=bkey+'ikey'+'7506719';
|
561
|
+
count++;
|
562
|
+
}
|
563
|
+
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
|
568
|
+
|
569
|
+
if(false == true)
|
570
|
+
{
|
571
|
+
myarr[count]=bkey+'ikey'+'7506721';
|
572
|
+
count++;
|
573
|
+
}
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
if(false == true)
|
581
|
+
{
|
582
|
+
myarr[count]=bkey+'ikey'+'7506722';
|
583
|
+
count++;
|
584
|
+
}
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
|
591
|
+
if(false == true)
|
592
|
+
{
|
593
|
+
myarr[count]=bkey+'ikey'+'7506723';
|
594
|
+
count++;
|
595
|
+
}
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
|
601
|
+
|
602
|
+
}
|
603
|
+
|
604
|
+
if(false == true)
|
605
|
+
{
|
606
|
+
myarr[count] = 'bkey'+1163148;
|
607
|
+
count++;
|
608
|
+
}
|
609
|
+
|
610
|
+
}
|
611
|
+
|
612
|
+
|
613
|
+
function searchinternet(query)
|
614
|
+
{
|
615
|
+
window.open("http://www.google.com/search?q=" + query,"popup","resize=yes,scrollbars=yes,dependent=yes,alwaysRaised=yes");
|
616
|
+
}
|
617
|
+
function AddCopy(bkey,ikey,pos)
|
618
|
+
{
|
619
|
+
|
620
|
+
|
621
|
+
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
|
634
|
+
|
635
|
+
|
636
|
+
|
637
|
+
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
|
646
|
+
|
647
|
+
var i = 0;
|
648
|
+
var found = false;
|
649
|
+
|
650
|
+
keyToSearch = bkey+ikey;
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
var indexfound = 0;
|
655
|
+
|
656
|
+
if(myarr.length > 0)
|
657
|
+
{
|
658
|
+
for(i = 0; i <myarr.length; i++)
|
659
|
+
{
|
660
|
+
|
661
|
+
s = myarr[i];
|
662
|
+
if(s != null)
|
663
|
+
{
|
664
|
+
keyToSearch = bkey+ikey;
|
665
|
+
if(s.indexOf(keyToSearch) != -1)
|
666
|
+
{
|
667
|
+
found = true;
|
668
|
+
indexfound = i;
|
669
|
+
break;
|
670
|
+
}
|
671
|
+
|
672
|
+
}
|
673
|
+
}
|
674
|
+
|
675
|
+
}
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
|
681
|
+
if(found == false )
|
682
|
+
{
|
683
|
+
|
684
|
+
if (bookbagsize < 100)
|
685
|
+
{
|
686
|
+
|
687
|
+
myarr[count] = keyToSearch;
|
688
|
+
|
689
|
+
count ++;
|
690
|
+
now = new Date();
|
691
|
+
|
692
|
+
myImage = new Image();
|
693
|
+
|
694
|
+
|
695
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&addbl=' + keyToSearch + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
696
|
+
bookbagsize++;
|
697
|
+
changeBookbagText('My List - ' + bookbagsize);
|
698
|
+
changeRequestLink('Remove Copy from MyList',pos);
|
699
|
+
}
|
700
|
+
|
701
|
+
|
702
|
+
}
|
703
|
+
else
|
704
|
+
{
|
705
|
+
|
706
|
+
|
707
|
+
|
708
|
+
if(found == true)
|
709
|
+
{
|
710
|
+
myarr[indexfound] = null;
|
711
|
+
|
712
|
+
}
|
713
|
+
|
714
|
+
now = new Date();
|
715
|
+
myImage = new Image();
|
716
|
+
|
717
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&removebl=' + keyToSearch + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
718
|
+
|
719
|
+
|
720
|
+
bookbagsize--;
|
721
|
+
changeBookbagText('My List - ' + bookbagsize);
|
722
|
+
changeRequestLink('Add Copy to MyList',pos);
|
723
|
+
|
724
|
+
|
725
|
+
}
|
726
|
+
|
727
|
+
|
728
|
+
|
729
|
+
|
730
|
+
|
731
|
+
|
732
|
+
if (bookbagsize >= 100)
|
733
|
+
{
|
734
|
+
|
735
|
+
url = window.location.toString();
|
736
|
+
|
737
|
+
if(url.indexOf("#focus") != -1)
|
738
|
+
{
|
739
|
+
index = url.indexOf("#focus");
|
740
|
+
url = url.substring(0,index);
|
741
|
+
|
742
|
+
}
|
743
|
+
if(myarr != null)
|
744
|
+
{
|
745
|
+
i = 0;
|
746
|
+
|
747
|
+
for(i = 0; i <count;i++)
|
748
|
+
{
|
749
|
+
if(myarr[i] != null)
|
750
|
+
url+='&addkeys=' + myarr[i];
|
751
|
+
}
|
752
|
+
}
|
753
|
+
|
754
|
+
url += '&maxmylist='+'100';
|
755
|
+
|
756
|
+
document.buildLink.action = unescape(url);
|
757
|
+
document.buildLink.submit();
|
758
|
+
|
759
|
+
|
760
|
+
}
|
761
|
+
|
762
|
+
}
|
763
|
+
|
764
|
+
function changeRequestLink(text,pos)
|
765
|
+
{
|
766
|
+
|
767
|
+
str = 'requestlink'+pos;
|
768
|
+
|
769
|
+
if (document.getElementById)
|
770
|
+
{
|
771
|
+
|
772
|
+
|
773
|
+
document.getElementById(str).innerHTML=text;
|
774
|
+
|
775
|
+
}
|
776
|
+
else if (document.layers)
|
777
|
+
{
|
778
|
+
|
779
|
+
document.anchors[str].text=text;
|
780
|
+
}
|
781
|
+
else
|
782
|
+
{
|
783
|
+
|
784
|
+
|
785
|
+
bookbag.innerHTML=text;
|
786
|
+
}
|
787
|
+
}
|
788
|
+
|
789
|
+
function updatebooklist(myObj)
|
790
|
+
{
|
791
|
+
key = myObj.name;
|
792
|
+
|
793
|
+
var found = false;
|
794
|
+
|
795
|
+
keyToSearch = key;
|
796
|
+
|
797
|
+
|
798
|
+
|
799
|
+
var indexfound = 0;
|
800
|
+
|
801
|
+
if(myarr != null)
|
802
|
+
{
|
803
|
+
|
804
|
+
if(myarr.length > 0)
|
805
|
+
{
|
806
|
+
for(i = 0; i <myarr.length; i++)
|
807
|
+
{
|
808
|
+
|
809
|
+
s = myarr[i];
|
810
|
+
if(s != null)
|
811
|
+
{
|
812
|
+
|
813
|
+
if(s.indexOf(keyToSearch) != -1)
|
814
|
+
{
|
815
|
+
found = true;
|
816
|
+
indexfound = i;
|
817
|
+
break;
|
818
|
+
}
|
819
|
+
|
820
|
+
}
|
821
|
+
}
|
822
|
+
}
|
823
|
+
|
824
|
+
}
|
825
|
+
|
826
|
+
|
827
|
+
|
828
|
+
|
829
|
+
if (myObj.value == 'Add to my list')
|
830
|
+
{
|
831
|
+
if (bookbagsize < 100)
|
832
|
+
{
|
833
|
+
|
834
|
+
if(myarr == null)
|
835
|
+
{
|
836
|
+
myarr = new Array(1);
|
837
|
+
|
838
|
+
}
|
839
|
+
myarr[count] = key;
|
840
|
+
count++;
|
841
|
+
|
842
|
+
now = new Date();
|
843
|
+
|
844
|
+
myImage = new Image();
|
845
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&addbl=' + key + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
846
|
+
document.images[key].src=myImage.src;
|
847
|
+
myImage = new Image();
|
848
|
+
myImage.src = '/hipres/images/spacer.gif';
|
849
|
+
document.images[key].src=myImage.src;
|
850
|
+
|
851
|
+
document.images[key].alt='Remove from my list';
|
852
|
+
myObj.value=' Remove ';
|
853
|
+
/* my comment */
|
854
|
+
|
855
|
+
myObj.style.color='#FFFFFF';
|
856
|
+
myObj.style.background='#3C7A49';
|
857
|
+
myObj.style.border.left='2px solid #4AA65B';
|
858
|
+
myObj.style.border.top='2px solid #4AA65B';
|
859
|
+
myObj.style.border.right='2px solid #1B5927';
|
860
|
+
myObj.style.border.bottom='2px solid #1B5927';
|
861
|
+
bookbagsize++;
|
862
|
+
changeBookbagText('My List - ' + bookbagsize);
|
863
|
+
|
864
|
+
}
|
865
|
+
|
866
|
+
// now save the value in hidden element
|
867
|
+
|
868
|
+
|
869
|
+
}
|
870
|
+
else
|
871
|
+
{
|
872
|
+
|
873
|
+
if(found == true)
|
874
|
+
{
|
875
|
+
|
876
|
+
myarr[indexfound] = null;
|
877
|
+
}
|
878
|
+
|
879
|
+
now = new Date();
|
880
|
+
myImage = new Image();
|
881
|
+
myImage.src = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&removebl=' + key + '&time=' + now.getTime() + '&visible=false'+'&error=false';
|
882
|
+
document.images[key].src=myImage.src;
|
883
|
+
myImage = new Image();
|
884
|
+
myImage.src = '/hipres/images/spacer.gif';
|
885
|
+
document.images[key].src=myImage.src;
|
886
|
+
document.images[key].alt='-';
|
887
|
+
myObj.value='Add to my list';
|
888
|
+
|
889
|
+
myObj.style.color='#000066';
|
890
|
+
myObj.style.background='#cccc99';
|
891
|
+
myObj.style.border.left='2px solid #aaaa77';
|
892
|
+
myObj.style.border.top='2px solid #aaaa77';
|
893
|
+
myObj.style.border.right='2px solid #003366';
|
894
|
+
myObj.style.border.bottom='2px solid #003366';
|
895
|
+
bookbagsize--;
|
896
|
+
changeBookbagText("My List - " + bookbagsize);
|
897
|
+
|
898
|
+
|
899
|
+
}
|
900
|
+
|
901
|
+
if (bookbagsize >= 100)
|
902
|
+
{
|
903
|
+
url = window.location.toString();
|
904
|
+
|
905
|
+
if(url.indexOf("#focus") != -1)
|
906
|
+
{
|
907
|
+
index = url.indexOf("#focus");
|
908
|
+
url = url.substring(0,index);
|
909
|
+
|
910
|
+
}
|
911
|
+
if(myarr != null)
|
912
|
+
{
|
913
|
+
i = 0;
|
914
|
+
|
915
|
+
for(i = 0; i <count;i++)
|
916
|
+
{
|
917
|
+
if(myarr[i] != null)
|
918
|
+
url+='&addkeys=' + myarr[i];
|
919
|
+
}
|
920
|
+
|
921
|
+
}
|
922
|
+
|
923
|
+
url += '&maxmylist='+'100';
|
924
|
+
|
925
|
+
document.buildLink.action = unescape(url);
|
926
|
+
document.buildLink.submit();
|
927
|
+
|
928
|
+
|
929
|
+
}
|
930
|
+
|
931
|
+
}
|
932
|
+
function bklist(key)
|
933
|
+
{
|
934
|
+
/* Do nothing here! */
|
935
|
+
}
|
936
|
+
function requestcopy(key, uri)
|
937
|
+
{
|
938
|
+
now = new Date();
|
939
|
+
source = '~!library';
|
940
|
+
location = 'http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&bibkey=' + key + '&aspect=subtab14&lang=eng&menu=request&submenu=none&source=' + source + '&uri=' + uri + '&time=' + now.getTime();
|
941
|
+
}
|
942
|
+
|
943
|
+
function requestILL(illurl)
|
944
|
+
{
|
945
|
+
source = '~!library';
|
946
|
+
location = illurl;
|
947
|
+
}
|
948
|
+
|
949
|
+
function sendFullBib()
|
950
|
+
{
|
951
|
+
if(window.encodeURI)
|
952
|
+
{
|
953
|
+
subject = encodeURI(document.email_full.subject.value);
|
954
|
+
}
|
955
|
+
else
|
956
|
+
{
|
957
|
+
subject = escape(document.email_full.subject.value);
|
958
|
+
}
|
959
|
+
emailaddress = document.email_full.emailaddress.value;
|
960
|
+
format = "html";
|
961
|
+
for (i = 0; i < document.email_full.booklistformat.length; i++)
|
962
|
+
{
|
963
|
+
if (document.email_full.booklistformat[i].checked)
|
964
|
+
{
|
965
|
+
format = document.email_full.booklistformat[i].value;
|
966
|
+
break;
|
967
|
+
}
|
968
|
+
}
|
969
|
+
postmaster = "Harris County Public Library";
|
970
|
+
postmaster = encodeURI(postmaster);
|
971
|
+
|
972
|
+
fullmarc = "false";
|
973
|
+
|
974
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=full%3D3100001%7E%211163148%7E%210&booklistformat=" + format + "&ri=1&bla_send_full_bib=true&aspect=subtab14&menu=search&view=items&page=1&group=0&term=006172081X&index=ISBNEXH&uindex=&aspect=subtab14&menu=search&ri=1&postmaster=" + postmaster + "&subject=" + subject + "&emailaddress=" + emailaddress + "&fullmarc=" + fullmarc;
|
975
|
+
}
|
976
|
+
function sendFullBibRR()
|
977
|
+
{
|
978
|
+
|
979
|
+
subject = document.rr_full.subject.value;
|
980
|
+
label1 = "";
|
981
|
+
label2 = "";
|
982
|
+
label3 = "";
|
983
|
+
data1 = "";
|
984
|
+
data2 = "";
|
985
|
+
data3 = "";
|
986
|
+
|
987
|
+
if(document.rr_full.label1)
|
988
|
+
{
|
989
|
+
label1 = encodeURI(document.rr_full.label1.value);
|
990
|
+
}
|
991
|
+
if(document.rr_full.label2)
|
992
|
+
{
|
993
|
+
label2 = encodeURI(document.rr_full.label2.value);
|
994
|
+
}
|
995
|
+
if(document.rr_full.label3)
|
996
|
+
{
|
997
|
+
label3 = encodeURI(document.rr_full.label3.value);
|
998
|
+
}
|
999
|
+
|
1000
|
+
if(document.rr_full.rr_data1)
|
1001
|
+
{
|
1002
|
+
data1 = encodeURI(document.rr_full.rr_data1.value);
|
1003
|
+
}
|
1004
|
+
if(document.rr_full.rr_data2)
|
1005
|
+
{
|
1006
|
+
data2 = encodeURI(document.rr_full.rr_data2.value);
|
1007
|
+
}
|
1008
|
+
if(document.rr_full.rr_data3)
|
1009
|
+
{
|
1010
|
+
data3 = encodeURI(document.rr_full.rr_data3.value);
|
1011
|
+
}
|
1012
|
+
|
1013
|
+
emailaddress_rr = "";
|
1014
|
+
postmaster = "Harris County Public Library";
|
1015
|
+
postmaster = encodeURI(postmaster);
|
1016
|
+
|
1017
|
+
fullmarc = "false";
|
1018
|
+
|
1019
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&uri=full%3D3100001%7E%211163148%7E%210&booklistformat=html&ri=1&bla_send_full_bib_rr=true&aspect=subtab14&menu=search&view=items&page=1&group=0&term=006172081X&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;
|
1020
|
+
|
1021
|
+
}
|
1022
|
+
function analytic_link()
|
1023
|
+
{
|
1024
|
+
link = encodeURI(document.full.analytic);
|
1025
|
+
if(link != null)
|
1026
|
+
{
|
1027
|
+
index = link.selectedIndex;
|
1028
|
+
if (index != null && index >= 0)
|
1029
|
+
{
|
1030
|
+
destination = link.options[index].value;
|
1031
|
+
if (destination)
|
1032
|
+
{
|
1033
|
+
location = "http://catalog.hcpl.net/ipac20/ipac.jsp?session=1X6733E525622.241342&profile=webcat&ri=1&aspect=subtab14&menu=search&source=~!library&uri=" + destination;
|
1034
|
+
}
|
1035
|
+
}
|
1036
|
+
else
|
1037
|
+
{
|
1038
|
+
alert("Please select an analytic first");
|
1039
|
+
}
|
1040
|
+
}
|
1041
|
+
}
|
1042
|
+
function hook_link()
|
1043
|
+
{
|
1044
|
+
link = document.full.hook;
|
1045
|
+
if(link!=null)
|
1046
|
+
{
|
1047
|
+
index = link.selectedIndex;
|
1048
|
+
|
1049
|
+
if (index != null && index >= 0)
|
1050
|
+
{
|
1051
|
+
destination = link.options[index].value;
|
1052
|
+
if (destination)
|
1053
|
+
{
|
1054
|
+
location = destination
|
1055
|
+
}
|
1056
|
+
}
|
1057
|
+
else
|
1058
|
+
{
|
1059
|
+
alert("Please select a library first");
|
1060
|
+
}
|
1061
|
+
}
|
1062
|
+
}
|
1063
|
+
function openWindow(URL)
|
1064
|
+
{
|
1065
|
+
window.open(URL, "ExternalLink", "");
|
1066
|
+
}
|
1067
|
+
//-->
|
1068
|
+
</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=1X6733E525622.241342&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>
|
1069
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
1070
|
+
<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>
|