// JavaScript Document

// Lead Story - Just Change Filename
function appWriteLeadStoryPage()
{
	  document.write('"pzHarbour.htm"');
}

function appWriteLeadStoryPageLink()
{
	  // <a href="lead-page-filemame">Lead Story</a>
	  document.write('<a href='); appWriteLeadStoryPage();  document.write('>Lead Story</a>');
}

function appWriteOtherNewsPageLink()
{
	  document.write('<a href="index.htm">Other News</a>');
}


function appWriteHarbourLinksCaption()
{
 	  document.write('<strong>Related Links</strong><br>');
}

function appWriteHarbourLinks()
{
  	  document.write('<ul>');
	  document.write('<li><a href="pzHarbour.htm">Penzance Harbour Plan, Editorial</a></li>');
	  document.write('<li><a href="pzHarbourAerialPlan.htm">Pictures, Model &amp; Aerial Views</a></li>');
	  document.write('<li><a href="pzHarbourKeyNotes.htm">Key Objections &amp; Alternatives</a></li>');
	  document.write('<li><a href="pzHarbourPublicComment.htm">Public Comment &amp; Feedback</a></li>');
	  document.write('</ul>');
	  //
	  // document.write('<li><a href=""></a>&nbsp;</li>');
      //
  	  document.write('<ul>');
	  document.write('<li><a href="pzHarbourLatest.htm">Latest Campaign News</a></li>');
	  document.write('<li><a href="pzHarbourRPB.htm">Route Partnership Explained</a></li>');
	  document.write('<li><a href="pzHarbourHistory.htm">Harbour History &amp; Listed Buildings</a></li>');
	  document.write('<li><a href="pzHarbourIvanRowe.htm">Ivan Rowe, Marine Design Engineer</a></li>');
	  document.write('</ul>');
      //
  	  document.write('<ul>');
  	  document.write('<li><a href="http://www.friendsofpzharbour.org">Friends of Penzance Harbour</a></li>');
	  document.write('<li><a href="http://www.ioslinkharbours.co.uk">Route Partnership, Official Council Site</a></li>');
	  document.write('<li><a href="pzHarbourFerryPlan.htm">Trythall Shipping Ferry &amp; Freight Proposal</a></li>');
	  document.write('</ul>');

	  // document.write('<li><a href="pzHarbourCampaign.htm">Sign Up For pzNews Newsletter!</a></li>');
	  // document.write('<li><a href="pzHarbourListedBuildings.htm">Harbour Listed Buildings</a></li>');
	  // document.write('<li><a href="pzHarbourPhotos1.htm">More Pictures</a></li>');
}

function appWriteTopOfPage()
{
  document.write('<a href="#" target="_top">Top of Page</a>');
}


function appWriteHeader()
{
  // Declarations
  var dToday=new Date();
  
  // Page Caption
  document.write('<table height="20" width="700">');
  document.write('<tr valign="top">');
  document.write('<td width="20%">');
  document.write('<div align="left">');
  document.write('<img src="images/Cornish-Flag-H20px.gif">');
  document.write('</div>');
  document.write('</td>');
  document.write('<td width="60%">');
  document.write('<div align="center">');
  document.write('<font size="+1"><strong>The latest news for Penzance and West Cornwall</strong></font>');
  document.write('</div>');
  document.write('</td>');
  document.write('<td width="20%">');
  document.write('<div align="right">');
  document.write('<font size=\"+0\"><em>' + dToday.toLocaleDateString() + '</em></font>');
  document.write('</div>');
  document.write('</td>');
  document.write('</tr>');
  document.write('</table>');
  
  // Separator
  document.write('<hr size="1" width="700">');
  
  // Main Menu
  document.write('<font size="3">');
  document.write('<a href="index.htm">Home</a>');
  document.write(' | ');
  appWriteLeadStoryPageLink();
  document.write(' | ');
  appWriteOtherNewsPageLink();
  document.write(' | ');
  document.write('<a href="councillors.htm">Councillors</a>');
  document.write(' | ');
  document.write('<a href="mp.htm">MP/MEPs</a>');
  document.write(' | ');
  document.write('<a href="about.htm">About</a>');
  document.write('</font>');

  // demoted or automated links ...
  // document.write('<a href="reference.htm">Reference</a>');
  // document.write('<a href="pzHarbour.htm">Lead Story</a>');
  // document.write('<a href="otherNews.htm">Other News</a>');

  
  // Separator
  document.write('<br />');
  document.write('<br />');
 
}
// function appWriteHeader()


