function generateForm ( form )
{	
	if ( form.res_count.value < 1 ){
		alert("Please choose how many reservoirs to include in the form.");
		form.res_count.focus();
		return false; }

	if ( form.res_count.value == 1 ){
		window.open('bforms/bidform.htm','lvt_form');
		return true }
	
	if ( form.res_count.value == 2 ){
		window.open('bforms/bidform2.htm','lvt_form'); }
		
	if ( form.res_count.value == 3 ){   
		window.open('bforms/bidform3.htm','lvt_form'); }
		
	if ( form.res_count.value == 4 ){   
		window.open('bforms/bidform4.htm','lvt_form'); }
		
	if ( form.res_count.value == 5 ){   
		window.open('bforms/bidform5.htm','lvt_form'); }
		
	if ( form.res_count.value == 6 ){   
		window.open('bforms/bidform6.htm','lvt_form'); }
		
	if ( form.res_count.value == 7 ){   
		window.open('bforms/bidform7.htm','lvt_form'); }
		
	if ( form.res_count.value == 8 ){   
		window.open('bforms/bidform8.htm','lvt_form'); }
		
	if ( form.res_count.value == 9 ){   
		window.open('bforms/bidform9.htm','lvt_form'); }
		
	if ( form.res_count.value == 10 ){   
		window.open('bforms/bidform10.htm','lvt_form'); }
		
	if ( form.res_count.value == 11 ){   
		window.open('bforms/bidform11.htm','lvt_form'); }
		
	if ( form.res_count.value == 12 ){   
		window.open('bforms/bidform12.htm','lvt_form'); }

	return true;
}
	
// JavaScript Document