function validate(productCount){
	for (x=1;x<productCount;x++){
		var optionName='option_selector_'+x;
		var productSelectorName='product_selector_value_'+x;
		var bundleOptionName='bundle_option_'+x;

		if(document.getElementById(optionName)){
			if(document.getElementById(optionName).value=="Not Selected"){
				alert('Sorry, we have insufficient information to proceed. Please select a product option and try again!');
				return false;
			}			
		}
		
		if(document.getElementById(bundleOptionName)){
			if(document.getElementById(bundleOptionName).value=="Not Selected"){
				alert('Sorry, we have insufficient information to proceed. Please select a product option and try again!');
				return false;
			}			
		}
		
		if(document.getElementById(productSelectorName)){
			if(document.getElementById(productSelectorName).value=="Required"){
				alert('Sorry, we have insufficient information to proceed. You must complete the product selection routine first!');
				return false;
			}			
		}
	}
}
