zip = new Object();
lib = new Object();
locale = new Object();
address = new Object();
phone = new Object();
resp = new Object();

zip[1] = "33510"
zip[2] = "33511"
zip[3] = "33534"
zip[4] = "33547"
zip[5] = "33549"
zip[6] = "33556"
zip[7] = "33565"
zip[8] = "33566"
zip[9] = "33567"
zip[10] = "33569"
zip[11] = "33570"
zip[12] = "33572"
zip[13] = "33573"
zip[14] = "33584"
zip[15] = "33592"
zip[16] = "33594"
zip[17] = "33598"
zip[18] = "33602"
zip[19] = "33603"
zip[20] = "33604"
zip[21] = "33605"
zip[22] = "33606"
zip[23] = "33607"
zip[24] = "33608"
zip[25] = "33609"
zip[26] = "33610"
zip[27] = "33611"
zip[28] = "33612"
zip[29] = "33613"
zip[30] = "33614"
zip[31] = "33615"
zip[32] = "33616"
zip[33] = "33617"
zip[34] = "33618"
zip[35] = "33619"
zip[36] = "33621"
zip[37] = "33624"
zip[38] = "33625"
zip[39] = "33626"
zip[40] = "33629"
zip[41] = "33634"
zip[42] = "33635"
zip[43] = "33637"
zip[44] = "33647"
zip[45] = "33834"

lib[1] = "Brandon Regional Library"
lib[2] = "Brandon Regional Library, Bloomingdale Regional Public Library and the Riverview Branch Library"
lib[3] = "Riverview Branch Library"
lib[4] = "Bloomingdale Regional Public Library and the SouthShore Regional Library"
lib[5] = "Austin Davis Public Library, Jimmie B. Keel Regional Library and the Lutz Branch Library"
lib[6] = "Austin Davis Public Library and the Upper Tampa Bay Library"
lib[7] = "Thonotosassa Branch Library"
lib[8] = "Bruton Memorial Library"
lib[9] = "Bruton Memorial Library"
lib[10] = "78th Street Community Library, Bloomingdale Regional Public Library, Riverview Branch Library and the SouthShore Regional Library"
lib[11] = "Ruskin Branch Library"
lib[12] = "Ruskin Branch Library"
lib[13] = "Ruskin Branch Library and the SouthShore Regional Library"
lib[14] = "Brandon Regional Library, Seffner-Mango Branch Library and the Thonotosassa Branch Library"
lib[15] = "Thonotosassa Branch Library"
lib[16] = "Bloomingdale Regional Public Library and the Brandon Regional Library"
lib[17] = "SouthShore Regional Library"
lib[18] = "John F. Germany Public Library and the Robert W. Saunders, Sr. Public Library"
lib[19] = "Seminole Heights Branch Library"
lib[20] = "North Tampa Branch Library, Seminole Heights Branch Library and the Temple Terrace Public Library"
lib[21] = "College Hill Branch Library, Robert W. Saunders, Sr. Public Library and the Seffner-Mango Branch Library"
lib[22] = "Charles J. Fendig Public Library, John F. Germany Public Library and the West Tampa Branch Library"
lib[23] = "Charles J. Fendig Public Library, John F. Germany Public Library, Seminole Heights Branch Library and the West Tampa Branch Library"
lib[24] = "Port Tampa City Library"
lib[25] = "Charles J. Fendig Public Library and the West Tampa Branch Library"
lib[26] = "Brandon Regional Library, College Hill Branch Library, Seffner-Mango Branch Library, Seminole Heights Branch Library and the Temple Terrace Public Library"
lib[27] = "Jan Kaminis Platt Regional Library"
lib[28] = "North Tampa Branch Library"
lib[29] = "Jimmie B. Keel Regional Library and the Lutz Branch Library"
lib[30] = "Egypt Lake Partnership Library, North Tampa Branch Library and the Seminole Heights Branch Library"
lib[31] = "Upper Tampa Bay Library and the West Gate Regional Library"
lib[32] = "Jan Kaminis Platt Regional Library and the Port Tampa City Library"
lib[33] = "Science Library at MOSI and the Temple Terrace Public Library"
lib[34] = "Jimmie B. Keel Regional Library"
lib[35] = "78th Street Community Library, Brandon Regional Library, Riverview Branch Library and the Robert W. Saunders, Sr. Public Library"
lib[36] = "Port Tampa City Library"
lib[37] = "Jimmie B. Keel Regional Library"
lib[38] = "Austin Davis Public Library, Upper Tampa Bay Library and the West Gate Regional Library"
lib[39] = "Upper Tampa Bay Library"
lib[40] = "Jan Kaminis Platt Regional Library"
lib[41] = "Town 'N Country Regional Public Library"
lib[42] = "Upper Tampa Bay Library"
lib[43] = "Temple Terrace Public Library and the Thonotosassa Branch Library"
lib[44] = "New Tampa Regional Library and the Thonotosassa Branch Library"
lib[45] = "SouthShore Regional Library"

