
var pagename;
var catname;
var prodtitle;
var caturl;
var MerchantRefNum = wl_nbr;
var go_search;
var sort;
var teamname;
var titlename;

if(pagename == "homepage")
{
}
/*
else if(pagename == "category")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>'+ catname +'</b>');
}
else if(pagename == "product")
{
	document.write("<a href=http://"+ host_url +" class=breadcrumb>Auction Home</a> > <a href=http://"+ host_url + caturl +" class=breadcrumb>"+ catname +"</a> > <b>"+ prodtitle +"</b>");
}
*/
else if(pagename == "feature")
{
	if(sort == "closesoon")
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Closing Soon</b>');
	}
	else if(sort == "justopened")
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>New Items</b>');
	}
	else if(sort == "GameUsed")
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Game Used</b>');
	}
	else if(sort == "allitems")
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>All Items</b>');
	}
	else if(sort == "team")
	{
		if(teamname == "Alumni")
		{
			var titlename = "Alumni Association";
		}
		else if(teamname == "DBacks")
		{
			var titlename = "Arizona D-Backs";
		}
		else if(teamname == "Braves")
		{
			var titlename = "Atlanta Braves";
		}
		else if(teamname == "Orioles")
		{
			var titlename = "Baltimore Orioles";
		}
		else if(teamname == "RedSox")
		{
			var titlename = "Boston Red Sox";
		}
		else if(teamname == "Cubs")
		{
			var titlename = "Chicago Cubs";
		}
		else if(teamname == "WhiteSox")
		{
			var titlename = "Chicago White Sox";
		}
		else if(teamname == "Reds")
		{
			var titlename = "Cincinnati Reds";
		}
		else if(teamname == "Indians")
		{
			var titlename = "Cleveland Indians";
		}
		else if(teamname == "Rockies")
		{
			var titlename = "Colorado Rockies";
		}
		else if(teamname == "Tigers")
		{
			var titlename = "Detroit Tigers";
		}
		else if(teamname == "Marlins")
		{
			var titlename = "Florida Marlins";
		}
		else if(teamname == "Astros")
		{
			var titlename = "Houston Astros";
		}
		else if(teamname == "Royals")
		{
			var titlename = "Kansas City Royals";
		}
		else if(teamname == "Angels")
		{
			var titlename = "Los Angeles Angels";
		}
		else if(teamname == "Dodgers")
		{
			var titlename = "Los Angeles Dodgers";
		}
		else if(teamname == "Brewers")
		{
			var titlename = "Milwaukee Brewers";
		}
		else if(teamname == "Twins")
		{
			var titlename = "Minnesota Twins";
		}
		else if(teamname == "Mets")
		{
			var titlename = "New York Mets";
		}
		else if(teamname == "Yankees")
		{
			var titlename = "New York Yankees";
		}
		else if(teamname == "Athletics")
		{
			var titlename = "Oakland Athletics";
		}
		else if(teamname == "Phillies")
		{
			var titlename = "Philadelphia Phillies";
		}
		else if(teamname == "Pirates")
		{
			var titlename = "Pittsburgh Pirates";
		}
		else if(teamname == "Padres")
		{
			var titlename = "San Diego Padres";
		}
		else if(teamname == "Giants")
		{
			var titlename = "San Francisco Giants";
		}
		else if(teamname == "Mariners")
		{
			var titlename = "Seattle Mariners";
		}
		else if(teamname == "Cardinals")
		{
			var titlename = "St. Louis Cardinals";
		}
		else if(teamname == "Rays")
		{
			var titlename = "Tampa Bay Rays";
		}
		else if(teamname == "Rangers")
		{
			var titlename = "Texas Rangers";
		}
		else if(teamname == "Jays")
		{
			var titlename = "Toronto Blue Jays";
		}
		else if(teamname == "Nationals")
		{
			var titlename = "Washington Nationals";
		}
		else
		{
			var titlename = "";
		}
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>'+titlename+'</b>');
	}
	
}
else if(pagename == "account")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>My Account</b>');
}
else if(pagename == "bidstatus")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Bid Status</b>');
}
else if(pagename == "watchlist")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Watch List</b>');
}
else if(pagename == "emailpref")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Email Preferences</b>');
}
else if(pagename == "contactus")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Contact Us</b>');
}
else if(pagename == "contactthanks")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Contact Us Thank You</b>');
}
else if(pagename == "addressbook")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Address Book</b>');
}
else if(pagename == "addressbookadd")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Add to Address Book</b>');
}
else if(pagename == "addressbookupd")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <a href="http://'+ host_url +'/cgi-bin/ncommerce3/Welcome?merchant_rn='+ MerchantRefNum +'" class=breadcrumb>My Account</a> > <b>Update Address Book</b>');
}
else if(pagename == "bidding")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Bid Entry</b>');
}
else if(pagename == "bidconfirm")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Bid Confirmation</b>');
}
else if(pagename == "bidresult")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Bid Results</b>');
}
else if(pagename == "buying")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Buy Item Entry</b>');
}
else if(pagename == "buyconfirm")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Buy Confirmation</b>');
}
else if(pagename == "buyresult")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Buy Results</b>');
}
else if(pagename == "login")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Login</b>');
}
else if(pagename == "emailfriend")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Email a Friend</b>');
}
else if(pagename == "emailfriendthanks")
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Email a Friend Confirmation</b>');
}
else if(pagename == "search")
{
	if(go_search=="Y")
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Search Result</b>');
	}
	else
	{
		document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a> > <b>Search</b>');
	}
}
else
{
	document.write('<a href="http://'+ host_url +'" class=breadcrumb>Auction Home</a>');
}