//Copyright - 2000-2009 Alfredo J G A Borba. Todos os Direitos Reservados


//Inicialização de objeto de formatação
function inicializar() {
	alterFormat(document.config, document.config.ativa_format);
}
//Fim de Inicialização de Objeto de Formatação


//Verificação de Campos
var campovalor=""
var campid=""
var conv=0
var campnome
function verifcampo(camp){
	if (!obj_format_loaded) {
		camp.value = "";
		alert ("Página Carregando...\n\nAguardar o carregamento total da página e tentar novamente");
		return;
	}
	campnome=camp.name;
	var camptipo=campnome.slice(0,1);
	conv=0;
	if (camptipo=="d"){	
		var verifid=campnome.slice(2,3);
		if (isNaN(verifid)){
			campid=campnome.slice(1,2);
		}
		else {	campid=campnome.slice(1,3);}
		
		campovalor = obj_format.setValue(camp.value, true);
		camp.value = obj_format.getValueFormat();
		
		n=document.pressao.elements.length

		for (i=0; i < n; i++){
			if (document.pressao.elements[i].type=="text" && document.pressao.elements[i].value!="" && document.pressao.elements[i].name!=campnome){
			document.pressao.elements[i].value=""}	
		}
	}
	else {
	alert ("Esse é um campo calculado, não pode se editado.");
	camp.value="";
	}
}
//Fim da Verificação de Campos



//Construção da Matriz de Dados
var arr=36
var fc = new Array(arr);
for (i=0; i < arr; i++) {   
fc[i] = new Array(arr)   
}

fc[0][0]="1"; fc[0][1]="0.000009869232667160128"; fc[0][2]="0.00001"; fc[0][3]="0.000010197162129779282"; fc[0][4]="0.00014503774389728311"; fc[0][5]="0.02088543378837124"; fc[0][6]="0.00010197162129779282"; fc[0][7]="0.0075006150504341364"; fc[0][8]="0.0003345525543589354"; fc[0][9]="0.0002952998016471232"; fc[0][10]="0.001"; fc[0][11]="0.000001"; fc[0][12]="1"; fc[0][13]="0.0001"; fc[0][14]="0.000001"; fc[0][15]="0.000010197162129779282"; fc[0][16]="0.01"; fc[0][17]="0.10197162129779283"; fc[0][18]="1.0197162129779282e-7"; fc[0][19]="0.010197162129779282"; fc[0][20]="10"; fc[0][21]="1.450377438972831e-7"; fc[0][22]="0.6719689496587742"; fc[0][23]="0.10197162129779283"; fc[0][24]="0.010197162129779282"; fc[0][25]="0.010197442889221098"; fc[0][26]="0.0007500615050434136"; fc[0][27]="0.0007500637554192106"; fc[0][28]="0.004014630920928231"; fc[0][29]="0.00401474213311279"; fc[0][30]="0.0040186465198521134"; fc[0][31]="0.000334562292153176"; fc[0][32]="0.0002953005864669647"; fc[0][33]="0.00029613397100848425"; fc[0][34]="0.000024608321648481936"; fc[0][35]="0.0075006150504341364";

fc[1][0]="101325"; fc[1][1]="1"; fc[1][2]="1.01325"; fc[1][3]="1.0332274527998857"; fc[1][4]="14.695949400392212"; fc[1][5]="2116.216578606716"; fc[1][6]="10.332274527998858"; fc[1][7]="760"; fc[1][8]="33.89853757041913"; fc[1][9]="29.92125240189476"; fc[1][10]="101.325"; fc[1][11]="0.101325"; fc[1][12]="101325"; fc[1][13]="10.1325"; fc[1][14]="0.101325"; fc[1][15]="1.0332274527998857"; fc[1][16]="1013.25"; fc[1][17]="10332.27452799886"; fc[1][18]="0.010332274527998858"; fc[1][19]="1033.2274527998856"; fc[1][20]="1013250"; fc[1][21]="0.01469594940039221"; fc[1][22]="68087.25382417529"; fc[1][23]="10332.27452799886"; fc[1][24]="1033.2274527998856"; fc[1][25]="1033.2559007503277"; fc[1][26]="76"; fc[1][27]="76.00021001785151"; fc[1][28]="406.782478063053"; fc[1][29]="406.79374663765344"; fc[1][30]="407.18935862401537"; fc[1][31]="33.899524252420555"; fc[1][32]="29.921331923765198"; fc[1][33]="30.005774612434667"; fc[1][34]="2.4934381910324323"; fc[1][35]="760";

fc[2][0]="100000"; fc[2][1]="0.9869232667160128"; fc[2][2]="1"; fc[2][3]="1.0197162129779282"; fc[2][4]="14.503774389728311"; fc[2][5]="2088.5433788371242"; fc[2][6]="10.197162129779283"; fc[2][7]="750.0615050434136"; fc[2][8]="33.45525543589354"; fc[2][9]="29.52998016471232"; fc[2][10]="100"; fc[2][11]="0.1"; fc[2][12]="100000"; fc[2][13]="10"; fc[2][14]="0.1"; fc[2][15]="1.0197162129779282"; fc[2][16]="1000"; fc[2][17]="10197.162129779282"; fc[2][18]="0.010197162129779282"; fc[2][19]="1019.7162129779282"; fc[2][20]="1000000"; fc[2][21]="0.01450377438972831"; fc[2][22]="67196.89496587742"; fc[2][23]="10197.162129779282"; fc[2][24]="1019.7162129779282"; fc[2][25]="1019.7442889221098"; fc[2][26]="75.00615050434135"; fc[2][27]="75.00637554192106"; fc[2][28]="401.4630920928231"; fc[2][29]="401.47421331127896"; fc[2][30]="401.86465198521136"; fc[2][31]="33.4562292153176"; fc[2][32]="29.53005864669647"; fc[2][33]="29.613397100848424"; fc[2][34]="2.4608321648481936"; fc[2][35]="750.0615050434136";

fc[3][0]="98066.5"; fc[3][1]="0.9678411053540588"; fc[3][2]="0.980665"; fc[3][3]="1"; fc[3][4]="14.223343911902914"; fc[3][5]="2048.1613926073082"; fc[3][6]="10"; fc[3][7]="735.5590658433992"; fc[3][8]="32.80839807204054"; fc[3][9]="28.95901799822761"; fc[3][10]="98.0665"; fc[3][11]="0.0980665"; fc[3][12]="98066.5"; fc[3][13]="9.80665"; fc[3][14]="0.0980665"; fc[3][15]="1"; fc[3][16]="980.665"; fc[3][17]="10000"; fc[3][18]="0.01"; fc[3][19]="1000"; fc[3][20]="980665"; fc[3][21]="0.014223343911902912"; fc[3][22]="65897.64300171217"; fc[3][23]="10000"; fc[3][24]="1000"; fc[3][25]="1000.0275330958009"; fc[3][26]="73.55590658433992"; fc[3][27]="73.55612727081802"; fc[3][28]="393.70080320720836"; fc[3][29]="393.7117093969054"; fc[3][30]="394.0945989390773"; fc[3][31]="32.809353023439435"; fc[3][32]="28.95909496276259"; fc[3][33]="29.04082206790352"; fc[3][34]="2.4132519749408536"; fc[3][35]="735.5590658433992"; 

