// JavaScript Document

var cequiv = 0.272727272727273;
var energy = new Array();

	energy[0] = new Array();
	energy[0][0] = "Grid Electricity";
	energy[0][1] = "kWh";
	energy[0][2] = 0.43;
	energy[0][3] = 1;

	energy[1] = new Array();
	energy[1][0] = "Gas Oil";
	energy[1][1] = "litres";
	energy[1][2] = 2.69;
	energy[1][3] = 1;

	energy[2] = new Array();
	energy[2][0] = "Diesel";
	energy[2][1] = "litres";
	energy[2][2] = 2.63;
	energy[2][3] = 1;

	energy[3] = new Array();
	energy[3][0] = "Petrol";
	energy[3][1] = "litres";
	energy[3][2] = 2.3;
	energy[3][3] = 1;

	energy[4] = new Array();
	energy[4][0] = "LPG";
	energy[4][1] = "litres";
	energy[4][2] = 1.49;
	energy[4][3] = 1;

	energy[5] = new Array();
	energy[5][0] = "Coal";
	energy[5][1] = "tonnes";
	energy[5][2] = 2548;
	energy[5][3] = 1;

	energy[6] = new Array();
	energy[6][0] = "Natural Gas";
	energy[6][1] = "therms";
	energy[6][2] = 5.43;
	energy[6][3] = 1;



var enteric = new Array();

	enteric[0] = new Array();
	enteric[0][0] = "Dairy Breeding Herd";
	enteric[0][1] = "Head";
	enteric[0][2] = 101.7;
	enteric[0][3] = 21;

	enteric[1] = new Array();
	enteric[1][0] = "Beef Herd";
	enteric[1][1] = "Head";
	enteric[1][2] = 48;
	enteric[1][3] = 21;

	enteric[2] = new Array();
	enteric[2][0] = "Other Cattle > 1yr";
	enteric[2][1] = "Head";
	enteric[2][2] = 48;
	enteric[2][3] = 21;

	enteric[3] = new Array();
	enteric[3][0] = "Other Cattle < 1yr";
	enteric[3][1] = "Head";
	enteric[3][2] = 32.8;
	enteric[3][3] = 21;

	enteric[4] = new Array();
	enteric[4][0] = "Pigs";
	enteric[4][1] = "Head";
	enteric[4][2] = 1.5;
	enteric[4][3] = 21;

	enteric[5] = new Array();
	enteric[5][0] = "Sheep";
	enteric[5][1] = "Head";
	enteric[5][2] = 8;
	enteric[5][3] = 21;

	enteric[6] = new Array();
	enteric[6][0] = "Lambs";
	enteric[6][1] = "Head";
	enteric[6][2] = 3.2;
	enteric[6][3] = 21;

	enteric[7] = new Array();
	enteric[7][0] = "Goats";
	enteric[7][1] = "Head";
	enteric[7][2] = 5;
	enteric[7][3] = 21;

	enteric[8] = new Array();
	enteric[8][0] = "Horses";
	enteric[8][1] = "Head";
	enteric[8][2] = 18;
	enteric[8][3] = 21;

	enteric[9] = new Array();
	enteric[9][0] = "Deer";
	enteric[9][1] = "Head";
	enteric[9][2] = 10.4;
	enteric[9][3] = 21;

	enteric[10] = new Array();
	enteric[10][0] = "Deer Calves";
	enteric[10][1] = "Head";
	enteric[10][2] = 5.2;
	enteric[10][3] = 21;

	enteric[11] = new Array();
	enteric[11][0] = "Poultry";
	enteric[11][1] = "1000 Head";
	enteric[11][2] = 0;
	enteric[11][3] = 21;


