
function formCheck1()	{

	if (document.form1.inconvert.value == "")
	{ alert("You need either a CV, Ash, Sulphur, Volatiles or Fixed Carbon figure");
	return false;
	}
		
       	if ((document.form1.inbasis.value == "1") && (document.form1.totalm.value == ""))
	{ alert("You need a Total Moisture figure for this conversion");
	return false; 
	}

	if ((document.form1.outbasis.value == "1") && (document.form1.totalm.value == ""))
	{ alert("You need a Total Moisture figure for this conversion");
	return false;
	}

	if ((document.form1.inbasis.value == "2") && (document.form1.inherentm.value == ""))
	{ alert("You need an Inherent Moisture figure for this conversion");
	return false;
	}
		
	if ((document.form1.outbasis.value == "2") && (document.form1.inherentm.value == ""))
	{ alert("You need an Inherent Moisture figure for this conversion");
	return false;
	}
		
	if ((document.form1.inbasis.value == "4") && (document.form1.ash.value == ""))
	{ alert("You need an Ash figure for this conversion");
	return false;
	}

	if ((document.form1.outbasis.value == "4") && (document.form1.ash.value == ""))
	{ alert("You need an Ash figure for this conversion");
	return false;
	}

}


function formCheck2()	{

	if (document.form2.inconvert.value == "")
	{ alert("You need a Calorific Value for this conversion");
	return false;
	}

}



function formCheck3()	{

	if (document.form3.inconvert.value == "")
	{ alert("You need a Tonnage Value for this conversion");
	return false;
	}

}



