		var dos = "2";
		function tread(){
			if (dos=="1"){
				Effect.toggle('form2','appear', {queue: 'front'}); Effect.toggle('form8','appear', {queue: 'end'}); 
			}else{
				Effect.toggle('form2','appear', {queue: 'front'}); Effect.toggle('form3','appear', {queue: 'end'}); 
			}
		};
		var paymentarrangement = 'no';

		function paymentcheck(){
			if (paymentarrangement == 'yes'){
				Effect.toggle('form4','appear', {queue: 'front'}); Effect.toggle('form6a','appear', {queue: 'end'});
		} else {
				Effect.toggle('form4','appear', {queue: 'front'}); Effect.toggle('form5','appear', {queue: 'end'}); 
		};
}		
		function sixback(){
			if (paymentarrangement=='yes'){
				Effect.toggle('form7','appear', {queue: 'front'}); Effect.toggle('form6a','appear', {queue: 'end'}); 

			} else if (paymentarrangement=='no'){
				Effect.toggle('form7','appear', {queue: 'front'}); Effect.toggle('form6','appear', {queue: 'end'}); 

			}
		}
		
		
		
	
		  function CheckFields()
				  {
						// check the object's value if empty
						if (document.superform['formName'].value == "")
						{
							// This is the message if object is empty
							alert("The Name field is required");
							// return false to cancel the Submit request.  Notice the onsubmit in the FORM tag
							return false;
						}
						if (document.superform['formPhone'].value == "" && document.superform['formEmail'].value == "")
						{
							// This is the message if object is empty
							alert("Please provide either a phone number or email address.");
							// return false to cancel the Submit request.  Notice the onsubmit in the FORM tag
							return false;
						}
					}
					
		  function CheckFields2()
				  {
						// check the object's value if empty
						if (document.contactForm['formName'].value.replace(/^\s+|\s+$/g,"") == "")
						{
							// This is the message if object is empty
							alert("The Name field is required");
							// return false to cancel the Submit request.  Notice the onsubmit in the FORM tag
							return false;
						}
						if (document.contactForm['formPhone'].value.replace(/^\s+|\s+$/g,"") == "" && document.contactForm['formEmail'].value.replace(/^\s+|\s+$/g,"") == "")
						{
							// This is the message if object is empty
							alert("Please provide either a phone number or email address.");
							// return false to cancel the Submit request.  Notice the onsubmit in the FORM tag
							return false;
						}
						if (document.contactForm['amount'].value.replace(/^\s+|\s+$/g,"") == "" )
						{
							alert("Please provide an amount owed");
							return false;
						}
						if (document.contactForm['typetaxes'][0].checked != true && document.contactForm['typetaxes'][1].checked != true)
						{
							alert("Please provide an type of taxes owed");
							return false;
						}
						
					}		
											
						