if ((currentpage!="") &&! (currentpage=="home"))
{

document.write("<font face=\"arial\" size=2><center><hr><br><div id=\"left5\" style=\"float:left;width:10%\"><iframe src=\"http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.AtticTrunk.com&amp;layout=button_count&amp;show_faces=false&amp;width=90&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21&ref=nav\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:90px; height:21px;\" allowTransparency=\"true\"></iframe></div><div id=\"left6\" style=\"float:left;width:14%\"><a href=\"javascript: void(0)\" onclick=\"window.open('http://www.facebook.com/#!/pages/Attic-Trunk/204623922883762?sk=app_119493684800342','AtticTrunk_Facebook','width=800,height=410,top=1,left=1,resizable=yes,menubar=yes,toolbar=yes,scrollbars=1,directories=yes,location=yes,statusbar=yes');return false\"><img src=\"/lib/attictrunk/facestrbutton.gif\" alt=\"Facebook\"></a></div><div id=\"left7\" style=\"float:left;width:18%\" class=\"g-plusone\" data-size=\"medium\" annotation=\"none\"></div><div id=\"left8\" style=\"float:left;width:30%\"><form method=get action=\"http://www.attictrunk.com/nsearch.html\" onmouseover=\"change('#99ffff')\" onmouseout=\"change('#99ffff'),window.status='';return true\">"+space1$+"<b><input type=hidden name=catalog value=attictrunk><input name=query type=text size=20><input type=submit class=\"thisclass\" value=\"Search\" onmouseover=\"this.style.color='#000000'\" onmouseout=\"this.style.color='#808080'\" onmousedown=\"this.style.color='#808080'\" style=\"color:#808080; font-family:; font-weight:bold; font-size:; border=0px; height=22;\"><input type=\"hidden\" name=\".autodone\" value=\"http://www.attictrunk.com/nsearch.html\"></form></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"https://order.store.yahoo.net/cgi-bin/wg-order?attictrunk\" onmouseover=\"this.style.color='magenta',window.status='View Cart';return true\" onmouseout=\"this.style.color='',window.status='';return true\">View Cart</a>"+space2$+"<a href=\""+(urlprefix+prevpage+ext)+ "\" onmouseover=\"window.status='Previous Page',document.rollimg3.src=image2.src;return true\" onmouseout=\"window.status='',document.rollimg3.src=image1.src;return true\"><img name='rollimg3' src=\"/lib/attictrunk/larrow.gif\" width=32 height=16 border=0 hspace=2 vspace=0 alt=\"Previous Page\"></a>&nbsp;&nbsp;<font face=\"arial\" color=\"red\">"+currentpage+"</font> of "+lastpagenum+" &nbsp;<a href=\"" +(urlprefix+nextpage+ext)+ "\" onmouseover=\"window.status='Next Page',document.rollimg4.src=image4.src;return true\" onmouseout=\"window.status='',document.rollimg4.src=image3.src;return true\"><img name='rollimg4' src=\"/lib/attictrunk/rarrow.gif\" width=32 height=16 border=0 hspace=2 vspace=0 alt=\"Next Page\"></a></b></center></font>");
}

if ((currentpage=="") && (itemback!=""))
{
var space1 = "0" -0;
var space2 = "10" -0;
var space3 = "10" -0;
var space4 = "10" -0;
var space5 = "4" -0;
var space1$ = "";	// reset to null
var space2$ = "";	// reset to null
var space3$ = "";	// reset to null
var space4$ = "";	// reset to null
var space5$ = "";	// reset to null
var loop = "0" -0;	// reset to zero
while (loop < space1) 
{
 space1$ = space1$ + "&nbsp;"; loop=loop+1; 
}
var loop = "0" -0;	// reset to zero
while (loop < space2) 
{
 space2$ = space2$ + "&nbsp;"; loop=loop+1; 
}
var loop = "0" -0;	// reset to zero
while (loop < space3) 
{
 space3$ = space3$ + "&nbsp;"; loop=loop+1; 
}
var loop = "0" -0;	// reset to zero
while (loop < space4) 
{
 space4$ = space4$ + "&nbsp;"; loop=loop+1; 
}
var loop = "0" -0;	// reset to zero
while (loop < space5) 
{
 space5$ = space5$ + "&nbsp;"; loop=loop+1; 
}
document.write("<div id=\"ys_relatedItems\"></div><br><font face=\'arial\' size=2><center><form method=get action=\"http://www.attictrunk.com/nsearch.html\" onmouseover=\"change('#99ffff')\" onmouseout=\"change('#99ffff'),window.status='';return true\">"+space1$+"<a href=\"" +(itemback+ext)+ "\" onmouseover=\"window.status='See Similar Products',document.rollimg3.src=image2.src;return true\" onmouseout=\"window.status='',document.rollimg3.src=image1.src;return true\"><img name='rollimg3' src=\"/lib/attictrunk/larrow.gif\" width=32 height=16 border=0 hspace=2 vspace=0 alt=\"Previous page\"></a><a href=\"" +(itemback+ext)+ "\"><b>See Similar Products</b></a>"+space2$+"<input type=hidden name=catalog value=attictrunk><input name=query type=text size=20><input type=submit class=\"thisclass\" value=\"Search\" onmouseover=\"this.style.color='#000000'\" onmouseout=\"this.style.color='#808080'\" onmousedown=\"this.style.color='#808080'\" style=\"color:#808080; font-family:; font-weight:bold; font-size:; border=0px; height=22;\"><input type=\"hidden\" name=\".autodone\" value=\"http://www.attictrunk.com/nsearch.html\">"+space3$+"<a href=\"javascript: void(0)\" onclick=\"window.open('http://www.facebook.com/#!/pages/Attic-Trunk/204623922883762?sk=app_119493684800342','AtticTrunk_Facebook','width=800,height=410,top=1,left=1,resizable=yes,menubar=yes,toolbar=yes,scrollbars=1,directories=yes,location=yes,statusbar=yes');return false\"><img src=\"/lib/attictrunk/facestrbutton.gif\" alt=\"Facebook\"></a>"+space4$+"<div class=\"g-plusone\" data-size=\"medium\" annotation=\"none\"></div>"+space5$+"<a href=\"https://order.store.yahoo.net/cgi-bin/wg-order?attictrunk\" onmouseover=\"this.style.color='magenta',window.status='View Cart';return true\" onmouseout=\"this.style.color='',window.status='';return true\"><b>View Cart</b></a></form></center></font>");
}

if ((currentpage!="") || (currentpage=="home"))
{
//document.write("<br><br>");
}

document.write("<br><font face=\"arial\" size=2><center><a href=\"http://www.attictrunk.com/4kids.html\" onmouseover=\"this.style.color='magenta',window.status='4 Kids: toys accessories for kids rooms, bath accessories, photo frames, baby gifts, bookends, sports decor';return true\" onmouseout=\"this.style.color='',window.status='';return true\">4 Kids</a> | <a href=\"http://www.attictrunk.com/angels.html\" onmouseover=\"this.style.color='magenta',window.status='Angels: angel, cherub or fairy figures, sculptures, musicals, candleholders; clocks, bookends, fountains and garden';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Angels</a> | <a href=\"http://www.attictrunk.com/animals.html\" onmouseover=\"this.style.color='magenta',window.status='Animals: cat, dog, horse themed items; farm animals, jungle animals, birds, beard, frogs';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Animals</a> | <a href=\"http://www.attictrunk.com/candles.html\" onmouseover=\"this.style.color='magenta',window.status='Candles: single specialty candles, scented, sets; candleholders for tables or walls; lanterns, garden, fountains';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Candles</a> | <a href=\"http://www.attictrunk.com/chemicals.html\" onmouseover=\"this.style.color='magenta',window.status='Chemicals: dusters, cleaners for contacts, electronics, glass, guns, bug & tar; adhesives, lubricants for engine, brakes, belts; sprays for odor, smoke; rejuvenators, degreasers, protectants and freeze sprays';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Chemicals</a> | <a href=\"http://www.attictrunk.com/christmas.html\" onmouseover=\"this.style.color='magenta',window.status='Christmas: decorations for the tree, walls and table; candles, musicals, stockings, special ornaments, Hanukkah';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Christmas</a> | <a href=\"http://www.attictrunk.com/clearance.html\" onmouseover=\"this.style.color='magenta',window.status='Clearance';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Clearance</a> | <a href=\"http://www.attictrunk.com/computers.html\" onmouseover=\"this.style.color='magenta',window.status='Computers: reconditioned and new laptops, computers, printers, monitors, keyboards, mice, cases';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Computers</a> | <a href=\"http://www.attictrunk.com/electronics.html\" onmouseover=\"this.style.color='magenta',window.status='Electronics: radar, GPS, flashlights, lanterns, cleaners and sprays';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Electronics</a> | <a href=\"http://www.attictrunk.com/flowers.html\" onmouseover=\"this.style.color='magenta',window.status='Flowers: artificial flowers and plants, musicals, glass flowers, topiary and planters';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Flowers</a><br><br> ");

document.write("<a href=\"http://www.attictrunk.com/forher.html\" onmouseover=\"this.style.color='magenta',window.status='For Her: jewelry, figures, sculptures, Mothers Day, photo frames, beauty & spa, umbrellas, scarves, golf, pillows, crafts';return true\" onmouseout=\"this.style.color='',window.status='';return true\">For Her</a> | <a href=\"http://www.attictrunk.com/forhim.html\" onmouseover=\"this.style.color='magenta',window.status='For Him: models, motorcycle, Fire Dept., golf, NASCAR, NFL, fishing, bowling, John Deere, travel items';return true\" onmouseout=\"this.style.color='',window.status='';return true\">For Him</a> | <a href=\"http://www.attictrunk.com/forthehome.html\" onmouseover=\"this.style.color='magenta',window.status='For The Home: bookends, photo frames, mirrors, clocks, wine themed, bath, serving pieces, salt & pepper sets';return true\" onmouseout=\"this.style.color='',window.status='';return true\">For The Home</a> | <a href=\"http://www.attictrunk.com/fountains.html\" onmouseover=\"this.style.color='magenta',window.status='Fountains: fountains for tabletop, wall, floor, indoors and out, battery operated; foggers, misters, watersmoke, pumps, lights, lenses, aromatic oils, bamboo spouts';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Fountains</a> | <a href=\"http://www.attictrunk.com/halloween.html\" onmouseover=\"this.style.color='magenta',window.status='Halloween: skulls and skeletons, candles and holders, plaques and signs, fun items';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Halloween</a> | <a href=\"http://www.attictrunk.com/jewelry.html\" onmouseover=\"this.style.color='magenta',window.status='Jewelry: sets, necklaces, earrings, bracelets, jewel boxes';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Jewelry</a> | <a href=\"http://www.attictrunk.com/lightbulbs.html\" onmouseover=\"this.style.color='magenta',window.status='Light Bulbs: (CFL,halogen,xenon): flood, flame tip, puck, tubes, globes, bug; Decade bulbs, Enhance Natural Daylight, SatinGlow';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Light Bulbs</a> | <a href=\"http://www.attictrunk.com/nautical.html\" onmouseover=\"this.style.color='magenta',window.status='Nautical: model ships,lighthouses, sculptures, figures, birds, ducks, frogs and turtles; candleholders';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Nautical</a> <br><br> ");

document.write("<a href=\"http://www.attictrunk.com/othergifts.html\" onmouseover=\"this.style.color='magenta',window.status='Other Gifts: desk accessories, teddy bears, beauty/spa, novelty, travel, holiday items';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Other Gifts</a> | <a href=\"http://www.attictrunk.com/outdoors.html\" onmouseover=\"this.style.color='magenta',window.status='Outdoors: outdoor decor, insect traps, lanterns, solar, sculptures, figures, hammocks, picnic & gardening';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Outdoors</a> | <a href=\"http://www.attictrunk.com/outwest.html\" onmouseover=\"this.style.color='magenta',window.status='Out West: horses, cowboys & Indians models; bookends, planters';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Out West</a> | <a href=\"http://www.attictrunk.com/ponds.html\" onmouseover=\"this.style.color='magenta',window.status='Ponds: pond accessories, figures, sculptures, spitters, mister/foggers, water smoke; submersible & flood lights';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Ponds</a> | <a href=\"http://www.attictrunk.com/romance.html\" onmouseover=\"this.style.color='magenta',window.status='Romance: artificial flowers, jewelry, musicals, frames, candles, figures and sculptures';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Romance</a> | <a href=\"http://www.attictrunk.com/windchimes.html\" onmouseover=\"this.style.color='magenta',window.status='Wind Chimes: for indoors and out, long, short, pipes and bamboo, J.W. Stannard';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Wind Chimes</a><br><br>");

document.write("<a href=\"http://www.attictrunk.com/giftguide.html\" onmouseover=\"this.style.color='magenta',window.status='Gift Guide: birthstones & flowers of the month, wedding anniversary, signs of the Zodiac, horoscopes';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Gift Guide</a> | <a href=\"http://www.attictrunk.com/glossary.html\" onmouseover=\"this.style.color='magenta',window.status='Glossary: understanding materials from which products are made, insect descriptions and terminology';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Glossary</a> | <a href=\"http://www.attictrunk.com/searchweb.html\" onmouseover=\"this.style.color='magenta',window.status='Search Web';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Search Web</a> | <a href=\"http://www.attictrunk.com/testimonials.html\" onmouseover=\"this.style.color='magenta',window.status='Testimonials';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Testimonials</a> | <a href=\"http://www.attictrunk.com/privacypolicy.html\" onmouseover=\"this.style.color='magenta',window.status='Privacy Policy';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Privacy</a> | <a href=\"http://www.attictrunk.com/info.html\" onmouseover=\"this.style.color='magenta',window.status='About Us/Info';return true\" onmouseout=\"this.style.color='',window.status='';return true\">About Us/Info</a> | <a href=\"http://www.attictrunk.com/sitemap.html\" onmouseover=\"this.style.color='magenta',window.status='Attic Trunk Site Map';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Site Map</a> | <a href=\"http://www.attictrunk.com\" onmouseover=\"this.style.color='magenta',window.status='Home - goto Attic Trunk Home page';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Home</a> | <a href=\"#top\" onmouseover=\"this.style.color='magenta',window.status='Top - jump to top of page';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Top</a> <br><br>");

document.write("<a href=\"\" onclick=\"this.style.behavior='url(#default#homepage)';this.sethomepage('http://www.AtticTrunk.com');\" style=\"color: blue; cursor: hand;\" onmouseover=\"this.style.color='magenta',window.status='Make Attic Trunk your homepage !';return true\" onmouseout=\"this.style.color='';\">Make Attic Trunk your homepage !</a> | <a href=\"http://www.attictrunk.com/nsearch.html\" onmouseover=\"this.style.color='magenta',window.status='Search Attic Trunk';return true\" onmouseout=\"this.style.color='',window.status='';return true\">Search Attic Trunk</a><br><br></center></font>");

if (itemback=="")
{
if (top !=self) top.location=self.location;
}

var nl = "off"; //newsletter off/on
if (nl=="on")
{
document.write("<table cellspacing=0 cellpadding=0 border=0 width=620 style=\"table-layout:fixed\"><tr><td width=495><font size=2 face=\"arial\">Join our FREE e-newsletter find out about upcoming sales, new items, holiday specials and FREE stuff. &nbsp;Your e-mail address will be kept strictly private.<br><br>");
} 
else 
{
document.write("<table cellspacing=0 cellpadding=0 border=0 width=620 style=\"table-layout:fixed\"><tr><td width=495><font size=2 face=\"arial\">");
}
document.write("<div id=\"center1\" style=\"float:right;width:70%\">Attic Trunk Copyright (c) 1999 - "+((new Date()).getFullYear())+ "&nbsp;All rights reserved.<br>Questions, comments, suggestions, can't find an item?<br>Drop us an e-mail at ");

var username = "Info";
var hostname = "AtticTrunk.com";
var linktext = username + "@" + hostname;
var subject = "?subject=Attic Trunk Visitor Assistance"; 
document.write("<a href='mail\" + \"to:\" + username + \"@\" + hostname + subject + \"' onmouseover=\"window.status='We would love to hear from you!',this.style.color='magenta';return true\" onmouseout=\"window.status=\'',this.style.color=\'';return true\">" + linktext + "</a></div>");
//Last Revision date broken by Yahoo Store sometime in 2006, HTML headers from their servers
//send current date to browsers rather than modified date
//if (currentpage=="home")
//{
//var page = "1" -0;						
//if (Date.parse(document.lastModified) != 0) {
//  var modiDate = new Date(document.lastModified);
//  var modiYear = modiDate.getYear();
//  modiYear = (modiYear < 2000) ? modiYear + 1900 : modiYear;
//  var monthName = new Array("January", "February", "March", "April", "May", 
//   "June", "July", "August", "September", "October", "November", "December");
//  document.write("<br>Site last updated: " + monthName[modiDate.getMonth()] + " ");
//  document.write(modiDate.getDate() + ", " + modiYear);
//  }
//}

document.write("</font></td><td width=125 align=\"center\">");

if (nl=="on")
{
var username = "Info";
var hostname = "AtticTrunk.com";
var linktext = username + "@" + hostname;
var subject = "?subject=Add me to the Attic Trunk Mailing List"; 
document.write("<font face=\"arial\" size=3><a href='mail\" + \"to:" + username + "@" + hostname + subject + "' onmouseover=\"window.status='Add me to the Attic Trunk mailing list',this.style.color='magenta';return true\" onmouseout=\"window.status='',this.style.color='';return true\">Join e-newsletter</a></font><br><br>");
}

// Tell-A-Friend   off-line account killed
//function p() {
//window.open('http://pub10.bravenet.com/announce/show.php?usernum=830425794&cpv=2',
//'bnettaf','width=525,height=570,top=10,left=150,toolbars=no,resizable=1');}

//document.write("<div align=\"center\"><a href=\"javascript: p();\" onmouseover=\"window.status='Email a friend about Attic Trunk';return true\" onmouseout='';return true\"><img title=\"Tell A Friend about AtticTrunk.com\" alt=\"Tell A Friend about AtticTrunk.com\" src=\"/lib/attictrunk/ATannounce.gif\" border=\"0\" width=110 height=35></a></div>");
document.write("</td></tr></table><br>");

if (currentpage!="home")
{
// Lower Page Banner Display    off-line account killed
//banner = '<center><A HREF="http://www.bannerswarm.com/cgi-bin/bpwork2.cgi?advert=NonSSI&page" TARGET="_blank">'
//banner += '<IMG SRC="http://www.bannerswarm.com/cgi-bin/bpwork2.cgi?ID=attictru&page" BORDER=0 width=468 height=60></a></center>'
//document.write(banner)
}

if (copyright=="on")
{
var sorry="Attic Trunk Copyright (c) 1999 - " + ((new Date()).getFullYear());
function click(e){
if (document.all) {
if (event.button == 2) {
alert(sorry);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(sorry);
return false;
}
}
}
if (document.layers) {
document.captureevents
(event.mousedown);
}
document.onmousedown=click;
}

