var pagename;
var catname;
var prodtitle;
var caturl;
var MerchantRefNum = wl_nbr;

if(pagename == "homepage")
{
	document.write('<img src="http://pics1.truition.com/images/p2/wl/blank.gif" width=1 height=2 border=0>');
}
else if(pagename == "category")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>'+ catname +'</b>');
}
else if(pagename == "product")
{
	document.write("<a href=http://"+ host_url +">Home</a> > <a href=http://"+ host_url + caturl +">"+ catname +"</a> > <b>"+ prodtitle +"</b>");
}
else if(pagename == "feature")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>View All Auctions</b>');
}
else if(pagename == "account")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>My Account</b>');
}
else if(pagename == "bidstatus")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Bid Status</b>');
}
else if(pagename == "watchlist")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Watch List</b>');
}
else if(pagename == "emailpref")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Email Preferences</b>');
}
else if(pagename == "contactus")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Contact Us</b>');
}
else if(pagename == "contactthanks")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Contact Us Thank You</b>');
}
else if(pagename == "addressbook")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Address Book</b>');
}
else if(pagename == "addressbookadd")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Add to Address Book</b>');
}
else if(pagename == "addressbookupd")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'">My Account</a> > <b>Update Address Book</b>');
}
else if(pagename == "bidding")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Bid Entry</b>');
}
else if(pagename == "bidconfirm")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Bid Confirmation</b>');
}
else if(pagename == "bidresult")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Bid Results</b>');
}
else if(pagename == "buying")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Buy Item Entry</b>');
}
else if(pagename == "buyconfirm")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Buy Confirmation</b>');
}
else if(pagename == "buyresult")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Buy Results</b>');
}
else if(pagename == "login")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Login</b>');
}
else if(pagename == "emailfriend")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Email a Friend</b>');
}
else if(pagename == "emailfriendthanks")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Email a Friend Confirmation</b>');
}
else if(pagename == "pastauctions")
{
	document.write('<a href="http://'+ host_url +'">Home</a> > <b>Select Past Auctions</b>');
}
else
{
	document.write('<a href="http://'+ host_url +'">Home</a>');
}
