function crunchEdits( table_name, source_cd, error_cd, load_id ) {

	var crunchWindow = window.open(
		'/Members/EDI/crunchEdits.cfm?table_name=' + table_name + '&load_id=' + load_id + '&source_cd=' + source_cd + '&error_cd=' + error_cd,
		'crunchWindow',
		'resizable=yes,scrollbars=yes,height=200,width=650'
		);

}


function toastEdits( table_name, source_cd, error_cd, load_id ) {

	confirm( 'you are about to delete a bunch of error records. Is that what you thought you were doing?');
	alert( 'this does not work yet anyway' );

}

function monitorEdits( table_name, load_id ) {

	var crunchWindow = window.open(
		'/Members/EDI/crunchEdits.cfm?table_name=' + table_name + '&load_id=' + load_id + '&monitor=true',
		'crunchWindow',
		'resizable=yes,scrollbars=yes,height=200,width=650'
		);

}


function editPigPedigree( ) {
		
	var pedWindow = window.open(
		'/Members/EDI/Pedigree/pedigreeControls.cfm',
		'pedEdit',
		'resizable=yes,scrollbars=yes,height=200,width=650'
		);
		
}

function editPig( ) {
		
	var editWindow = window.open(
		'/Members/EDI/Pedigree/animalControls.cfm',
		'aminalEdit',
		'resizable=yes,scrollbars=yes,height=300,width=650'
		);
		
}

function editBoar( ) {

	var editWindow = window.open(
		'/Members/AISires/boarEdit/boarEdit.cfm?mode=pick',
		'SeedShop',
		'resizable=yes,scrollbars=yes,height=375,width=650'
		);
		
}

function showPig( animal_id ) {
		
	var editWindow = window.open(
		'/Members/PigsOnTheWeb/tree.cfm?animal_id=' + animal_id,
		'showPig',
		''
		);
		
}

function editGoatPedigree( ) {
		
	var pedWindow = window.open(
		'/Members/Goats/EDI/Pedigree/pedigreeControls.cfm',
		'pedEdit',
		'resizable=yes,scrollbars=yes,height=200,width=650'
		);
		
}

function editGoat( ) {
		
	var editWindow = window.open(
		'/Members/Goats/EDI/Pedigree/animalControls.cfm',
		'aminalEdit',
		'resizable=yes,scrollbars=yes,height=300,width=650'
		);
		
}


