function validate(adult, child, infront)
 {
   var add= parseInt(adult)+parseInt(child)+parseInt(infront);
		//alert(add);
	
    document.quoteform.method="post";
	document.quoteform.action="processform.php";
	document.quoteform.submit();
           
 }  
function fnshowremainfrom(prmValaue)
{	
	var objSameas = document.getElementById("firstname").value;
		if (prmValaue == "Y")
	{
		document.getElementById("dvremainform").style.display="block";
			
	}
		else
	{
		document.getElementById("dvremainform").style.display="none";
	}
} 

function onGoBack(adult, child, infront) 
		{
		var i;
		var add= parseInt(adult)+parseInt(child)+parseInt(infront);
		alert(add);
		 for(i=1; i <= add ; i++)
		   { 
		    
			var tmpStr = '<table width="300"><tr><td width="100">First Name <input type="text" name[]=add_label_'+i+' size="15" /></td><td width="100">Middle     Initial <input type="text" name[]=add_label1_'+i+' size="15" /></td width=100>Last Name<td><input type="text" name[]=add_label2_'+i+' size="15" /></td></tr></table><br>';
			
			
			tmpStr += '<input type="hidden" name="add_label_'+i+'" id="c_value" value="'+i+'" />';
			tmpStr += '<input type="hidden" name="add_label1_'+i+'" id="c_value" value="'+i+'" />';
			tmpStr += '<input type="hidden" name="add_label2_'+i+'" id="c_value" value="'+i+'" />';
			document.getElementById('show').innerHTML += tmpStr;
		   }
		   
		}
		