fc[4][0]="6894.757"; fc[4][1]="0.06804596101653096"; fc[4][2]="0.06894757"; fc[4][3]="0.07030695497443061"; fc[4][4]="1"; fc[4][5]="144"; fc[4][6]="0.7030695497443061"; fc[4][7]="51.71491812328611"; fc[4][8]="2.3066585660341503"; fc[4][9]="2.036020374505114"; fc[4][10]="6.894757"; fc[4][11]="0.006894757"; fc[4][12]="6894.757"; fc[4][13]="0.6894757"; fc[4][14]="0.006894757"; fc[4][15]="0.07030695497443061"; fc[4][16]="68.94757"; fc[4][17]="703.0695497443062"; fc[4][18]="0.0007030695497443061"; fc[4][19]="70.30695497443061"; fc[4][20]="68947.57"; fc[4][21]="0.001"; fc[4][22]="4633.06261944248"; fc[4][23]="703.0695497443062"; fc[4][24]="70.30695497443061"; fc[4][25]="70.3088907425574"; fc[4][26]="5.17149181232861"; fc[4][27]="5.17150732812289"; fc[4][28]="27.679904644486367"; fc[4][29]="27.680671425474337"; fc[4][30]="27.707591223275997"; fc[4][31]="2.3067257057591552"; fc[4][32]="2.03602578564721"; fc[4][33]="2.041771769548544"; fc[4][34]="0.16966839794412236"; fc[4][35]="51.71491812328611"; 

fc[5][0]="47.8802569444444"; fc[5][1]="0.00047254139594813136"; fc[5][2]="0.000478802569444444"; fc[5][3]="0.00048824274287799"; fc[5][4]="0.00694444444444444"; fc[5][5]="1"; fc[5][6]="0.0048824274287799"; fc[5][7]="0.3591313758561533"; fc[5][8]="0.016018462264126034"; fc[5][9]="0.014139030378507727"; fc[5][10]="0.0478802569444444"; fc[5][11]="0.0000478802569444444"; fc[5][12]="47.8802569444444"; fc[5][13]="0.00478802569444444"; fc[5][14]="0.0000478802569444444"; fc[5][15]="0.00048824274287799"; fc[5][16]="0.478802569444444"; fc[5][17]="4.8824274287799"; fc[5][18]="0.0000048824274287799"; fc[5][19]="0.48824274287799"; fc[5][20]="478.802569444444"; fc[5][21]="0.00000694444444444444"; fc[5][22]="32.17404596835053"; fc[5][23]="4.8824274287799"; fc[5][24]="0.48824274287799"; fc[5][25]="0.4882561857122038"; fc[5][26]="0.035913137585615325"; fc[5][27]="0.03591324533418671"; fc[5][28]="0.1922215600311552"; fc[5][29]="0.1922268848991272"; fc[5][30]="0.19241382793941653"; fc[5][31]="0.016018928512216344"; fc[5][32]="0.014139067955883393"; fc[5][33]="0.014178970621864878"; fc[5][34]="0.001178252763500849"; fc[5][35]="0.3591313758561533"; 

fc[6][0]="9806.65"; fc[6][1]="0.09678411053540586"; fc[6][2]="0.0980665"; fc[6][3]="0.1"; fc[6][4]="1.4223343911902914"; fc[6][5]="204.81613926073083"; fc[6][6]="1"; fc[6][7]="73.55590658433992"; fc[6][8]="3.2808398072040536"; fc[6][9]="2.8959017998227607"; fc[6][10]="9.80665"; fc[6][11]="0.00980665"; fc[6][12]="9806.65"; fc[6][13]="0.980665"; fc[6][14]="0.00980665"; fc[6][15]="0.1"; fc[6][16]="98.0665"; fc[6][17]="1000"; fc[6][18]="0.001"; fc[6][19]="100"; fc[6][20]="98066.5"; fc[6][21]="0.0014223343911902912"; fc[6][22]="6589.764300171218"; fc[6][23]="1000"; fc[6][24]="100"; fc[6][25]="100.00275330958008"; fc[6][26]="7.355590658433991"; fc[6][27]="7.355612727081802"; fc[6][28]="39.37008032072084"; fc[6][29]="39.371170939690536"; fc[6][30]="39.40945989390773"; fc[6][31]="3.280935302343943"; fc[6][32]="2.8959094962762592"; fc[6][33]="2.904082206790352"; fc[6][34]="0.24132519749408537"; fc[6][35]="73.55590658433992"; 

fc[7][0]="133.3224"; fc[7][1]="0.0013157897853441893"; fc[7][2]="0.001333224"; fc[7][3]="0.0013595101283312852"; fc[7][4]="0.019336780106971138"; fc[7][5]="2.7844961577067457"; fc[7][6]="0.013595101283312852"; fc[7][7]="1"; fc[7][8]="0.04460334947326372"; fc[7][9]="0.03937007827511842"; fc[7][10]="0.1333224"; fc[7][11]="0.0001333224"; fc[7][12]="133.3224"; fc[7][13]="0.01333224"; fc[7][14]="0.0001333224"; fc[7][15]="0.0013595101283312852"; fc[7][16]="1.333224"; fc[7][17]="13.595101283312853"; fc[7][18]="0.000013595101283312853"; fc[7][19]="1.3595101283312851"; fc[7][20]="1333.224"; fc[7][21]="0.000019336780106971133"; fc[7][22]="89.58851309398694"; fc[7][23]="13.595101283312853"; fc[7][24]="1.3595101283312851"; fc[7][25]="1.3595475598538908"; fc[7][26]="0.1"; fc[7][27]="0.10000030002550215"; fc[7][28]="0.5352402294923619"; fc[7][29]="0.5352550565677165"; fc[7][30]="0.5357755987783314"; fc[7][31]="0.04460464773936259"; fc[7][32]="0.03937018290918325"; fc[7][33]="0.039481291736381534"; fc[7][34]="0.003280840502147568"; fc[7][35]="1"; 

fc[8][0]="2989.067"; fc[8][1]="0.029499797680730324"; fc[8][2]="0.02989067"; fc[8][3]="0.03048000081577297"; fc[8][4]="0.43352753403782035"; fc[8][5]="62.427960917505466"; fc[8][6]="0.30480000815772973"; fc[8][7]="22.419840926956013"; fc[8][8]="1"; fc[8][9]="0.8826708922099616"; fc[8][10]="2.989067"; fc[8][11]="0.002989067"; fc[8][12]="2989.067"; fc[8][13]="0.2989067"; fc[8][14]="0.002989067"; fc[8][15]="0.03048000081577297"; fc[8][16]="29.89067"; fc[8][17]="304.80000815772973"; fc[8][18]="0.0003048000081577297"; fc[8][19]="30.480000815772968"; fc[8][20]="29890.67"; fc[8][21]="0.00043352753403782027"; fc[8][22]="2008.5602124497031"; fc[8][23]="304.80000815772973"; fc[8][24]="30.480000815772968"; fc[8][25]="30.48084002455544"; fc[8][26]="2.241984092695601"; fc[8][27]="2.241990819219634"; fc[8][28]="12"; fc[8][29]="12.000333223597048"; fc[8][30]="12.012003697154797"; fc[8][31]="1.0000291069194173"; fc[8][32]="0.8826732380890507"; fc[8][33]="0.8851642803204169"; fc[8][34]="0.07355592216486295"; fc[8][35]="22.419840926956013"; 

fc[9][0]="3386.389"; fc[9][1]="0.033421060942511724"; fc[9][2]="0.03386389"; fc[9][3]="0.034531557667501135"; fc[9][4]="0.4911542205185767"; fc[9][5]="70.7262032411687"; fc[9][6]="0.34531557667501133"; fc[9][7]="25.4"; fc[9][8]="1.1329250900030008"; fc[9][9]="1"; fc[9][10]="3.386389"; fc[9][11]="0.003386389"; fc[9][12]="3386.389"; fc[9][13]="0.3386389"; fc[9][14]="0.003386389"; fc[9][15]="0.034531557667501135"; fc[9][16]="33.86389"; fc[9][17]="345.31557667501135"; fc[9][18]="0.00034531557667501135"; fc[9][19]="34.53155766750113"; fc[9][20]="33863.89"; fc[9][21]="0.0004911542205185766"; fc[9][22]="2275.5482594660266"; fc[9][23]="345.31557667501135"; fc[9][24]="34.53155766750113"; fc[9][25]="34.532508428186546"; fc[9][26]="2.54"; fc[9][27]="2.5400076506503053"; fc[9][28]="13.595101989691231"; fc[9][29]="13.595478597409688"; fc[9][30]="13.608700369715478"; fc[9][31]="1.1329580659623015"; fc[9][32]="1.000002657705278"; fc[9][33]="1.00282482194945"; fc[9][34]="0.0833333497388811"; fc[9][35]="25.4"; 

