<!-- Hide

// +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
//  Sunnybrook Trout Club 											
// +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
//  Copyright 2002-2006  
//  Web Design by Earth Song Productions  
//  EMail: earthsong@sbcglobal.net		
//  Tel: 216-932-9365             
// +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+

//No Right Click ~~~~~~~~~~~~~~~~~~~~~~~~~~+
function right(e)
 { 
 if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
 { alert("Copyright 2002-2008. Proprietary Material.      \nEarthsong Media--earthsong@sbcglobal.net      "); return false;}
 	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) 
		{ alert("Copyright 2002-2008. Proprietary Material.      \nEarthsong Media--earthsong@sbcglobal.net      "); return false; } return true; 
} 
		document.onmousedown=right; if (document.layers) window.captureEvents(Event.MOUSEDOWN); 	
		window.onmousedown=right;
		
function showMapWin(location)
{
	/*var myBars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no,';
	var myOptions = 'scrollbars=no,width=740,height=400,resizeable=no';
	var myFeatures = myBars+','+myOptions*/
	var newWindow;
	
	if(location == "cleve")
		{ 
			//alert("Test");
			newWindow = window.open('cleve.html','From_Cleveland','width=740, height=570')
		}
}		
		
function showpopup()
{
	var myBars = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no,';
	var myOptions = 'scrollbars=no,width=740,height=400,resizeable=no';
	var myFeatures = myBars+','+myOptions
	var newWindow;
	newWindow=window.open('test_trialmembership_02.htm','Trial_Membership',myFeatures);
	newWindow.focus();
}

/*function hideBanquetPromo()
{ 
		MM_showHideLayers('banquet','','hide');
		MM_showHideLayers('wildgame07','','show');
}*/

/*function showBanquetPromo()
{ 
		MM_showHideLayers('wildgame07','','hide');
		MM_showHideLayers('banquet','','show');
		document.location.reload();


}*/

function hideWinterPromo()
{ 
		MM_showHideLayers('winterpromo','','hide');
}


function showWeather()
{ 
		//MM_showHideLayers('barbg','','hide');		
		MM_showHideLayers('weather','','show');	
		MM_showHideLayers('closebtn','','show');	
}

function hideWeather()
{ 
		MM_showHideLayers('weather','','hide');
		MM_showHideLayers('closebtn','','hide');
}

function hideTrialmbship()
{ 
		MM_showHideLayers('twodaymemship','','hide');
		//MM_showHideLayers('pigroast2005','','show');		
}

function hideWine08()
{ 
		MM_showHideLayers('wine08','','hide');
}

function hidePigroast()
{ 
		MM_showHideLayers('pigroast2005','','hide');
}

function hurricaneRelief()
{ 
		MM_showHideLayers('katrina','','hide');
}

