function rollOver(page,state){
  if(state){
    url = "/images/links/on/"+page+".gif";
  }
  else{
    url = "/images/links/off/"+page+".gif";
  }
  img = "img_"+page;
  img = document.images[img];
  img.src = url;
}

function launchMpi(){
  if(screen){
    leftPos=screen.width-786;
    leftPos=(leftPos/2)-5;
    topPos=screen.height-539;
    topPos=(topPos/2)-30;
  }
  mooOinkPlayerWin=window.open("http://media.d1tv.net/gateway/open.html?account=moo_and_oink", "mooOinkPlayerWin", "width=786,height=539,left="+leftPos+",top="+topPos);
}

function checkSignupForm(){
  var form = document.myForm;
  if(!form.first.value){
    alert("Please include your FIRST NAME");
    form.first.focus();
    return false;
  }
  if(!form.last.value){
    alert("Please include your LAST NAME");
    form.last.focus();
    return false;
  }
  if(!form.email.value){
    alert("Please include your EMAIL ADDRESS");
    form.email.focus();
    return false;
  }
  if(!form.street.value){
    alert("Please include your STREET ADDRESS");
    form.street.focus();
    return false;
  }
  if(!form.city.value){
    alert("Please include your CITY");
    form.city.focus();
    return false;
  }
  if(!form.zip.value){
    alert("Please include your ZIP CODE");
    form.zip.focus();
    return false;
  }
  return true;
}