fc[10][0]="1000"; fc[10][1]="0.009869232667160127"; fc[10][2]="0.01"; fc[10][3]="0.010197162129779282"; fc[10][4]="0.1450377438972831"; fc[10][5]="20.88543378837124"; fc[10][6]="0.10197162129779283"; fc[10][7]="7.500615050434137"; fc[10][8]="0.3345525543589354"; fc[10][9]="0.2952998016471232"; fc[10][10]="1"; fc[10][11]="0.001"; fc[10][12]="1000"; fc[10][13]="0.1"; fc[10][14]="0.001"; fc[10][15]="0.010197162129779282"; fc[10][16]="10"; fc[10][17]="101.97162129779283"; fc[10][18]="0.00010197162129779282"; fc[10][19]="10.197162129779281"; fc[10][20]="10000"; fc[10][21]="0.0001450377438972831"; fc[10][22]="671.9689496587741"; fc[10][23]="101.97162129779283"; fc[10][24]="10.197162129779281"; fc[10][25]="10.197442889221099"; fc[10][26]="0.7500615050434135"; fc[10][27]="0.7500637554192107"; fc[10][28]="4.014630920928231"; fc[10][29]="4.01474213311279"; fc[10][30]="4.018646519852114"; fc[10][31]="0.334562292153176"; fc[10][32]="0.2953005864669647"; fc[10][33]="0.29613397100848426"; fc[10][34]="0.024608321648481937"; fc[10][35]="7.500615050434137"; 

fc[11][0]="1000000"; fc[11][1]="9.869232667160128"; fc[11][2]="10"; fc[11][3]="10.197162129779281"; fc[11][4]="145.03774389728312"; fc[11][5]="20885.433788371243"; fc[11][6]="101.97162129779282"; fc[11][7]="7500.615050434137"; fc[11][8]="334.55255435893536"; fc[11][9]="295.2998016471232"; fc[11][10]="1000"; fc[11][11]="1"; fc[11][12]="1000000"; fc[11][13]="100"; fc[11][14]="1"; fc[11][15]="10.197162129779281"; fc[11][16]="10000"; fc[11][17]="101971.62129779283"; fc[11][18]="0.10197162129779283"; fc[11][19]="10197.162129779282"; fc[11][20]="10000000"; fc[11][21]="0.1450377438972831"; fc[11][22]="671968.9496587742"; fc[11][23]="101971.62129779283"; fc[11][24]="10197.162129779282"; fc[11][25]="10197.442889221098"; fc[11][26]="750.0615050434136"; fc[11][27]="750.0637554192106"; fc[11][28]="4014.6309209282312"; fc[11][29]="4014.74213311279"; fc[11][30]="4018.6465198521136"; fc[11][31]="334.562292153176"; fc[11][32]="295.3005864669647"; fc[11][33]="296.13397100848425"; fc[11][34]="24.608321648481936"; fc[11][35]="7500.615050434137";

fc[12][0]="1"; fc[12][1]="0.000009869232667160128"; fc[12][2]="0.00001"; fc[12][3]="0.000010197162129779282"; fc[12][4]="0.00014503774389728311"; fc[12][5]="0.02088543378837124"; fc[12][6]="0.00010197162129779282"; fc[12][7]="0.0075006150504341364"; fc[12][8]="0.0003345525543589354"; fc[12][9]="0.0002952998016471232"; fc[12][10]="0.001"; fc[12][11]="0.000001"; fc[12][12]="1"; fc[12][13]="0.0001"; fc[12][14]="0.000001"; fc[12][15]="0.000010197162129779282"; fc[12][16]="0.01"; fc[12][17]="0.10197162129779283"; fc[12][18]="1.0197162129779282e-7"; fc[12][19]="0.010197162129779282"; fc[12][20]="10"; fc[12][21]="1.450377438972831e-7"; fc[12][22]="0.6719689496587742"; fc[12][23]="0.10197162129779283"; fc[12][24]="0.010197162129779282"; fc[12][25]="0.010197442889221098"; fc[12][26]="0.0007500615050434136"; fc[12][27]="0.0007500637554192106"; fc[12][28]="0.004014630920928231"; fc[12][29]="0.00401474213311279"; fc[12][30]="0.0040186465198521134"; fc[12][31]="0.000334562292153176"; fc[12][32]="0.0002953005864669647"; fc[12][33]="0.00029613397100848425"; fc[12][34]="0.000024608321648481936"; fc[12][35]="0.0075006150504341364"; 

fc[13][0]="10000"; fc[13][1]="0.09869232667160128"; fc[13][2]="0.1"; fc[13][3]="0.10197162129779282"; fc[13][4]="1.4503774389728311"; fc[13][5]="208.85433788371242"; fc[13][6]="1.0197162129779282"; fc[13][7]="75.00615050434136"; fc[13][8]="3.345525543589354"; fc[13][9]="2.952998016471232"; fc[13][10]="10"; fc[13][11]="0.01"; fc[13][12]="10000"; fc[13][13]="1"; fc[13][14]="0.01"; fc[13][15]="0.10197162129779281"; fc[13][16]="100"; fc[13][17]="1019.7162129779283"; fc[13][18]="0.0010197162129779282"; fc[13][19]="101.97162129779282"; fc[13][20]="100000"; fc[13][21]="0.001450377438972831"; fc[13][22]="6719.689496587742"; fc[13][23]="1019.7162129779283"; fc[13][24]="101.97162129779282"; fc[13][25]="101.974428892211"; fc[13][26]="7.500615050434136"; fc[13][27]="7.500637554192106"; fc[13][28]="40.146309209282315"; fc[13][29]="40.1474213311279"; fc[13][30]="40.186465198521134"; fc[13][31]="3.34562292153176"; fc[13][32]="2.953005864669647"; fc[13][33]="2.9613397100848425"; fc[13][34]="0.24608321648481936"; fc[13][35]="75.00615050434136";  

fc[14][0]="1000000"; fc[14][1]="9.869232667160128"; fc[14][2]="10"; fc[14][3]="10.197162129779282"; fc[14][4]="145.03774389728311"; fc[14][5]="20885.433788371242"; fc[14][6]="101.97162129779282"; fc[14][7]="7500.615050434137"; fc[14][8]="334.55255435893536"; fc[14][9]="295.2998016471232"; fc[14][10]="1000"; fc[14][11]="1"; fc[14][12]="1000000"; fc[14][13]="100"; fc[14][14]="1"; fc[14][15]="10.197162129779281"; fc[14][16]="10000"; fc[14][17]="101971.62129779283"; fc[14][18]="0.10197162129779283"; fc[14][19]="10197.162129779282"; fc[14][20]="10000000"; fc[14][21]="0.1450377438972831"; fc[14][22]="671968.9496587742"; fc[14][23]="101971.62129779283"; fc[14][24]="10197.162129779282"; fc[14][25]="10197.442889221098"; fc[14][26]="750.0615050434136"; fc[14][27]="750.0637554192106"; fc[14][28]="4014.6309209282312"; fc[14][29]="4014.74213311279"; fc[14][30]="4018.6465198521136"; fc[14][31]="334.562292153176"; fc[14][32]="295.3005864669647"; fc[14][33]="296.13397100848425"; fc[14][34]="24.608321648481936"; fc[14][35]="7500.615050434136";

