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 aTop2Text=new Array();
var aTop2Link=new Array();
var aBottomText=new Array();
var aBottomLink=new Array();

// arrays for left navigation
aLeftText[0]="home";			aLeftLink[0]="index.htm";
aLeftText[1]="find us";		aLeftLink[1]="find_01.htm";
aLeftText[2]="the house";		aLeftLink[2]="house_01.htm";
aLeftText[3]="taste the flavour!";		aLeftLink[3]="taste_01.htm";
aLeftText[4]="contact us...";		aLeftLink[4]="contact_01.htm";

// arrays for top2 navigation
aTop2Text[0]="Investor Relations";	aTop2Link[0]="investors_01.htm"
aTop2Text[1]="Statement of Prospects";	aTop2Link[1]="statement_01.htm"
aTop2Text[2]="Press Releases";		aTop2Link[2]="press_01.htm"
aTop2Text[3]="Contact Details";		aTop2Link[3]="inv_contact_details_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="100" cellSpacing="0" cellPadding="0" width="700" bgColor="#3862C0"  background="images/top_banner_01.jpg" border="0">'
	strTop+='<tr><td>&nbsp;</td></tr>'
	strTop+='</table>'
	document.write(strTop);
}

function writeTop2Navigation(){
	strNav='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aTop2Text.length;i++){
		strNav+='<a class="top2link" href="'+aTop2Link[i]+'">'+aTop2Text[i]+'</a>'+ strSpaces
	}
	strTop2= '<table align=center height="10" cellSpacing="0" cellPadding="0" width="500" border="0">'
	strTop2+='<tr><td  class="boxtext" valign="bottom" align="center">'+strNav+'</td></tr>'
	strTop2+='</table>'
	document.write(strTop2);
}



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>'
	}

	strLeft= '<table align=center cellSpacing="0" cellPadding="5" width="205" bgColor="#ffffff" border="1" bordercolor=#3862C0>'
	strLeft+='<tr><td bgcolor=#3862C0 class="Leftlink" valign="top" align="center"><a class="boxtext3">getting around this site</a></td></tr>'
	strLeft+='<tr><td class="Leftlink" valign="top" align="left">'+strNav+'</td></tr>'
	strLeft+='</table>'
	document.write(strLeft);
}

function writeLeft3Navigation(){
	strNav='';
	strSpaces='&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'
	for(i=0;i<aBottomText.length;i++){
		strNav+='<a class="left2nav" href="'+aLeft2Link[i]+'">'+aLeft2Text[i]+'</a>'+ strSpaces
	}

	strLeft3= '<table align=center height="120" cellSpacing="0" cellPadding="5" width="205" bgColor="#ffffff" border="1" bordercolor=#3862C0>'
	strLeft3+='<tr><td class="Left3link" height=40 bgcolor=#3862C0 align=center><a target="_new" href="http://www.provenceweb.fr/e/groupes/luberon/loisirs.htm"><image src="images/luberon_01.gif" border=0 height=40 width=150></a><br><a class="left3nav" target="_new" href="http://www.provenceweb.fr/e/groupes/luberon/loisirs.htm"><b>Luberon Regional Park</b></a></td></tr><tr><td class="Left3link" height=15 bgcolor=#ffffff><a class="left4nav">For a list of pursuits available within the Luberon Regional Park, as well as an interactive map, and details of the history of the place, <a class="left2nav" A target="_new" href="http://www.provenceweb.fr/e/groupes/luberon/loisirs.htm"><b>click here >></b></a></td></tr>'
	strLeft3+='</table>'
	document.write(strLeft3);
}

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="Bottomlink" href="'+aBottomLink[i]+'">'+aBottomText[i]+'</a>'+ strSpaces
	}

	strBottom= '<table align=center height="50" cellSpacing="2" cellPadding="0" width="700" bgColor="#3862C0"  border="0" background="images/bottom_back_01.gif">'
	strBottom+='<tr><td width=120 class="Bottomlink" valign="center" align="left"><a target="_new" href="http://www.3bweb.com/"><img src="images/built_by_3b.gif" border=0 width=120 height=50></a></td><td class="Bottomlink" valign="bottom" align=right>tel: +44 20 8879 3682<br>email: <a class="Bottomlink" href="mailto:sclough@acmshipping.co.uk">sclough@acmshipping.co.uk</a></td></tr>'
	strBottom+='</table>'
	document.write(strBottom);
}