var manure = new Array();

	manure[0] = new Array();
	manure[0][0] = "Dairy Breeding Herd";
	manure[0][1] = "Head";
	manure[0][2] = 24.98;
	manure[0][3] = 21;

	manure[1] = new Array();
	manure[1][0] = "Beef Herd";
	manure[1][1] = "Head";
	manure[1][2] = 2.74;
	manure[1][3] = 21;

	manure[2] = new Array();
	manure[2][0] = "Other Cattle > 1 year, Dairy Heifers";
	manure[2][1] = "Head";
	manure[2][2] = 6;
	manure[2][3] = 21;

	manure[3] = new Array();
	manure[3][0] = "Other Cattle < 1 year";
	manure[3][1] = "Head";
	manure[3][2] = 2.96;
	manure[3][3] = 21;

	manure[4] = new Array();
	manure[4][0] = "Pigs";
	manure[4][1] = "Head";
	manure[4][2] = 3;
	manure[4][3] = 21;

	manure[5] = new Array();
	manure[5][0] = "Sheep";
	manure[5][1] = "Head";
	manure[5][2] = 0.19;
	manure[5][3] = 21;

	manure[6] = new Array();
	manure[6][0] = "Lambs";
	manure[6][1] = "Head";
	manure[6][2] = 0.076;
	manure[6][3] = 21;

	manure[7] = new Array();
	manure[7][0] = "Goats";
	manure[7][1] = "Head";
	manure[7][2] = 0.12;
	manure[7][3] = 21;

	manure[8] = new Array();
	manure[8][0] = "Horses";
	manure[8][1] = "Head";
	manure[8][2] = 1.4;
	manure[8][3] = 21;

	manure[9] = new Array();
	manure[9][0] = "Deer";
	manure[9][1] = "Head";
	manure[9][2] = 0.26;
	manure[9][3] = 21;

	manure[10] = new Array();
	manure[10][0] = "Deer Calves";
	manure[10][1] = "Head";
	manure[10][2] = 0.13;
	manure[10][3] = 21;

	manure[11] = new Array();
	manure[11][0] = "Poultry";
	manure[11][1] = "1000 Head";
	manure[11][2] = 0.078;
	manure[11][3] = 21;


var waste = new Array();
	
	waste[0] = new Array();
	waste[0][0] = "Waste";
	waste[0][1] = "Head";
	waste[0][2] = 1;
	waste[0][3] = 310;
	

var crops = new Array();

	crops[0] = new Array();
	crops[0][0] = "Broad Bean, Green Peas";
	crops[0][1] = "yes";
	crops[0][2] = 0.08;
	crops[0][3] = 0.03;
	crops[0][4] = 1.1;

	crops[1] = new Array();
	crops[1][0] = "Field Beans, Peas (dry harvest)";
	crops[1][1] = "yes";
	crops[1][2] = 0.86;
	crops[1][3] = 0.03;
	crops[1][4] = 1.1;

	crops[2] = new Array();
	crops[2][0] = "Rye, Mixed corn, triticale";
	crops[2][1] = "no";
	crops[2][2] = 0.855;
	crops[2][3] = 0.015;
	crops[2][4] = 1.6;

	crops[3] = new Array();
	crops[3][0] = "Wheat, Oats";
	crops[3][1] = "no";
	crops[3][2] = 0.855;
	crops[3][3] = 0.015;
	crops[3][4] = 1.3;

	crops[4] = new Array();
	crops[4][0] = "Barley";
	crops[4][1] = "no";
	crops[4][2] = 0.855;
	crops[4][3] = 0.015;
	crops[4][4] = 1.2;

	crops[5] = new Array();
	crops[5][0] = "Oilseed Rape, Linseed";
	crops[5][1] = "no";
	crops[5][2] = 0.91;
	crops[5][3] = 0.015;
	crops[5][4] = 1.2;

	crops[6] = new Array();
	crops[6][0] = "Maize";
	crops[6][1] = "no";
	crops[6][2] = 0.5;
	crops[6][3] = 0.015;
	crops[6][4] = 1;

	crops[7] = new Array();
	crops[7][0] = "Hops";
	crops[7][1] = "no";
	crops[7][2] = 0.2;
	crops[7][3] = 0.015;
	crops[7][4] = 1.2;

	crops[8] = new Array();
	crops[8][0] = "Potatoes";
	crops[8][1] = "no";
	crops[8][2] = 0.2;
	crops[8][3] = 0.015;
	crops[8][4] = 0.4;

	crops[9] = new Array();
	crops[9][0] = "Roots, Onions";
	crops[9][1] = "no";
	crops[9][2] = 0.07;
	crops[9][3] = 0.015;
	crops[9][4] = 1.2;

	crops[10] = new Array();
	crops[10][0] = "Brassicas";
	crops[10][1] = "no";
	crops[10][2] = 0.06;
	crops[10][3] = 0.015;
	crops[10][4] = 1.2;

	crops[11] = new Array();
	crops[11][0] = "Sugar Beet";
	crops[11][1] = "no";
	crops[11][2] = 0.1;
	crops[11][3] = 0.015;
	crops[11][4] = 0.2;

	crops[12] = new Array();
	crops[12][0] = "Phaseolus Beans ";
	crops[12][1] = "yes";
	crops[12][2] = 0.08;
	crops[12][3] = 0.03;
	crops[12][4] = 1.2;

	crops[13] = new Array();
	crops[13][0] = "other";
	crops[13][1] = "no";
	crops[13][2] = 0.05;
	crops[13][3] = 0.015;
	crops[13][4] = 1.2;