fc[15][0]="98066.5"; fc[15][1]="0.9678411053540588"; fc[15][2]="0.9806650000000001"; fc[15][3]="1"; fc[15][4]="14.223343911902914"; fc[15][5]="2048.1613926073082"; fc[15][6]="10"; fc[15][7]="735.5590658433992"; fc[15][8]="32.80839807204054"; fc[15][9]="28.95901799822761"; fc[15][10]="98.0665"; fc[15][11]="0.0980665"; fc[15][12]="98066.5"; fc[15][13]="9.806650000000001"; fc[15][14]="0.0980665"; fc[15][15]="1"; fc[15][16]="980.665"; fc[15][17]="10000"; fc[15][18]="0.01"; fc[15][19]="1000"; fc[15][20]="980665"; fc[15][21]="0.014223343911902912"; fc[15][22]="65897.64300171217"; fc[15][23]="10000"; fc[15][24]="1000"; fc[15][25]="1000.0275330958009"; fc[15][26]="73.55590658433992"; fc[15][27]="73.55612727081802"; fc[15][28]="393.70080320720836"; fc[15][29]="393.7117093969054"; fc[15][30]="394.0945989390773"; fc[15][31]="32.809353023439435"; fc[15][32]="28.95909496276259"; fc[15][33]="29.04082206790352"; fc[15][34]="2.4132519749408536"; fc[15][35]="735.5590658433992";  

fc[16][0]="100"; fc[16][1]="0.0009869232667160127"; fc[16][2]="0.001"; fc[16][3]="0.0010197162129779282"; fc[16][4]="0.014503774389728311"; fc[16][5]="2.0885433788371243"; fc[16][6]="0.010197162129779282"; fc[16][7]="0.7500615050434136"; fc[16][8]="0.03345525543589354"; fc[16][9]="0.02952998016471232"; fc[16][10]="0.1"; fc[16][11]="0.0001"; fc[16][12]="100"; fc[16][13]="0.01"; fc[16][14]="0.0001"; fc[16][15]="0.0010197162129779282"; fc[16][16]="1"; fc[16][17]="10.197162129779283"; fc[16][18]="0.000010197162129779282"; fc[16][19]="1.0197162129779282"; fc[16][20]="1000"; fc[16][21]="0.00001450377438972831"; fc[16][22]="67.19689496587742"; fc[16][23]="10.197162129779283"; fc[16][24]="1.0197162129779282"; fc[16][25]="1.0197442889221097"; fc[16][26]="0.07500615050434135"; fc[16][27]="0.07500637554192106"; fc[16][28]="0.4014630920928231"; fc[16][29]="0.40147421331127897"; fc[16][30]="0.4018646519852114"; fc[16][31]="0.0334562292153176"; fc[16][32]="0.02953005864669647"; fc[16][33]="0.029613397100848426"; fc[16][34]="0.0024608321648481937"; fc[16][35]="0.7500615050434136"; 

fc[17][0]="9.80665"; fc[17][1]="0.00009678411053540587"; fc[17][2]="0.0000980665"; fc[17][3]="0.0001"; fc[17][4]="0.0014223343911902914"; fc[17][5]="0.20481613926073083"; fc[17][6]="0.001"; fc[17][7]="0.07355590658433991"; fc[17][8]="0.0032808398072040534"; fc[17][9]="0.0028959017998227607"; fc[17][10]="0.00980665"; fc[17][11]="0.00000980665"; fc[17][12]="9.80665"; fc[17][13]="0.000980665"; fc[17][14]="0.00000980665"; fc[17][15]="0.0001"; fc[17][16]="0.0980665"; fc[17][17]="1"; fc[17][18]="0.000001"; fc[17][19]="0.1"; fc[17][20]="98.0665"; fc[17][21]="0.0000014223343911902913"; fc[17][22]="6.589764300171217"; fc[17][23]="1"; fc[17][24]="0.1"; fc[17][25]="0.10000275330958008"; fc[17][26]="0.007355590658433991"; fc[17][27]="0.007355612727081801"; fc[17][28]="0.039370080320720834"; fc[17][29]="0.03937117093969054"; fc[17][30]="0.039409459893907726"; fc[17][31]="0.0032809353023439433"; fc[17][32]="0.002895909496276259"; fc[17][33]="0.002904082206790352"; fc[17][34]="0.00024132519749408537"; fc[17][35]="0.07355590658433991"; 
 
fc[18][0]="9806650"; fc[18][1]="96.78411053540587"; fc[18][2]="98.0665"; fc[18][3]="100"; fc[18][4]="1422.3343911902914"; fc[18][5]="204816.13926073085"; fc[18][6]="1000"; fc[18][7]="73555.90658433993"; fc[18][8]="3280.8398072040536"; fc[18][9]="2895.901799822761"; fc[18][10]="9806.65"; fc[18][11]="9.80665"; fc[18][12]="9806650"; fc[18][13]="980.665"; fc[18][14]="9.80665"; fc[18][15]="100"; fc[18][16]="98066.5"; fc[18][17]="1000000"; fc[18][18]="1"; fc[18][19]="100000"; fc[18][20]="98066500"; fc[18][21]="1.4223343911902912"; fc[18][22]="6589764.300171218"; fc[18][23]="1000000"; fc[18][24]="100000"; fc[18][25]="100002.75330958009"; fc[18][26]="7355.590658433992"; fc[18][27]="7355.6127270818015"; fc[18][28]="39370.08032072084"; fc[18][29]="39371.17093969054"; fc[18][30]="39409.459893907726"; fc[18][31]="3280.9353023439435"; fc[18][32]="2895.9094962762592"; fc[18][33]="2904.082206790352"; fc[18][34]="241.3251974940854"; fc[18][35]="73555.90658433993";
 
fc[19][0]="98.0665"; fc[19][1]="0.0009678411053540588"; fc[19][2]="0.000980665"; fc[19][3]="0.001"; fc[19][4]="0.014223343911902915"; fc[19][5]="2.0481613926073083"; fc[19][6]="0.01"; fc[19][7]="0.7355590658433992"; fc[19][8]="0.032808398072040536"; fc[19][9]="0.02895901799822761"; fc[19][10]="0.0980665"; fc[19][11]="0.0000980665"; fc[19][12]="98.0665"; fc[19][13]="0.00980665"; fc[19][14]="0.0000980665"; fc[19][15]="0.001"; fc[19][16]="0.980665"; fc[19][17]="10"; fc[19][18]="0.00001"; fc[19][19]="1"; fc[19][20]="980.665"; fc[19][21]="0.000014223343911902913"; fc[19][22]="65.89764300171218"; fc[19][23]="10"; fc[19][24]="1"; fc[19][25]="1.0000275330958008"; fc[19][26]="0.07355590658433991"; fc[19][27]="0.07355612727081802"; fc[19][28]="0.3937008032072084"; fc[19][29]="0.3937117093969054"; fc[19][30]="0.3940945989390773"; fc[19][31]="0.03280935302343944"; fc[19][32]="0.028959094962762593"; fc[19][33]="0.02904082206790352"; fc[19][34]="0.002413251974940854"; fc[19][35]="0.7355590658433992";

