var cText = ''
var rel = ''
if( location.pathname.indexOf('/alsq/') >= 0 || location.pathname.indexOf('/~alsq/') >= 0 )
{
	rel = '/alsq'
}
cText += '<div class="header">'
cText += '<table style="width: 100%;" cellpadding="0" cellspacing="0" border="0">'
cText += '<tr>'

cText += '<td>'
// cText += '<br>location.pathname=' + location.pathname + '<br>'
// cText += '<br>document.referrer=' + document.referrer + '<br>'
// cText += '<br>document.URL=' + document.URL + '<br>'
cText += '<a alt="HOME" href="' + rel + '/"><img alt="HOME" src="' + rel + '/common/HeaderPeachies.gif" border="0" style="float:left"></a>'
cText += '</td>'

cText += '<td pad=0 border=0>'
cText += '<h1 style="font-family: comic sans ms, arial, times new roman, times; text-align: center"><a alt="HOME" class="home" href="' + rel + '/">The African Lovebird and Foreign<br>Parrot Society of Queensland</a></h1>'
cText += '<div style="float:bottom">'
cText += '<ul class="menu">'
if( location.pathname != '/alsq/'
&& location.pathname != '/alsq/index.html'
&& location.pathname != '/index.html'
&& location.pathname != '/'
&& location.pathname != '/~alsq/'
&& location.pathname != '/~alsq/index.html'
&& location.pathname != '/~index.html')
{
	cText += '<li class="menu"><a href="' + rel + '/" class="menu">Home</a></li>'
}
cText += '<li class="menu"><a href="' + rel + '/articles/index.html" class="menu">Articles</a></li>'
cText += '<li class="menu"><a href="' + rel + '/classifieds/index.php" class="menu">Classifieds</a></li>'
cText += '<li class="menu"><a href="' + rel + '/events/events.php" class="menu">Events</a></li>'
cText += '<li class="menu"><a href="' + rel + '/gallery/index.php" class="menu">Gallery</a></li>'
cText += '<li class="menu"><a href="' + rel + '/membership.html" class="menu">Membership</a></li>'
cText += '<li class="menu"><a href="' + rel + '/contactus.php" class="menu">Contact Us</a></li>'
cText += '<li class="menu"><a href="#" class="menulast" onclick="history.go(-1); return false">Back</a></li>'
cText += '</ul>'
cText += '</div>'
cText += '</td>'

cText += '<td>'
cText += '<a alt="HOME" href="' + rel + '/"><img alt="HOME" src="' + rel + '/common/HeaderMask.gif" border="0" style="float:right"></a>'
cText += '</td>'

cText += '</tr></table>'
cText += '</div>'
document.write(cText)
