
function Form_Validator(theForm)

{

	

		if (theForm.id36.value=="" )

	{

		alert("Please choose % ");

		theForm.id36.focus();

    	return(false);

	}

		if (theForm.id38.value=="" )

	{

		alert("Please choose % ");

		theForm.id38.focus();

    	return(false);

	}

		if (theForm.id37.value=="" )

	{

		alert("Please choose % ");

		theForm.id37.focus();

    	return(false);

	}

		if (theForm.id35.value=="" )

	{

		alert("Please choose % ");

		theForm.id35.focus();

    	return(false);

	}

		nb=0;	

		val=theForm.id38.value*1;

	nb=nb+val;

		val=theForm.id35.value*1;

	nb=nb+val;

		val=theForm.id37.value*1;

	nb=nb+val;

		val=theForm.id36.value*1;

	nb=nb+val;

		if(nb!=100)

	{

		alert("Your total must equal 100% ("+ nb+")");

		return(false);

	}

	return (true);

}

//-->