locale[1] = "/hcplc/liblocales/brd/"
locale[2] = "/hcplc/liblocales/"
locale[3] = "/hcplc/liblocales/riv/"
locale[4] = "/hcplc/liblocales/"
locale[5] = "/hcplc/liblocales/"
locale[6] = "/hcplc/liblocales/"
locale[7] = "/hcplc/liblocales/tho/"
locale[8] = "http://bml.hcplc.org/"
locale[9] = "http://bml.hcplc.org/"
locale[10] = "/hcplc/liblocales/"
locale[11] = "/hcplc/liblocales/rus/"
locale[12] = "/hcplc/liblocales/rus/"
locale[13] = "/hcplc/liblocales/"
locale[14] = "/hcplc/liblocales/"
locale[15] = "/hcplc/liblocales/tho/"
locale[16] = "/hcplc/liblocales/"
locale[17] = "/hcplc/liblocales/sho/"
locale[18] = "/hcplc/liblocales/"
locale[19] = "/hcplc/liblocales/sem/"
locale[20] = "/hcplc/liblocales/"
locale[21] = "/hcplc/liblocales/"
locale[22] = "/hcplc/liblocales/"
locale[23] = "/hcplc/liblocales/"
locale[24] = "/hcplc/liblocales/ptm/"
locale[25] = "/hcplc/liblocales/"
locale[26] = "/hcplc/liblocales/"
locale[27] = "/hcplc/liblocales/jpl/"
locale[28] = "/hcplc/liblocales/nta/"
locale[29] = "/hcplc/liblocales/"
locale[30] = "/hcplc/liblocales/"
locale[31] = "/hcplc/liblocales/"
locale[32] = "/hcplc/liblocales/"
locale[33] = "/hcplc/liblocales/"
locale[34] = "/hcplc/liblocales/jbk/"
locale[35] = "/hcplc/liblocales/"
locale[36] = "/hcplc/liblocales/ptm/"
locale[37] = "/hcplc/liblocales/jbk/"
locale[38] = "/hcplc/liblocales/"
locale[39] = "/hcplc/liblocales/utb/"
locale[40] = "/hcplc/liblocales/jpl/"
locale[41] = "/hcplc/liblocales/tnc/"
locale[42] = "/hcplc/liblocales/utb/"
locale[43] = "/hcplc/liblocales/"
locale[44] = "/hcplc/liblocales/"
locale[45] = "/hcplc/liblocales/sho/"

address[1] = "Location: 619 Vonderburg Drive"
address[2] = "Location: 619 Vonderburg Drive, 1906 Bloomingdale Avenue and 10509 Riverview Drive, respectively"
address[3] = "Location: 10509 Riverview Drive"
address[4] = "Location: 1906 Bloomingdale Avenue and 15816 Beth Shields Way, respectively"
address[5] = "Location: 17808 Wayne Road, 2902 West Bearss Avenue and 101 Lutz-Lake Fern Road, West, respectively"
address[6] = "Location: 17808 Wayne Road and 11211 Countryway Boulevard, respectively"
address[7] = "Location: 10715 Main Street"
address[8] = "Location: 302 McLendon Street"
address[9] = "Location: 302 McLendon Street"
address[10] = "Location: 7625 Palm River Road, 1906 Bloomingdale Avenue, 10509 Riverview Drive and 15816 Beth Shields Way, respectively"
address[11] = "Location: One Dickman Drive, South East"
address[12] = "Location: One Dickman Drive, South East"
address[13] = "Location: One Dickman Drive, South East and 15816 Beth Shields Way, respectively"
address[14] = "Location: 619 Vonderburg Drive, 410 N. Kingsway Rd. and 10715 Main Street, respectively"
address[15] = "Location: 10715 Main Street"
address[16] = "Location: 1906 Bloomingdale Avenue and 619 Vonderburg Drive, respectively"
address[17] = "Location: 15816 Beth Shields Way"
address[18] = "Location: 900 North Ashley Drive and 1505 Nebraska Avenue, respectively"
address[19] = "Location: 4711 Central Avenue"
address[20] = "Location: 8916 North Boulevard, 4711 Central Avenue and 202 Bullard Parkway, respectively"
address[21] = "Location: 2607 East Dr. MLK, Jr. Blvd., 1505 Nebraska Avenue, and 410 N. Kingsway Rd., respectively"
address[22] = "Location: 3909 West Neptune Street, 900 North Ashley Drive and 2312 West Union Street, respectively"
address[23] = "Location: 3909 West Neptune Street, 900 North Ashley Drive, 4711 Central Avenue and 2312 West Union Street, respectively"
address[24] = "Location: 4902 West Commerce Street"
address[25] = "Location: 3909 West Neptune Street and 2312 West Union Street, respectively"
address[26] = "Location: 619 Vonderburg Drive, 2607 East Dr. MLK, Jr. Blvd., 410 N. Kingsway Rd., 4711 Central Avenue and 202 Bullard Parkway, respectively"
address[27] = "Location: 3910 South Manhattan Avenue"
address[28] = "Location: 8916 North Boulevard"
address[29] = "Location: 2902 West Bearss Avenue and 101 Lutz-Lake Fern Road, West, respectively"
address[30] = "Location: 3403 West Lambright Street, 8916 North Boulevard and 4711 Central Avenue, respectively"
address[31] = "Location: 11211 Countryway Boulevard and 7606 Paula Drive, respectively"
address[32] = "Location: 3910 South Manhattan Avenue and 4902 West Commerce Street, respectively"
address[33] = "Location: 4801 East Fowler Avenue and 202 Bullard Parkway, respectively"
address[34] = "Location: 2902 West Bearss Avenue"
address[35] = "Location: 7625 Palm River Road, 619 Vonderburg Drive, 10509 Riverview Drive and 1505 Nebraska Avenue, respectively"
address[36] = "Location: 4902 West Commerce Street"
address[37] = "Location: 2902 West Bearss Avenue"
address[38] = "Location: 17808 Wayne Road, 11211 Countryway Boulevard and 7606 Paula Drive, respectively"
address[39] = "Location: 11211 Countryway Boulevard"
address[40] = "Location: 3910 South Manhattan Avenue"
address[41] = "Location: 5455 W. Waters Ave., Suite 208"
address[42] = "Location: 11211 Countryway Boulevard"
address[43] = "Location: 202 Bullard Parkway and 10715 Main Street, respectively"
address[44] = "Location: 10001 Cross Creek Boulevard and 10715 Main Street, respectively"
address[45] = "Location: 15816 Beth Shields Way"

