
<!--
// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages[0] = '/images/topback1.png'
theImages[1] = '/images/topback2.png'
theImages[2] = '/images/topback3.png'

// ======================================
// do not change anything below this line
// ======================================

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));

function showTop(){
var str='';
str+='<body topmargin="0">';
str+='<div align="center">';
str+='<center>';
str+='<table width="710" height="116" background="'+theImages[whichImage]+'" cellpadding="0"  cellspacing="0">';
str+='<tbody>';
str+='<tr>';
str+='<td style="vertical-align: top; height: 145px;">';
str+='<p align="right">';
str+='<img class="bars"  src="\/images\/welcomesmall.png"  alt="Appleby in Westmorland"><\/a><br>';
str+='<a href="\/minutes.htm">';
str+='<img class="bars"  src="\/images\/atcsmall.png"  onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"  onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" alt="Appleby Town Council"><\/a><br>';
str+='<a href="\/town.htm"><img class="bars"  src="\/images\/apptownsmall.png"  onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"  onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" alt="General Information about Appleby"><\/a><br>';
str+='<a href="\/tourist_information.htm"><img class="bars"  src="\/images\/visitsmall.png"  onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100"  onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" alt="Visitor Information"><\/a>';
str+='<\/p>';
str+='<form action="http:\/\/www.google.com\/cse" id="cse-search-box">         ';
str+='<div>';
str+='<p align="right">';
str+='<input name="ie" value="UTF-8"  type="hidden">';
str+='<input name="q" size="26"  style="font-family: Tahoma; font-size: 9pt;" type="text">';
str+='<select size="1" name="cx"  style="border-style: solid; border-width: 1px; font-family: Tahoma;  font-size: 9pt;">';
str+='<option selected="selected"  value="000561464215494058478:ntgxtgbgin8">in Appleby<\/option>';
str+='<option value="000561464215494058478:1dpr0sh9dn8">in Cumbria<\/option>         <\/select>';
str+='<input name="sa" value="Search"  style="border-style: solid; border-width: 1px; background-color: rgb (255, 255, 255); color: rgb(0, 0, 0); font-family: Tahoma; font-size:  9pt;"  type="submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
str+='<\/p>';
str+='<\/div>';
str+='<\/form>';
str+='<script type="text\/javascript" src="http:\/\/www.google.com\/coop\/cse\/brand?form=cse-search-box&lang=en"><\/script>';
str+='<\/td>';
str+='<\/tr>';
str+='<\/tbody>';
str+='<\/table>';
document.write(str);
}
//-->
<!--
function visitMenu(){
var stm='';
stm+='<table style="text-align: left;" border="0" cellpadding="0"';
stm+='cellspacing="0" align="left">';
stm+='<tbody>';
stm+='<tr>';
stm+='<td style="vertical-align: top;">';
stm+='<a href="\http://www.applebyfair.org"><img src="\/images\/visitside2.png" class="bars" ';
stm+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stm+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stm+='alt="Appleby Horse Fair"><\/a><br>';
stm+='<a href="\/Town/castle.htm"><img src="\/images\/visitside3.png" class="bars" ';
stm+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stm+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stm+='alt="Appleby Castle"><\/a>';
stm+='<\/td>';
stm+='<\/tr>';
stm+='<\/tbody>';
stm+='<\/table>';
document.write(stm);
}
//-->
<!--
function townMenu(){
var stq='';
stq+='<table style="text-align: left;" border="0" cellpadding="0"';
stq+='cellspacing="0" align="left">';
stq+='<tbody>';
stq+='<tr>';
stq+='<td>';
stq+='<a href="\/Town\/railway.htm"><img src="\/images\/aroundside1.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Settle-Carlisle Railway"><\/a><br>';
stq+='<a href="\/outdoors\/walks.htm"><img src="\/images\/aroundside2.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Walking & Cycling"><\/a><br>';
stq+='<a href="\/Town\/shopping.htm"><img src="\/images\/aroundside3.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Shopping"><\/a><br>';
stq+='<a href="\/Town\/churches.htm"><img src="\/images\/aroundside4.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Churches"><\/a><br>';
stq+='<a href="\/outdoors\/angling.htm"><img src="\/images\/aroundside5.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Fishing"><\/a><br>';
stq+='<a href="\/links.htm"><img src="\/images\/aroundside6.png" class="bars" ';
stq+='onmouseover="this.style.opacity=1;this.filters.alpha.opacity=100" ';
stq+='onmouseout="this.style.opacity=0.6;this.filters.alpha.opacity=60" ';
stq+='alt="Links"><\/a>';
stq+='<\/td>';
stq+='<\/tr>';
stq+='<\/tbody>';
stq+='<\/table>';
document.write(stq);
}
//-->
<!--
function bottomText(){
var stn='';
stn+='<font size="1"><br>';
stn+='Appleby Town Council, The Moot Hall, Boroughgate,';
stn+='Appleby-in-Westmorland, Cumbria, CA16 6XE. Photographs at top copyright';
stn+=' Dave Willis<\/font>';
stn+='<\/div><\/center>';
document.write(stn);
}
//-->