function hideTrophyPoster()
{ 
		MM_showHideLayers('trophyposter','','hide');
		MM_showHideLayers('trophyshadow','','hide');		
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function hlfirstname()
{ 
	document.trialmbship.firstname.focus();
}

function checkform()//START CHECKFORM
{
	if(document.trialmbship.firstname.value=="")
		{
			alert("Please enter your first name.    ");
			document.trialmbship.firstname.focus();
			return false;
		}
	if(document.trialmbship.lastname.value=="")
		{
			alert("Please enter your last name.    ");
			document.trialmbship.lastname.focus();
			return false;
		}	
	if(document.trialmbship.phoneyes.checked == true && document.trialmbship.phone.value=="")
		{ 
			alert("Please enter your area code and phone number.    ");
			document.trialmbship.phone.value="";
			document.trialmbship.phone.focus();
			return false;
		}
	if(document.trialmbship.emailaddr.value=="")
		{
			alert("Please enter your email.    ");
			document.trialmbship.emailaddr.focus();
			return false;
		}

	 a=document.trialmbship.emailaddr.value;
	 var l=a.length-1;
	 var s=a.indexOf("@"); 
	 var d=a.lastIndexOf(".");
	 var s2=a.lastIndexOf("@");
	 if(a.charAt(0)=="@"||a.charAt(l)=="@"||d-s<3||a.charAt(0)=="."||a.charAt(l)=="."||a.length<8||s!=s2||a.indexOf("@")==-1||a.indexOf(" ")!=-1||a.indexOf("*")!=-1||a.indexOf("/")!=-1||a.indexOf("&")!=-1||a.indexOf("<")!=-1||a.indexOf(">")!=-1||a.indexOf("?")!=-1||a.indexOf("|")!=-1||a.indexOf(":")!=-1||a.indexOf(",")!=-1||a.indexOf("=")!=-1||a.indexOf(")")!=-1||a.indexOf("(")!=-1||a.indexOf("%")!=-1||a.indexOf("#")!=-1)
	 {
	 	alert("Email address is not valid.    ");
		document.trialmbship.emailaddr.value="";
		document.trialmbship.emailaddr.focus();
		return false;
	 }
	if(document.trialmbship.emailcheck.value=="")
		{
			alert("Please retype your email address to confirm.    ");
			document.trialmbship.emailcheck.focus();
			return false;
		}
	if(document.trialmbship.emailcheck.value != document.trialmbship.emailaddr.value)
		{ 
			alert("Your email address is incorrect.      \nPlease re-enter.    ");
			document.trialmbship.emailaddr.value = "";
			document.trialmbship.emailcheck.value = "";
			document.trialmbship.emailaddr.focus();
			return false;
		}

} //END CHECKFORM

/*function pr_hlfirstname()
{ 
	document.pigroastform.firstname.focus();
}

function pr_checkform() //START PR_CHECKFORM
{
	if(document.pigroastform.firstname.value=="")
		{
			alert("Please enter your first name.    ");
			document.pigroastform.firstname.focus();
			return false;
		}
	if(document.pigroastform.lastname.value=="")
		{
			alert("Please enter your last name.    ");
			document.pigroastform.lastname.focus();
			return false;
		}
	if(document.pigroastform.partynum.value=="")
		{
			alert("Please enter the number in your party.    ");
			document.pigroastform.partynum.focus();
			return false;
		}		
	if(document.pigroastform.phone.value=="")
		{ 
			alert("Please enter your area code and phone number.    ");
			document.pigroastform.phone.value="";
			document.pigroastform.phone.focus();
			return false;
		}
	if(document.pigroastform.emailaddr.value=="")
		{
			alert("Please enter your email.    ");
			document.pigroastform.emailaddr.focus();
			return false;
		}

	 a=document.pigroastform.emailaddr.value;
	 var l=a.length-1;
	 var s=a.indexOf("@"); 
	 var d=a.lastIndexOf(".");
	 var s2=a.lastIndexOf("@");
	 if(a.charAt(0)=="@"||a.charAt(l)=="@"||d-s<3||a.charAt(0)=="."||a.charAt(l)=="."||a.length<8||s!=s2||a.indexOf("@")==-1||a.indexOf(" ")!=-1||a.indexOf("*")!=-1||a.indexOf("/")!=-1||a.indexOf("&")!=-1||a.indexOf("<")!=-1||a.indexOf(">")!=-1||a.indexOf("?")!=-1||a.indexOf("|")!=-1||a.indexOf(":")!=-1||a.indexOf(",")!=-1||a.indexOf("=")!=-1||a.indexOf(")")!=-1||a.indexOf("(")!=-1||a.indexOf("%")!=-1||a.indexOf("#")!=-1)
	 {
	 	alert("Email address is not valid.    ");
		document.pigroastform.emailaddr.value="";
		document.pigroastform.emailaddr.focus();
		return false;
	 }
	if(document.pigroastform.emailcheck.value=="")
		{
			alert("Please retype your email address to confirm.    ");
			document.pigroastform.emailcheck.focus();
			return false;
		}
	if(document.pigroastform.emailcheck.value != document.pigroastform.emailaddr.value)
		{ 
			alert("Your email address is incorrect.      \nPlease re-enter.    ");
			document.pigroastform.emailaddr.value = "";
			document.pigroastform.emailcheck.value = "";
			document.pigroastform.emailaddr.focus();
			return false;
		}
} //END PR_CHECKFORM	

function showDetails()
{ 
	document.location.href="newsltr.htm";
}*/

//Unhide-->
