			<!--

var ns6=document.getElementById&&!document.all?1:0
var head="display:''"
var folder=''

function expandit(curobj,imgobj){
folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style
if (folder.display=="none")
folder.display=""
else
folder.display="none";

if (imgobj.src.indexOf("http://www.wesleytheatre.net/view/wesleytheatre/img/navr.gif")!=-1)  imgobj.src="http://www.wesleytheatre.net/view/wesleytheatre/img/navd.gif"
else imgobj.src="http://www.wesleytheatre.net/view/wesleytheatre/img/navr.gif";

}

function toggle(imgElem, divId) {
if(document.getElementById) {
var divElem = document.getElementById(divId);
if(divElem.className == "closed") {
imgElem.src = "/view/wesleytheatre/img/navd.gif";
divElem.className = "opened";
} else {
imgElem.src = "/view/wesleytheatre/img/navr.gif";
divElem.className = "closed";
}
}
}



			if(!document.getElementById && document.all) 
			document.getElementById = function(id){ return document.all[id]} 
			function showhide (id)
			{ 
			var style = document.getElementById(id).style 
			if (style.visibility == "hidden")
			{
				style.visibility = "visible";
				document.LoginForm.UserLogin.focus();
			}
			else 
			style.visibility = "hidden"; 
			} 
			
			
			
			if (top!=self) { if (document.images) top.location.replace(self.location); else top.location.href=self.location.href; }
			


			function checkform() {
			if ( Register.password.value != Register.passwordConfirm.value ) {
				alert("Passwords do not match.  Please confirm password.")
				return false
				}
			else
			if(document.Register.postCode.value.length != 4) {
				alert("Post Code must be 4 digits in length");
				document.Register.postCode.focus();
				return false
			}
			else
				if(document.Register.postCode.value.charAt(0) != 3) {
				alert("Post Code must start with the number 3");
				document.Register.postCode.focus();
					return false
				}
			if(document.Register.homePhone.value.length != 8) {
				alert("Please enter your Home Phone Number");
				return false
			}
			else
				document.all.namedItem('postCodeError').innerText = "";
			
				return true
			}
			
			function checkform2() {
			if ( UpdatePassword.password.value != UpdatePassword.passwordConfirm.value ) {
				alert("Passwords do not match.  Please confirm password.")
				return false
				}
			else
				return true
			}
			
			function popUp(URL) {
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=250,height=350,left = 312,top = 184');");
			}


var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}

			//-->