A Pen by Bogdan SUSALA

Thumbnail
This awesome code was written by bogdansusala, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright bogdansusala ©
  • HTML
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Bogdan SUSALA</title>
  
  
  
  
  
</head>

<body>

  <form name="cp_calculatedfieldsf_pform_1" id="cp_calculatedfieldsf_pform_1" action="" method="post" enctype="multipart/form-data"><pre style="display:none;"><script>form_structure_1=[[{"form_identifier":"","name":"fieldname1","shortlabel":"","index":0,"ftype":"fdropdown","userhelp":"<em>Fiecare zon\u0103 are tarife diferen\u0163iate. Alege\u0163i un jude\u0163.<\/em>\n<br>\n<br>","userhelpTooltip":false,"csslayout":"","title":"Jude\u0163ul \u00een care v\u0103 afla\u0163i:","size":"medium","required":true,"choiceSelected":"-- Alege un jude\u0163 -- - -- Alege un jude\u0163 --","showDep":false,"choices":["-- Alege un jude\u0163 --","Alba","Arad","Arge\u015f","Bac\u0103u","Bihor","Bistri\u021ba-N\u0103s\u0103ud","Boto\u0219ani","Bra\u0219ov","Br\u0103ila","Bucure\u015fti","Buz\u0103u","Cara\u0219-Severin","C\u0103l\u0103ra\u0219i","Cluj","Constan\u021ba","Covasna","D\u00e2mbovi\u021ba","Dolj","Gala\u021bi","Giurgiu","Gorj","Harghita","Hunedoara","Ialomi\u021ba","Ia\u0219i","Ilfov","Maramure\u0219","Mehedin\u021bi","Mure\u0219","Neam\u021b","Olt","Prahova","Satu Mare","S\u0103laj","Sibiu","Suceava","Teleorman","Timi\u0219","Tulcea","Vaslui","V\u00e2lcea","Vrancea"],"choicesVal":["","AB","AB","AG","BC","BH","BN","BT","BV","BR","B","BZ","CS","CL","CJ","CT","CV","DB","DJ","GL","GR","GJ","HR","HD","IL","IS","IF","MM","MH","MS","NT","OT","PH","SM","SJ","SB","SV","TR","TM","TL","VS","VL","VN"],"choicesDep":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"fBuild":{}},{"form_identifier":"","name":"fieldname7","shortlabel":"","index":1,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_banat_ar_cs_hd_tm___it","predefined":"303.81","fBuild":{}},{"form_identifier":"","name":"fieldname8","shortlabel":"","index":2,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_banat_ar_cs_hd_tm___mt","predefined":"341.79","fBuild":{}},{"form_identifier":"","name":"fieldname9","shortlabel":"","index":3,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_banat_ar_cs_hd_tm___jt","predefined":"455.32","fBuild":{}},{"form_identifier":"","name":"fieldname10","shortlabel":"","index":4,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_dobrogea_il_cl_ct_tl__it","predefined":"301.53","fBuild":{}},{"form_identifier":"","name":"fieldname11","shortlabel":"","index":5,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_dobrogea_il_cl_ct_tl__mt","predefined":"340.01","fBuild":{}},{"form_identifier":"","name":"fieldname12","shortlabel":"","index":6,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_dobrogea_il_cl_ct_tl__jt","predefined":"466.80","fBuild":{}},{"form_identifier":"","name":"fieldname13","shortlabel":"","index":7,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_muntenia_sud_gr_if_b__it","predefined":"294.76","fBuild":{}},{"form_identifier":"","name":"fieldname14","shortlabel":"","index":8,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_muntenia_sud_gr_if_b__mt","predefined":"325.23","fBuild":{}},{"form_identifier":"","name":"fieldname15","shortlabel":"","index":9,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"enel_muntenia_sud_gr_if_b__jt","predefined":"439.01","fBuild":{}},{"form_identifier":"","name":"fieldname16","shortlabel":"","index":10,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"eon_moldova_bc_bt_is_nt_sv_vs__it","predefined":"304.26","fBuild":{}},{"form_identifier":"","name":"fieldname17","shortlabel":"","index":11,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"eon_moldova_bc_bt_is_nt_sv_vs__mt","predefined":"345.70","fBuild":{}},{"form_identifier":"","name":"fieldname18","shortlabel":"","index":12,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"eon_moldova_bc_bt_is_nt_sv_vs__jt<br \/>","predefined":"473.81","fBuild":{}},{"form_identifier":"","name":"fieldname19","shortlabel":"","index":13,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"cez_ag_dj_gj_mh_ot_tr_vl__it","predefined":"303.88","fBuild":{}},{"form_identifier":"","name":"fieldname20","shortlabel":"","index":14,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"cez_ag_dj_gj_mh_ot_tr_vl__mt","predefined":"346.98","fBuild":{}},{"form_identifier":"","name":"fieldname21","shortlabel":"","index":15,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"cez_ag_dj_gj_mh_ot_tr_vl__jt","predefined":"465.56","fBuild":{}},{"form_identifier":"","name":"fieldname22","shortlabel":"","index":16,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_muntenia_nord_br_bz_db_gl_ph_vn__it","predefined":"301.18","fBuild":{}},{"form_identifier":"","name":"fieldname23","shortlabel":"","index":17,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_muntenia_nord_br_bz_db_gl_ph_vn__mt","predefined":"337.85","fBuild":{}},{"form_identifier":"","name":"fieldname24","shortlabel":"","index":18,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_muntenia_nord_br_bz_db_gl_ph_vn__jt","predefined":"456.63","fBuild":{}},{"form_identifier":"","name":"fieldname25","shortlabel":"","index":19,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_nord_bh_bn_cj_mm_sj_sm__it","predefined":"305.56","fBuild":{}},{"form_identifier":"","name":"fieldname26","shortlabel":"","index":20,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_nord_bh_bn_cj_mm_sj_sm__mt","predefined":"349.83","fBuild":{}},{"form_identifier":"","name":"fieldname27","shortlabel":"","index":21,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_nord_bh_bn_cj_mm_sj_sm__jt","predefined":"453.37","fBuild":{}},{"form_identifier":"","name":"fieldname28","shortlabel":"","index":22,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_sud_ab_bv_cv_hr_ms_sb__it","predefined":"306.65","fBuild":{}},{"form_identifier":"","name":"fieldname29","shortlabel":"","index":23,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_sud_ab_bv_cv_hr_ms_sb__mt","predefined":"349.01","fBuild":{}},{"form_identifier":"","name":"fieldname30","shortlabel":"","index":24,"ftype":"fhidden","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"electrica_transilvania_sud_ab_bv_cv_hr_ms_sb__jt","predefined":"457.45","fBuild":{}},{"form_identifier":"","name":"fieldname2","shortlabel":"","index":25,"ftype":"fradio","userhelp":"<em>Poate fi IT (\u00cenalt\u0103 Tensiune), MT (Medie Tensiune) sau JT (Joas\u0103 Tensiune) - este men\u0163ionat pe factur\u0103.<\/em>\n<br>\n<br>","userhelpTooltip":false,"csslayout":"","title":"Tipul tensiunii:","layout":"side_by_side","required":true,"choiceSelected":"","showDep":false,"choices":["IT","MT","JT"],"choicesVal":["IT","MT","JT"],"choicesDep":[[],[],[]],"fBuild":{}},{"form_identifier":"","name":"fieldname5","shortlabel":"","index":26,"ftype":"fnumber","userhelp":"<em>Introduce\u0163i aici kWh consuma\u0163i \u00eentr-o lun\u0103, f\u0103r\u0103 zecimale.<\/em>\n<br>\n<br>","userhelpTooltip":false,"csslayout":"","title":"Consumul lunar, kWh","predefined":"","predefinedClick":false,"required":true,"size":"medium","thousandSeparator":"","decimalSymbol":".","min":"1","max":"","dformat":"number","formats":["digits","number"],"fBuild":{}},{"form_identifier":"","name":"fieldname34","shortlabel":"","index":27,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Multiplicator","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"(function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})()","optimizeEq":true,"eq_factored":"((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname31","shortlabel":"","index":28,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"Tarif","predefined":"","required":false,"size":"small","toolbar":"default|mathematical","eq":"(function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})()","optimizeEq":true,"eq_factored":"((function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})())","suffix":" RON \/ MWh, f\u0103r\u0103 TVA","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname6","shortlabel":"","index":29,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"<strong>Cost total<\/strong>","predefined":"","required":false,"size":"small","toolbar":"default|mathematical","eq":"PREC((fieldname5*fieldname34*fieldname31\/1000),2)","optimizeEq":true,"eq_factored":"PREC((fieldname5*fieldname34*fieldname31\/1000),2)","suffix":" RON, f\u0103r\u0103 TVA","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":true,"fields":[""]}],"readonly":true,"hidefield":false,"fBuild":{}},{"form_identifier":"","name":"fieldname66","shortlabel":"tabular_data_processor","index":30,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"tabular_data_processor","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"(function(){\njQuery( '.consum' ).html( fieldname5 );\njQuery( '.consum_val' ).html( fieldname67 );\njQuery( '.consum_tva' ).html( fieldname68 );\njQuery( '.taxe_val' ).html( fieldname78 );\njQuery( '.taxe_tva' ).html( fieldname79 );\njQuery( '.acciza_val' ).html( fieldname69 );\njQuery( '.acciza_tva' ).html( fieldname70 );\njQuery( '.cogenerare_val' ).html( fieldname71 );\njQuery( '.cogenerare_tva' ).html( fieldname72 );\njQuery( '.certificate_verzi_val' ).html( fieldname73 );\njQuery( '.certificate_verzi_tva' ).html( fieldname74 );\njQuery( '.total_val' ).html( fieldname75 );\njQuery( '.total_tva' ).html( fieldname76 );\njQuery( '.total_general' ).html( fieldname77 );\n})()","optimizeEq":true,"eq_factored":"(function(){\njQuery( '.consum' ).html( fieldname5 );\njQuery( '.consum_val' ).html( fieldname67 );\njQuery( '.consum_tva' ).html( fieldname68 );\njQuery( '.taxe_val' ).html( fieldname78 );\njQuery( '.taxe_tva' ).html( fieldname79 );\njQuery( '.acciza_val' ).html( fieldname69 );\njQuery( '.acciza_tva' ).html( fieldname70 );\njQuery( '.cogenerare_val' ).html( fieldname71 );\njQuery( '.cogenerare_tva' ).html( fieldname72 );\njQuery( '.certificate_verzi_val' ).html( fieldname73 );\njQuery( '.certificate_verzi_tva' ).html( fieldname74 );\njQuery( '.total_val' ).html( fieldname75 );\njQuery( '.total_tva' ).html( fieldname76 );\njQuery( '.total_general' ).html( fieldname77 );\n})()","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname32","shortlabel":"","index":31,"ftype":"fhtml","userhelp":"","userhelpTooltip":false,"csslayout":"","fcontent":"<div class=\"table-responsive\">\n    <table summary=\"Acest tabel descrie in detaliu oferta estimativa Energy Distribution Services\" class=\"table table-bordered table-hover\">\n      <caption class=\"text-left\"><strong>Detaliere cost<\/strong><\/caption>\n      <thead>\n        <tr>\n          <th>Nr.<\/th>\n          <th>Descriere<\/th>\n          <th>UM<\/th>\n          <th>Cantitate<\/th>\n          <th>Valoare<\/th>\n          <th>TVA<\/th>\n        <\/tr>\n      <\/thead>\n      <tbody>\n      <tr>\n          <td colspan=\"8\"><strong>Pre\u0163 de baz\u0103 energie electric\u0103<\/strong><\/td>\n        <\/tr>\n        <tr>\n          <td>1.<\/td>\n          <td>Energie activ\u0103 de baz\u0103, consum<\/td>\n          <td>kWh<\/td>\n          <td class=\"consum\"><\/td>\n          <td class=\"consum_val\"><\/td>\n          <td class=\"consum_tva\"><\/td>\n        <\/tr>\n  <tr>\n          <td colspan=\"8\"><strong>Taxe \u015fi tarife reglementate cf. legii<\/strong><\/td>\n        <\/tr>\n        <tr>\n          <td>2.<\/td>\n          <td>Taxe transport, extragere, servicii<\/td>\n          <td>kWh<\/td>\n          <td class=\"consum\"><\/td>\n          <td class=\"taxe_val\"><\/td>\n          <td class=\"taxe_tva\"><\/td>\n        <\/tr>\n        <tr>\n          <td>3.<\/td>\n          <td>Accize<\/td>\n          <td>kWh<\/td>\n          <td class=\"consum\"><\/td>\n          <td class=\"acciza_val\"><\/td>\n          <td class=\"acciza_tva\"><\/td>\n        <\/tr>\n        <tr>\n          <td>4.<\/td>\n          <td>Contribu\u0163ie cogenerare<\/td>\n          <td>kWh<\/td>\n          <td class=\"consum\"><\/td>\n          <td class=\"cogenerare_val\"><\/td>\n          <td class=\"cogenerare_tva\"><\/td>\n        <\/tr>\n        <tr>\n          <td>5.<\/td>\n          <td>Certificate verzi<\/td>\n          <td>kWh<\/td>\n          <td class=\"consum\"><\/td>\n          <td class=\"certificate_verzi_val\"><\/td>\n          <td class=\"certificate_verzi_tva\"><\/td>\n        <\/tr>\n        <tr>\n          <td colspan=\"4\">TOTAL<\/td>\n          <td class=\"total_val\"><\/td>\n          <td class=\"total_tva\"><\/td>\n        <\/tr>\n        <tr>\n          <td colspan=\"4\">TOTAL GENERAL (TVA inclus), RON<\/td>\n          <td colspan=\"2\" class=\"total_general\"><\/td>\n        <\/tr>\n      <\/tbody>\n      <tfoot>\n      <\/tfoot>\n    <\/table>\n  <\/div>","fBuild":{}},{"form_identifier":"","name":"fieldname67","shortlabel":"","index":32,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"consum_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname5*fieldname34*190\/1000,2)","optimizeEq":true,"eq_factored":"(PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname68","shortlabel":"","index":33,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"consum_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname67*0.2,2)","optimizeEq":true,"eq_factored":"PREC(fieldname67*0.2,2)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname78","shortlabel":"","index":34,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"taxe_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname6-fieldname67-fieldname69-fieldname71-fieldname73,2)","optimizeEq":true,"eq_factored":"PREC(fieldname6-fieldname67-fieldname69-fieldname71-fieldname73,2)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname79","shortlabel":"","index":35,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"taxe_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname78*0.2,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((1*1*PREC((fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*((function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})())\/1000),2))-(1*1*PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))-(1*1*PREC((fieldname5\/1000)*2.369,2))-(1*1*PREC((fieldname5\/1000)*15.82,2))-(1*1*PREC((fieldname5\/1000)*41.55,2)),2))*0.2,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname69","shortlabel":"","index":36,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"acciza_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC((fieldname5\/1000)*2.369,2)","optimizeEq":true,"eq_factored":"(PREC((fieldname5\/1000)*2.369,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname70","shortlabel":"","index":37,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"acciza_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname69*0.2,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((fieldname5\/1000)*2.369,2))*0.2,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname71","shortlabel":"","index":38,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"cogenerare_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC((fieldname5\/1000)*15.82,2)","optimizeEq":true,"eq_factored":"(PREC((fieldname5\/1000)*15.82,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname72","shortlabel":"","index":39,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"cogenerare_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname71*0.2,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((fieldname5\/1000)*15.82,2))*0.2,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname73","shortlabel":"","index":40,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"certificate_verzi_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC((fieldname5\/1000)*41.55,2)","optimizeEq":true,"eq_factored":"(PREC((fieldname5\/1000)*41.55,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname74","shortlabel":"","index":41,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"certificate_verzi_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname73*0.2,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((fieldname5\/1000)*41.55,2))*0.2,2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname75","shortlabel":"","index":42,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"total_val","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname6,2)","optimizeEq":true,"eq_factored":"PREC(fieldname6,2)","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname76","shortlabel":"","index":43,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"total_tva","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname68+fieldname79+fieldname70+fieldname72+fieldname74,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((1*1*PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))*0.2,2))+(1*PREC((1*1*PREC((1*1*1*PREC((fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*((function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})())\/1000),2))-(1*1*1*PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))-(1*1*1*PREC((fieldname5\/1000)*2.369,2))-(1*1*1*PREC((fieldname5\/1000)*15.82,2))-(1*1*1*PREC((fieldname5\/1000)*41.55,2)),2))*0.2,2))+(1*PREC((1*1*PREC((fieldname5\/1000)*2.369,2))*0.2,2))+(1*PREC((1*1*PREC((fieldname5\/1000)*15.82,2))*0.2,2))+(1*PREC((1*1*PREC((fieldname5\/1000)*41.55,2))*0.2,2)),2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname77","shortlabel":"","index":44,"ftype":"fCalculated","userhelp":"","userhelpTooltip":false,"csslayout":"","title":"total_general","predefined":"","required":false,"size":"medium","toolbar":"default|mathematical","eq":"PREC(fieldname75+fieldname76,2)","optimizeEq":true,"eq_factored":"(PREC((1*PREC((1*1*PREC((fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*((function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})())\/1000),2)),2))+(1*PREC((1*1*PREC((1*1*1*PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))*0.2,2))+(1*1*PREC((1*1*1*PREC((1*1*1*1*PREC((fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*((function(){\nif( fieldname1==\"AB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"AB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"AB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"AR\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"AR\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"AR\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"AG\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"AG\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"AG\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"BC\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BC\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BC\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BH\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BH\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BH\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BN\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"BN\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"BN\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"BT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"BT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"BT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"BV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"BV\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"BV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"BR\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BR\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BR\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"B\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"B\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"B\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"BZ\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"CS\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"CS\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"CS\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"CL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"CJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"CT\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"CT\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"CT\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"CV\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"CV\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"DB\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"DB\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"DB\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"DJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"GL\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"GL\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"GL\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"GR\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"GR\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"GR\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"GJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"HR\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"MT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"HR\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"HD\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"HD\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"HD\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"IL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"IL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"IL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"IS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"IS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"IS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"IF\" && fieldname2==\"IT\" )\n{\nreturn fieldname13;\n}\nif( fieldname1==\"IF\" && fieldname2==\"MT\" )\n{\nreturn fieldname14;\n}\nif( fieldname1==\"IF\" && fieldname2==\"JT\" )\n{\nreturn fieldname15;\n}\nif( fieldname1==\"MM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"MM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"MM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"MH\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"MH\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"MH\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"MS\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"MS\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"MS\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"NT\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"NT\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"NT\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"OT\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"OT\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"OT\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"PH\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"PH\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"PH\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\nif( fieldname1==\"SM\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SM\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SM\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"IT\" )\n{\nreturn fieldname25;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"MT\" )\n{\nreturn fieldname26;\n}\nif( fieldname1==\"SJ\" && fieldname2==\"JT\" )\n{\nreturn fieldname27;\n}\nif( fieldname1==\"SB\" && fieldname2==\"IT\" )\n{\nreturn fieldname28;\n}\nif( fieldname1==\"SB\" && fieldname2==\"MT\" )\n{\nreturn fieldname29;\n}\nif( fieldname1==\"SB\" && fieldname2==\"JT\" )\n{\nreturn fieldname30;\n}\nif( fieldname1==\"SV\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"SV\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"SV\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"TR\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"TR\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"TR\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"TM\" && fieldname2==\"IT\" )\n{\nreturn fieldname7;\n}\nif( fieldname1==\"TM\" && fieldname2==\"MT\" )\n{\nreturn fieldname8;\n}\nif( fieldname1==\"TM\" && fieldname2==\"JT\" )\n{\nreturn fieldname9;\n}\nif( fieldname1==\"TL\" && fieldname2==\"IT\" )\n{\nreturn fieldname10;\n}\nif( fieldname1==\"TL\" && fieldname2==\"MT\" )\n{\nreturn fieldname11;\n}\nif( fieldname1==\"TL\" && fieldname2==\"JT\" )\n{\nreturn fieldname12;\n}\nif( fieldname1==\"VS\" && fieldname2==\"IT\" )\n{\nreturn fieldname16;\n}\nif( fieldname1==\"VS\" && fieldname2==\"MT\" )\n{\nreturn fieldname17;\n}\nif( fieldname1==\"VS\" && fieldname2==\"JT\" )\n{\nreturn fieldname18;\n}\nif( fieldname1==\"VL\" && fieldname2==\"IT\" )\n{\nreturn fieldname19;\n}\nif( fieldname1==\"VL\" && fieldname2==\"MT\" )\n{\nreturn fieldname20;\n}\nif( fieldname1==\"VL\" && fieldname2==\"JT\" )\n{\nreturn fieldname21;\n}\nif( fieldname1==\"VN\" && fieldname2==\"IT\" )\n{\nreturn fieldname22;\n}\nif( fieldname1==\"VN\" && fieldname2==\"MT\" )\n{\nreturn fieldname23;\n}\nif( fieldname1==\"VN\" && fieldname2==\"JT\" )\n{\nreturn fieldname24;\n}\n})())\/1000),2))-(1*1*1*1*PREC(fieldname5*((function(){\nvar field = fieldname5;\nif(AND(0<field,field<50000)) {return 1;}\nif(AND(50000<=field,field<200000)) {return 0.9368;}\nif(200000<=field) {return 0.8684;}\n})())*190\/1000,2))-(1*1*1*1*PREC((fieldname5\/1000)*2.369,2))-(1*1*1*1*PREC((fieldname5\/1000)*15.82,2))-(1*1*1*1*PREC((fieldname5\/1000)*41.55,2)),2))*0.2,2))+(1*1*PREC((1*1*1*PREC((fieldname5\/1000)*2.369,2))*0.2,2))+(1*1*PREC((1*1*1*PREC((fieldname5\/1000)*15.82,2))*0.2,2))+(1*1*PREC((1*1*1*PREC((fieldname5\/1000)*41.55,2))*0.2,2)),2)),2))","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","dependencies":[{"rule":"","complex":false,"fields":[""]}],"readonly":true,"hidefield":true,"fBuild":{}},{"form_identifier":"","name":"fieldname33","shortlabel":"","index":45,"ftype":"fhtml","userhelp":"","userhelpTooltip":false,"csslayout":"","fcontent":"<small><strong>IMPORTANT!<\/strong> Acest program nu este un calculator al valorii reale a facturii de energie electric\u0103 aferent\u0103 fiec\u0103rui client. Ofer\u0103 un calcul estimativ al costului consumului de energie electric\u0103 f\u0103r\u0103 a lua \u00een calcul energia reactiv\u0103, valoarea taxelor tv, radio sau eventualele penalit\u0103\u021bi la plata energiei electrice. Pentru a afla oferta noastr\u0103 concret\u0103, contacta\u0163i-ne ap\u0103s\u00e2nd butonul de mai jos.<small>","fBuild":{}}],{"0":{"title":"Calculator energie","description":"","formlayout":"top_aligned","formtemplate":"","evalequations":1,"autocomplete":1},"formid":"cp_calculatedfieldsf_pform_1"}];</script></pre>
<div id="fbuilder">
  <div id="fbuilder_1">
      <div id="formheader_1"></div>
      <div id="fieldlist_1"></div>
  </div>
</div>
  
  

</body>

</html>

Comments