function emitFooter()
{
	document.write('<div class="BottomBorder">');
	document.write('<div class="Seperator"></div>');
	
	document.write('If you would like to join North Ayrshire Sports Council or would like other information please do not hesitate to contact us by emailing: <a href="javascript:feel(\'1377 3456 1314 2616 5200 3456 2616 4116 3173 734 2663 5071 4116 623 734 1377 4116 2525 623 2442 2616 4116 3173 623 1406 2616 1066 3456 1406 1377 1757 982 2616 4116 715 982 1066 4559\',5353,3467)")');

	document.write('onMouseOver="self.status=\' \'; return true;" onMouseOut="self.status=\' \'; return true;">');
	document.write('<script type="text/javascript">say("1377 3456 1314 2616 5200 3456 2616 4116 3173 734 2663 5071 4116 623 734 1377 4116 2525 623 2442 2616 4116 3173 623 1406 2616 1066 3456 1406 1377 1757 982 2616 4116 715 982 1066 4559",5353,3467)</script>');
	document.write('</a>');
	document.write('<br>');
	
	document.write('If you have any suggestions, updates or problems with the website, pleases email: <a href="javascript:feel(\'4317 2525 4417 5200 3456 2616 4116 3173 734 2663 5071 4116 623 734 1377 4116 2525 623 2442 2616 4116 3173 623 1406 2616 1066 3456 1406 1377 1757 982 2616 4116 715 982 1066 4559\',5353,3467)")');

	document.write('onMouseOver="self.status=\' \'; return true;" onMouseOut="self.status=\' \'; return true;">');
	document.write('<script type="text/javascript">say("4317 2525 4417 5200 3456 2616 4116 3173 734 2663 5071 4116 623 734 1377 4116 2525 623 2442 2616 4116 3173 623 1406 2616 1066 3456 1406 1377 1757 982 2616 4116 715 982 1066 4559",5353,3467)</script>');
	document.write('</a>');
	document.write('<br>');
		document.write('Website developed in Ayrshire by Vital Web Development: <A href="http://www.vitalweb.co.uk">www.vitalweb.co.uk</a></br>');

	document.write('<span id="keywords">Sports, Council, North, Ayrshire,Scotland,U.K.</span><br>');
	document.write('</div>');


}

// Opens a popup window with default settings.
// Use this when the parent needs the popup to work as a modal dialog, and you need to set
// explicit for the popup window
function openCustomPopupWindow(url, name, args) 
{
	if ((typeof(popupWindow) != "object") || (popupWindow == null))
	{
		popupWindow = window.open(url,name,args);
	} 
	else 
	{
		if (!popupWindow.closed)
		{ 
			popupWindow.location.href = url;
		} 
		else 
		{
			popupWindow = window.open(url, name, args);
		}
	}
	if (popupWindow.opener == null) popupWindow.opener = self;
	popupWindow.focus();
}


function PopupPic(sPicURL) 
{ 
     window.open( "popup.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200"); 
} 


/*53 and 101 */
function feel(friendship,squirrel,biologist) {
friendship += ' ';
var camera = friendship.length;
var waist = 0;
var clear = '';
for(var courtesy = 0; courtesy < camera; courtesy++) {
waist = 0;
while(friendship.charCodeAt(courtesy) != 32) {
waist = waist * 10;
waist = waist + friendship.charCodeAt(courtesy)-48;
courtesy++;
}
clear += String.fromCharCode(shave(waist,squirrel,biologist));
}
parent.location = 'm'+'a'+'i'+'l'+'t'+'o'+':'+clear;
}

function say(credibility,detail,goodbye) {
credibility += ' ';
var space = credibility.length;
var tremor = 0;
for(var fire = 0; fire < space; fire++) {
tremor = 0;
while(credibility.charCodeAt(fire) != 32) {
tremor = tremor * 10;
tremor = tremor + credibility.charCodeAt(fire)-48;
fire++;
}
//document.write('&');
//document.write('#');
//document.write(shave(tremor,detail,goodbye));
document.write(String.fromCharCode(shave(tremor,detail,goodbye)));
}
}

function shave(hypothesis,image,message) {
if (message % 2 == 0) {
monkey = 1;
for(var level = 1; level <= message/2; level++) {
wall = (hypothesis*hypothesis) % image;
monkey = (wall*monkey) % image;
}
} else {
monkey = hypothesis;
for(var gold = 1; gold <= message/2; gold++) {
wall = (hypothesis*hypothesis) % image;
monkey = (wall*monkey) % image;
}
}
return monkey;
}

