var aLeftText=new Array();
var aLeftLink=new Array();
var aLeft2Text=new Array();
var aLeft2Link=new Array();
var aTopText=new Array();
var aTopLink=new Array();
var aBottomText=new Array();
var aBottomLink=new Array();

// arrays for left navigation
aLeftText[0]="Britain I";		aLeftLink[0]="britain_01.htm";
aLeftText[1]="Britain II";		aLeftLink[1]="britain_02.htm";
aLeftText[2]="Britain & Ireland";	aLeftLink[2]="britain_03.htm";
aLeftText[3]="Europe & Beyond";		aLeftLink[3]="europe_01.htm";

// arrays for left2 navigation
aLeft2Text[0]="Commissions & Portraits";	aLeft2Link[0]="comport_01.htm";
aLeft2Text[1]="Drawings";			aLeft2Link[1]="oxford_01.htm";
aLeft2Text[2]="Greetings Cards";		aLeft2Link[2]="greetings_cards_01.htm";

// arrays for top navigation
aTopText[0]="Home";		aTopLink[0]="http://www.nickbremer.com/index.htm"
aTopText[1]="Gallery";		aTopLink[1]="http://www.nickbremer.com/gallery/"
aTopText[2]="News";		aTopLink[2]="http://www.nickbremer.com/news_01.htm"
aTopText[3]="Profile";		aTopLink[3]="http://www.nickbremer.com/profile_01.htm"
aTopText[4]="Contact";		aTopLink[4]="http://www.nickbremer.com/contact_01.htm"

// arrays for bottom navigation
aBottomText[0]="profile";		aBottomLink[2]="profile_01.htm"
aBottomText[2]="home";			aBottomLink[0]="index.htm"
aBottomText[1]="contact";		aBottomLink[1]="contact_01.htm"


var weekdays=new Array("sun","mon","tue","wed","thu","fri","sat")
var months=new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec")


function writeTopNavigation(){
	strNav='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aTopText.length;i++){
		strNav+='<a class="toplink" href="'+aTopLink[i]+'">'+aTopText[i]+'</a>'+ strSpaces
	}

	strTop= '<table align=center height="118" cellSpacing="0" cellPadding="5" width="760" bgColor="#124A78"  background="http://www.nickbremer.com/images/top_bar_01.gif" border="0">'
	strTop+='<tr><td  class="toplink" valign="bottom" align="left">'+strNav+getToday()+'</td></tr>'
	strTop+='</table>'
	document.write(strTop);
}

function writeLeftNavigation(){
	strNav='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aLeftText.length;i++){
		strNav+='<a class="Leftnav" href="'+aLeftLink[i]+'">'+aLeftText[i]+'</a><br>'
	}
	strNav2='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aLeft2Text.length;i++){
		strNav2+='<a class="Leftnav" href="'+aLeft2Link[i]+'">'+aLeft2Text[i]+'</a><br>'
	}

	strLeft= '<table align=center cellSpacing="1" cellPadding="5" width="150" bgColor="#000000" border=0>'
	strLeft+='<tr><td bgcolor=#124A78 class="Leftlink" valign="top" align="left"><a class="boxtext3">Landscapes:</a></td></tr>'
	strLeft+='<tr><td bgcolor=#EDE1D7 class="Leftlink" valign="top" align="left">'+strNav+'</td></tr>'
	strLeft+='<tr><td bgcolor=#124A78 class="Leftlink" valign="top" align="left"><a class="boxtext3">Other Work:</a></td></tr>'
	strLeft+='<tr><td bgcolor=#EDE1D7 class="Leftlink" valign="top" align="left">'+strNav2+'</td></tr>'
	strLeft+='</table>'
	document.write(strLeft);
}

function getToday(){
	today = new Date();
	return weekdays[today.getDay()]+", "+months[today.getMonth()]+" "+today.getDate()+" "+today.getFullYear();
}

function writeBottomNavigation(){
	strNav='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aBottomText.length;i++){
		strNav+='<a class="toplink" href="'+aTopLink[i]+'">'+aTopText[i]+'</a>'+ strSpaces
	}

	strBottom= '<table align=center height="50" cellSpacing="0" cellPadding="5" width="760" bgColor="#698FAE"  border="0">'
	strBottom+='<tr><td class="Bottomlink" align="left" valign=center width=130>'
	strBottom+='<a target="_new" href="http://www.3bweb.com/"><img src="http://www.nickbremer.com/images/built_by_3b.gif" border=0 width=120 height=50></a>'
	strBottom+='</td><td class="Bottomlink" align="left" valign=center width=160>'
	strBottom+='<a target="_new" href="http://www.britisharts.co.uk/"><img src="http://www.nickbremer.com/images/british_arts_01.jpg" border=0 width=150 height=40></a>'
	strBottom+='</td><td  class="Bottomlink" valign="bottom" align=right>'
	strBottom+='<img src="http://www.nickbremer.com/images/www_01.gif" border=0 width=240 height=50></a></td></tr>'
	strBottom+='</table>'
	document.write(strBottom);
}