phone[1] = "813.273.3652"
phone[2] = "813.273.3652"
phone[3] = "813.273.3652"
phone[4] = "813.273.3652"
phone[5] = "813.273.3652"
phone[6] = "813.273.3652"
phone[7] = "813.273.3652"
phone[8] = "813.757.9215"
phone[9] = "813.757.9215"
phone[10] = "813.273.3652"
phone[11] = "813.273.3652"
phone[12] = "813.273.3652"
phone[13] = "813.273.3652"
phone[14] = "813.273.3652"
phone[15] = "813.273.3652"
phone[16] = "813.273.3652"
phone[17] = "813.273.3652"
phone[18] = "813.273.3652"
phone[19] = "813.273.3652"
phone[20] = "813.273.3652"
phone[21] = "813.273.3652"
phone[22] = "813.273.3652"
phone[23] = "813.273.3652"
phone[24] = "813.273.3652"
phone[25] = "813.273.3652"
phone[26] = "813.273.3652"
phone[27] = "813.273.3652"
phone[28] = "813.273.3652"
phone[29] = "813.273.3652"
phone[30] = "813.273.3652"
phone[31] = "813.273.3652"
phone[32] = "813.273.3652"
phone[33] = "813.273.3652"
phone[34] = "813.273.3652"
phone[35] = "813.273.3652"
phone[36] = "813.273.3652"
phone[37] = "813.273.3652"
phone[38] = "813.273.3652"
phone[39] = "813.273.3652"
phone[40] = "813.273.3652"
phone[41] = "813.273.3652"
phone[42] = "813.273.3652"
phone[43] = "813.989.7160 and 813.273.3652, respectively"
phone[44] = "813.273.3652"
phone[45] = "813.273.3652"

resp[1] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[2] = " "
resp[3] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[4] = " "
resp[5] = " "
resp[6] = " "
resp[7] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[8] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[9] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[10] = " "
resp[11] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[12] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[13] = " "
resp[14] = " "
resp[15] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[16] = " "
resp[17] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[18] = " "
resp[19] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[20] = " "
resp[21] = " "
resp[22] = " "
resp[23] = " "
resp[24] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[25] = " "
resp[26] = " "
resp[27] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[28] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[29] = " "
resp[30] = " "
resp[31] = " "
resp[32] = " "
resp[33] = " "
resp[34] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[35] = " "
resp[36] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[37] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[38] = " "
resp[39] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[40] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[41] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[42] = "\n\nClick the \"OK\" button to be taken to this library!"
resp[43] = " "
resp[44] = " "
resp[45] = "\n\nClick the \"OK\" button to be taken to this library!"

function checkzip() {
var Found = false
var Item = document.zippy.zipcode.value;
for(Count = 0; Count <= zip[1]; Count++) 
{
if(Item == zip[Count]) 
{
Found = true;
{
if (confirm("The " + lib[Count] + " serve the zipcode " + Item + " \n" + address[Count] + " \nPhone: " + phone[Count] + resp[Count]) )
{
parent.location=locale[Count];                         
}
else 
{
parent.location="index.html";
}
}
}
}
if(!Found)
{
if(confirm("                                      ** A public library is not located within zipcode " + Item + " ** \n\nZipLookup! does not include \"nearby\" zipcodes, PO Box zipcodes or zipcodes outside of Hillsborough County. \nYou may want to use our MapLookup! to find the library location nearest you.\n\nClick the \"OK\" button to be taken to our MapLookup! otherwise click \"Cancel\""))
{
parent.location="locatormap.html";
}
else 
{
parent.location="index.html";
}
}
}