fc[20][0]="0.1"; fc[20][1]="9.86923266716013e-7"; fc[20][2]="0.000001"; fc[20][3]="0.0000010197162129779282"; fc[20][4]="0.000014503774389728313"; fc[20][5]="0.0020885433788371244"; fc[20][6]="0.000010197162129779283"; fc[20][7]="0.0007500615050434137"; fc[20][8]="0.00003345525543589354"; fc[20][9]="0.00002952998016471232"; fc[20][10]="0.0001"; fc[20][11]="0.0000001"; fc[20][12]="0.1"; fc[20][13]="0.00001"; fc[20][14]="0.0000001"; fc[20][15]="0.0000010197162129779282"; fc[20][16]="0.001"; fc[20][17]="0.010197162129779283"; fc[20][18]="1.0197162129779283e-8"; fc[20][19]="0.0010197162129779282"; fc[20][20]="1"; fc[20][21]="1.450377438972831e-8"; fc[20][22]="0.06719689496587742"; fc[20][23]="0.010197162129779283"; fc[20][24]="0.0010197162129779282"; fc[20][25]="0.00101974428892211"; fc[20][26]="0.00007500615050434136"; fc[20][27]="0.00007500637554192107"; fc[20][28]="0.00040146309209282313"; fc[20][29]="0.000401474213311279"; fc[20][30]="0.00040186465198521136"; fc[20][31]="0.000033456229215317604"; fc[20][32]="0.00002953005864669647"; fc[20][33]="0.000029613397100848425"; fc[20][34]="0.000002460832164848194"; fc[20][35]="0.0007500615050434137";

fc[21][0]="6894757"; fc[21][1]="68.04596101653095"; fc[21][2]="68.94757"; fc[21][3]="70.30695497443061"; fc[21][4]="1000"; fc[21][5]="144000"; fc[21][6]="703.0695497443062"; fc[21][7]="51714.91812328611"; fc[21][8]="2306.65856603415"; fc[21][9]="2036.0203745051142"; fc[21][10]="6894.757"; fc[21][11]="6.894757"; fc[21][12]="6894757"; fc[21][13]="689.4757"; fc[21][14]="6.894757"; fc[21][15]="70.30695497443061"; fc[21][16]="68947.57"; fc[21][17]="703069.5497443061"; fc[21][18]="0.7030695497443061"; fc[21][19]="70306.95497443061"; fc[21][20]="68947570"; fc[21][21]="1"; fc[21][22]="4633062.619442481"; fc[21][23]="703069.5497443061"; fc[21][24]="70306.95497443061"; fc[21][25]="70308.8907425574"; fc[21][26]="5171.491812328611"; fc[21][27]="5171.50732812289"; fc[21][28]="27679.904644486367"; fc[21][29]="27680.67142547434"; fc[21][30]="27707.591223276"; fc[21][31]="2306.725705759155"; fc[21][32]="2036.02578564721"; fc[21][33]="2041.7717695485437"; fc[21][34]="169.66839794412237"; fc[21][35]="51714.91812328611";

fc[22][0]="1.488164"; fc[22][1]="0.000014687036762891686"; fc[22][2]="0.00001488164"; fc[22][3]="0.000015175049583700855"; fc[22][4]="0.00021583994910915642"; fc[22][5]="0.031080950688237702"; fc[22][6]="0.00015175049583700858"; fc[22][7]="0.011162145295914267"; fc[22][8]="0.0004978690675050108"; fc[22][9]="0.00043945453401838944"; fc[22][10]="0.001488164"; fc[22][11]="0.000001488164"; fc[22][12]="1.488164"; fc[22][13]="0.0001488164"; fc[22][14]="0.000001488164"; fc[22][15]="0.000015175049583700855"; fc[22][16]="0.01488164"; fc[22][17]="0.1517504958370086"; fc[22][18]="1.5175049583700856e-7"; fc[22][19]="0.015175049583700856"; fc[22][20]="14.88164"; fc[22][21]="2.158399491091564e-7"; fc[22][22]="1"; fc[22][23]="0.1517504958370086"; fc[22][24]="0.015175049583700856"; fc[22][25]="0.015175467399794827"; fc[22][26]="0.0011162145295914266"; fc[22][27]="0.0011162178785196741"; fc[22][28]="0.00597442920981224"; fc[22][29]="0.005974594711781662"; fc[22][30]="0.0059804050795692004"; fc[22][31]="0.000497883558939839"; fc[22][32]="0.00043945570195902405"; fc[22][33]="0.00044069591483187"; fc[22][34]="0.00003662121837769147"; fc[22][35]="0.011162145295914267"; 

fc[23][0]="9.80665"; fc[23][1]="0.00009678411053540587"; fc[23][2]="0.0000980665"; fc[23][3]="0.0001"; fc[23][4]="0.0014223343911902914"; fc[23][5]="0.20481613926073083"; fc[23][6]="0.001"; fc[23][7]="0.07355590658433991"; fc[23][8]="0.0032808398072040534"; fc[23][9]="0.0028959017998227607"; fc[23][10]="0.00980665"; fc[23][11]="0.00000980665"; fc[23][12]="9.80665"; fc[23][13]="0.000980665"; fc[23][14]="0.00000980665"; fc[23][15]="0.0001"; fc[23][16]="0.0980665"; fc[23][17]="1"; fc[23][18]="0.000001"; fc[23][19]="0.1"; fc[23][20]="98.0665"; fc[23][21]="0.0000014223343911902913"; fc[23][22]="6.589764300171217"; fc[23][23]="1"; fc[23][24]="0.1"; fc[23][25]="0.10000275330958008"; fc[23][26]="0.007355590658433991"; fc[23][27]="0.007355612727081801"; fc[23][28]="0.039370080320720834"; fc[23][29]="0.03937117093969054"; fc[23][30]="0.039409459893907726"; fc[23][31]="0.0032809353023439433"; fc[23][32]="0.002895909496276259"; fc[23][33]="0.002904082206790352"; fc[23][34]="0.00024132519749408537"; fc[23][35]="0.07355590658433991";

fc[24][0]="98.0665"; fc[24][1]="0.0009678411053540588"; fc[24][2]="0.000980665"; fc[24][3]="0.001"; fc[24][4]="0.014223343911902915"; fc[24][5]="2.0481613926073083"; fc[24][6]="0.01"; fc[24][7]="0.7355590658433992"; fc[24][8]="0.032808398072040536"; fc[24][9]="0.02895901799822761"; fc[24][10]="0.0980665"; fc[24][11]="0.0000980665"; fc[24][12]="98.0665"; fc[24][13]="0.00980665"; fc[24][14]="0.0000980665"; fc[24][15]="0.001"; fc[24][16]="0.980665"; fc[24][17]="10"; fc[24][18]="0.00001"; fc[24][19]="1"; fc[24][20]="980.665"; fc[24][21]="0.000014223343911902913"; fc[24][22]="65.89764300171218"; fc[24][23]="10"; fc[24][24]="1"; fc[24][25]="1.0000275330958008"; fc[24][26]="0.07355590658433991"; fc[24][27]="0.07355612727081802"; fc[24][28]="0.3937008032072084"; fc[24][29]="0.3937117093969054"; fc[24][30]="0.3940945989390773"; fc[24][31]="0.03280935302343944"; fc[24][32]="0.028959094962762593"; fc[24][33]="0.02904082206790352"; fc[24][34]="0.002413251974940854"; fc[24][35]="0.7355590658433992";

