// Written by skrause on December 6, 2000
// This is a cache-able Javascript file, which writes common source code
// on the fly, preventing it from having to be downloaded time and time again.

// Need to grab the session from the main (referring) document, otherwise people
// not using cookies r fscked (as they deserve to be mind u, or not, depending on how u interpret it).
var session = document.forms[0].session.value;

//	
//      
function makeTopGlobalPayments() {
        document.write('<table border="0" cellpadding="0" cellspacing="0" width="780" height="64" align="center">');
        document.write('<tr height="64">');
        document.write('<td><a href="/index.htm?session='+session+'"><IMG SRC="/images/wb_logo_global_payments.gif" border="0" width="780" height=64></a></td>');
        document.write('</tr></table>');
}
//	

//      
//	

function makeNavBarGlobalPayments() {
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="780" align="center">');
	document.write('<tr height="22" class=navbar>');

	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/offers.htm?session='+session+'" class=top>Trade Leads</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/showrooms.htm?session='+session+'" class=top>Company Showrooms</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/companies.htm?session='+session+'" class=top>Directory</a>&nbsp;&nbsp;</td>');
//	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/auctions/index.htm?session='+session+'" class=top>Auctions</a>&nbsp;&nbsp;</td>');
//	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/news.htm?session='+session+'" class=top>News</a>&nbsp;&nbsp;</td>');
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/resources/index.htm?session='+session+'" class=top>Resources</a>&nbsp;&nbsp;</td>');
//	
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/mail/mail.htm?session='+session+'" class=top>Email</a>&nbsp;&nbsp;</td>');
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/account/account_manage.htm?session='+session+'" class=top>Account Management</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/contact/contact.htm?session='+session+'" class=top>Contact</a>&nbsp;&nbsp;</td>');
//	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/investors/index.htm?session='+session+'" class=top>Investors</a>&nbsp;&nbsp;</td>');
	document.write('</tr></table>');
}

function makeBottomBar() {
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="780" align="center" style="margin-bottom:5px;">');
	document.write('<tr height="20" class=navbar>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/sitemap.htm?session='+session+'" class=top>Sitemap</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/privacy.htm?session='+session+'" class=top>Privacy Statement</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/disclaimer.htm?session='+session+'" class=top>Terms of Use</a>&nbsp;&nbsp;</td>');
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/recommend.htm?session='+session+'" class=top>Recommend this Site</a>&nbsp;&nbsp;</td>');
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/linkto.htm?session='+session+'" class=top>Link to Us</a>&nbsp;&nbsp;</td>');
//	
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="http://www.worldbidpartners.com/" class=top>Partnership Program');
//	
	document.writeln('<td align=center nowrap>&nbsp;&nbsp;<a href="/faq.htm?session='+session+'" class=top>Help</a>&nbsp;&nbsp;</td>');
	document.write('</tr></table>');
}

