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 ;
	}
//Ancho
	if (thisform.anchos.value == "Seleccionar") {
	   alert ("Por Favor seleccione el ancho que desee")
	   thisform.anchos.focus() ;
	   return false ;
	}
//Largo
	if (thisform.largos.value == "Seleccionar") {
	   alert ("Por Favor seleccione el largo que desee")
	   thisform.largos.focus() ;
	   return false ;
	}
//tipo
	if (thisform.tipo.value == "Seleccionar") {
	   alert ("Por Favor seleccione el tipo que desee")
	   thisform.tipo.focus() ;
	   return false ;
	}
//colores
	if (thisform.colores.value == "Seleccionar") {
	   alert ("Por Favor seleccione el número de colores que desee")
	   thisform.colores.focus() ;
	   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 ;
	}
//comentarios
	if (thisform.comentarios.value == null || thisform.comentarios.value == "" 
	&& thisform.anchos.value =="Otro (especificar en comentarios)") {
	   alert ("Por Favor especifique el ancho que desee en comentarios") ;
	   thisform.comentarios.focus() ;
	   thisform.comentarios.select() ;
	   return false ; 
	}

	return true
}