fc[25][0]="98.0638"; fc[25][1]="0.0009678144584258574"; fc[25][2]="0.000980638"; fc[25][3]="0.0009999724676622496"; fc[25][4]="0.014222952309994391"; fc[25][5]="2.04810500193608"; fc[25][6]="0.009999724676622495"; fc[25][7]="0.7355388141827631"; fc[25][8]="0.03280749478014377"; fc[25][9]="0.02895822068876316"; fc[25][10]="0.0980638"; fc[25][11]="0.0000980638"; fc[25][12]="98.0638"; fc[25][13]="0.00980638"; fc[25][14]="0.0000980638"; fc[25][15]="0.0009999724676622496"; fc[25][16]="0.980638"; fc[25][17]="9.999724676622497"; fc[25][18]="0.000009999724676622495"; fc[25][19]="0.9999724676622496"; fc[25][20]="980.638"; fc[25][21]="0.00001422295230999439"; fc[25][22]="65.8958286855481"; fc[25][23]="9.999724676622497"; fc[25][24]="0.9999724676622496"; fc[25][25]="1"; fc[25][26]="0.0735538814182763"; fc[25][27]="0.07355410209867838"; fc[25][28]="0.3936899637037219"; fc[25][29]="0.393700869593146"; fc[25][30]="0.39408374859347367"; fc[25][31]="0.03280844970525062"; fc[25][32]="0.028958297651179132"; fc[25][33]="0.029040022506181796"; fc[25][34]="0.002413185532472403"; fc[25][35]="0.7355388141827631"; 
 
fc[26][0]="1333.224"; fc[26][1]="0.013157897853441893"; fc[26][2]="0.01333224"; fc[26][3]="0.013595101283312852"; fc[26][4]="0.19336780106971138"; fc[26][5]="27.84496157706746"; fc[26][6]="0.13595101283312852"; fc[26][7]="10"; fc[26][8]="0.4460334947326372"; fc[26][9]="0.39370078275118414"; fc[26][10]="1.333224"; fc[26][11]="0.001333224"; fc[26][12]="1333.224"; fc[26][13]="0.1333224"; fc[26][14]="0.001333224"; fc[26][15]="0.013595101283312852"; fc[26][16]="13.33224"; fc[26][17]="135.95101283312854"; fc[26][18]="0.00013595101283312853"; fc[26][19]="13.595101283312852"; fc[26][20]="13332.24"; fc[26][21]="0.00019336780106971133"; fc[26][22]="895.8851309398694"; fc[26][23]="135.95101283312854"; fc[26][24]="13.595101283312852"; fc[26][25]="13.595475598538907"; fc[26][26]="1"; fc[26][27]="1.0000030002550215"; fc[26][28]="5.352402294923619"; fc[26][29]="5.3525505656771655"; fc[26][30]="5.357755987783314"; fc[26][31]="0.4460464773936259"; fc[26][32]="0.39370182909183254"; fc[26][33]="0.39481291736381535"; fc[26][34]="0.03280840502147568"; fc[26][35]="10";

fc[27][0]="1333.22"; fc[27][1]="0.013157858376511226"; fc[27][2]="0.0133322"; fc[27][3]="0.013595060494664334"; fc[27][4]="0.1933672209187358"; fc[27][5]="27.844878035332307"; fc[27][6]="0.13595060494664335"; fc[27][7]="9.9999699975398"; fc[27][8]="0.44603215652241984"; fc[27][9]="0.3936996015519776"; fc[27][10]="1.33322"; fc[27][11]="0.00133322"; fc[27][12]="1333.22"; fc[27][13]="0.133322"; fc[27][14]="0.00133322"; fc[27][15]="0.013595060494664334"; fc[27][16]="13.3322"; fc[27][17]="135.95060494664335"; fc[27][18]="0.00013595060494664334"; fc[27][19]="13.595060494664334"; fc[27][20]="13332.2"; fc[27][21]="0.00019336722091873578"; fc[27][22]="895.8824430640709"; fc[27][23]="135.95060494664335"; fc[27][24]="13.595060494664334"; fc[27][25]="13.595434808767354"; fc[27][26]="0.9999969997539798"; fc[27][27]="1"; fc[27][28]="5.352386236399936"; fc[27][29]="5.352534506708634"; fc[27][30]="5.357739913197235"; fc[27][31]="0.4460451391444573"; fc[27][32]="0.39370064788948666"; fc[27][33]="0.39481173282793136"; fc[27][34]="0.03280830658818909"; fc[27][35]="9.9999699975398";

fc[28][0]="249.0889"; fc[28][1]="0.0024583163089069823"; fc[28][2]="0.002490889"; fc[28][3]="0.00254"; fc[28][4]="0.036127292085855966"; fc[28][5]="5.202329728368225"; fc[28][6]="0.0254"; fc[28][7]="1.8683199522360836"; fc[28][8]="0.08333332775745741"; fc[28][9]="0.07355590276250011"; fc[28][10]="0.2490889"; fc[28][11]="0.0002490889"; fc[28][12]="249.0889"; fc[28][13]="0.02490889"; fc[28][14]="0.0002490889"; fc[28][15]="0.00254"; fc[28][16]="2.490889"; fc[28][17]="25.4"; fc[28][18]="0.0000254"; fc[28][19]="2.54"; fc[28][20]="2490.889"; fc[28][21]="0.00003612729208585596"; fc[28][22]="167.38000650465943"; fc[28][23]="25.4"; fc[28][24]="2.54"; fc[28][25]="2.5400698320889052"; fc[28][26]="0.18683199522360833"; fc[28][27]="0.1868325557672402"; fc[28][28]="1"; fc[28][29]="1.0000277017207184"; fc[28][30]="1.001000241118791"; fc[28][31]="0.08333575333391324"; fc[28][32]="0.07355609825241112"; fc[28][33]="0.07376368509113523"; fc[28][34]="0.006129659770266552"; fc[28][35]="1.8683199522360836";

fc[29][0]="249.082"; fc[29][1]="0.002458248211201579"; fc[29][2]="0.00249082"; fc[29][3]="0.002539929537609683"; fc[29][4]="0.036126291325423075"; fc[29][5]="5.2021856188750855"; fc[29][6]="0.025399295376096833"; fc[29][7]="1.8682681979922355"; fc[29][8]="0.08333101934483233"; fc[29][9]="0.07355386519386873"; fc[29][10]="0.249082"; fc[29][11]="0.000249082"; fc[29][12]="249.082"; fc[29][13]="0.0249082"; fc[29][14]="0.000249082"; fc[29][15]="0.002539929537609683"; fc[29][16]="2.49082"; fc[29][17]="25.399295376096834"; fc[29][18]="0.00002539929537609683"; fc[29][19]="2.539929537609683"; fc[29][20]="2490.82"; fc[29][21]="0.00003612629132542307"; fc[29][22]="167.37536991890678"; fc[29][23]="25.399295376096834"; fc[29][24]="2.539929537609683"; fc[29][25]="2.5399994697329697"; fc[29][26]="0.18682681979922352"; fc[29][27]="0.18682738032732782"; fc[29][28]="0.9999722990466456"; fc[29][29]="1"; fc[29][30]="1.0009725124578041"; fc[29][31]="0.08333344485409738"; fc[29][32]="0.0735540606783645"; fc[29][33]="0.07376164176673527"; fc[29][34]="0.006129489972847178"; fc[29][35]="1.8682681979922355";

fc[30][0]="248.84"; fc[30][1]="0.0024558598568961264"; fc[30][2]="0.0024884"; fc[30][3]="0.0025374618243742767"; fc[30][4]="0.03609119219139993"; fc[30][5]="5.1971313438983"; fc[30][6]="0.025374618243742767"; fc[30][7]="1.8664530491500306"; fc[30][8]="0.08325005762667749"; fc[30][9]="0.07348240264187014"; fc[30][10]="0.24884"; fc[30][11]="0.00024884"; fc[30][12]="248.84"; fc[30][13]="0.024884"; fc[30][14]="0.00024884"; fc[30][15]="0.0025374618243742767"; fc[30][16]="2.4884"; fc[30][17]="25.37461824374277"; fc[30][18]="0.00002537461824374277"; fc[30][19]="2.5374618243742763"; fc[30][20]="2488.4"; fc[30][21]="0.000036091192191399924"; fc[30][22]="167.21275343308937"; fc[30][23]="25.37461824374277"; fc[30][24]="2.5374618243742763"; fc[30][25]="2.5375316885537784"; fc[30][26]="0.18664530491500303"; fc[30][27]="0.18664586489851637"; fc[30][28]="0.9990007583637811"; fc[30][29]="0.9990284324037867"; fc[30][30]="1"; fc[30][31]="0.08325248077939631"; fc[30][32]="0.07348259793643949"; fc[30][33]="0.07368997734575122"; fc[30][34]="0.006123534759008245"; fc[30][35]="1.8664530491500306";

