function popup(mylink, windowname)
{
if (! window.focus)
	return true;
	
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
   
window.open(href, windowname, 'width=420,height=445,scrollbars=no');

return false;
}


function MIBQuestionValidate()
{
var questions = document.mibQuestions.questions.value;

  if (!questions)
    {
      alert("You did not inlude a question for the MIB cenacle of fire.");
      document.mibQuestions.questions.focus()
      return false;
    }
  else
    {
	  alert("You question has been sent.  Thank you for your participation!");
	  window.close();
      return true;
    }
}



function CommentsValidate()
{
var comments = document.Comments.comments.value;
var email = document.Comments.email.value;

  if (!comments)
    {
      alert("You forgot to inlude a comment.");
      document.Comments.comments.focus()
      return false;
    }
  else
    if (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email))
    {
      alert("You did not input a proper email address")
      document.Comments.email.focus()
      return false;
    }
  else
    {
      return true;
    }
}