<!--
window.defaultStatus='';
if (parent.frames.length > 0) {
    // parent.location.href = self.document.location;
}

function guestbook(width,height) {
	var generator = null;
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	var windef = 'height=' + height + ',width=' + width + ', top=' + top + ', left=' + left + ', scrollbars=no';
	generator = window.open('flashguestbook.html','ddddd',windef);
}

function galleryimage(filename,width,height) {
	var generator = null;
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	var windef = 'height=' + height + ',width=' + width + ', top=' + top + ', left=' + left;
	
	generator = window.open('','',windef);
	generator.document.write('<html><head><title>The Vale of Wylye</title></head>');
	generator.document.write('<body bgcolor=#FFFFFF leftmargin=0 topmargin=0>');
	generator.document.write('<img src='+filename+'>');
	generator.document.write('</body></html>');
}

function displayInfo(filename,params) {
	var generator=window.open(filename,'infoWindow',params);
}

function onbutton(button) {
	if (navigator.appVersion >= "3") {
		document[button].src = "gfx/" + button + "001.png"
		}
	}

function offbutton(button) {
	if (navigator.appVersion >= "3") {
		document[button].src = "gfx/" + button + "000.png"
		}
	}

function preload(filename) {
	var image = new Image;
	image.src = filename;
	}

function playvideo(clipname, auto, wsize, hsize) {
	var FLV = {
		movie:"flash/flvplayer.swf",
		width: wsize,
		height: hsize,
		majorversion:"7",
		build:"0",
		bgcolor:"#FFFFFF",
		allowfullscreen:"false",
		flashvars:"file=" + clipname + "&image=gfx/video.png&autostart=" + auto
	};
	UFO.create(FLV,"FLVplayer");
	}
-->