fc[31][0]="2988.98"; fc[31][1]="0.02949893905748828"; fc[31][2]="0.0298898"; fc[31][3]="0.03047911366266768"; fc[31][4]="0.4335149157541013"; fc[31][5]="62.42614388476587"; fc[31][6]="0.3047911366266768"; fc[31][7]="22.419188373446626"; fc[31][8]="0.9999708939277707"; fc[31][9]="0.8826452011272183"; fc[31][10]="2.98898"; fc[31][11]="0.00298898"; fc[31][12]="2988.98"; fc[31][13]="0.298898"; fc[31][14]="0.00298898"; fc[31][15]="0.03047911366266768"; fc[31][16]="29.8898"; fc[31][17]="304.7911366266768"; fc[31][18]="0.0003047911366266768"; fc[31][19]="30.47911366266768"; fc[31][20]="29889.8"; fc[31][21]="0.0004335149157541012"; fc[31][22]="2008.5017511510827"; fc[31][23]="304.7911366266768"; fc[31][24]="30.47911366266768"; fc[31][25]="30.47995284702408"; fc[31][26]="2.241918837344662"; fc[31][27]="2.241925563672912"; fc[31][28]="11.999651530036064"; fc[31][29]="12"; fc[31][30]="12.01165407490757"; fc[31][31]="1"; fc[31][32]="0.8826475469380282"; fc[31][33]="0.8851385166649393"; fc[31][34]="0.07355378124087954"; fc[31][35]="22.419188373446626";

fc[32][0]="3386.38"; fc[32][1]="0.03342097211941772"; fc[32][2]="0.0338638"; fc[32][3]="0.034531465893041964"; fc[32][4]="0.4911529151788816"; fc[32][5]="70.7260152722646"; fc[32][6]="0.3453146589304197"; fc[32][7]="25.399932794489153"; fc[32][8]="1.1329220790300116"; fc[32][9]="0.999997342301785"; fc[32][10]="3.38638"; fc[32][11]="0.00338638"; fc[32][12]="3386.38"; fc[32][13]="0.338638"; fc[32][14]="0.00338638"; fc[32][15]="0.034531465893041964"; fc[32][16]="33.8638"; fc[32][17]="345.3146589304197"; fc[32][18]="0.00034531465893041966"; fc[32][19]="34.53146589304197"; fc[32][20]="33863.8"; fc[32][21]="0.0004911529151788816"; fc[32][22]="2275.54221174548"; fc[32][23]="345.3146589304197"; fc[32][24]="34.53146589304197"; fc[32][25]="34.53241665120055"; fc[32][26]="2.539993279448915"; fc[32][27]="2.54"; fc[32][28]="13.595065858012944"; fc[32][29]="13.595442464730489"; fc[32][30]="13.6086642018968"; fc[32][31]="1.1329550549016722"; fc[32][32]="1"; fc[32][33]="1.002822156743711"; fc[32][34]="0.08333312826398625"; fc[32][35]="25.399932794489153";

fc[33][0]="3376.85"; fc[33][1]="0.03332691833209968"; fc[33][2]="0.0337685"; fc[33][3]="0.03443428693794517"; fc[33][4]="0.4897707054795405"; fc[33][5]="70.52697708826143"; fc[33][6]="0.3443428693794517"; fc[33][7]="25.328451933058513"; fc[33][8]="1.1297337931869708"; fc[33][9]="0.997183135192088"; fc[33][10]="3.37685"; fc[33][11]="0.00337685"; fc[33][12]="3376.85"; fc[33][13]="0.337685"; fc[33][14]="0.00337685"; fc[33][15]="0.03443428693794517"; fc[33][16]="33.7685"; fc[33][17]="344.3428693794517"; fc[33][18]="0.0003443428693794517"; fc[33][19]="34.43428693794517"; fc[33][20]="33768.5"; fc[33][21]="0.0004897707054795404"; fc[33][22]="2269.1383476552314"; fc[33][23]="344.3428693794517"; fc[33][24]="34.43428693794517"; fc[33][25]="34.435235020466266"; fc[33][26]="2.532845193305851"; fc[33][27]="2.532852792487361"; fc[33][28]="13.556806425336496"; fc[33][29]="13.557181972201924"; fc[33][30]="13.570366500562608"; fc[33][31]="1.1297666762574523"; fc[33][32]="0.9971857854109697"; fc[33][33]="1"; fc[33][34]="0.08309861095867622"; fc[33][35]="25.328451933058513";

fc[34][0]="40636.66"; fc[34][1]="0.40105265235627935"; fc[34][2]="0.4063666"; fc[34][3]="0.41437861043271656"; fc[34][4]="5.89384948592097"; fc[34][5]="848.7142718105541"; fc[34][6]="4.143786104327166"; fc[34][7]="304.8"; fc[34][8]="13.595098403615576"; fc[34][9]="12"; fc[34][10]="40.63666"; fc[34][11]="0.04063666"; fc[34][12]="40636.66"; fc[34][13]="4.063666"; fc[34][14]="0.04063666"; fc[34][15]="0.41437861043271656"; fc[34][16]="406.3666"; fc[34][17]="4143.786104327166"; fc[34][18]="0.004143786104327166"; fc[34][19]="414.3786104327166"; fc[34][20]="406366.6"; fc[34][21]="0.005893849485920969"; fc[34][22]="27306.573737840724"; fc[34][23]="4143.786104327166"; fc[34][24]="414.3786104327166"; fc[34][25]="414.3900195586955"; fc[34][26]="30.48"; fc[34][27]="30.480085807293623"; fc[34][28]="163.14119175924742"; fc[34][29]="163.1457110509792"; fc[34][30]="163.3043722874136"; fc[34][31]="13.595494115049282"; fc[34][32]="12.000029530058647"; fc[34][33]="12.033895494321631"; fc[34][34]="1"; fc[34][35]="304.8";

fc[35][0]="133.3224"; fc[35][1]="0.0013157897853441893"; fc[35][2]="0.001333224"; fc[35][3]="0.0013595101283312852"; fc[35][4]="0.019336780106971138"; fc[35][5]="2.7844961577067457"; fc[35][6]="0.013595101283312852"; fc[35][7]="1"; fc[35][8]="0.04460334947326372"; fc[35][9]="0.03937007827511842"; fc[35][10]="0.1333224"; fc[35][11]="0.0001333224"; fc[35][12]="133.3224"; fc[35][13]="0.01333224"; fc[35][14]="0.0001333224"; fc[35][15]="0.0013595101283312852"; fc[35][16]="1.333224"; fc[35][17]="13.595101283312853"; fc[35][18]="0.000013595101283312853"; fc[35][19]="1.3595101283312851"; fc[35][20]="1333.224"; fc[35][21]="0.000019336780106971133"; fc[35][22]="89.58851309398694"; fc[35][23]="13.595101283312853"; fc[35][24]="1.3595101283312851"; fc[35][25]="1.3595475598538908"; fc[35][26]="0.1"; fc[35][27]="0.10000030002550215"; fc[35][28]="0.5352402294923619"; fc[35][29]="0.5352550565677165"; fc[35][30]="0.5357755987783314"; fc[35][31]="0.04460464773936259"; fc[35][32]="0.03937018290918325"; fc[35][33]="0.039481291736381534"; fc[35][34]="0.003280840502147568"; fc[35][35]="1";
//Fim da Construção da Matriz de Dados


