function validate(frm){

	var warn="";
	var error="";
	
	if (!frm.att_hayfever[0].checked){
		error +='Sorry, we are unable to supply you with Allegra.  Allegra is only suitable for the treatment of hayfever (including sneezing, nasal discharge, itching nose or eyes), itchy skin due to allergies, or hives?\n\n';
	}
	if (!frm.att_pregnant[1].checked){
		error +='Sorry, we are unable to supply you with Allegra . The safety of Allegra use in pregnancy has not been fully established, so it is unknown whether it may cause harm to an unborn baby. Allegra should not be taken during breastfeeding as it may cause unwanted effects in the nursing infant. It may be necessary to stop breastfeeding during treatment. Please consult your regular physician\n\n';
	}
	if (!frm.att_allergic[1].checked){
		error += 'Sorry, we are unable to supply you with Allegra . Allegra is not recommended and should not be prescribed. Please consult your regular physician.\n\n';
	}
	if (!frm.att_kidney[1].checked){
		warn +='If the kidneys or liver are not functioning well, Allegra levels may increase. Standard dosages may need to be adjusted in patients with these conditions. Please consult your regular physician and report immediately should you notice any unusual symptoms or side effects.\n';
	}
	
	temp = error + warn;
	if (temp.length > 0){
		alert(temp);
	}
	if (error.length > 0){
		return false;
	} else {
		return true;
	}
	
}

