/*******************************************
 * Kaosweaver Expert Breadcrumbs           *
 * by Paul Davis http://www.kaosweaver.com * 
 * Copyright 2003 all rights reserved      *
 *******************************************/
var KW_uTitle=document.title
function KW_breadcrumbs(o,m,n,r,f,q,v) { // v1.3.0
	d=document;l=window.location.toString();s=l.split("/");d1=" <span class='kwspan'>"+m+"</span> "
	if (f!=-1) if (l.indexOf(f)!=-1){sNew = new Array(); for (i=0;i<s.length-1;i++) {sNew[i] = s[i]};
	s = sNew;};i=q;	h="<a href='"+KW_jTrail(l,i)+f+"' class='kwhref'>"+o+"</a>";
	t="<span class='kwtitle'>"+KW_uTitle+"</span>";if (s.length==q) {h=t;d1=""}	w=(r==1)?h+d1:t;
	d.write(w);if (n&&!r) d.write("<br>");if (r==1) for (i=v;i<s.length;i++) {d.write("<a href='");
	d.write(KW_jTrail(l,i)+f+"' class='kwhref'>"+KW_fName(s[i-1])+"</a> <span class='kwspan'>"+m+"</span> ")
	l=window.location.toString();} else for (i=s.length;i>v;i--) {d.write(" <span class='kwspan'>"+m)
	d.write("</span> <a href='"+KW_jTrail(l,i-1)+f+"' class='kwhref'>"+KW_fName(s[i-2])+"</a>");
	l=window.location.toString();}if (n && r) d.write("<br>");w=(r==1)?t:d1+h;if (s.length!=q) d.write(w)
}
function KW_jTrail(l,i){ // v1.3.0
	p=0;for (z=0;z<i;z++)p=l.indexOf("/",p)+1;return l.substring(0,p)
}
function KW_fName(a) { // v1.3.0
	a=unescape(a); g=a.split(' '); for (l=0;l<g.length;l++)	
	g[l]=g[l].toUpperCase().slice(0,1)+g[l].slice(1);retVal=g.join(" "); 
	nList= new Array("about_pbb","About Us","associations","Associations","case_studies","Case Studies","case_studies_continued","Case Studies Continued","company_history","Company History","corporate_facts","Corporate Facts","vision_mission_and_values","Vision","account_setup","Account Setup","customs_brokerage_-_canada","Customs Brokerage - Canada","cb_cdn_account_setup_step_1","Mail-in Documents","online_setup","Online Setup","customs_brokerage_-_us","Customs Brokerage - USA","on-line_set-up_us","Online Setup","fda_overview","FDA Overview","international_freight_forwarding","International Freight Forwarding","careers","Careers","contact_us","Contact Us","investor_relations","Investor Relations","news","News & Resources","awards_news","Awards","daily_news_briefs","Daily News Briefs","industry_news","Industry News","newsletters","Newsletters","news_releases","News Releases","2002_archive","2002 Archive","2003_archive_news","2003 Archive","2004_archive","2004 Archive","seminars_and_events","Seminars & Events","white_papers","White Papers","services","Services","north_american_transportation","North American Transportation","tools","Tools & Resources","frequently_asked_questions","Frequently Asked Questions","hs_codes","HS Codes","custom_request_hsc","HS Codes","search_page","HS Codes","international_borders","International Borders","subscribe_tools","Subscribe Tools","useful_links_tools","Useful Links","white_papers","White Papers","trade_solutions","Trade Solutions","canada_ts","Canada","china_ts","China","mexico","Mexico","usa_ts","USA","about_pbb","About Us","associations","Associations","company_history","Company History","corporate_facts","Corporate Facts","vision_mission_and_values","Vision","services","Services","north_american_transportation","North American Transportation")
	for (var x=0;x<nList.length;x=x+2) 	if (a==nList[x]) {retVal=nList[x+1];break;}	
	return retVal;
}