var forestry = new Array();

	forestry[0] = new Array();
	forestry[0][0] = 0.33;
	forestry[0][1] = 6.7;
	forestry[0][2] = 92;
	forestry[0][3] = 0.55;
	forestry[0][4] = 0.5;
	forestry[0][5] = 2.16;
	forestry[0][6] = 1.65;

	forestry[1] = new Array();
	forestry[1][0] = 0.88;
	forestry[1][1] = 13.9;
	forestry[1][2] = 59;
	forestry[1][3] = 0.34;
	forestry[1][4] = 0.5;
	forestry[1][5] = 2.48;
	forestry[1][6] = 1.65;

	forestry[2] = new Array();
	forestry[2][0] = 0.4;
	forestry[2][1] = 4.4;
	forestry[2][2] = 95;
	forestry[2][3] = 0.56;
	forestry[2][4] = 0.5;
	forestry[2][5] = 2.3;
	forestry[2][6] = 1.67;

	forestry[3] = new Array();
	forestry[3][0] = 0.65;
	forestry[3][1] = 11.5;
	forestry[3][2] = 71;
	forestry[3][3] = 0.41;
	forestry[3][4] = 0.5;
	forestry[3][5] = 2.48;
	forestry[3][6] = 1.56;

	forestry[4] = new Array();
	forestry[4][0] = 1.69;
	forestry[4][1] = 10.6;
	forestry[4][2] = 45;
	forestry[4][3] = 0.41;
	forestry[4][4] = 0.5;
	forestry[4][5] = 2.67;
	forestry[4][6] = 1.83;

	forestry[5] = new Array();
	forestry[5][0] = 0.22;
	forestry[5][1] = 9.8;
	forestry[5][2] = 42;
	forestry[5][3] = 0.49;
	forestry[5][4] = 0.5;
	forestry[5][5] = 2.23;
	forestry[5][6] = 1.67;


var land = new Array();

	land[0] = new Array();
	land[0][0] = 50;
	land[0][1] = 50;
	land[0][2] = 0.4;
	land[0][3] = 3.4;

	land[1] = new Array();
	land[1][0] = 50;
	land[1][1] = 50;
	land[1][2] = 1.4;
	land[1][3] = 3.8;

	land[2] = new Array();
	land[2][0] = 50;
	land[2][1] = 50;
	land[2][2] = 1;
	land[2][3] = 0.6;

	land[3] = new Array();
	land[3][0] = 100;
	land[3][1] = 300;
	land[3][2] = -0.2;
	land[3][3] = -0.57;

	land[4] = new Array();
	land[4][0] = 100;
	land[4][1] = 300;
	land[4][2] = -0.7;
	land[4][3] = -0.63;

	land[5] = new Array();
	land[5][0] = 100;
	land[5][1] = 300;
	land[5][2] = -0.5;
	land[5][3] = -0.1;

	land[6] = new Array();
	land[6][0] = 50;
	land[6][1] = 50;
	land[6][2] = 8;
	land[6][3] = 18;

	land[7] = new Array();
	land[7][0] = 300;
	land[7][1] = 500;
	land[7][2] = -1.33;
	land[7][3] = -1.8;


	land[8] = new Array();
	land[8][0] = 1;
	land[8][1] = 1;
	land[8][2] = 55.7;
	land[8][3] = 55.7;

	land[9] = new Array();
	land[9][0] = 1;
	land[9][1] = 1;
	land[9][2] = 120;
	land[9][3] = 120;

	land[10] = new Array();
	land[10][0] = 1;
	land[10][1] = 1;
	land[10][2] = 130;
	land[10][3] = 130;


function check()
	{

	if ( document.getElementById("soil").selectedIndex == 0 )
		{
		document.getElementById("land3").disabled=false; 
		document.getElementById("land4").disabled=false;
		document.getElementById("land3").style.background="#FFFBF2";
		document.getElementById("land4").style.background="#FFFBF2";
		
		}
	else
		{
		document.getElementById("land3").disabled=true; 
		document.getElementById("land4").disabled=true;
		document.getElementById("land3").style.background="#999999";
		document.getElementById("land4").style.background="#999999";
		}
	}



