function zoomPic(pictozoom,alttext,widthsize,heightsize) {
    //Check for nopic
    if (pictozoom == "nopic"){
    window.alert ('Sorry there is no enlarged picture available.');
    } else {

    //Function to Zoom in on pictures
    zoomWin = window.open ('','ZoomWin','menubar=no, resizable=no, scrollbars=no, titlebar=no, toolbar=no, width=' + (widthsize + 100) +', height=' + (heightsize + 100));
    zoomWin.document.write('<html><head><title>Zoom View</title></head><body bgcolor="#8DCFF4" onblur="self.close()"><div align="center">');
    zoomWin.document.write('<img src="' +pictozoom+ '" alt="' +alttext+ '" width="' +widthsize+ '" height="' +heightsize+ '">');
    zoomWin.document.write('<center><b>' + alttext +'</b></center>');
    zoomWin.document.write('<form> <input type="button" value="Close Window" onClick="self.close()"></form>')
    zoomWin.document.write('</div></body></html>');
    zoomWin.document.close();
    }
}

function PopUp(URL) {
	// Do we know a link?
	if ( URL == "Unknown" ) {
		window.alert ( 'Sorry after searching the net\nI could not find a site for this club.\n\nIf you know a web address for this club,\nplease submit a link using the feedback\nsection of our site');
	} else {
	window.open(URL, "MevagisseyPopUp", "toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=1024,height=768,left = 0,top = 0");
	}
}

// Hover over
var agt = navigator.userAgent.toLowerCase();
var originalFirstChild;
function createTitle(which, string, x, y)
{
	// record the original first child (protection when deleting)
	if (typeof(originalFirstChild) == 'undefined')
	{
		originalFirstChild = document.body.firstChild;
	}

	x = document.all ? (event.clientX + document.body.scrollLeft) : x;
	y = document.all ? (event.clientY + document.body.scrollTop) : y;
	element = document.createElement('div');
	element.style.position = 'absolute';
	element.style.zIndex = 1000;
	element.style.visibility = 'hidden';
	excessWidth = 0;
	if (document.all)
	{
		excessWidth = 50;
	}
	excessHeight = 20;
	element.innerHTML = '<div class="bodyline"><table width="150" cellspacing="0" cellpadding="0" border="0"><tr><td>'
	+
	 '<table cellspacing="5" cellpadding="5"; border="1" width="100%" class="forumline"><tr><td class="hover" nowrap="nowrap"><span class="topictitle">'
	 		+ string + '</span></td></tr></table>'



	 + '</span></td></tr></table></div>';
	renderedElement = document.body.insertBefore(element, document.body.firstChild);
	renderedWidth = renderedElement.offsetWidth;
	renderedHeight = renderedElement.offsetHeight;

	// fix overflowing off the right side of the screen
	overFlowX = x + renderedWidth + excessWidth - document.body.offsetWidth;
	x = overFlowX > 0 ? x - overFlowX : x;

	// fix overflowing off the bottom of the screen
	overFlowY = y + renderedHeight + excessHeight - window.innerHeight - window.pageYOffset;
	y = overFlowY > 0 ? y - overFlowY : y;

	renderedElement.style.top = (y + 15) + 'px';
	renderedElement.style.left = (x + 15) + 'px';

	// windows versions of mozilla are like too fast here...we have to slow it down
	if (agt.indexOf('gecko') != -1 && agt.indexOf('win') != -1)
	{
		setTimeout("renderedElement.style.visibility = 'visible'", 1);
	}
	else
	{
		renderedElement.style.visibility = 'visible';
	}
}

function destroyTitle()
{
	// make sure we don't delete the actual page contents (javascript can get out of alignment)
	if (document.body.firstChild != originalFirstChild)
	{
		document.body.removeChild(document.body.firstChild);
	}
}

/*
<!--
//Disable right mouse click Script - Not function, always in effect
var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

//-->
*/