<!-- Begin hiding from old browsers
/*Status Bar Scroll*/
var statBarMsg = "     The Genealogy Forum of Long Island...  "
    + "  A message board forum on LI history and genealogy."   + "   Sponsored by the Oyster Bay Historical Society and the Raynham Hall Museum.     "

  function scrollStatBarMsg(){
    window.status = statBarMsg
    statBarMsg = statBarMsg.substring(1, statBarMsg.length)
                + statBarMsg.substring(0, 1)
    setTimeout("scrollStatBarMsg()", 150)
    }
/*Break frames*/
     if (top.frames.length!=0)
     top.location=self.document.location;
/*Pop-up page, variable width, height; closes when focus is lost*/
var openwin = null;
function KeepTop ()
{
   if (openwin != null && openwin.open) openwin.close();
}
function WinSize(loc,winwidth,winheight)
{
wintype =
'width='+winwidth+',height='+winheight+',toolbar=no,menubar=no,location=no,status=no,copy history=no,scrollbars=yes,resizable=yes,top=0,left=0,screenX=0,screenY=0';
openwin = window.open(loc,'CtrlWindow',wintype);
}
window.onfocus=KeepTop;
/*Forms Handler for Messages*/
var submitcount=0;
function reset() {
document.messageform.name.value="";
document.messageform.email.value="";
document.messageform.subject.value="";
document.messageform.body.value="";
}
function checkMessageFields() {                       
if ( (document.messageform.name.value=="")  ||   
     (document.messageform.email.value=="") ||
     (document.messageform.subject.value=="") ||
     (document.messageform.body.value=="") ) 
   {
   alert("Please enter your Name, Email, Subject and a Message. \n\nThen re-submit this form.");
   return false;
   }

else
   {
   if (submitcount == 0)
      {
      submitcount++;
      return true;
      }
   else
      {
      alert("This form has already been submitted.  Thanks!");
      return false;
      }
   }
}
/*Forms Handler for Recommend*/
var sendcount=0;
function initialize() {
document.recommendform.visitorname.value="";
document.recommendform.visitormail.value="";
document.recommendform.friendname.value="";
document.recommendform.friendmail.value="";
}
function checkRecommendFields() {
if ( (document.recommendform.visitorname.value=="")  ||
     (document.recommendform.visitormail.value=="") ||
     (document.recommendform.friendname.value=="") ||
     (document.recommendform.friendmail.value=="") )
   {
   alert("Please enter your Name and Email Address, and your friend's Name and Email Address. \n\nThen re-submit this form.");
   return false;
   }
else
   {
   if (sendcount == 0)
      {
      sendcount++;
      return true;
      }
   else
      {
      alert("This form has already been submitted.  Thanks!");
      return false;
      }
   }
}
// End hiding from old browsers-->