

function verifyBid ( )
{
	if ( document.bid.fornavn.value.length <= 0 )
  {
		alert ( "Du må fylle inn fornavn." );
		document.bid.fornavn.focus ();
    return false;
  }

	if ( document.bid.etternavn.value.length <= 0 )
  {
		alert ( "Du må fylle inn etternavn." );
		document.bid.etternavn.focus ();
    return false;
  }

	if ( document.bid.adresse.value.length <= 0 )
  {
		alert ( "Du må fylle inn adresse." );
		document.bid.adresse.focus ();
    return false;
  }

	if ( document.bid.postnummer.value.length <= 0 )
  {
		alert ( "Du må fylle inn postnummer." );
		document.bid.postnummer.focus ();
    return false;
  }

	if ( document.bid.poststed.value.length <= 0 )
  {
		alert ( "Du må fylle inn poststed." );
		document.bid.poststed.focus ();
    return false;
  }

	if ( document.bid.telefon.value.length <= 0 )
  {
		alert ( "Du må fylle inn telefonnummer." );
		document.bid.telefon.focus ();
    return false;
  }

	if ( document.bid.epost.value.length <= 0 )
  {
		alert ( "Du må fylle inn epost-adresse." );
		document.bid.epost.focus ();
    return false;
  }

	if ( document.bid.bud.value.length <= 0 )
  {
		alert ( "Du må fylle inn bud." );
		document.bid.bud.focus ();
    return false;
  }

	if ( document.bid.signatur.value.length <= 0 )
  {
		alert ( "Du må fylle inn signatur." );
		document.bid.signatur.focus ();
    return false;
  }

	if ( document.bid.terms_check.checked != true )
  {
		alert ( "Du må godta GWPAs kjøpsvilkår." );
		document.bid.terms_check.focus ();
    return false;
  }

  return true;
}


function verifyCatalogOrder ( )
{
	if ( document.catalogOrder.fornavn.value.length <= 0 )
  {
		alert ( "Du må fylle inn fornavn." );
		document.catalogOrder.fornavn.focus ();
    return false;
  }

	if ( document.catalogOrder.etternavn.value.length <= 0 )
  {
		alert ( "Du må fylle inn etternavn." );
		document.catalogOrder.etternavn.focus ();
    return false;
  }

	if ( document.catalogOrder.adresse.value.length <= 0 )
  {
		alert ( "Du må fylle inn adresse." );
		document.catalogOrder.adresse.focus ();
    return false;
  }

	if ( document.catalogOrder.postnummer.value.length <= 0 )
  {
		alert ( "Du må fylle inn postnummer." );
		document.catalogOrder.postnummer.focus ();
    return false;
  }

	if ( document.catalogOrder.poststed.value.length <= 0 )
  {
		alert ( "Du må fylle inn poststed." );
		document.catalogOrder.poststed.focus ();
    return false;
  }

	if ( document.catalogOrder.telefon.value.length <= 0 )
  {
		alert ( "Du må fylle inn telefonnummer." );
		document.catalogOrder.telefon.focus ();
    return false;
  }

	if ( document.catalogOrder.epost.value.length <= 0 )
  {
		alert ( "Du må fylle inn epostadresse." );
		document.catalogOrder.epost.focus ();
    return false;
  }

	if ( document.catalogOrder.signatur.value.length <= 0 )
  {
		alert ( "Du må fylle inn signatur." );
		document.catalogOrder.signatur.focus ();
    return false;
  }

	return true;
}
