<!--
// TODO:  What is this? Why is it commented out?  If it isn't being used let's get rid of the file.

function validateStoreName(form){
	
	if(form.store_name.value==''){
		return false;
	}
}

function validateChecked(){
	
	var checkboxes = dojo.query('.checkbox', 'imported_products');
		
		checkboxes.forEach(
			function(checkbox){
				if(checkbox.checked){
					if(dojo.byId('status_'+checkbox.value).value=='incomplete'){
						alert(checkbox.value);
						return false;
					}
				}
			}
		);
		
		return true;
}

function switchImport(store_type){
	
	dojo.query('.import-form').style('display','none');
	dojo.byId('import_'+store_type).style.display='block';
}


//-->