function bathgate_header_a(directory, wide)

// Inserts standard header text, including a menu bar and the current date 
// (all of width 'wide'), for the range of files  comprising the web site 
// for St Columba's Episcopal Church Bathgate.  'directory' will be './' 
// for the highest level of web pages ('index', 'link') and normally 
// '../' otherwise, apart from 'news' where it will be '../..'.

// Uses the JavaScript files from Bathgate's scripts file
// 		../scripts/news_reference.js
//		../scripts/today.js
// which must be declared in the enclosing file.

// To make sense, MUST be used in conjunction with 'bathgate_header_b', with the 
// call to 'news_reference' sandwiched between them.

// PG:10.08.2011.

{	var	left	= 2*wide/3;

	if (wide<560) document.write('<font color=\"green\" ' +
		'size=+1><em>Warning: header banner will be distorted: ' +
		'increase available width in html file!</em></font>' +
		'<p> </p>');
	document.write('<table align=\"center\" border=\"0\" ' +
		'cellpadding=\"5\" cellspacing=\"0\" width=\"' + wide + '\">');
	document.write('<tr> <td colspan=\"2\"><img alt=' +
		'\"St Columba\'s, Bathgate\" border=\"0\" height=\"100\"' + 				'src=\"' + directory + '/images/title_index.gif\" width=\"' + 
		wide +'\"></td> </tr>');
	document.write('<tr bgcolor=\"#660066\" height=\"33\">'); 
	document.write('<td align=\"left\" width=\"' + left + '\">' + 
 		'<!-- menu banner -->' +
		'<div class=\"menu\">' +
		'<a href =\"' + directory + 'link.html\">link</a> | ' +
		'<a href =\"' + directory + 'index.html\">home</a> | ' +
		'<a href =\"' + directory + 'bathgate/church.html\">church</a> | ' +
		'<a href =\"' + directory + 'bathgate/worship.html">worship</a> | '); 
	}




// End of file bathgate_header_a.js.