//Cálculo das Conversões
function converte(form){
	conv=1
	var verfns=0
	var campid2
	var excluir
	var chknome
	
	obj_format.setFormat(decSep, milSep, tipo, cdec, prec, estExp);
	
	n=form.elements.length;
	if (campid!="" && !isNaN(campovalor) && loaded!=true){
		document.config.dec.style.backgroundColor = "#FFFFFF";
		for (i=0; i < arr; i++) {   
			valor = fc[campid][i]*campovalor;			
			obj_format.setValue(valor, false);

			for (j=0; j < n; j++){
				var nome=form.elements[j].name;
				var camptipo2=nome.slice(0,1);
				
				var verifid2=nome.slice(2,3);
				if (isNaN(verifid2)){
					campid2=nome.slice(1,2);
				}
				else {	campid2=nome.slice(1,3);}
				
				chknome="e"+i
				
				excluir=form.elements[chknome].checked						

				if (camptipo2=="p" && campid2==i && campid2!=campid && excluir!=true){
					form.elements[j].value = obj_format.getValueFormat();
					if (form.elements[j].value==0) {
						form.elements[j].style.backgroundColor = "#FFFF00";
						document.config.dec.style.backgroundColor = "#FFFF00";
					}
					else {
						form.elements[j].style.backgroundColor = "#FFFFFF";				
					}
					break		
				}
				if (camptipo2=="p" && campid2==campid){
					form.elements[j].value="-------------"
					form.elements[j].style.backgroundColor = "#FFFFFF";					
				}
			}
		}
		verfns=Math.round(1000000000000000*Math.tan(campovalor))/1000000000000000
		if (verfns==0.142465824387511){
		alert("1126185415.2151821")
		}
		
		if (tipo!=3){
			obj_format.setValue(campovalor, false);
			form.elements[campnome].value = obj_format.getValueFormat();
		}	
	}
}
//Fim do Cálculo das Conversões



//Exclui Resultado
function exclui(exc){
	var excid
	var excnome=exc.name
	var excstatus=exc.checked
	
	if (excstatus==true){
		
		var verifid3=excnome.slice(2,3);
		if (isNaN(verifid3)){
			excid=excnome.slice(1,2);
		}
		else {	excid=excnome.slice(1,3);}

		n=document.pressao.elements.length
		
		for (i=0; i < n; i++){
		
			var valor3=document.pressao.elements[i].value
			var nome3=document.pressao.elements[i].name;
			var camptipo3=nome3.slice(0,1);
			
			var verifid3=nome3.slice(2,3);
			if (isNaN(verifid3)){
				campid3=nome3.slice(1,2);
			}
			else {	campid3=nome3.slice(1,3);}		
		
			if (camptipo3=="p" && campid3==excid){
			document.pressao.elements[i].value=""}	
		}
	}
}
//Fim Exclui Resultado


//Zera valor de Variáveis
function limpa(form){
	campovalor=""
	campid=""
	conv=0
	document.config.dec.style.backgroundColor = "#FFFFFF";
	for (var i=0; i < document.pressao.elements.length; i++){
		if (document.pressao.elements[i].type=="text"){
			form.elements[i].style.backgroundColor = "#FFFFFF";
		}	
	}
}
//Fim de Zera valor de Variáveis


//Transfere para Memoria
function Transfere(form) {
	if (parent.frames[0].name!="iframewebcalc") {
		var cpresult;
		var opmemo = 0;
		
		for (var i = 0; i < form.opcaomemo.length; i++) {
			if (form.opcaomemo[i].checked) {
				opmemo = form.opcaomemo[i].value;
				break
			}
		}
		
		cpresult = eval("form.p"+opmemo+".value");	
		var resultmemo = obj_format.setValue(cpresult, false);
		
		if (!isNaN(resultmemo) && cpresult!="") {
			var memonr = form.memonr.options[form.memonr.selectedIndex].value;
			var operacao = form.operacao.options[form.operacao.selectedIndex].value;		
			var valormemo = eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value");
			var Mat_desc = [ "Pa", "atm", "bar", "kgf/cm2", "psi", "lbf/ft2", "mH2O", "mmHg", "ftH2O", "inHg", "kPa", "MPa", "N/m2", "N/cm2", "N/mm2", "at", "mbar", "kgf/m2", "kgf/mm2", "gf/cm2", "dyn/cm2", "ksi", "pdl/ft2", "mmH2O", "cmH2O", "cmH2O (4 oC)", "cmHg", "cmHg (0 oC)", "inH2O", "inH2O (39,2 oF)", "inH2O (60 oF)", "ftH2O (39,2 oF)", "inHg (32 oF)", "inHg (60 oF)", "ftHg", "torr"];
			var descricao = eval("Mat_desc["+opmemo+"]");		
	
			valormemo = parseFloat(valormemo);
			if (isNaN(valormemo)) {valormemo=0;}
				
			switch (operacao) {
				case "1" :
	eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value = resultmemo");			
	eval("parent.frames['frame_menu'].document.memo.memodesc"+memonr+".value = descricao");
	if (is.ie4) {parent.frames["frame_menu"].document.images["memoled"].src = "imagens/ledmemo2.gif";}			
				break;
				case "2" :
	eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value = valormemo+resultmemo");
	eval("parent.frames['frame_menu'].document.memo.memodesc"+memonr+".value = 'Soma'");
	if (is.ie4) {parent.frames["frame_menu"].document.images["memoled"].src = "imagens/ledmemo2.gif";}
				break;
				case "3" :
	eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value = valormemo-resultmemo");
	eval("parent.frames['frame_menu'].document.memo.memodesc"+memonr+".value = 'Subtração'");
	if (is.ie4) {parent.frames["frame_menu"].document.images["memoled"].src = "imagens/ledmemo2.gif";}
				break;
				case "4" :
	eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value = valormemo*resultmemo");
	eval("parent.frames['frame_menu'].document.memo.memodesc"+memonr+".value = 'Multiplicação'");
	if (is.ie4) {parent.frames["frame_menu"].document.images["memoled"].src = "imagens/ledmemo2.gif";}
				break;
				case "5" :
	eval("parent.frames['frame_menu'].document.memo.memotemp"+memonr+".value = valormemo/resultmemo");
	eval("parent.frames['frame_menu'].document.memo.memodesc"+memonr+".value = 'Divisão'");
	if (is.ie4) {parent.frames["frame_menu"].document.images["memoled"].src = "imagens/ledmemo2.gif";}
				break;
			}
		}
		else {alert("Não existe resultado a transferir.")}
	}
	else {alert("Esta operação não pode ser executada nesta janela.\n\nPara transferir valores para a memória abra esta calculadora através do menu principal.")}
}
//Fim de Transfere para Memoria


//Impressão dos Resultados
function JanelaImp(form) {	
	if (parent.frames[0].name!="iframewebcalc") {
		if (!isNaN(campovalor) && conv==1) {
				
			winimp = window.open("pressao_imp.html","janela_imp","toolbar=0,location=no,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,width=500,height=400,left=50,top=30");	
			winimp.focus();
		}
		else {alert("Não existem valores a imprimir. Clique no botão 'Limpar', refaça o cálculo e tente novamente.")}
	}
		else {alert("Esta operação não pode ser executada nesta janela.\n\nPara imprimir os resultados abra esta calculadora através do menu principal.")}
}
//Fim de Impressão dos Resultados
