function checkform( thisform ) {
//empresa
	if (thisform.empresa.value == null || thisform.empresa.value == "") {
	   alert ("Por Favor coloque el nombre de la Empresa") ;
	   thisform.empresa.focus() ;
	   thisform.empresa.select() ;
	   return false ;
	}
	
//contacto
	if
	   (thisform.realname.value == null || thisform.realname.value == "") {
	   alert ("Por Favor coloque el nombre de la Persona de Contacto") ;
	   thisform.realname.focus() ;
	   thisform.realname.select() ;
	   return false ;
	}
//Telefonos
	if (thisform.telf1.value == null || thisform.telf1.value == "") {
	   alert ("Por Favor coloque un número de telefonico") ;
	   thisform.telf1.focus() ;
	   thisform.telf1.select() ;
	   return false ;
	}
//e-mail
	if (thisform.email.value == null || thisform.email.value == "") {
	   alert ("Por Favor coloque su dirección electronica (e-mail)") ;
	   thisform.email.focus() ;
	   thisform.email.select() ;
	   return false ;
	}
//cantidad
	if (thisform.cantidad.value == null || thisform.cantidad.value == "") {
	   alert ("Por Favor coloque la cantidad que desee") ;
	   thisform.cantidad.focus() ;
	   thisform.cantidad.select() ;
	   return false ;
	}
//tamano
	if (thisform.tamano.value == "Seleccione") {
	   alert ("Por Favor seleccione el tamano que desee") ;
	   thisform.tamano.focus() ;
	   return false ;
	}
//Ancho
	if (thisform.ancho.value == null || thisform.ancho.value == "" 
	   && thisform.tamano.value == "Otro (especificar ancho y largo)") {
	   alert ("Por Favor coloque el ancho que desee") ;
	   thisform.ancho.focus() ;
	   thisform.ancho.select() ;
	   return false ;
	}
//Largo
	if (thisform.largo.value == null || thisform.largo.value == "" 
	   && thisform.tamano.value == "Otro (especificar ancho y largo)") {
	   alert ("Por Favor coloque el largo que desee") ;
	   thisform.largo.focus() ;
	   thisform.largo.select() ;
	   return false ;
	}
//tipo
	var selected = false ;
	for ( var i = 0; i<=1 ; ++i) {
	   if ( thisform.tipo[i].status == true)
	      { selected = true }
	   }
	if ( selected == false ) {
	   alert ("Por Favor seleccione el tipo") ;
	   return false ;
	}
//colores
	if (thisform.colores.value == null || thisform.colores.value == "") {
	   alert ("Por Favor coloque el número de colores que desee") ;
	   thisform.colores.focus() ;
	   thisform.colores.select() ;
	   return false ;
	}
//copias
	if (thisform.o_copia.value == null || thisform.o_copia.value == "") {
	   alert ("Por Favor coloque el número de copias que desee (sin incluir la original)") ;
	   thisform.o_copia.focus() ;
	   thisform.o_copia.select() ;
	   return false ;
	}
//papel
	var selectede = false ;
	for ( var i = 0; i<=1 ; ++i) {
	   if ( thisform.papel[i].status == true)
	      { selectede = true }
	   }
	  if ( selectede == false ) {
	   alert ("Por Favor seleccione el tipo de papel") ;
	   return false ;
	}
//formato
       if (thisform.formato.value == null || thisform.formato.value == "") {
	   alert ("Por Favor indique el nombre del formato que desee") ;
	   thisform.formato.focus() ;
	   thisform.formato.select() ;
	   return false ;
	}
	return true;
}

