package org.ellectra.gui.managebeans;

import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.SimpleTimeZone;
import java.util.TimeZone;
import java.util.regex.Pattern;

import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import javax.faces.validator.ValidatorException;

import javax.xml.datatype.DatatypeConfigurationException;
import javax.xml.datatype.DatatypeFactory;
import javax.xml.datatype.XMLGregorianCalendar;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;

import javax.xml.ws.WebServiceRef;
import org.ellectra.gui.utils.JSFUtils;
import org.ellectra.wscnmanager.ContractNoticeManagerService;
import org.ellectra.wsvcall.ViewCallService;
import org.ellectra.wsviewawcre.ViewAwCriteriaService;
import org.ellectra.wsviewcftct.ViewCfpCriteriaService;
import org.ellectra.wsws.ManageOrgService;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;

public class cnotice {

    @WebServiceRef(wsdlLocation = "http://localhost:18181/ContractNoticeManagerService/ContractNoticeManagerPort?wsdl")
    private ContractNoticeManagerService service_4;
    @WebServiceRef(wsdlLocation = "http://localhost:18181/ViewCallService/ViewCallPort?wsdl")
    private ViewCallService service;
    @WebServiceRef(wsdlLocation = "http://localhost:18181/ViewCfpCriteriaService/ViewCfpCriteriaPort?wsdl")
    private ViewCfpCriteriaService service_1;
    @WebServiceRef(wsdlLocation = "http://localhost:18181/ViewAwCriteriaService/ViewAwCriteriaPort?wsdl")
    private ViewAwCriteriaService service_2;
    @WebServiceRef(wsdlLocation = "http://localhost:18181/ManageOrgService/ManageOrgPort?wsdl")
    private ManageOrgService service_3;
    
    String szpath;
    private int mycalloftender;    //TODO : where we will store the forms ? DB or XML ? 
    String contracttype;
    String proceduretype;
    String a1;
    String a2;
    String a3;
    String a4;
    String a5;
    String a6;
    String a7;
    String a8;
    String a9;
    String a10;
    String a11;
    String a12;
    String a13;
    String a14;
    String a15;
    String a16;
    String a17;
    String a18;
    String a19;
    String a20;
    String a21;
    String a22;
    String a23;
    String a24;
    String a25;
    String a26;
    String a27;
    String a28;
    String a29;
    String a30;
    String a31;
    String a32;
    String a33;
    String a34;
    String a35;
    String a36;
    String a37;
    String a38;
    String a39;
    String a40;
    String a41;
    String a42;
    String a43;
    String a44;
    String a45;
    String a46;
    String a47;
    String a48;
    String a49;
    String a50;
    String a51;
    String a52;
    String a53;
    String a54;
    String a55;
    String a56;
    String a57;
    String a58;
    String a59;
    String a60;
    String a61;
    String a62;
    String a63;
    String a64;
    String a65;
    String a66;
    String a67;
    String a68;
    String a69;
    String a70;
    String a71;
    String a72;
    String a73;
    String a74;
    String a75;
    String a76;
    String a77;
    String a78;
    String a79;
    String a80;
    String a81;
    String a82;
    String a83;
    String a84;
    String a85;
    String a86;
    String a87;
    String a88;
    String a89;
    String a90;
    String a91;
    String a92;
    String a93;
    String a94;
    String a95;
    String a96;
    String a97;
    String a98;
    String a99;
    String a100;
    String a101;
    String a102;
    String a103;
    String a104;
    String a105;
    String a106;
    String a107;
    String a108;
    String a109;
    String a110;
    String a111;
    String a112;
    String a113;
    String a114;
    Date a115;
    Date a116;
    String a117;
    String a118;
    String a119;
    String a120;
    String a121;
    String a122;
    String a123;
    String a124;
    String a125;
    String a126;
    String a127;
    String a128;
    String a129;
    String a130;
    String a131;
    String a132;
    String a133;
    String a134;
    String a135;
    String a136;
    String a1351;
    String a1361;
    String a1352;
    String a1362;
    String a1353;
    String a1363;
    String a1354;
    String a1364;
    String a1355;
    String a1365;
    String a1356;
    String a1366;
    String a1357;
    String a1367;
    String a1358;
    String a1368;
    String a1359;
    String a1369;
    String a137;
    String a138;
    String a139;
    String a140;
    String a141;
    String a142;
    String a143;
    String a144;
    String a145;
    String a146;
    String a147;
    String a148;
    String a149;    // ///////
    String a150;
    String a151;
    String a152;
    String a153;
    String a154;
    String a155;
    String a156;
    String a157;
    String a158;
    String a159;
    String a160;
    String a161;
    String a162;
    String a163;
    String a164;
    String a165;
    String a166;
    String a167;
    String a168;
    String a169;
    String a170;
    String a171;
    String a172;
    String a173;
    String a174;
    String a175;
    String a176;
    String a177;
    String a178;
    String a179;
    String a180;
    String a181;
    String a182;
    String a183;
    String a184;
    String a185;
    String a186;
    String a187;
    String a188;
    String a189;
    String a190;
    String a191;
    String a192;
    String a193;
    String a194;
    String a195;
    private String a195Required;
    String a196;
    String a197;
    private String a197Required;
    String a198;
    String a199;
    String a200;
    String a201;
    String a202;
    String a203;
    String a204;
    String a205;
    String a206;
    String a207;
    String a208;
    String a209;
    String a210;
    String a211;
    String a212;
    String a213;
    String a214;
    String a215;
    String a216;
    String a217;
    String a218;
    String a219;
    String a220;
    String a221;
    String a222;
    String a223;
    String a224;
    String a225;
    String a226;
    Date a227;
    String a228;
    String a229;
    String a230;
    String a240;
    String a250;
    String a251;
    String a252;
    String a253;
    String a254;
    String a256;
    String a257;
    String a258;
    String a259;
    String a260;
    String a261;
    String a262;
    String a263;
    String a264;
    String a265;
    String a266;
    String a267;
    String a268;
    String a269;
    String a270;
    String a271;
    String a272;
    String a273;
    String a274;
    String a275;
    String a276;
    String a277;
    String a278;
    String a279;
    String a280;
    String a281;
    String a282;
    String a283;
    String a284;
    String a285;
    String a286;
    String a287;
    String a288;
    String a289;
    String a133s;
    String a133s1;
    // /////////
    String tp1;
    String tp2;
    String tp3;
    String tp4;
    String tp5;
    String tp6;
    String render1;
    String render2;
    String render3;
    String op5;
    String op6;
    String section18;
    String section22;
    String op9;
    String op10;
    String op11;
    String op12;
    String a195s;
    String a197s;
    String op13;
    String op14;
    String op15;
    private String[] activitiesSelected = null;
    String furtherInfo;
    String furtherInfo2;
    String furtherInfo3;
    String typeOfCA;
    String a34disabled;
    String a47disabled;
    String d1;
    String d2;
    String d3;
    String d4;
    String d5;
    String disableall;
    String disableall1;
    String op1;
    String op2;
    String op3;
    String op4;
    String op7;
    String op8;
    String s331;
    String s311;
    String a141s;
    String payable;
    String pd1;
    String pd2;
    String pd3;
    String a193s;
    String section22i2;
    String section22i3;
    String section33i;
    String a385;
    String ar1;
    String ar2;
    String ar3;
    String ar4;
    String ar5;
    String ar6;
    String aa1;
    String aaa1;
    String aaaa1;
    String aaaaa1;
    String aa2;
    String aaa2;
    String aaaa2;
    String aaaaa2;
    String aa3;
    String aaa3;
    String aaaa3;
    String aaaaa3;
    String aa4;
    String aaa4;
    String aaaa4;
    String aaaaa4;
    String disabletext1;
    String aa5;
    String aaa5;
    String aaaa5;
    String aaaaa5;
    String aa6;
    String aaa6;
    String aaaa6;
    String aaaaa6;
    String ashow;
    String link0;
    String link1;
    String link2;
    String link3;
    String link4;
    String link5;
    String link6;
    String link7;
    String text0;
    String text1;
    String text2;
    String text3;
    String text4;
    String text5;
    String text6;
    String text7;
    String v0;
    String i0;
    String c0;
    String v1;
    String i1;
    String c1;
    String v2;
    String i2;
    String c2;
    String v3;
    String i3;
    String c3;
    String v4;
    String i4;
    String c4;
    String v5;
    String i5;
    String c5;
    String v6;
    String i6;
    String c6;
    String v7;
    String i7;
    String c7;
    private String cpvddd;
    boolean showAnnexASectionI;
    boolean showAnnexASectionII;
    boolean showAnnexASectionIII;
    boolean a86valid;

    /**
     * Implements constraint "2.2.2.6"
     */
    public void showAnnexA() {
        if (furtherInfo.equals("Annex A.I")) {
            setShowAnnexASectionI(true);
        } else {
            setShowAnnexASectionI(false);
        }
        if (furtherInfo2.equals("Annex A.II")) {
            setShowAnnexASectionII(true);
        } else {
            setShowAnnexASectionII(false);
        }
        if (furtherInfo3.equals("Annex A.III")) {
            setShowAnnexASectionIII(true);
        } else {
            setShowAnnexASectionIII(false);
        }
    }

    public boolean isShowAnnexASectionI() {
        return showAnnexASectionI;
    }

    public void setShowAnnexASectionI(boolean showAnnexASectionI) {
        this.showAnnexASectionI = showAnnexASectionI;
    }

    public boolean isShowAnnexASectionII() {
        return showAnnexASectionII;
    }

    public void setShowAnnexASectionII(boolean showAnnexASectionII) {
        this.showAnnexASectionII = showAnnexASectionII;
    }

    public boolean isShowAnnexASectionIII() {
        return showAnnexASectionIII;
    }

    public void setShowAnnexASectionIII(boolean showAnnexASectionIII) {
        this.showAnnexASectionIII = showAnnexASectionIII;
    }

    public boolean isA86valid() {
        return a86valid;
    }

    public void setA86valid(boolean a86valid) {
        this.a86valid = a86valid;
    }

    public String getAr2() {
        return ar2;
    }

    public void setAr2(String ar2) {
        this.ar2 = ar2;
    }

    public String getAr3() {
        return ar3;
    }

    public void setAr3(String ar3) {
        this.ar3 = ar3;
    }

    public String getAr4() {
        return ar4;
    }

    public void setAr4(String ar4) {
        this.ar4 = ar4;
    }

    public String getAr5() {
        return ar5;
    }

    public void setAr5(String ar5) {
        this.ar5 = ar5;
    }

    public String getAr6() {
        return ar6;
    }

    public void setAr6(String ar6) {
        this.ar6 = ar6;
    }

    public String getAa2() {
        return aa2;
    }

    public void setAa2(String aa2) {
        this.aa2 = aa2;
    }

    public String getAaa2() {
        return aaa2;
    }

    public void setAaa2(String aaa2) {
        this.aaa2 = aaa2;
    }

    public String getAaaa2() {
        return aaaa2;
    }

    public void setAaaa2(String aaaa2) {
        this.aaaa2 = aaaa2;
    }

    public String getAaaaa2() {
        return aaaaa2;
    }

    public void setAaaaa2(String aaaaa2) {
        this.aaaaa2 = aaaaa2;
    }

    public String getAa3() {
        return aa3;
    }

    public void setAa3(String aa3) {
        this.aa3 = aa3;
    }

    public String getAaa3() {
        return aaa3;
    }

    public void setAaa3(String aaa3) {
        this.aaa3 = aaa3;
    }

    public String getAaaa3() {
        return aaaa3;
    }

    public void setAaaa3(String aaaa3) {
        this.aaaa3 = aaaa3;
    }

    public String getAaaaa3() {
        return aaaaa3;
    }

    public void setAaaaa3(String aaaaa3) {
        this.aaaaa3 = aaaaa3;
    }

    public String getAa4() {
        return aa4;
    }

    public void setAa4(String aa4) {
        this.aa4 = aa4;
    }

    public String getAaa4() {
        return aaa4;
    }

    public void setAaa4(String aaa4) {
        this.aaa4 = aaa4;
    }

    public String getAaaa4() {
        return aaaa4;
    }

    public void setAaaa4(String aaaa4) {
        this.aaaa4 = aaaa4;
    }

    public String getAaaaa4() {
        return aaaaa4;
    }

    public void setAaaaa4(String aaaaa4) {
        this.aaaaa4 = aaaaa4;
    }

    public String getAa5() {
        return aa5;
    }

    public void setAa5(String aa5) {
        this.aa5 = aa5;
    }

    public String getAaa5() {
        return aaa5;
    }

    public void setAaa5(String aaa5) {
        this.aaa5 = aaa5;
    }

    public String getAaaa5() {
        return aaaa5;
    }

    public void setAaaa5(String aaaa5) {
        this.aaaa5 = aaaa5;
    }

    public String getAaaaa5() {
        return aaaaa5;
    }

    public void setAaaaa5(String aaaaa5) {
        this.aaaaa5 = aaaaa5;
    }

    public String getAa6() {
        return aa6;
    }

    public void setAa6(String aa6) {
        this.aa6 = aa6;
    }

    public String getAaa6() {
        return aaa6;
    }

    public void setAaa6(String aaa6) {
        this.aaa6 = aaa6;
    }

    public String getAaaa6() {
        return aaaa6;
    }

    public void setAaaa6(String aaaa6) {
        this.aaaa6 = aaaa6;
    }

    public String getAaaaa6() {
        return aaaaa6;
    }

    public void setAaaaa6(String aaaaa6) {
        this.aaaaa6 = aaaaa6;
    }

    public String getA385() {
        return a385;
    }

    public void setA385(String a385) {
        this.a385 = a385;
    }

    public String getAr1() {
        return ar1;
    }

    public void setAr1(String ar1) {
        this.ar1 = ar1;
    }

    public String getAa1() {
        return aa1;
    }

    public void setAa1(String aa1) {
        this.aa1 = aa1;
    }

    public String getAaa1() {
        return aaa1;
    }

    public void setAaa1(String aaa1) {
        this.aaa1 = aaa1;
    }

    public String getAaaa1() {
        return aaaa1;
    }

    public void setAaaa1(String aaaa1) {
        this.aaaa1 = aaaa1;
    }

    public String getAaaaa1() {
        return aaaaa1;
    }

    public void setAaaaa1(String aaaaa1) {
        this.aaaaa1 = aaaaa1;
    }

    public String getA289() {
        return a289;
    }

    public void setA289(String a289) {
        this.a289 = a289;
    }

    public String getSection33i() {
        return section33i;
    }

    public void setSection33i(String section33i) {
        this.section33i = section33i;
    }

    public cnotice() {
        super();
        pathSettings dset=new pathSettings();
        szpath=dset.GetUploadDirectory();
        
        NavCurrent(0);
        disableall = "true";
        disableall1 = "true";
        op1 = "true";
        op2 = "true";
        op3 = "true";
        op4 = "true";
        op5 = "true";
        op6 = "true";
        section18 = "true";
        op7 = "true";
        op8 = "true";
        section22 = "true";
        op9 = "true";
        op10 = "true";
        op11 = "true";
        op12 = "true";
        op13 = "true";
        op14 = "true";
        op15 = "true";
        a227 = new Date();
        ar1 = "false";
        ar2 = "false";
        ar3 = "false";
        ar4 = "false";
        ar5 = "false";
        ar6 = "false";
        ashow = "false";
        payable = "true";
        a141s = "true";
        //
        a47disabled = "true";
        a34disabled = "true";
        s311 = "true";
        s331 = "true";
        a133s = "true";
        a133s1 = "true";
        pd1 = "true";
        pd2 = "true";
        pd3 = "true";
        a193s = "true";
        a195s = "true";
        a197s = "true";
        disabletext1 = "true";
    }

    public void AddExtra() {
        if (ar1.equalsIgnoreCase("false")) {
            ar1 = "true";
        } else if (ar2.equalsIgnoreCase("false")) {
            ar2 = "true";
        } else if (ar3.equalsIgnoreCase("false")) {
            ar3 = "true";
        } else if (ar4.equalsIgnoreCase("false")) {
            ar4 = "true";
        } else if (ar5.equalsIgnoreCase("false")) {
            ar5 = "true";
        } else if (ar6.equalsIgnoreCase("false")) {
            ar6 = "true";
        }
    }

    public String getA193s() {
        return a193s;
    }

    public void setA193s(String a193s) {
        this.a193s = a193s;
    }

    public String getPd1() {
        return pd1;
    }

    public void setPd1(String pd1) {
        this.pd1 = pd1;
    }

    public String getPd2() {
        return pd2;
    }

    public void setPd2(String pd2) {
        this.pd2 = pd2;
    }

    public String getPd3() {
        return pd3;
    }

    public void setPd3(String pd3) {
        this.pd3 = pd3;
    }

    public String getA141s() {
        return a141s;
    }

    public void setA141s(String a141s) {
        this.a141s = a141s;
    }

    public String getS311() {
        return s311;
    }

    public void setS311(String s311) {
        this.s311 = s311;
    }

    public String getS331() {
        return s331;
    }

    public void setS331(String s331) {
        this.s331 = s331;
    }

    public String getOp7() {
        return op7;
    }

    public void setOp7(String op7) {
        this.op7 = op7;
    }

    public String getOp8() {
        return op8;
    }

    public void setOp8(String op8) {
        this.op8 = op8;
    }

    public String getOp1() {
        return op1;
    }

    public void setOp1(String op1) {
        this.op1 = op1;
    }

    public String getOp2() {
        return op2;
    }

    public void setOp2(String op2) {
        this.op2 = op2;
    }

    public void eventonsection385(ValueChangeEvent vce) {
        a147 = (String) vce.getNewValue();
        if (a147.equalsIgnoreCase("0")) {
            ar1 = "true";
            ashow = "true";

        } else {
            ar1 = "false";
            ashow = "false";

        }
    }

    public void eventonsection268(ValueChangeEvent vce) {
        a268 = (String) vce.getNewValue();
        if (a268.equalsIgnoreCase("0")) {
            section22i2 = "false";
            section22i3 = "true";
        }
        if (a196.equalsIgnoreCase("1")) {
            section22i3 = "false";
            section22i2 = "true";
        }
    }

    public void eventonsection4a192(ValueChangeEvent vce) {
        a192 = (String) vce.getNewValue();
        if (a192.equalsIgnoreCase("0")) {
            a193s = "false";
        }
        if (a192.equalsIgnoreCase("1")) {
            a193s = "true";
        }
    }

    public void eventonsection432(ValueChangeEvent vce) {
        a140 = (String) vce.getNewValue();
        if (a140.equalsIgnoreCase("0")) {
            a141s = "false";
        }
        if (a140.equalsIgnoreCase("1")) {
            a141s = "true";
        }
    }

    public void eventonsection412(ValueChangeEvent vce) {
        a131 = (String) vce.getNewValue();
        if (a131.equalsIgnoreCase("1")) {
            a133s = "false";
        }
        if (a131.equalsIgnoreCase("0")) {
            a133s = "true";
        }
    }

    public void eventonsection412i(ValueChangeEvent vce) {
        a133 = (String) vce.getNewValue();
        if (a133.equalsIgnoreCase("0")) {
            a133s1 = "false";
        }
        if (a133.equalsIgnoreCase("1")) {
            a133s1 = "true";
        }
    }

    public void eventonsection32(ValueChangeEvent vce) {
        a127 = (String) vce.getNewValue();
        if (a127.equalsIgnoreCase("0")) {
            s331 = "false";
        }
        if (a127.equalsIgnoreCase("1")) {
            s331 = "true";
        }
    }

    public void eventonsection31(ValueChangeEvent vce) {
        a120 = (String) vce.getNewValue();
        if (a120.equalsIgnoreCase("0")) {
            s311 = "false";
        }
        if (a120.equalsIgnoreCase("1")) {
            s311 = "true";
        }
    }

    public void eventonsection23(ValueChangeEvent vce) {
        a110 = (String) vce.getNewValue();
        if (a110.equalsIgnoreCase("0")) {
            op13 = "false";
            op14 = "true";
            op15 = "true";
        }
        if (a110.equalsIgnoreCase("1")) {
            op14 = "false";
            op13 = "true";
            op15 = "true";
        }
        if (a110.equalsIgnoreCase("2")) {
            op15 = "false";
            op14 = "true";
            op13 = "true";
        }
    }

    public void eventonsection22i(ValueChangeEvent vce) {
        a101 = (String) vce.getNewValue();
        if (a101.equalsIgnoreCase("0")) {
            op9 = "false";
            op10 = "true";
            op11 = "true";
            op12 = "true";

        }
        if (a101.equalsIgnoreCase("1")) {
            op10 = "false";
            op9 = "true";
            op11 = "true";
            op12 = "true";

        }

        if (a101.equalsIgnoreCase("2")) {
            op11 = "false";
            op10 = "true";
            op9 = "true";
            op12 = "true";

        }

        if (a101.equalsIgnoreCase("3")) {
            op12 = "false";
            op10 = "true";
            op11 = "true";
            op9 = "true";

        }
    }

    public void eventonsection33i(ValueChangeEvent vce) {

        a273 = (String) vce.getNewValue();
        if (a273.equalsIgnoreCase("0")) {
            section33i = "false";

        }
        if (a273.equalsIgnoreCase("1")) {
            section33i = "true";

        }

    }

    public void eventonsection22(ValueChangeEvent vce) {
        a99 = (String) vce.getNewValue();
        if (a99.equalsIgnoreCase("0")) {
            section22 = "false";
            op9 = "false";
            op10 = "false";
            op11 = "false";
            op12 = "false";

        }
        if (a99.equalsIgnoreCase("1")) {
            section22 = "true";
            op9 = "false";
            op10 = "false";
            op11 = "false";
            op12 = "false";
            section22i2 = "true";
            section22i3 = "true";
        }

    }

    public void eventop7op8(ValueChangeEvent vce) {
        a92 = (String) vce.getNewValue();
        if (a92.equalsIgnoreCase("0")) {
            op7 = "false";
            op8 = "true";
        }
        if (a85.equalsIgnoreCase("1")) {
            op8 = "false";
            op7 = "true";
        }
    }

    public void eventonsection18(ValueChangeEvent vce) {
        a85 = (String) vce.getNewValue();
        if (a85.equalsIgnoreCase("0")) {
            section18 = "false";
        }
        if (a85.equalsIgnoreCase("1")) {
            section18 = "true";
        }
    }

    public void eventop5op6(ValueChangeEvent vce) {
        a71 = (String) vce.getNewValue();
        if (a71.equalsIgnoreCase("0")) {
            op6 = "true";
            op5 = "false";
        } else {
            op5 = "true";
            op6 = "false";
        }
    }

    public void eventop1op2(ValueChangeEvent vce) {
        a62 = (String) vce.getNewValue();
        if (a62.equalsIgnoreCase("0")) {
            op2 = "true";
            op1 = "false";
        } else {
            op1 = "true";
            op2 = "false";
        }
    }

    public void eventselectoneormore(ValueChangeEvent vce) {
        a60 = (String) vce.getNewValue();
        if (a60.equalsIgnoreCase("0")) {
            disableall1 = "false";
        } else {
            disableall1 = "true";
        }
    }

    public String getDisableall() {
        return disableall;
    }

    public void eventonsection4a183(ValueChangeEvent vce) {
        a183 = (String) vce.getNewValue();
        if (a183.equalsIgnoreCase("0")) {
            pd1 = "false";
            pd2 = "true";
            pd3 = "true";
        }
        if (a183.equalsIgnoreCase("1")) {
            pd2 = "false";
            pd1 = "true";
            pd3 = "true";
        }
        if (a183.equalsIgnoreCase("2")) {
            pd3 = "false";
            pd2 = "true";
            pd1 = "true";
        }
    }

    public void eventonsection43256(ValueChangeEvent vce) {
        a156 = (String) vce.getNewValue();
        if (a156.equalsIgnoreCase("0")) {
            payable = "false";
        } else {
            payable = "true";
        }
    }

    public void setDisableall(String disableall) {
        this.disableall = disableall;
    }

    public void eventop3op4(ValueChangeEvent vce) {
        a66 = (String) vce.getNewValue();
        if (a66.equalsIgnoreCase("0")) {
            op3 = "false";
            op4 = "true";
        } else {
            op4 = "false";
            op3 = "true";
        }
    }

    public void eventonsection61(ValueChangeEvent vce) {
        a194 = (String) vce.getNewValue();
        if (a194.equalsIgnoreCase("0")) {
            setA195s("false");
            setA195Required("true");

        } else if (a194.equalsIgnoreCase("1")) {
            setA195s("true");
            setA195Required("false");
        } else {
            setA195s("true");
            setA195Required("false");
        }
    }

    public void eventonsection62(ValueChangeEvent vce) {
        a196 = (String) vce.getNewValue();
        if (a196.equalsIgnoreCase("0")) {
            setA197s("false");
            setA197Required("true");
        } else if (a196.equalsIgnoreCase("1")) {
            setA197s("true");
            setA197Required("false");
        } else {
            setA197s("true");
            setA197Required("false");
        }
    }

    public void eventonsection137(ValueChangeEvent vce) {
        a137 = (String) vce.getNewValue();
        if (a137.equalsIgnoreCase("0")) {
            disabletext1 = "false";
        }
        if (a137.equalsIgnoreCase("1")) {
            disabletext1 = "true";
        }
    }

    public void eventselectframework(ValueChangeEvent vce) {
        a57 = (String) vce.getNewValue();
        if (a57.equalsIgnoreCase("2")) {
            disableall = "false";
            disableall1 = "false";

        } else {
            disableall = "true";
            disableall1 = "true";
            op1 = "true";
            op2 = "true";
            op3 = "true";
            op4 = "true";
        }
    }

    public void controlviewdur() {
        if (a66.equalsIgnoreCase("0")) {
            d4 = "true";
            d5 = "false";
        }
        if (a66.equalsIgnoreCase("1")) {
            d5 = "true";
            d4 = "false";
        }
    }

    public String getD3() {
        return d3;
    }

    public void setD3(String d3) {
        this.d3 = d3;
    }

    public void controlviewfa() {
        if (a60.equalsIgnoreCase("0")) {
            d1 = "true";
            d2 = "true";
            d3 = "true";
        }
        if (a60.equalsIgnoreCase("1")) {
            d2 = "false";
            d1 = "false";
            d3 = "false";
        }
    }

    public void controlviewope() {
        if (a61.equalsIgnoreCase("0")) {
            d1 = "true";
            d2 = "false";
        }
        if (a61.equalsIgnoreCase("1")) {
            d2 = "true";
            d1 = "false";
        }

    }

    public void Validate193(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a192.equalsIgnoreCase("0")) {
            if (value1.length() > 0) {
                FacesMessage message = new FacesMessage(
                        "Person is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void Validate157(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a156.equalsIgnoreCase("0")) {
            if (value1.length() > 0) {
                FacesMessage message = new FacesMessage(
                        "Price is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void Validate159(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a156.equalsIgnoreCase("0")) {
            if (value1.length() > 0) {
                FacesMessage message = new FacesMessage(
                        "Terms is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void Validate135(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a133.equalsIgnoreCase("0")) {
            if (value1.length() < 0) {
                FacesMessage message = new FacesMessage(
                        "Criteria 1 is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
            if (value1.length() == 0) {
                FacesMessage message = new FacesMessage(
                        "Criteria 1 is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void Validate138(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a137.equalsIgnoreCase("0")) {
            if (value1.length() < 0) {
                FacesMessage message = new FacesMessage(
                        "Auction information is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
            if (value1.length() == 0) {
                FacesMessage message = new FacesMessage(
                        "Auction information is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
        if (disabletext1.equalsIgnoreCase("false")) {
            if (value1.length() < 0) {
                FacesMessage message = new FacesMessage(
                        "Auction information is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
            if (value1.length() == 0) {
                FacesMessage message = new FacesMessage(
                        "Auction information is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void Validate136(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String value1 = (String) value;
        if (a133.equalsIgnoreCase("0")) {
            if (value1.length() < 0) {
                FacesMessage message = new FacesMessage(
                        "Weight 1 is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }

            if (value1.length() == 0) {
                FacesMessage message = new FacesMessage(
                        "Weight 1 is obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void validateURL(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String url = (String) value;
        
        //initially used but http://qq.com was error: 
        //String regex = "^((ftp|http(s?))\\:\\/\\/)?(www.|[a-zA-Z].)[a-zA-Z0-9\\-\\.]+\\.(com|edu|gov|mil|net|org|biz|info|name|museum|gr|us|ca|uk)(\\:[0-9]+)*(/($|[a-zA-Z0-9\\.\\,\\;\\?\\'\\\\+&%\\$#\\=~_\\-]+))*$";
        	
        String regex = "^((ftp|http(s?))\\:\\/\\/)?[a-zA-Z0-9\\-\\.]+\\.(com|edu|gov|mil|net|org|biz|info|name|museum|gr|us|ca|uk)(\\:[0-9]+)*(/($|[a-zA-Z0-9\\.\\,\\;\\?\\'\\\\+&%\\$#\\=~_\\-]+))*$";      
        if (!Pattern.matches(regex, url)) {
            FacesMessage message = new FacesMessage("Invalid URL!");
            context.addMessage("cnotice", message);
            throw new ValidatorException(message);
        }
    }

    public void validateEmail(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String email = (String) value;
        if (email.indexOf("@") < 0) {
            FacesMessage message = new FacesMessage("Invalid e-mail address!");
            context.addMessage("cnotice", message);
            throw new ValidatorException(message);
        }
    }

    public void AnyNumber(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        if (number.length() > 1) {
            FacesMessage message;
            try {
                Integer anInt = Integer.parseInt(number);
                if (anInt < 1) {
                    a86valid = false;
                    message = new FacesMessage("The number entered is less than (1)!");
                    context.addMessage("cnotice", message);
                    throw new ValidatorException(message);
                } else {
                    a86valid = true;
                }
            } catch (NumberFormatException e) {
                a86valid = false;
                message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyNumber75(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a75 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a76.length() > 0) {
                    double aDouble1 = Double.parseDouble(a75);
                    double aDouble2 = Double.parseDouble(a76);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a75 + " must be less than " + a76);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyNumber96(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a96 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a97.length() > 0) {
                    double aDouble1 = Double.parseDouble(a96);
                    double aDouble2 = Double.parseDouble(a97);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a96 + " must be less than " + a97);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyNumber97(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a97 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a96.length() > 0) {
                    double aDouble1 = Double.parseDouble(a96);
                    double aDouble2 = Double.parseDouble(a97);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a96 + " must be less than " + a97);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyNumber108(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a108 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a109.length() > 0) {
                    double aDouble1 = Double.parseDouble(a108);
                    double aDouble2 = Double.parseDouble(a109);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a108 + " must be less than " + a109);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyNumber109(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a109 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a108.length() > 0) {
                    double aDouble1 = Double.parseDouble(a108);
                    double aDouble2 = Double.parseDouble(a109);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a108 + " must be less than " + a109);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

//	public void AnyNumber115(FacesContext context, UIComponent toValidate,
//			Object value) throws ValidatorException {
//		String number = (String) value;
//		a115 = number;
//		if (number.length() > 0) {
//			try {
//
//				double aDouble = Double.parseDouble(number);
//				if (a116.length() > 0) {
//					double aDouble1 = Double.parseDouble(a115);
//					double aDouble2 = Double.parseDouble(a116);
//					if (aDouble1 > aDouble2) {
//						FacesMessage message = new FacesMessage("The number "
//								+ a115 + " is not less or " + a116);
//						context.addMessage("cnotice", message);
//						throw new ValidatorException(message);
//					}
//				}
//			} catch (Exception e) {
//				FacesMessage message = new FacesMessage("Invalid Number!");
//				context.addMessage("cnotice", message);
//				throw new ValidatorException(message);
//			}
//		}
//	}
    public void ValidateControl121(FacesContext context,
            UIComponent toValidate, Object value) throws ValidatorException {
        String a1211 = (String) value;
        if (a120.equalsIgnoreCase("0")) {
            if (a1211.length() > 0) {
            } else {
                FacesMessage message = new FacesMessage(
                        "Description is an obligatory field");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void validateA116(FacesContext context, UIComponent toValidate, Object value) throws ValidatorException {
        Date a116 = (Date) value;
        Date a115 = getA115();
        if (a116.before(a115) || a116.equals(a115)) {
            FacesMessage message = new FacesMessage("Completion Date must be after Starting Date ");
            context.addMessage("cnotice", message);
            throw new ValidatorException(message);
        }
    }

    public void eventA65(ValueChangeEvent vce) {
        a115 = (Date) vce.getNewValue();
    }

    public void eventA66(ValueChangeEvent vce) {
        a116 = (Date) vce.getNewValue();
    }

    public void AnyNumber76(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        a76 = number;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (a75.length() > 0) {
                    double aDouble1 = Double.parseDouble(a75);
                    double aDouble2 = Double.parseDouble(a76);
                    if (aDouble1 > aDouble2) {
                        FacesMessage message = new FacesMessage("The number " + a75 + " is not less or " + a76);
                        context.addMessage("cnotice", message);
                        throw new ValidatorException(message);
                    }
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void AnyPositiveNumber(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String number = (String) value;
        if (number.length() > 0) {
            try {

                double aDouble = Double.parseDouble(number);
                if (aDouble < 0) {
                    FacesMessage message = new FacesMessage(
                            "Needs to be Positive Number!");
                    context.addMessage("cnotice", message);
                    throw new ValidatorException(message);
                }
            } catch (Exception e) {
                FacesMessage message = new FacesMessage("Invalid Number!");
                context.addMessage("cnotice", message);
                throw new ValidatorException(message);
            }
        }
    }

    public void eventSelectActivities(ValueChangeEvent vce) {
        activitiesSelected = (String[]) vce.getNewValue();
        for (int i = 0; i < activitiesSelected.length; i++) {
            if (activitiesSelected[i].equals("Other")) {
                setA47disabled("false");
            } else {
                setA47disabled("true");
            }
        }
    }

    public void eventSelectTypeOfCA(ValueChangeEvent vce) {
        typeOfCA = (String) vce.getNewValue();
        if (typeOfCA.equals("Other")) {
            setA34disabled("false");
        } else {
            setA34disabled("true");
        }
    }

    public void requiredCountry(FacesContext context, UIComponent toValidate,
            Object value) throws ValidatorException {
        String country = (String) value;
        if (country.equals("???")) {
            FacesMessage message = new FacesMessage(
                    "Country is an obligatory field!");
            context.addMessage("cnotice", message);
            throw new ValidatorException(message);
        }
    }

    public void Delete1() {
        ar1 = "false";
    }

    public void Delete2() {
        ar2 = "false";
    }

    public void Delete3() {
        ar3 = "false";
    }

    public void Delete4() {
        ar4 = "false";
    }

    public void Delete5() {
        ar5 = "false";
    }

    public void Delete6() {
        ar6 = "false";
    }

    public String showSectionI() {
        NavCurrent(1);
        String result = "success";
        if (contracttype.equalsIgnoreCase("0")) {
            render1 = "true";
            render2 = "false";
            render3 = "false";

        }
        if (contracttype.equalsIgnoreCase("1")) {
            render2 = "true";
            render1 = "false";
            render3 = "false";
        }
        if (contracttype.equalsIgnoreCase("2")) {
            render3 = "true";
            render2 = "false";
            render1 = "false";
        }
        if (proceduretype.equalsIgnoreCase("1")) {
            tp1 = "true";
            tp2 = "false";
            tp3 = "false";
            tp4 = "false";
            tp5 = "false";
            tp6 = "false";
        }

        if (proceduretype.equalsIgnoreCase("2")) {
            tp2 = "true";
            tp1 = "false";
            tp3 = "false";
            tp4 = "false";
            tp5 = "false";
            tp6 = "false";
        }

        if (proceduretype.equalsIgnoreCase("3")) {
            tp3 = "true";
            tp2 = "false";
            tp1 = "false";
            tp4 = "false";
            tp5 = "false";
            tp6 = "false";
        }

        if (proceduretype.equalsIgnoreCase("4")) {
            tp4 = "true";
            tp2 = "false";
            tp3 = "false";
            tp1 = "false";
            tp5 = "false";
            tp6 = "false";
        }

        if (proceduretype.equalsIgnoreCase("5")) {
            tp5 = "true";
            tp2 = "false";
            tp3 = "false";
            tp4 = "false";
            tp1 = "false";
            tp6 = "false";
        }

        if (proceduretype.equalsIgnoreCase("6")) {
            tp6 = "true";
            tp2 = "false";
            tp3 = "false";
            tp4 = "false";
            tp5 = "false";
            tp1 = "false";
        }
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());
        saveInDatabase();
        return result;
    }

    public String showSectionII() {
        //set the variables for the rendering of Annex A
        showAnnexA();

        NavCurrent(2);
        String result = "success";
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());
        return result;
    }

    public String showSectionIII() {
        NavCurrent(3);
        String result = "success";
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());
        return result;
    }

    public String showSectionIV() {
        NavCurrent(4);
        String result = "success";
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());
        return result;
    }

    public String showSectionVI() {
        NavCurrent(5);
        String result = "success";
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());
        return result;
    }

    /**
     * Next step of Section VI is decided as follows:
     * (a) if the user (when he was on section I) had selected one of the choices 
     * related to Annex A, then next step is to Annex A
     * (b) if the user (when he was on section II) had provided a number bigger than 0
     * in the field for quantity of Lots AND case (a) is false, then next step is to Annex B  
     * (c) if nothing of the two above is true, then next step is to the final page
     * @return annexA, annexB or finish
     */
    public String showAnnexABFinished() {
        boolean caseAnnexA = (isShowAnnexASectionI() || isShowAnnexASectionII() || isShowAnnexASectionIII());
        boolean caseAnnexB = isA86valid();
        SaveResult(GetXMLHeaderCNForm() + GetMainXMLCNForm() + GetXMLFooterCNForm());

        if (caseAnnexA) {
            NavCurrent(6);
            return "annexA";
        } else if (caseAnnexB) {
            NavCurrent(7);
            return "annexB";
        } else {
            return "finish";
        }
    }

    /**
     * Next step of Annex A is decided as follows:
     * if the user (when he was on section II) had provided a number bigger than 0
     * in the field for quantity of Lots, then next step is to Annex B  
     * else next step is to the final page
     * @return annexB or finish
     */
    public String showAnnexBFinished() {
        if (isA86valid()) {
            NavCurrent(7);
            return "annexB";
        } else {
            return "finish";
        }
    }

    public void ResetAll() {
        //set links
        link0 = "false";
        link1 = "false";
        link2 = "false";
        link3 = "false";
        link4 = "false";
        link5 = "false";
        link6 = "false";
        link7 = "false";

        //set text
        text0 = "false";
        text1 = "false";
        text2 = "false";
        text3 = "false";
        text4 = "false";
        text5 = "false";
        text6 = "false";
        text7 = "false";

        //set images
        v0 = "false";
        i0 = "true";
        c0 = "false";
        v1 = "false";
        i1 = "true";
        c1 = "false";
        v2 = "false";
        i2 = "true";
        c2 = "false";
        v3 = "false";
        i3 = "true";
        c3 = "false";
        v4 = "false";
        i4 = "true";
        c4 = "false";
        v5 = "false";
        i5 = "true";
        c5 = "false";
        v6 = "false";
        i6 = "false";
        c6 = "false";
        v7 = "false";
        i7 = "false";
        c7 = "false";
    }

    public void NavCurrent(int i) {
        ResetAll();
        if (i == 0) {
            link0 = "true";
            c0 = "true";
            i0 = "false";
            text1 = "true";
            text2 = "true";
            text3 = "true";
            text4 = "true";
            text5 = "true";
        //if(showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII)
        //{
        //text6="true";
        //i6="true";
        //}
        }

        if (i == 1) {
            link1 = "true";
            v0 = "true";
            i0 = "false";

            c1 = "true";
            i1 = "false";

            link0 = "true";
            text2 = "true";
            text3 = "true";
            text4 = "true";
            text5 = "true";
        //if(showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII)
        //{
        //text6="true";
        //i6="true";
        //}
        }

        if (i == 2) {
            link2 = "true";
            v0 = "true";
            i0 = "false";

            v1 = "true";
            i1 = "false";

            c2 = "true";
            i2 = "false";

            link0 = "true";
            link1 = "true";

            text3 = "true";
            text4 = "true";
            text5 = "true";
            if (showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII) {
                text6 = "true";
                i6 = "true";
            }

        }

        if (i == 3) {
            link3 = "true";
            v0 = "true";
            i0 = "false";

            v1 = "true";
            i1 = "false";

            v2 = "true";
            i2 = "false";

            c3 = "true";
            i3 = "false";

            link0 = "true";
            link1 = "true";
            link2 = "true";

            text4 = "true";
            text5 = "true";
            if (showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII) {
                text6 = "true";
                i6 = "true";
            }
            if (a86valid) {
                text7 = "true";
                i7 = "true";
            }

        }

        if (i == 4) {
            link4 = "true";
            v0 = "true";
            i0 = "false";

            v1 = "true";
            i1 = "false";

            v2 = "true";
            i2 = "false";

            v3 = "true";
            i3 = "false";

            c4 = "true";
            i4 = "false";

            link0 = "true";
            link1 = "true";
            link2 = "true";
            link3 = "true";
            text5 = "true";
            if (showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII) {
                text6 = "true";
                i6 = "true";
            }
            if (a86valid) {
                text7 = "true";
                i7 = "true";
            }

        }

        if (i == 5) {
            link5 = "true";

            v0 = "true";
            v1 = "true";
            v2 = "true";
            v3 = "true";
            v4 = "true";

            i0 = "false";
            i1 = "false";
            i2 = "false";
            i3 = "false";
            i4 = "false";

            c5 = "true";
            i5 = "false";

            link0 = "true";
            link1 = "true";
            link2 = "true";
            link3 = "true";
            link4 = "true";

            if (showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII) {
                text6 = "true";
                i6 = "true";
            }
            if (a86valid) {
                text7 = "true";
                i7 = "true";
            }

        }

        if (i == 6) {
            link6 = "true";

            v0 = "true";
            v1 = "true";
            v2 = "true";
            v3 = "true";
            v4 = "true";
            v5 = "true";

            i0 = "false";
            i1 = "false";
            i2 = "false";
            i3 = "false";
            i4 = "false";
            i5 = "false";

            c6 = "true";
            i6 = "false";

            link0 = "true";
            link1 = "true";
            link2 = "true";
            link3 = "true";
            link4 = "true";
            link5 = "true";
            if (a86valid) {
                text7 = "true";
                i7 = "true";
            }

        }

        if (i == 7) {
            link7 = "true";

            v0 = "true";
            v1 = "true";
            v2 = "true";
            v3 = "true";
            v4 = "true";
            v5 = "true";

            i0 = "false";
            i1 = "false";
            i2 = "false";
            i3 = "false";
            i4 = "false";
            i5 = "false";

            c7 = "true";
            i7 = "false";

            link0 = "true";
            link1 = "true";
            link2 = "true";
            link3 = "true";
            link4 = "true";
            link5 = "true";

            if (showAnnexASectionI || showAnnexASectionII || showAnnexASectionIII) {
                text6 = "true";
                link6 = "true";
                v6 = "true";
                i6 = "false";
            }
        }

    }

    public String showFinished() {
        return "finish";
    }

    public String getD4() {
        return d4;
    }

    public void setD4(String d4) {
        this.d4 = d4;
    }

    public String getD5() {
        return d5;
    }

    public void setD5(String d5) {
        this.d5 = d5;
    }

    public String getFurtherInfo2() {
        return furtherInfo2;
    }

    public void setFurtherInfo2(String furtherInfo2) {
        this.furtherInfo2 = furtherInfo2;
    }

    public String getFurtherInfo3() {
        return furtherInfo3;
    }

    public void setFurtherInfo3(String furtherInfo3) {
        this.furtherInfo3 = furtherInfo3;
    }

    public String getFurtherInfo() {
        return furtherInfo;
    }

    public void setFurtherInfo(String furtherInfo) {
        this.furtherInfo = furtherInfo;
    }

    public String getContracttype() {
        return contracttype;
    }

    public String getProceduretype() {
        return proceduretype;
    }

    public void setProceduretype(String proceduretype) {
        this.proceduretype = proceduretype;
    }

    public void setContracttype(String contracttype) {
        this.contracttype = contracttype;
    }

    public String getTypeOfCA() {
        return typeOfCA;
    }

    public void setTypeOfCA(String typeOfCA) {
        this.typeOfCA = typeOfCA;
    }

    public String[] getActivitiesSelected() {
        return activitiesSelected;
    }

    public void setActivitiesSelected(String[] activitiesSelected) {
        this.activitiesSelected = activitiesSelected;
    }

    public String getA34disabled() {
        return a34disabled;
    }

    public void setA34disabled(String a34disabled) {
        this.a34disabled = a34disabled;
    }

    public String getA47disabled() {
        return a47disabled;
    }

    public void setA47disabled(String a47disabled) {
        this.a47disabled = a47disabled;
    }

    public String getA1() {
        return a1;
    }

    public void setA1(String a1) {
        this.a1 = a1;
    }

    public String getA2() {
        return a2;
    }

    public void setA2(String a2) {
        this.a2 = a2;
    }

    public String getA3() {
        return a3;
    }

    public void setA3(String a3) {
        this.a3 = a3;
    }

    public String getA4() {
        return a4;
    }

    public void setA4(String a4) {
        this.a4 = a4;
    }

    public String getA5() {
        return a5;
    }

    public void setA5(String a5) {
        this.a5 = a5;
    }

    public String getA6() {
        return a6;
    }

    public void setA6(String a6) {
        this.a6 = a6;
    }

    public String getA7() {
        return a7;
    }

    public void setA7(String a7) {
        this.a7 = a7;
    }

    public String getA8() {
        return a8;
    }

    public void setA8(String a8) {
        this.a8 = a8;
    }

    public String getA9() {
        return a9;
    }

    public void setA9(String a9) {
        this.a9 = a9;
    }

    public String getA10() {
        return a10;
    }

    public void setA10(String a10) {
        this.a10 = a10;
    }

    public String getA11() {
        return a11;
    }

    public void setA11(String a11) {
        this.a11 = a11;
    }

    public String getA12() {
        return a12;
    }

    public void setA12(String a12) {
        this.a12 = a12;
    }

    public String getA13() {
        return a13;
    }

    public void setA13(String a13) {
        this.a13 = a13;
    }

    public String getA14() {
        return a14;
    }

    public void setA14(String a14) {
        this.a14 = a14;
    }

    public String getA15() {
        return a15;
    }

    public void setA15(String a15) {
        this.a15 = a15;
    }

    public String getA16() {
        return a16;
    }

    public void setA16(String a16) {
        this.a16 = a16;
    }

    public String getA17() {
        return a17;
    }

    public void setA17(String a17) {
        this.a17 = a17;
    }

    public String getA18() {
        return a18;
    }

    public void setA18(String a18) {
        this.a18 = a18;
    }

    public String getA19() {
        return a19;
    }

    public void setA19(String a19) {
        this.a19 = a19;
    }

    public String getA20() {
        return a20;
    }

    public void setA20(String a20) {
        this.a20 = a20;
    }

    public String getA21() {
        return a21;
    }

    public void setA21(String a21) {
        this.a21 = a21;
    }

    public String getA22() {
        return a22;
    }

    public void setA22(String a22) {
        this.a22 = a22;
    }

    public String getA23() {
        return a23;
    }

    public void setA23(String a23) {
        this.a23 = a23;
    }

    public String getA24() {
        return a24;
    }

    public void setA24(String a24) {
        this.a24 = a24;
    }

    public String getA25() {
        return a25;
    }

    public void setA25(String a25) {
        this.a25 = a25;
    }

    public String getA26() {
        return a26;
    }

    public void setA26(String a26) {
        this.a26 = a26;
    }

    public String getA27() {
        return a27;
    }

    public void setA27(String a27) {
        this.a27 = a27;
    }

    public String getA28() {
        return a28;
    }

    public void setA28(String a28) {
        this.a28 = a28;
    }

    public String getA29() {
        return a29;
    }

    public void setA29(String a29) {
        this.a29 = a29;
    }

    public String getA30() {
        return a30;
    }

    public void setA30(String a30) {
        this.a30 = a30;
    }

    public String getA31() {
        return a31;
    }

    public void setA31(String a31) {
        this.a31 = a31;
    }

    public String getA32() {
        return a32;
    }

    public void setA32(String a32) {
        this.a32 = a32;
    }

    public String getA33() {
        return a33;
    }

    public void setA33(String a33) {
        this.a33 = a33;
    }

    public String getA34() {
        return a34;
    }

    public void setA34(String a34) {
        this.a34 = a34;
    }

    public String getA35() {
        return a35;
    }

    public void setA35(String a35) {
        this.a35 = a35;
    }

    public String getA36() {
        return a36;
    }

    public void setA36(String a36) {
        this.a36 = a36;
    }

    public String getA37() {
        return a37;
    }

    public void setA37(String a37) {
        this.a37 = a37;
    }

    public String getA38() {
        return a38;
    }

    public void setA38(String a38) {
        this.a38 = a38;
    }

    public String getA39() {
        return a39;
    }

    public void setA39(String a39) {
        this.a39 = a39;
    }

    public String getA40() {
        return a40;
    }

    public void setA40(String a40) {
        this.a40 = a40;
    }

    public String getA41() {
        return a41;
    }

    public void setA41(String a41) {
        this.a41 = a41;
    }

    public String getA42() {
        return a42;
    }

    public void setA42(String a42) {
        this.a42 = a42;
    }

    public String getA43() {
        return a43;
    }

    public void setA43(String a43) {
        this.a43 = a43;
    }

    public String getA44() {
        return a44;
    }

    public void setA44(String a44) {
        this.a44 = a44;
    }

    public String getA45() {
        return a45;
    }

    public void setA45(String a45) {
        this.a45 = a45;
    }

    public String getA46() {
        return a46;
    }

    public void setA46(String a46) {
        this.a46 = a46;
    }

    public String getA47() {
        return a47;
    }

    public void setA47(String a47) {
        this.a47 = a47;
    }

    public String getA48() {
        return a48;
    }

    public void setA48(String a48) {
        this.a48 = a48;
    }

    public String getA49() {
        return a49;
    }

    public void setA49(String a49) {
        this.a49 = a49;
    }

    public String getA50() {
        return a50;
    }

    public void setA50(String a50) {
        this.a50 = a50;
    }

    public String getA51() {
        return a51;
    }

    public void setA51(String a51) {
        this.a51 = a51;
    }

    public String getA52() {
        return a52;
    }

    public void setA52(String a52) {
        this.a52 = a52;
    }

    public String getA53() {
        return a53;
    }

    public void setA53(String a53) {
        this.a53 = a53;
    }

    public String getA54() {
        return a54;
    }

    public void setA54(String a54) {
        this.a54 = a54;
    }

    public String getA55() {
        return a55;
    }

    public void setA55(String a55) {
        this.a55 = a55;
    }

    public String getA56() {
        return a56;
    }

    public void setA56(String a56) {
        this.a56 = a56;
    }

    public String getA57() {
        return a57;
    }

    public void setA57(String a57) {
        this.a57 = a57;
    }

    public String getA58() {
        return a58;
    }

    public void setA58(String a58) {
        this.a58 = a58;
    }

    public String getA59() {
        return a59;
    }

    public void setA59(String a59) {
        this.a59 = a59;
    }

    public String getA60() {
        return a60;
    }

    public void setA60(String a60) {
        this.a60 = a60;
    }

    public String getA61() {
        return a61;
    }

    public void setA61(String a61) {
        this.a61 = a61;
    }

    public String getA62() {
        return a62;
    }

    public void setA62(String a62) {
        this.a62 = a62;
    }

    public String getA63() {
        return a63;
    }

    public void setA63(String a63) {
        this.a63 = a63;
    }

    public String getA64() {
        return a64;
    }

    public void setA64(String a64) {
        this.a64 = a64;
    }

    public String getA65() {
        return a65;
    }

    public void setA65(String a65) {
        this.a65 = a65;
    }

    public String getA66() {
        return a66;
    }

    public void setA66(String a66) {
        this.a66 = a66;
    }

    public String getA67() {
        return a67;
    }

    public void setA67(String a67) {
        this.a67 = a67;
    }

    public String getA68() {
        return a68;
    }

    public void setA68(String a68) {
        this.a68 = a68;
    }

    public String getA69() {
        return a69;
    }

    public void setA69(String a69) {
        this.a69 = a69;
    }

    public String getA70() {
        return a70;
    }

    public void setA70(String a70) {
        this.a70 = a70;
    }

    public String getA71() {
        return a71;
    }

    public void setA71(String a71) {
        this.a71 = a71;
    }

    public String getA72() {
        return a72;
    }

    public void setA72(String a72) {
        this.a72 = a72;
    }

    public String getA73() {
        return a73;
    }

    public void setA73(String a73) {
        this.a73 = a73;
    }

    public String getA74() {
        return a74;
    }

    public void setA74(String a74) {
        this.a74 = a74;
    }

    public String getA75() {
        return a75;
    }

    public void setA75(String a75) {
        this.a75 = a75;
    }

    public String getA76() {
        return a76;
    }

    public void setA76(String a76) {
        this.a76 = a76;
    }

    public String getA77() {
        return a77;
    }

    public void setA77(String a77) {
        this.a77 = a77;
    }

    public String getA78() {
        return a78;
    }

    public void setA78(String a78) {
        this.a78 = a78;
    }

    public String getA79() {
        return a79;
    }

    public void setA79(String a79) {
        this.a79 = a79;
    }

    public String getA80() {
        return a80;
    }

    public void setA80(String a80) {
        this.a80 = a80;
    }

    public String getA81() {
        return a81;
    }

    public void setA81(String a81) {
        this.a81 = a81;
    }

    public String getA82() {
        return a82;
    }

    public void setA82(String a82) {
        this.a82 = a82;
    }

    public String getA83() {
        return a83;
    }

    public void setA83(String a83) {
        this.a83 = a83;
    }

    public String getA84() {
        return a84;
    }

    public void setA84(String a84) {
        this.a84 = a84;
    }

    public String getA85() {
        return a85;
    }

    public void setA85(String a85) {
        this.a85 = a85;
    }

    public String getA86() {
        return a86;
    }

    public void setA86(String a86) {
        this.a86 = a86;
    }

    public String getA87() {
        return a87;
    }

    public void setA87(String a87) {
        this.a87 = a87;
    }

    public String getA88() {
        return a88;
    }

    public void setA88(String a88) {
        this.a88 = a88;
    }

    public String getA89() {
        return a89;
    }

    public void setA89(String a89) {
        this.a89 = a89;
    }

    public String getA90() {
        return a90;
    }

    public void setA90(String a90) {
        this.a90 = a90;
    }

    public String getA91() {
        return a91;
    }

    public void setA91(String a91) {
        this.a91 = a91;
    }

    public String getA92() {
        return a92;
    }

    public void setA92(String a92) {
        this.a92 = a92;
    }

    public String getA93() {
        return a93;
    }

    public void setA93(String a93) {
        this.a93 = a93;
    }

    public String getA94() {
        return a94;
    }

    public void setA94(String a94) {
        this.a94 = a94;
    }

    public String getA95() {
        return a95;
    }

    public void setA95(String a95) {
        this.a95 = a95;
    }

    public String getA96() {
        return a96;
    }

    public void setA96(String a96) {
        this.a96 = a96;
    }

    public String getA97() {
        return a97;
    }

    public void setA97(String a97) {
        this.a97 = a97;
    }

    public String getA98() {
        return a98;
    }

    public void setA98(String a98) {
        this.a98 = a98;
    }

    public String getA99() {
        return a99;
    }

    public void setA99(String a99) {
        this.a99 = a99;
    }

    public String getA100() {
        return a100;
    }

    public void setA100(String a100) {
        this.a100 = a100;
    }

    public String getA101() {
        return a101;
    }

    public void setA101(String a101) {
        this.a101 = a101;
    }

    public String getA102() {
        return a102;
    }

    public void setA102(String a102) {
        this.a102 = a102;
    }

    public String getA103() {
        return a103;
    }

    public void setA103(String a103) {
        this.a103 = a103;
    }

    public String getA104() {
        return a104;
    }

    public void setA104(String a104) {
        this.a104 = a104;
    }

    public String getA105() {
        return a105;
    }

    public void setA105(String a105) {
        this.a105 = a105;
    }

    public String getA106() {
        return a106;
    }

    public void setA106(String a106) {
        this.a106 = a106;
    }

    public String getA107() {
        return a107;
    }

    public void setA107(String a107) {
        this.a107 = a107;
    }

    public String getA108() {
        return a108;
    }

    public void setA108(String a108) {
        this.a108 = a108;
    }

    public String getA109() {
        return a109;
    }

    public void setA109(String a109) {
        this.a109 = a109;
    }

    public String getA110() {
        return a110;
    }

    public void setA110(String a110) {
        this.a110 = a110;
    }

    public String getA111() {
        return a111;
    }

    public void setA111(String a111) {
        this.a111 = a111;
    }

    public String getA112() {
        return a112;
    }

    public void setA112(String a112) {
        this.a112 = a112;
    }

    public String getA113() {
        return a113;
    }

    public void setA113(String a113) {
        this.a113 = a113;
    }

    public String getA114() {
        return a114;
    }

    public void setA114(String a114) {
        this.a114 = a114;
    }

    public Date getA115() {
        return a115;
    }

    public void setA115(Date a115) {
        this.a115 = a115;
    }

    public Date getA116() {
        return a116;
    }

    public void setA116(Date a116) {
        this.a116 = a116;
    }

    public String getA117() {
        return a117;
    }

    public void setA117(String a117) {
        this.a117 = a117;
    }

    public String getA118() {
        return a118;
    }

    public void setA118(String a118) {
        this.a118 = a118;
    }

    public String getA119() {
        return a119;
    }

    public void setA119(String a119) {
        this.a119 = a119;
    }

    public String getA120() {
        return a120;
    }

    public void setA120(String a120) {
        this.a120 = a120;
    }

    public String getA121() {
        return a121;
    }

    public void setA121(String a121) {
        this.a121 = a121;
    }

    public String getA122() {
        return a122;
    }

    public void setA122(String a122) {
        this.a122 = a122;
    }

    public String getA123() {
        return a123;
    }

    public void setA123(String a123) {
        this.a123 = a123;
    }

    public String getA124() {
        return a124;
    }

    public void setA124(String a124) {
        this.a124 = a124;
    }

    public String getA125() {
        return a125;
    }

    public void setA125(String a125) {
        this.a125 = a125;
    }

    public String getA126() {
        return a126;
    }

    public void setA126(String a126) {
        this.a126 = a126;
    }

    public String getA127() {
        return a127;
    }

    public void setA127(String a127) {
        this.a127 = a127;
    }

    public String getA128() {
        return a128;
    }

    public void setA128(String a128) {
        this.a128 = a128;
    }

    public String getA129() {
        return a129;
    }

    public void setA129(String a129) {
        this.a129 = a129;
    }

    public String getA130() {
        return a130;
    }

    public void setA130(String a130) {
        this.a130 = a130;
    }

    public String getA131() {
        return a131;
    }

    public void setA131(String a131) {
        this.a131 = a131;
    }

    public String getA132() {
        return a132;
    }

    public void setA132(String a132) {
        this.a132 = a132;
    }

    public String getA133() {
        return a133;
    }

    public void setA133(String a133) {
        this.a133 = a133;
    }

    public String getA134() {
        return a134;
    }

    public void setA134(String a134) {
        this.a134 = a134;
    }

    public String getA135() {
        return a135;
    }

    public void setA135(String a135) {
        this.a135 = a135;
    }

    public String getA136() {
        return a136;
    }

    public void setA136(String a136) {
        this.a136 = a136;
    }

    public String getA137() {
        return a137;
    }

    public void setA137(String a137) {
        this.a137 = a137;
    }

    public String getA138() {
        return a138;
    }

    public void setA138(String a138) {
        this.a138 = a138;
    }

    public String getA139() {
        return a139;
    }

    public void setA139(String a139) {
        this.a139 = a139;
    }

    public String getA140() {
        return a140;
    }

    public void setA140(String a140) {
        this.a140 = a140;
    }

    public String getA141() {
        return a141;
    }

    public void setA141(String a141) {
        this.a141 = a141;
    }

    public String getA142() {
        return a142;
    }

    public void setA142(String a142) {
        this.a142 = a142;
    }

    public String getA143() {
        return a143;
    }

    public void setA143(String a143) {
        this.a143 = a143;
    }

    public String getA144() {
        return a144;
    }

    public void setA144(String a144) {
        this.a144 = a144;
    }

    public String getA145() {
        return a145;
    }

    public void setA145(String a145) {
        this.a145 = a145;
    }

    public String getA146() {
        return a146;
    }

    public void setA146(String a146) {
        this.a146 = a146;
    }

    public String getA147() {
        return a147;
    }

    public void setA147(String a147) {
        this.a147 = a147;
    }

    public String getA148() {
        return a148;
    }

    public void setA148(String a148) {
        this.a148 = a148;
    }

    public String getA149() {
        return a149;
    }

    public void setA149(String a149) {
        this.a149 = a149;
    }

    public String getRender1() {
        return render1;
    }

    public void setRender1(String render1) {
        this.render1 = render1;
    }

    public String getRender2() {
        return render2;
    }

    public void setRender2(String render2) {
        this.render2 = render2;
    }

    public String getRender3() {
        return render3;
    }

    public void setRender3(String render3) {
        this.render3 = render3;
    }

    public String getD1() {
        return d1;
    }

    public void setD1(String d1) {
        this.d1 = d1;
    }

    public String getD2() {
        return d2;
    }

    public void setD2(String d2) {
        this.d2 = d2;
    }

    public String getDisableall1() {
        return disableall1;
    }

    public void setDisableall1(String disableall1) {
        this.disableall1 = disableall1;
    }

    public String getOp3() {
        return op3;
    }

    public void setOp3(String op3) {
        this.op3 = op3;
    }

    public String getOp4() {
        return op4;
    }

    public void setOp4(String op4) {
        this.op4 = op4;
    }

    public String getOp5() {
        return op5;
    }

    public void setOp5(String op5) {
        this.op5 = op5;
    }

    public String getOp6() {
        return op6;
    }

    public void setOp6(String op6) {
        this.op6 = op6;
    }

    public String getSection18() {
        return section18;
    }

    public void setSection18(String section18) {
        this.section18 = section18;
    }

    public String getSection22() {
        return section22;
    }

    public void setSection22(String section22) {
        this.section22 = section22;
    }

    public String getOp9() {
        return op9;
    }

    public void setOp9(String op9) {
        this.op9 = op9;
    }

    public String getOp10() {
        return op10;
    }

    public void setOp10(String op10) {
        this.op10 = op10;
    }

    public String getOp11() {
        return op11;
    }

    public void setOp11(String op11) {
        this.op11 = op11;
    }

    public String getOp12() {
        return op12;
    }

    public void setOp12(String op12) {
        this.op12 = op12;
    }

    public String getOp13() {
        return op13;
    }

    public void setOp13(String op13) {
        this.op13 = op13;
    }

    public String getOp14() {
        return op14;
    }

    public void setOp14(String op14) {
        this.op14 = op14;
    }

    public String getOp15() {
        return op15;
    }

    public void setOp15(String op15) {
        this.op15 = op15;
    }

    public String getA150() {
        return a150;
    }

    public void setA150(String a150) {
        this.a150 = a150;
    }

    public String getA151() {
        return a151;
    }

    public void setA151(String a151) {
        this.a151 = a151;
    }

    public String getA152() {
        return a152;
    }

    public void setA152(String a152) {
        this.a152 = a152;
    }

    public String getA153() {
        return a153;
    }

    public void setA153(String a153) {
        this.a153 = a153;
    }

    public String getA154() {
        return a154;
    }

    public void setA154(String a154) {
        this.a154 = a154;
    }

    public String getA155() {
        return a155;
    }

    public void setA155(String a155) {
        this.a155 = a155;
    }

    public String getA156() {
        return a156;
    }

    public void setA156(String a156) {
        this.a156 = a156;
    }

    public String getA157() {
        return a157;
    }

    public void setA157(String a157) {
        this.a157 = a157;
    }

    public String getA158() {
        return a158;
    }

    public void setA158(String a158) {
        this.a158 = a158;
    }

    public String getA159() {
        return a159;
    }

    public void setA159(String a159) {
        this.a159 = a159;
    }

    public String getA160() {
        return a160;
    }

    public void setA160(String a160) {
        this.a160 = a160;
    }

    public String getA161() {
        return a161;
    }

    public void setA161(String a161) {
        this.a161 = a161;
    }

    public String getA162() {
        return a162;
    }

    public void setA162(String a162) {
        this.a162 = a162;
    }

    public String getA163() {
        return a163;
    }

    public void setA163(String a163) {
        this.a163 = a163;
    }

    public String getA164() {
        return a164;
    }

    public void setA164(String a164) {
        this.a164 = a164;
    }

    public String getA165() {
        return a165;
    }

    public void setA165(String a165) {
        this.a165 = a165;
    }

    public String getA166() {
        return a166;
    }

    public void setA166(String a166) {
        this.a166 = a166;
    }

    public String getA167() {
        return a167;
    }

    public void setA167(String a167) {
        this.a167 = a167;
    }

    public String getA168() {
        return a168;
    }

    public void setA168(String a168) {
        this.a168 = a168;
    }

    public String getA169() {
        return a169;
    }

    public void setA169(String a169) {
        this.a169 = a169;
    }

    public String getA170() {
        return a170;
    }

    public void setA170(String a170) {
        this.a170 = a170;
    }

    public String getA171() {
        return a171;
    }

    public void setA171(String a171) {
        this.a171 = a171;
    }

    public String getA172() {
        return a172;
    }

    public void setA172(String a172) {
        this.a172 = a172;
    }

    public String getA173() {
        return a173;
    }

    public void setA173(String a173) {
        this.a173 = a173;
    }

    public String getA174() {
        return a174;
    }

    public void setA174(String a174) {
        this.a174 = a174;
    }

    public String getA175() {
        return a175;
    }

    public void setA175(String a175) {
        this.a175 = a175;
    }

    public String getA176() {
        return a176;
    }

    public void setA176(String a176) {
        this.a176 = a176;
    }

    public String getA177() {
        return a177;
    }

    public void setA177(String a177) {
        this.a177 = a177;
    }

    public String getA178() {
        return a178;
    }

    public void setA178(String a178) {
        this.a178 = a178;
    }

    public String getA179() {
        return a179;
    }

    public void setA179(String a179) {
        this.a179 = a179;
    }

    public String getA180() {
        return a180;
    }

    public void setA180(String a180) {
        this.a180 = a180;
    }

    public String getA181() {
        return a181;
    }

    public void setA181(String a181) {
        this.a181 = a181;
    }

    public String getA182() {
        return a182;
    }

    public void setA182(String a182) {
        this.a182 = a182;
    }

    public String getA183() {
        return a183;
    }

    public void setA183(String a183) {
        this.a183 = a183;
    }

    public String getA184() {
        return a184;
    }

    public void setA184(String a184) {
        this.a184 = a184;
    }

    public String getA185() {
        return a185;
    }

    public void setA185(String a185) {
        this.a185 = a185;
    }

    public String getA186() {
        return a186;
    }

    public void setA186(String a186) {
        this.a186 = a186;
    }

    public String getA187() {
        return a187;
    }

    public void setA187(String a187) {
        this.a187 = a187;
    }

    public String getA188() {
        return a188;
    }

    public void setA188(String a188) {
        this.a188 = a188;
    }

    public String getA189() {
        return a189;
    }

    public void setA189(String a189) {
        this.a189 = a189;
    }

    public String getA190() {
        return a190;
    }

    public void setA190(String a190) {
        this.a190 = a190;
    }

    public String getA191() {
        return a191;
    }

    public void setA191(String a191) {
        this.a191 = a191;
    }

    public String getA192() {
        return a192;
    }

    public void setA192(String a192) {
        this.a192 = a192;
    }

    public String getA193() {
        return a193;
    }

    public void setA193(String a193) {
        this.a193 = a193;
    }

    public String getA194() {
        return a194;
    }

    public void setA194(String a194) {
        this.a194 = a194;
    }

    public String getA195() {
        return a195;
    }

    public void setA195(String a195) {
        this.a195 = a195;
    }

    public String getA196() {
        return a196;
    }

    public void setA196(String a196) {
        this.a196 = a196;
    }

    public String getA197() {
        return a197;
    }

    public void setA197(String a197) {
        this.a197 = a197;
    }

    public String getA198() {
        return a198;
    }

    public void setA198(String a198) {
        this.a198 = a198;
    }

    public String getA199() {
        return a199;
    }

    public void setA199(String a199) {
        this.a199 = a199;
    }

    public String getA200() {
        return a200;
    }

    public void setA200(String a200) {
        this.a200 = a200;
    }

    public String getA201() {
        return a201;
    }

    public void setA201(String a201) {
        this.a201 = a201;
    }

    public String getA202() {
        return a202;
    }

    public void setA202(String a202) {
        this.a202 = a202;
    }

    public String getA203() {
        return a203;
    }

    public void setA203(String a203) {
        this.a203 = a203;
    }

    public String getA204() {
        return a204;
    }

    public void setA204(String a204) {
        this.a204 = a204;
    }

    public String getA205() {
        return a205;
    }

    public void setA205(String a205) {
        this.a205 = a205;
    }

    public String getA206() {
        return a206;
    }

    public void setA206(String a206) {
        this.a206 = a206;
    }

    public String getA207() {
        return a207;
    }

    public void setA207(String a207) {
        this.a207 = a207;
    }

    public String getA208() {
        return a208;
    }

    public void setA208(String a208) {
        this.a208 = a208;
    }

    public String getA209() {
        return a209;
    }

    public void setA209(String a209) {
        this.a209 = a209;
    }

    public String getA210() {
        return a210;
    }

    public void setA210(String a210) {
        this.a210 = a210;
    }

    public String getA211() {
        return a211;
    }

    public void setA211(String a211) {
        this.a211 = a211;
    }

    public String getA212() {
        return a212;
    }

    public void setA212(String a212) {
        this.a212 = a212;
    }

    public String getA213() {
        return a213;
    }

    public void setA213(String a213) {
        this.a213 = a213;
    }

    public String getA214() {
        return a214;
    }

    public void setA214(String a214) {
        this.a214 = a214;
    }

    public String getA215() {
        return a215;
    }

    public void setA215(String a215) {
        this.a215 = a215;
    }

    public String getA216() {
        return a216;
    }

    public void setA216(String a216) {
        this.a216 = a216;
    }

    public String getA217() {
        return a217;
    }

    public void setA217(String a217) {
        this.a217 = a217;
    }

    public String getA218() {
        return a218;
    }

    public void setA218(String a218) {
        this.a218 = a218;
    }

    public String getA219() {
        return a219;
    }

    public void setA219(String a219) {
        this.a219 = a219;
    }

    public String getA220() {
        return a220;
    }

    public void setA220(String a220) {
        this.a220 = a220;
    }

    public String getA221() {
        return a221;
    }

    public void setA221(String a221) {
        this.a221 = a221;
    }

    public String getA222() {
        return a222;
    }

    public void setA222(String a222) {
        this.a222 = a222;
    }

    public String getA223() {
        return a223;
    }

    public void setA223(String a223) {
        this.a223 = a223;
    }

    public String getA224() {
        return a224;
    }

    public void setA224(String a224) {
        this.a224 = a224;
    }

    public String getA225() {
        return a225;
    }

    public void setA225(String a225) {
        this.a225 = a225;
    }

    public String getA226() {
        return a226;
    }

    public void setA226(String a226) {
        this.a226 = a226;
    }

    public Date getA227() {
        return a227;
    }

    public void setA227(Date a227) {
        this.a227 = a227;
    }

    public String getTp1() {
        return tp1;
    }

    public void setTp1(String tp1) {
        this.tp1 = tp1;
    }

    public String getTp2() {
        return tp2;
    }

    public void setTp2(String tp2) {
        this.tp2 = tp2;
    }

    public String getTp3() {
        return tp3;
    }

    public void setTp3(String tp3) {
        this.tp3 = tp3;
    }

    public String getTp4() {
        return tp4;
    }

    public void setTp4(String tp4) {
        this.tp4 = tp4;
    }

    public String getTp5() {
        return tp5;
    }

    public void setTp5(String tp5) {
        this.tp5 = tp5;
    }

    public String getTp6() {
        return tp6;
    }

    public void setTp6(String tp6) {
        this.tp6 = tp6;
    }

    public String getA228() {
        return a228;
    }

    public void setA228(String a228) {
        this.a228 = a228;
    }

    public String getA229() {
        return a229;
    }

    public void setA229(String a229) {
        this.a229 = a229;
    }

    public String getA230() {
        return a230;
    }

    public void setA230(String a230) {
        this.a230 = a230;
    }

    public String getA240() {
        return a240;
    }

    public void setA240(String a240) {
        this.a240 = a240;
    }

    public String getA133s() {
        return a133s;
    }

    public void setA133s(String a133s) {
        this.a133s = a133s;
    }

    public String getA133s1() {
        return a133s1;
    }

    public void setA133s1(String a133s1) {
        this.a133s1 = a133s1;
    }

    public String getA1351() {
        return a1351;
    }

    public void setA1351(String a1351) {
        this.a1351 = a1351;
    }

    public String getA1361() {
        return a1361;
    }

    public void setA1361(String a1361) {
        this.a1361 = a1361;
    }

    public String getA1352() {
        return a1352;
    }

    public void setA1352(String a1352) {
        this.a1352 = a1352;
    }

    public String getA1362() {
        return a1362;
    }

    public void setA1362(String a1362) {
        this.a1362 = a1362;
    }

    public String getA1353() {
        return a1353;
    }

    public void setA1353(String a1353) {
        this.a1353 = a1353;
    }

    public String getA1363() {
        return a1363;
    }

    public void setA1363(String a1363) {
        this.a1363 = a1363;
    }

    public String getA1354() {
        return a1354;
    }

    public void setA1354(String a1354) {
        this.a1354 = a1354;
    }

    public String getA1364() {
        return a1364;
    }

    public void setA1364(String a1364) {
        this.a1364 = a1364;
    }

    public String getA1355() {
        return a1355;
    }

    public void setA1355(String a1355) {
        this.a1355 = a1355;
    }

    public String getA1365() {
        return a1365;
    }

    public void setA1365(String a1365) {
        this.a1365 = a1365;
    }

    public String getA1356() {
        return a1356;
    }

    public void setA1356(String a1356) {
        this.a1356 = a1356;
    }

    public String getA1366() {
        return a1366;
    }

    public void setA1366(String a1366) {
        this.a1366 = a1366;
    }

    public String getA1357() {
        return a1357;
    }

    public void setA1357(String a1357) {
        this.a1357 = a1357;
    }

    public String getA1367() {
        return a1367;
    }

    public void setA1367(String a1367) {
        this.a1367 = a1367;
    }

    public String getA1358() {
        return a1358;
    }

    public void setA1358(String a1358) {
        this.a1358 = a1358;
    }

    public String getA1368() {
        return a1368;
    }

    public void setA1368(String a1368) {
        this.a1368 = a1368;
    }

    public String getA1359() {
        return a1359;
    }

    public void setA1359(String a1359) {
        this.a1359 = a1359;
    }

    public String getA1369() {
        return a1369;
    }

    public void setA1369(String a1369) {
        this.a1369 = a1369;
    }

    public String getPayable() {
        return payable;
    }

    public void setPayable(String payable) {
        this.payable = payable;
    }

    public String getA195s() {
        return a195s;
    }

    public void setA195s(String a195s) {
        this.a195s = a195s;
    }

    public String getA197s() {
        return a197s;
    }

    public void setA197s(String a197s) {
        this.a197s = a197s;
    }

    public String getA250() {
        return a250;
    }

    public void setA250(String a250) {
        this.a250 = a250;
    }

    public String getA251() {
        return a251;
    }

    public void setA251(String a251) {
        this.a251 = a251;
    }

    public String getA252() {
        return a252;
    }

    public void setA252(String a252) {
        this.a252 = a252;
    }

    public String getA253() {
        return a253;
    }

    public void setA253(String a253) {
        this.a253 = a253;
    }

    public String getA254() {
        return a254;
    }

    public void setA254(String a254) {
        this.a254 = a254;
    }

    public String getA256() {
        return a256;
    }

    public void setA256(String a256) {
        this.a256 = a256;
    }

    public String getA257() {
        return a257;
    }

    public void setA257(String a257) {
        this.a257 = a257;
    }

    public String getA258() {
        return a258;
    }

    public void setA258(String a258) {
        this.a258 = a258;
    }

    public String getA259() {
        return a259;
    }

    public void setA259(String a259) {
        this.a259 = a259;
    }

    public String getA260() {
        return a260;
    }

    public void setA260(String a260) {
        this.a260 = a260;
    }

    public String getA261() {
        return a261;
    }

    public void setA261(String a261) {
        this.a261 = a261;
    }

    public String getA262() {
        return a262;
    }

    public void setA262(String a262) {
        this.a262 = a262;
    }

    public String getA263() {
        return a263;
    }

    public void setA263(String a263) {
        this.a263 = a263;
    }

    public String getA264() {
        return a264;
    }

    public void setA264(String a264) {
        this.a264 = a264;
    }

    public String getA265() {
        return a265;
    }

    public void setA265(String a265) {
        this.a265 = a265;
    }

    public String getA266() {
        return a266;
    }

    public void setA266(String a266) {
        this.a266 = a266;
    }

    public String getA267() {
        return a267;
    }

    public void setA267(String a267) {
        this.a267 = a267;
    }

    public String getA268() {
        return a268;
    }

    public void setA268(String a268) {
        this.a268 = a268;
    }

    public String getA269() {
        return a269;
    }

    public void setA269(String a269) {
        this.a269 = a269;
    }

    public String getA270() {
        return a270;
    }

    public void setA270(String a270) {
        this.a270 = a270;
    }

    public String getA271() {
        return a271;
    }

    public void setA271(String a271) {
        this.a271 = a271;
    }

    public String getA272() {
        return a272;
    }

    public void setA272(String a272) {
        this.a272 = a272;
    }

    public String getA273() {
        return a273;
    }

    public void setA273(String a273) {
        this.a273 = a273;
    }

    public String getA274() {
        return a274;
    }

    public void setA274(String a274) {
        this.a274 = a274;
    }

    public String getA275() {
        return a275;
    }

    public void setA275(String a275) {
        this.a275 = a275;
    }

    public String getA276() {
        return a276;
    }

    public void setA276(String a276) {
        this.a276 = a276;
    }

    public String getA277() {
        return a277;
    }

    public void setA277(String a277) {
        this.a277 = a277;
    }

    public String getA278() {
        return a278;
    }

    public void setA278(String a278) {
        this.a278 = a278;
    }

    public String getA279() {
        return a279;
    }

    public void setA279(String a279) {
        this.a279 = a279;
    }

    public String getA280() {
        return a280;
    }

    public void setA280(String a280) {
        this.a280 = a280;
    }

    public String getA281() {
        return a281;
    }

    public void setA281(String a281) {
        this.a281 = a281;
    }

    public String getA282() {
        return a282;
    }

    public void setA282(String a282) {
        this.a282 = a282;
    }

    public String getA283() {
        return a283;
    }

    public void setA283(String a283) {
        this.a283 = a283;
    }

    public String getA284() {
        return a284;
    }

    public void setA284(String a284) {
        this.a284 = a284;
    }

    public String getA285() {
        return a285;
    }

    public void setA285(String a285) {
        this.a285 = a285;
    }

    public String getA286() {
        return a286;
    }

    public void setA286(String a286) {
        this.a286 = a286;
    }

    public String getA287() {
        return a287;
    }

    public void setA287(String a287) {
        this.a287 = a287;
    }

    public String getA288() {
        return a288;
    }

    public void setA288(String a288) {
        this.a288 = a288;
    }

    public String getSection22i2() {
        return section22i2;
    }

    public void setSection22i2(String section22i2) {
        this.section22i2 = section22i2;
    }

    public String getSection22i3() {
        return section22i3;
    }

    public void setSection22i3(String section22i3) {
        this.section22i3 = section22i3;
    }

    public String getAshow() {
        return ashow;
    }

    public void setAshow(String ashow) {
        this.ashow = ashow;
    }

    public String getDisabletext1() {
        return disabletext1;
    }

    public void setDisabletext1(String disabletext1) {
        this.disabletext1 = disabletext1;
    }

    public String getLink0() {
        return link0;
    }

    public void setLink0(String link0) {
        this.link0 = link0;
    }

    public String getLink1() {
        return link1;
    }

    public void setLink1(String link1) {
        this.link1 = link1;
    }

    public String getLink2() {
        return link2;
    }

    public void setLink2(String link2) {
        this.link2 = link2;
    }

    public String getLink3() {
        return link3;
    }

    public void setLink3(String link3) {
        this.link3 = link3;
    }

    public String getLink4() {
        return link4;
    }

    public void setLink4(String link4) {
        this.link4 = link4;
    }

    public String getLink5() {
        return link5;
    }

    public void setLink5(String link5) {
        this.link5 = link5;
    }

    public String getLink6() {
        return link6;
    }

    public void setLink6(String link6) {
        this.link6 = link6;
    }

    public String getLink7() {
        return link7;
    }

    public void setLink7(String link7) {
        this.link7 = link7;
    }

    public String getText0() {
        return text0;
    }

    public void setText0(String text0) {
        this.text0 = text0;
    }

    public String getText1() {
        return text1;
    }

    public void setText1(String text1) {
        this.text1 = text1;
    }

    public String getText2() {
        return text2;
    }

    public void setText2(String text2) {
        this.text2 = text2;
    }

    public String getText3() {
        return text3;
    }

    public void setText3(String text3) {
        this.text3 = text3;
    }

    public String getText4() {
        return text4;
    }

    public void setText4(String text4) {
        this.text4 = text4;
    }

    public String getText5() {
        return text5;
    }

    public void setText5(String text5) {
        this.text5 = text5;
    }

    public String getText6() {
        return text6;
    }

    public void setText6(String text6) {
        this.text6 = text6;
    }

    public String getText7() {
        return text7;
    }

    public void setText7(String text7) {
        this.text7 = text7;
    }

    public String getV0() {
        return v0;
    }

    public void setV0(String v0) {
        this.v0 = v0;
    }

    public String getI0() {
        return i0;
    }

    public void setI0(String i0) {
        this.i0 = i0;
    }

    public String getC0() {
        return c0;
    }

    public void setC0(String c0) {
        this.c0 = c0;
    }

    public String getV1() {
        return v1;
    }

    public void setV1(String v1) {
        this.v1 = v1;
    }

    public String getI1() {
        return i1;
    }

    public void setI1(String i1) {
        this.i1 = i1;
    }

    public String getC1() {
        return c1;
    }

    public void setC1(String c1) {
        this.c1 = c1;
    }

    public String getV2() {
        return v2;
    }

    public void setV2(String v2) {
        this.v2 = v2;
    }

    public String getI2() {
        return i2;
    }

    public void setI2(String i2) {
        this.i2 = i2;
    }

    public String getC2() {
        return c2;
    }

    public void setC2(String c2) {
        this.c2 = c2;
    }

    public String getV3() {
        return v3;
    }

    public void setV3(String v3) {
        this.v3 = v3;
    }

    public String getI3() {
        return i3;
    }

    public void setI3(String i3) {
        this.i3 = i3;
    }

    public String getC3() {
        return c3;
    }

    public void setC3(String c3) {
        this.c3 = c3;
    }

    public String getV4() {
        return v4;
    }

    public void setV4(String v4) {
        this.v4 = v4;
    }

    public String getI4() {
        return i4;
    }

    public void setI4(String i4) {
        this.i4 = i4;
    }

    public String getC4() {
        return c4;
    }

    public void setC4(String c4) {
        this.c4 = c4;
    }

    public String getV5() {
        return v5;
    }

    public void setV5(String v5) {
        this.v5 = v5;
    }

    public String getI5() {
        return i5;
    }

    public void setI5(String i5) {
        this.i5 = i5;
    }

    public String getC5() {
        return c5;
    }

    public void setC5(String c5) {
        this.c5 = c5;
    }

    public String getV6() {
        return v6;
    }

    public void setV6(String v6) {
        this.v6 = v6;
    }

    public String getI6() {
        return i6;
    }

    public void setI6(String i6) {
        this.i6 = i6;
    }

    public String getC6() {
        return c6;
    }

    public void setC6(String c6) {
        this.c6 = c6;
    }

    public String getV7() {
        return v7;
    }

    public void setV7(String v7) {
        this.v7 = v7;
    }

    public String getI7() {
        return i7;
    }

    public void setI7(String i7) {
        this.i7 = i7;
    }

    public String getC7() {
        return c7;
    }

    public void setC7(String c7) {
        this.c7 = c7;
    }

    public String getA195Required() {
        return a195Required;
    }

    public void setA195Required(String required) {
        a195Required = required;
    }

    public String getA197Required() {
        return a197Required;
    }

    public void setA197Required(String required) {
        a197Required = required;
    }

    public String getCpvddd() {
        //MAINCPVFORCN
        java.lang.String cpvmaincode = (java.lang.String) org.ellectra.gui.utils.JSFUtils.retrieveOnSession(javax.faces.context.FacesContext.getCurrentInstance(), "MAINCPVFORCN");
        // use variables session here
        cpvddd = cpvmaincode;
        return cpvddd;
    }

    public void setCpvddd(String cpvddd) {
        this.cpvddd = cpvddd;
    }
    
    //private String szpath = "/Users/gpa/epp_forms/";
    private String filename;//="p1.xml";
    
    
    private String filenameToRead;
    private String language;
    private String mimeType;
    private String timestamp;

    private void formatFilename() {
        GetSessionVariables();
        GregorianCalendar nowDate = new GregorianCalendar();
        String DATE_FORMAT2 = "dd-MM-yyyy";
        java.text.SimpleDateFormat sdf2 = new java.text.SimpleDateFormat(DATE_FORMAT2);
        sdf2.setTimeZone(TimeZone.getDefault());
        String formattedDate = sdf2.format(nowDate.getTime());


        filename = "CN_" + mycalloftender + "_" + formattedDate + ".xml";
    }
    
    private XMLGregorianCalendar ConvertDateToXML(Date date) {

        try {
            String[] ids = TimeZone.getAvailableIDs(-8 * 60 * 60 * 1000);

            SimpleTimeZone pdt = new SimpleTimeZone(-8 * 60 * 60 * 1000, ids[0]);


            pdt.setStartRule(Calendar.APRIL, 1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);
            pdt.setEndRule(Calendar.OCTOBER, -1, Calendar.SUNDAY, 2 * 60 * 60 * 1000);


            GregorianCalendar gc = new GregorianCalendar(pdt);
            gc.setTime(date);

            XMLGregorianCalendar xmlCaltemp = DatatypeFactory.newInstance().newXMLGregorianCalendar(gc);
            return xmlCaltemp;
            
        } catch (DatatypeConfigurationException ex) {
            return null;
        }
    }

    public void saveInDatabase() {
        GetSessionVariables();

        queryCN();

        if (filenameToRead.length() < 1){
            try { // Call Web Service Operation
                org.ellectra.wscnmanager.ContractNoticeManagerPortType port = service_4.getContractNoticeManagerPort();
                // TODO initialize WS operation arguments here
                org.ellectra.wscnmanager.ContractNoticeManagerRequest part1 = new org.ellectra.wscnmanager.ContractNoticeManagerRequest();
                part1.setAction("ContractNotice_Create");
                part1.setActorSignature("123456");
                part1.setCallForTenderID(mycalloftender);
                part1.setDocumentStatus("APPROVED");
                part1.setFilename(filename);
                part1.setDescription("Contract_Notice");
                part1.setMimeType("TEXT_XML");
                part1.setLanguage("EN");
                Date nowDay = new Date();
                part1.setTimestamp(ConvertDateToXML(nowDay));
                // TODO process result here
                org.ellectra.wscnmanager.ContractNoticeManagerResponse result = port.contractNoticeManagerOperation(part1);
                System.out.println("Result saveInDatabase = " + result.getReturnMessage());
            } catch (Exception ex) {
                // TODO handle custom exceptions here
            }
        }

    }
    
       public void queryCN() {
       GetSessionVariables();
 
        try { // Call Web Service Operation
            org.ellectra.wscnmanager.ContractNoticeManagerPortType port = service_4.getContractNoticeManagerPort();
            // TODO initialize WS operation arguments here
            org.ellectra.wscnmanager.ContractNoticeManagerRequest part1 = new org.ellectra.wscnmanager.ContractNoticeManagerRequest();
            part1.setAction("ContractNotice_Query");
            part1.setActorSignature("123456");
            part1.setCallForTenderID(mycalloftender);
            
            // TODO process result here
            org.ellectra.wscnmanager.ContractNoticeManagerResponse result = port.contractNoticeManagerOperation(part1);
            if (result.isReturn()) {
                result.getCnID();
                result.getDescription();
                result.getDocumentStatus();
                setFilenameToRead(result.getFilename());
                setLanguage(result.getLanguage());
                if (result.getMimeType() != null)
                    setMimeType(result.getMimeType());
                else
                    setMimeType(" ");
                if (result.getTimestamp() != null) {
                    GregorianCalendar xmlCNsubmission = result.getTimestamp().toGregorianCalendar();
                    Date cnSubmissionDate = xmlCNsubmission.getTime();
                    setTimestamp(cnSubmissionDate.toString());
                }
            }
            else {
                setFilenameToRead("");
                setLanguage("");
                setMimeType("");
                setTimestamp("");
            }
            System.out.println("Result queryCN= " + result.getReturnMessage());
        } catch (Exception ex) {
            // TODO handle custom exceptions here
        }

    }
       
       public String editCN () {
           filename = (String) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("cnfilename");
            
           readmain();
           return "createcnform";
       }
       
// to read the elements from xml to variables
//	public  void main(String[] args) {
//		readmain();
//	}
// to write the variables into the xml file 
//public  static void main(String[] args) {
//		SaveResult(GetXMLHeaderCNForm()+GetMainXMLCNForm()+GetXMLFooterCNForm());
//	}	
    public String[] convertcsvstrtoarray(String dd) {
        String dd2[] = {"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""};
        dd2[0] = "1";
        dd2[1] = "1";
        int i = 0;
        int ifound = 0;
        ifound = dd.indexOf(",");
        System.out.println("Ifound = " + ifound);
        while (ifound != -1) {
            dd2[i] = dd.substring(0, ifound);
            dd = dd.substring(ifound + 1, dd.length());
            ifound = dd.indexOf(",");
            i = i + 1;
            System.out.println("Ifound inloop= " + ifound);
        }
        return dd2;
    }

    public Date Convertstrtodate(String Datedd) {
        if (Datedd.equalsIgnoreCase("NA")) {
            return null;
        //yyyyMMdd
        }
        @SuppressWarnings("unused")
        String dateString = Datedd;

        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
        Date convertedDate = null;
        try {
            convertedDate = dateFormat.parse(Datedd);
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            System.out.print("erro on str to date");
        }

        System.out.println("Converted string to date : " + convertedDate);
        return convertedDate;
    }

    public void readmain() {


        try {

            File file = new File(szpath + filename);
            DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
            DocumentBuilder db = dbf.newDocumentBuilder();
            Document doc = db.parse(file);

            doc.getDocumentElement().normalize();
            System.out.println("Root element " + doc.getDocumentElement().getNodeName());
            NodeList nodeLst = doc.getElementsByTagName("Record");
            //System.out.println("Information of DM Informations");

            for (int s = 0; s < nodeLst.getLength(); s++) {
                //rbhdmlist ditem = new rbhdmlist();
                Node fstNode = nodeLst.item(s);
                //System.out.println("Rank = "+fstNode.getAttributes().item(0).getNodeValue());
                //ditem.setRank(fstNode.getAttributes().item(0).getNodeValue());

                if (fstNode.getNodeType() == Node.ELEMENT_NODE) {


                    Element fstElmnt = (Element) fstNode;

                    NodeList lstNmElmntLst1 = fstElmnt.getElementsByTagName("contracttype");
                    Element lstNmElmnt1 = (Element) lstNmElmntLst1.item(0);
                    NodeList lstNm1 = lstNmElmnt1.getChildNodes();
                    System.out.println("contracttype : " + ((Node) lstNm1.item(0)).getNodeValue());
                    contracttype = ((Node) lstNm1.item(0)).getNodeValue();

                    NodeList lstNmElmntLst2 = fstElmnt.getElementsByTagName("proceduretype");
                    Element lstNmElmnt2 = (Element) lstNmElmntLst2.item(0);
                    NodeList lstNm2 = lstNmElmnt2.getChildNodes();
                    System.out.println("proceduretype : " + ((Node) lstNm2.item(0)).getNodeValue());
                    proceduretype = ((Node) lstNm2.item(0)).getNodeValue();

                    NodeList lstNmElmntLst3 = fstElmnt.getElementsByTagName("a1");
                    Element lstNmElmnt3 = (Element) lstNmElmntLst3.item(0);
                    NodeList lstNm3 = lstNmElmnt3.getChildNodes();
                    System.out.println("a1 : " + ((Node) lstNm3.item(0)).getNodeValue());
                    a1 = ((Node) lstNm3.item(0)).getNodeValue();

                    NodeList lstNmElmntLst4 = fstElmnt.getElementsByTagName("a2");
                    Element lstNmElmnt4 = (Element) lstNmElmntLst4.item(0);
                    NodeList lstNm4 = lstNmElmnt4.getChildNodes();
                    System.out.println("a2 : " + ((Node) lstNm4.item(0)).getNodeValue());
                    a2 = ((Node) lstNm4.item(0)).getNodeValue();

                    NodeList lstNmElmntLst5 = fstElmnt.getElementsByTagName("a3");
                    Element lstNmElmnt5 = (Element) lstNmElmntLst5.item(0);
                    NodeList lstNm5 = lstNmElmnt5.getChildNodes();
                    System.out.println("a3 : " + ((Node) lstNm5.item(0)).getNodeValue());
                    a3 = ((Node) lstNm5.item(0)).getNodeValue();

                    NodeList lstNmElmntLst6 = fstElmnt.getElementsByTagName("a4");
                    Element lstNmElmnt6 = (Element) lstNmElmntLst6.item(0);
                    NodeList lstNm6 = lstNmElmnt6.getChildNodes();
                    System.out.println("a4 : " + ((Node) lstNm6.item(0)).getNodeValue());
                    a4 = ((Node) lstNm6.item(0)).getNodeValue();

                    NodeList lstNmElmntLst7 = fstElmnt.getElementsByTagName("a5");
                    Element lstNmElmnt7 = (Element) lstNmElmntLst7.item(0);
                    NodeList lstNm7 = lstNmElmnt7.getChildNodes();
                    System.out.println("a5 : " + ((Node) lstNm7.item(0)).getNodeValue());
                    a5 = ((Node) lstNm7.item(0)).getNodeValue();

                    NodeList lstNmElmntLst8 = fstElmnt.getElementsByTagName("a6");
                    Element lstNmElmnt8 = (Element) lstNmElmntLst8.item(0);
                    NodeList lstNm8 = lstNmElmnt8.getChildNodes();
                    System.out.println("a6 : " + ((Node) lstNm8.item(0)).getNodeValue());
                    a6 = ((Node) lstNm8.item(0)).getNodeValue();

                    NodeList lstNmElmntLst9 = fstElmnt.getElementsByTagName("a7");
                    Element lstNmElmnt9 = (Element) lstNmElmntLst9.item(0);
                    NodeList lstNm9 = lstNmElmnt9.getChildNodes();
                    System.out.println("a7 : " + ((Node) lstNm9.item(0)).getNodeValue());
                    a7 = ((Node) lstNm9.item(0)).getNodeValue();

                    NodeList lstNmElmntLst10 = fstElmnt.getElementsByTagName("a8");
                    Element lstNmElmnt10 = (Element) lstNmElmntLst10.item(0);
                    NodeList lstNm10 = lstNmElmnt10.getChildNodes();
                    System.out.println("a8 : " + ((Node) lstNm10.item(0)).getNodeValue());
                    a8 = ((Node) lstNm10.item(0)).getNodeValue();

                    NodeList lstNmElmntLst11 = fstElmnt.getElementsByTagName("a9");
                    Element lstNmElmnt11 = (Element) lstNmElmntLst11.item(0);
                    NodeList lstNm11 = lstNmElmnt11.getChildNodes();
                    System.out.println("a9 : " + ((Node) lstNm11.item(0)).getNodeValue());
                    a9 = ((Node) lstNm11.item(0)).getNodeValue();

                    NodeList lstNmElmntLst12 = fstElmnt.getElementsByTagName("a10");
                    Element lstNmElmnt12 = (Element) lstNmElmntLst12.item(0);
                    NodeList lstNm12 = lstNmElmnt12.getChildNodes();
                    System.out.println("a10 : " + ((Node) lstNm12.item(0)).getNodeValue());
                    a10 = ((Node) lstNm12.item(0)).getNodeValue();

                    NodeList lstNmElmntLst13 = fstElmnt.getElementsByTagName("a11");
                    Element lstNmElmnt13 = (Element) lstNmElmntLst13.item(0);
                    NodeList lstNm13 = lstNmElmnt13.getChildNodes();
                    System.out.println("a11 : " + ((Node) lstNm13.item(0)).getNodeValue());
                    a11 = ((Node) lstNm13.item(0)).getNodeValue();

                    NodeList lstNmElmntLst14 = fstElmnt.getElementsByTagName("a12");
                    Element lstNmElmnt14 = (Element) lstNmElmntLst14.item(0);
                    NodeList lstNm14 = lstNmElmnt14.getChildNodes();
                    System.out.println("a12 : " + ((Node) lstNm14.item(0)).getNodeValue());
                    a12 = ((Node) lstNm14.item(0)).getNodeValue();

                    NodeList lstNmElmntLst15 = fstElmnt.getElementsByTagName("a13");
                    Element lstNmElmnt15 = (Element) lstNmElmntLst15.item(0);
                    NodeList lstNm15 = lstNmElmnt15.getChildNodes();
                    System.out.println("a13 : " + ((Node) lstNm15.item(0)).getNodeValue());
                    a13 = ((Node) lstNm15.item(0)).getNodeValue();

                    NodeList lstNmElmntLst16 = fstElmnt.getElementsByTagName("a14");
                    Element lstNmElmnt16 = (Element) lstNmElmntLst16.item(0);
                    NodeList lstNm16 = lstNmElmnt16.getChildNodes();
                    System.out.println("a14 : " + ((Node) lstNm16.item(0)).getNodeValue());
                    a14 = ((Node) lstNm16.item(0)).getNodeValue();

                    NodeList lstNmElmntLst17 = fstElmnt.getElementsByTagName("a15");
                    Element lstNmElmnt17 = (Element) lstNmElmntLst17.item(0);
                    NodeList lstNm17 = lstNmElmnt17.getChildNodes();
                    System.out.println("a15 : " + ((Node) lstNm17.item(0)).getNodeValue());
                    a15 = ((Node) lstNm17.item(0)).getNodeValue();

                    NodeList lstNmElmntLst18 = fstElmnt.getElementsByTagName("a16");
                    Element lstNmElmnt18 = (Element) lstNmElmntLst18.item(0);
                    NodeList lstNm18 = lstNmElmnt18.getChildNodes();
                    System.out.println("a16 : " + ((Node) lstNm18.item(0)).getNodeValue());
                    a16 = ((Node) lstNm18.item(0)).getNodeValue();

                    NodeList lstNmElmntLst19 = fstElmnt.getElementsByTagName("a17");
                    Element lstNmElmnt19 = (Element) lstNmElmntLst19.item(0);
                    NodeList lstNm19 = lstNmElmnt19.getChildNodes();
                    System.out.println("a17 : " + ((Node) lstNm19.item(0)).getNodeValue());
                    a17 = ((Node) lstNm19.item(0)).getNodeValue();

                    NodeList lstNmElmntLst20 = fstElmnt.getElementsByTagName("a18");
                    Element lstNmElmnt20 = (Element) lstNmElmntLst20.item(0);
                    NodeList lstNm20 = lstNmElmnt20.getChildNodes();
                    System.out.println("a18 : " + ((Node) lstNm20.item(0)).getNodeValue());
                    a18 = ((Node) lstNm20.item(0)).getNodeValue();

                    NodeList lstNmElmntLst21 = fstElmnt.getElementsByTagName("a19");
                    Element lstNmElmnt21 = (Element) lstNmElmntLst21.item(0);
                    NodeList lstNm21 = lstNmElmnt21.getChildNodes();
                    System.out.println("a19 : " + ((Node) lstNm21.item(0)).getNodeValue());
                    a19 = ((Node) lstNm21.item(0)).getNodeValue();

                    NodeList lstNmElmntLst22 = fstElmnt.getElementsByTagName("a20");
                    Element lstNmElmnt22 = (Element) lstNmElmntLst22.item(0);
                    NodeList lstNm22 = lstNmElmnt22.getChildNodes();
                    System.out.println("a20 : " + ((Node) lstNm22.item(0)).getNodeValue());
                    a20 = ((Node) lstNm22.item(0)).getNodeValue();

                    NodeList lstNmElmntLst23 = fstElmnt.getElementsByTagName("a21");
                    Element lstNmElmnt23 = (Element) lstNmElmntLst23.item(0);
                    NodeList lstNm23 = lstNmElmnt23.getChildNodes();
                    System.out.println("a21 : " + ((Node) lstNm23.item(0)).getNodeValue());
                    a21 = ((Node) lstNm23.item(0)).getNodeValue();

                    NodeList lstNmElmntLst24 = fstElmnt.getElementsByTagName("a22");
                    Element lstNmElmnt24 = (Element) lstNmElmntLst24.item(0);
                    NodeList lstNm24 = lstNmElmnt24.getChildNodes();
                    System.out.println("a22 : " + ((Node) lstNm24.item(0)).getNodeValue());
                    a22 = ((Node) lstNm24.item(0)).getNodeValue();

                    NodeList lstNmElmntLst25 = fstElmnt.getElementsByTagName("a23");
                    Element lstNmElmnt25 = (Element) lstNmElmntLst25.item(0);
                    NodeList lstNm25 = lstNmElmnt25.getChildNodes();
                    System.out.println("a23 : " + ((Node) lstNm25.item(0)).getNodeValue());
                    a23 = ((Node) lstNm25.item(0)).getNodeValue();

                    NodeList lstNmElmntLst26 = fstElmnt.getElementsByTagName("a24");
                    Element lstNmElmnt26 = (Element) lstNmElmntLst26.item(0);
                    NodeList lstNm26 = lstNmElmnt26.getChildNodes();
                    System.out.println("a24 : " + ((Node) lstNm26.item(0)).getNodeValue());
                    a24 = ((Node) lstNm26.item(0)).getNodeValue();

                    NodeList lstNmElmntLst27 = fstElmnt.getElementsByTagName("a25");
                    Element lstNmElmnt27 = (Element) lstNmElmntLst27.item(0);
                    NodeList lstNm27 = lstNmElmnt27.getChildNodes();
                    System.out.println("a25 : " + ((Node) lstNm27.item(0)).getNodeValue());
                    a25 = ((Node) lstNm27.item(0)).getNodeValue();

                    NodeList lstNmElmntLst28 = fstElmnt.getElementsByTagName("a26");
                    Element lstNmElmnt28 = (Element) lstNmElmntLst28.item(0);
                    NodeList lstNm28 = lstNmElmnt28.getChildNodes();
                    System.out.println("a26 : " + ((Node) lstNm28.item(0)).getNodeValue());
                    a26 = ((Node) lstNm28.item(0)).getNodeValue();

                    NodeList lstNmElmntLst29 = fstElmnt.getElementsByTagName("a27");
                    Element lstNmElmnt29 = (Element) lstNmElmntLst29.item(0);
                    NodeList lstNm29 = lstNmElmnt29.getChildNodes();
                    System.out.println("a27 : " + ((Node) lstNm29.item(0)).getNodeValue());
                    a27 = ((Node) lstNm29.item(0)).getNodeValue();

                    NodeList lstNmElmntLst30 = fstElmnt.getElementsByTagName("a28");
                    Element lstNmElmnt30 = (Element) lstNmElmntLst30.item(0);
                    NodeList lstNm30 = lstNmElmnt30.getChildNodes();
                    System.out.println("a28 : " + ((Node) lstNm30.item(0)).getNodeValue());
                    a28 = ((Node) lstNm30.item(0)).getNodeValue();

                    NodeList lstNmElmntLst31 = fstElmnt.getElementsByTagName("a29");
                    Element lstNmElmnt31 = (Element) lstNmElmntLst31.item(0);
                    NodeList lstNm31 = lstNmElmnt31.getChildNodes();
                    System.out.println("a29 : " + ((Node) lstNm31.item(0)).getNodeValue());
                    a29 = ((Node) lstNm31.item(0)).getNodeValue();

                    NodeList lstNmElmntLst32 = fstElmnt.getElementsByTagName("a30");
                    Element lstNmElmnt32 = (Element) lstNmElmntLst32.item(0);
                    NodeList lstNm32 = lstNmElmnt32.getChildNodes();
                    System.out.println("a30 : " + ((Node) lstNm32.item(0)).getNodeValue());
                    a30 = ((Node) lstNm32.item(0)).getNodeValue();

                    NodeList lstNmElmntLst33 = fstElmnt.getElementsByTagName("a31");
                    Element lstNmElmnt33 = (Element) lstNmElmntLst33.item(0);
                    NodeList lstNm33 = lstNmElmnt33.getChildNodes();
                    System.out.println("a31 : " + ((Node) lstNm33.item(0)).getNodeValue());
                    a31 = ((Node) lstNm33.item(0)).getNodeValue();

                    NodeList lstNmElmntLst34 = fstElmnt.getElementsByTagName("a32");
                    Element lstNmElmnt34 = (Element) lstNmElmntLst34.item(0);
                    NodeList lstNm34 = lstNmElmnt34.getChildNodes();
                    System.out.println("a32 : " + ((Node) lstNm34.item(0)).getNodeValue());
                    a32 = ((Node) lstNm34.item(0)).getNodeValue();

                    NodeList lstNmElmntLst35 = fstElmnt.getElementsByTagName("a33");
                    Element lstNmElmnt35 = (Element) lstNmElmntLst35.item(0);
                    NodeList lstNm35 = lstNmElmnt35.getChildNodes();
                    System.out.println("a33 : " + ((Node) lstNm35.item(0)).getNodeValue());
                    a33 = ((Node) lstNm35.item(0)).getNodeValue();

                    NodeList lstNmElmntLst36 = fstElmnt.getElementsByTagName("a34");
                    Element lstNmElmnt36 = (Element) lstNmElmntLst36.item(0);
                    NodeList lstNm36 = lstNmElmnt36.getChildNodes();
                    System.out.println("a34 : " + ((Node) lstNm36.item(0)).getNodeValue());
                    a34 = ((Node) lstNm36.item(0)).getNodeValue();

                    NodeList lstNmElmntLst37 = fstElmnt.getElementsByTagName("a35");
                    Element lstNmElmnt37 = (Element) lstNmElmntLst37.item(0);
                    NodeList lstNm37 = lstNmElmnt37.getChildNodes();
                    System.out.println("a35 : " + ((Node) lstNm37.item(0)).getNodeValue());
                    a35 = ((Node) lstNm37.item(0)).getNodeValue();

                    NodeList lstNmElmntLst38 = fstElmnt.getElementsByTagName("a36");
                    Element lstNmElmnt38 = (Element) lstNmElmntLst38.item(0);
                    NodeList lstNm38 = lstNmElmnt38.getChildNodes();
                    System.out.println("a36 : " + ((Node) lstNm38.item(0)).getNodeValue());
                    a36 = ((Node) lstNm38.item(0)).getNodeValue();

                    NodeList lstNmElmntLst39 = fstElmnt.getElementsByTagName("a37");
                    Element lstNmElmnt39 = (Element) lstNmElmntLst39.item(0);
                    NodeList lstNm39 = lstNmElmnt39.getChildNodes();
                    System.out.println("a37 : " + ((Node) lstNm39.item(0)).getNodeValue());
                    a37 = ((Node) lstNm39.item(0)).getNodeValue();

                    NodeList lstNmElmntLst40 = fstElmnt.getElementsByTagName("a38");
                    Element lstNmElmnt40 = (Element) lstNmElmntLst40.item(0);
                    NodeList lstNm40 = lstNmElmnt40.getChildNodes();
                    System.out.println("a38 : " + ((Node) lstNm40.item(0)).getNodeValue());
                    a38 = ((Node) lstNm40.item(0)).getNodeValue();

                    NodeList lstNmElmntLst41 = fstElmnt.getElementsByTagName("a39");
                    Element lstNmElmnt41 = (Element) lstNmElmntLst41.item(0);
                    NodeList lstNm41 = lstNmElmnt41.getChildNodes();
                    System.out.println("a39 : " + ((Node) lstNm41.item(0)).getNodeValue());
                    a39 = ((Node) lstNm41.item(0)).getNodeValue();

                    NodeList lstNmElmntLst42 = fstElmnt.getElementsByTagName("a40");
                    Element lstNmElmnt42 = (Element) lstNmElmntLst42.item(0);
                    NodeList lstNm42 = lstNmElmnt42.getChildNodes();
                    System.out.println("a40 : " + ((Node) lstNm42.item(0)).getNodeValue());
                    a40 = ((Node) lstNm42.item(0)).getNodeValue();

                    NodeList lstNmElmntLst43 = fstElmnt.getElementsByTagName("a41");
                    Element lstNmElmnt43 = (Element) lstNmElmntLst43.item(0);
                    NodeList lstNm43 = lstNmElmnt43.getChildNodes();
                    System.out.println("a41 : " + ((Node) lstNm43.item(0)).getNodeValue());
                    a41 = ((Node) lstNm43.item(0)).getNodeValue();

                    NodeList lstNmElmntLst44 = fstElmnt.getElementsByTagName("a42");
                    Element lstNmElmnt44 = (Element) lstNmElmntLst44.item(0);
                    NodeList lstNm44 = lstNmElmnt44.getChildNodes();
                    System.out.println("a42 : " + ((Node) lstNm44.item(0)).getNodeValue());
                    a42 = ((Node) lstNm44.item(0)).getNodeValue();

                    NodeList lstNmElmntLst45 = fstElmnt.getElementsByTagName("a43");
                    Element lstNmElmnt45 = (Element) lstNmElmntLst45.item(0);
                    NodeList lstNm45 = lstNmElmnt45.getChildNodes();
                    System.out.println("a43 : " + ((Node) lstNm45.item(0)).getNodeValue());
                    a43 = ((Node) lstNm45.item(0)).getNodeValue();

                    NodeList lstNmElmntLst46 = fstElmnt.getElementsByTagName("a44");
                    Element lstNmElmnt46 = (Element) lstNmElmntLst46.item(0);
                    NodeList lstNm46 = lstNmElmnt46.getChildNodes();
                    System.out.println("a44 : " + ((Node) lstNm46.item(0)).getNodeValue());
                    a44 = ((Node) lstNm46.item(0)).getNodeValue();

                    NodeList lstNmElmntLst47 = fstElmnt.getElementsByTagName("a45");
                    Element lstNmElmnt47 = (Element) lstNmElmntLst47.item(0);
                    NodeList lstNm47 = lstNmElmnt47.getChildNodes();
                    System.out.println("a45 : " + ((Node) lstNm47.item(0)).getNodeValue());
                    a45 = ((Node) lstNm47.item(0)).getNodeValue();

                    NodeList lstNmElmntLst48 = fstElmnt.getElementsByTagName("a46");
                    Element lstNmElmnt48 = (Element) lstNmElmntLst48.item(0);
                    NodeList lstNm48 = lstNmElmnt48.getChildNodes();
                    System.out.println("a46 : " + ((Node) lstNm48.item(0)).getNodeValue());
                    a46 = ((Node) lstNm48.item(0)).getNodeValue();

                    NodeList lstNmElmntLst49 = fstElmnt.getElementsByTagName("a47");
                    Element lstNmElmnt49 = (Element) lstNmElmntLst49.item(0);
                    NodeList lstNm49 = lstNmElmnt49.getChildNodes();
                    System.out.println("a47 : " + ((Node) lstNm49.item(0)).getNodeValue());
                    a47 = ((Node) lstNm49.item(0)).getNodeValue();

                    NodeList lstNmElmntLst50 = fstElmnt.getElementsByTagName("a48");
                    Element lstNmElmnt50 = (Element) lstNmElmntLst50.item(0);
                    NodeList lstNm50 = lstNmElmnt50.getChildNodes();
                    System.out.println("a48 : " + ((Node) lstNm50.item(0)).getNodeValue());
                    a48 = ((Node) lstNm50.item(0)).getNodeValue();

                    NodeList lstNmElmntLst51 = fstElmnt.getElementsByTagName("a49");
                    Element lstNmElmnt51 = (Element) lstNmElmntLst51.item(0);
                    NodeList lstNm51 = lstNmElmnt51.getChildNodes();
                    System.out.println("a49 : " + ((Node) lstNm51.item(0)).getNodeValue());
                    a49 = ((Node) lstNm51.item(0)).getNodeValue();

                    NodeList lstNmElmntLst52 = fstElmnt.getElementsByTagName("a50");
                    Element lstNmElmnt52 = (Element) lstNmElmntLst52.item(0);
                    NodeList lstNm52 = lstNmElmnt52.getChildNodes();
                    System.out.println("a50 : " + ((Node) lstNm52.item(0)).getNodeValue());
                    a50 = ((Node) lstNm52.item(0)).getNodeValue();

                    NodeList lstNmElmntLst53 = fstElmnt.getElementsByTagName("a51");
                    Element lstNmElmnt53 = (Element) lstNmElmntLst53.item(0);
                    NodeList lstNm53 = lstNmElmnt53.getChildNodes();
                    System.out.println("a51 : " + ((Node) lstNm53.item(0)).getNodeValue());
                    a51 = ((Node) lstNm53.item(0)).getNodeValue();

                    NodeList lstNmElmntLst54 = fstElmnt.getElementsByTagName("a52");
                    Element lstNmElmnt54 = (Element) lstNmElmntLst54.item(0);
                    NodeList lstNm54 = lstNmElmnt54.getChildNodes();
                    System.out.println("a52 : " + ((Node) lstNm54.item(0)).getNodeValue());
                    a52 = ((Node) lstNm54.item(0)).getNodeValue();

                    NodeList lstNmElmntLst55 = fstElmnt.getElementsByTagName("a53");
                    Element lstNmElmnt55 = (Element) lstNmElmntLst55.item(0);
                    NodeList lstNm55 = lstNmElmnt55.getChildNodes();
                    System.out.println("a53 : " + ((Node) lstNm55.item(0)).getNodeValue());
                    a53 = ((Node) lstNm55.item(0)).getNodeValue();

                    NodeList lstNmElmntLst56 = fstElmnt.getElementsByTagName("a54");
                    Element lstNmElmnt56 = (Element) lstNmElmntLst56.item(0);
                    NodeList lstNm56 = lstNmElmnt56.getChildNodes();
                    System.out.println("a54 : " + ((Node) lstNm56.item(0)).getNodeValue());
                    a54 = ((Node) lstNm56.item(0)).getNodeValue();

                    NodeList lstNmElmntLst57 = fstElmnt.getElementsByTagName("a55");
                    Element lstNmElmnt57 = (Element) lstNmElmntLst57.item(0);
                    NodeList lstNm57 = lstNmElmnt57.getChildNodes();
                    System.out.println("a55 : " + ((Node) lstNm57.item(0)).getNodeValue());
                    a55 = ((Node) lstNm57.item(0)).getNodeValue();

                    NodeList lstNmElmntLst58 = fstElmnt.getElementsByTagName("a56");
                    Element lstNmElmnt58 = (Element) lstNmElmntLst58.item(0);
                    NodeList lstNm58 = lstNmElmnt58.getChildNodes();
                    System.out.println("a56 : " + ((Node) lstNm58.item(0)).getNodeValue());
                    a56 = ((Node) lstNm58.item(0)).getNodeValue();

                    NodeList lstNmElmntLst59 = fstElmnt.getElementsByTagName("a57");
                    Element lstNmElmnt59 = (Element) lstNmElmntLst59.item(0);
                    NodeList lstNm59 = lstNmElmnt59.getChildNodes();
                    System.out.println("a57 : " + ((Node) lstNm59.item(0)).getNodeValue());
                    a57 = ((Node) lstNm59.item(0)).getNodeValue();

                    NodeList lstNmElmntLst60 = fstElmnt.getElementsByTagName("a58");
                    Element lstNmElmnt60 = (Element) lstNmElmntLst60.item(0);
                    NodeList lstNm60 = lstNmElmnt60.getChildNodes();
                    System.out.println("a58 : " + ((Node) lstNm60.item(0)).getNodeValue());
                    a58 = ((Node) lstNm60.item(0)).getNodeValue();

                    NodeList lstNmElmntLst61 = fstElmnt.getElementsByTagName("a59");
                    Element lstNmElmnt61 = (Element) lstNmElmntLst61.item(0);
                    NodeList lstNm61 = lstNmElmnt61.getChildNodes();
                    System.out.println("a59 : " + ((Node) lstNm61.item(0)).getNodeValue());
                    a59 = ((Node) lstNm61.item(0)).getNodeValue();

                    NodeList lstNmElmntLst62 = fstElmnt.getElementsByTagName("a60");
                    Element lstNmElmnt62 = (Element) lstNmElmntLst62.item(0);
                    NodeList lstNm62 = lstNmElmnt62.getChildNodes();
                    System.out.println("a60 : " + ((Node) lstNm62.item(0)).getNodeValue());
                    a60 = ((Node) lstNm62.item(0)).getNodeValue();

                    NodeList lstNmElmntLst63 = fstElmnt.getElementsByTagName("a61");
                    Element lstNmElmnt63 = (Element) lstNmElmntLst63.item(0);
                    NodeList lstNm63 = lstNmElmnt63.getChildNodes();
                    System.out.println("a61 : " + ((Node) lstNm63.item(0)).getNodeValue());
                    a61 = ((Node) lstNm63.item(0)).getNodeValue();

                    NodeList lstNmElmntLst64 = fstElmnt.getElementsByTagName("a62");
                    Element lstNmElmnt64 = (Element) lstNmElmntLst64.item(0);
                    NodeList lstNm64 = lstNmElmnt64.getChildNodes();
                    System.out.println("a62 : " + ((Node) lstNm64.item(0)).getNodeValue());
                    a62 = ((Node) lstNm64.item(0)).getNodeValue();

                    NodeList lstNmElmntLst65 = fstElmnt.getElementsByTagName("a63");
                    Element lstNmElmnt65 = (Element) lstNmElmntLst65.item(0);
                    NodeList lstNm65 = lstNmElmnt65.getChildNodes();
                    System.out.println("a63 : " + ((Node) lstNm65.item(0)).getNodeValue());
                    a63 = ((Node) lstNm65.item(0)).getNodeValue();

                    NodeList lstNmElmntLst66 = fstElmnt.getElementsByTagName("a64");
                    Element lstNmElmnt66 = (Element) lstNmElmntLst66.item(0);
                    NodeList lstNm66 = lstNmElmnt66.getChildNodes();
                    System.out.println("a64 : " + ((Node) lstNm66.item(0)).getNodeValue());
                    a64 = ((Node) lstNm66.item(0)).getNodeValue();

                    NodeList lstNmElmntLst67 = fstElmnt.getElementsByTagName("a65");
                    Element lstNmElmnt67 = (Element) lstNmElmntLst67.item(0);
                    NodeList lstNm67 = lstNmElmnt67.getChildNodes();
                    System.out.println("a65 : " + ((Node) lstNm67.item(0)).getNodeValue());
                    a65 = ((Node) lstNm67.item(0)).getNodeValue();

                    NodeList lstNmElmntLst68 = fstElmnt.getElementsByTagName("a66");
                    Element lstNmElmnt68 = (Element) lstNmElmntLst68.item(0);
                    NodeList lstNm68 = lstNmElmnt68.getChildNodes();
                    System.out.println("a66 : " + ((Node) lstNm68.item(0)).getNodeValue());
                    a66 = ((Node) lstNm68.item(0)).getNodeValue();

                    NodeList lstNmElmntLst69 = fstElmnt.getElementsByTagName("a67");
                    Element lstNmElmnt69 = (Element) lstNmElmntLst69.item(0);
                    NodeList lstNm69 = lstNmElmnt69.getChildNodes();
                    System.out.println("a67 : " + ((Node) lstNm69.item(0)).getNodeValue());
                    a67 = ((Node) lstNm69.item(0)).getNodeValue();

                    NodeList lstNmElmntLst70 = fstElmnt.getElementsByTagName("a68");
                    Element lstNmElmnt70 = (Element) lstNmElmntLst70.item(0);
                    NodeList lstNm70 = lstNmElmnt70.getChildNodes();
                    System.out.println("a68 : " + ((Node) lstNm70.item(0)).getNodeValue());
                    a68 = ((Node) lstNm70.item(0)).getNodeValue();

                    NodeList lstNmElmntLst71 = fstElmnt.getElementsByTagName("a69");
                    Element lstNmElmnt71 = (Element) lstNmElmntLst71.item(0);
                    NodeList lstNm71 = lstNmElmnt71.getChildNodes();
                    System.out.println("a69 : " + ((Node) lstNm71.item(0)).getNodeValue());
                    a69 = ((Node) lstNm71.item(0)).getNodeValue();

                    NodeList lstNmElmntLst72 = fstElmnt.getElementsByTagName("a70");
                    Element lstNmElmnt72 = (Element) lstNmElmntLst72.item(0);
                    NodeList lstNm72 = lstNmElmnt72.getChildNodes();
                    System.out.println("a70 : " + ((Node) lstNm72.item(0)).getNodeValue());
                    a70 = ((Node) lstNm72.item(0)).getNodeValue();

                    NodeList lstNmElmntLst73 = fstElmnt.getElementsByTagName("a71");
                    Element lstNmElmnt73 = (Element) lstNmElmntLst73.item(0);
                    NodeList lstNm73 = lstNmElmnt73.getChildNodes();
                    System.out.println("a71 : " + ((Node) lstNm73.item(0)).getNodeValue());
                    a71 = ((Node) lstNm73.item(0)).getNodeValue();

                    NodeList lstNmElmntLst74 = fstElmnt.getElementsByTagName("a72");
                    Element lstNmElmnt74 = (Element) lstNmElmntLst74.item(0);
                    NodeList lstNm74 = lstNmElmnt74.getChildNodes();
                    System.out.println("a72 : " + ((Node) lstNm74.item(0)).getNodeValue());
                    a72 = ((Node) lstNm74.item(0)).getNodeValue();

                    NodeList lstNmElmntLst75 = fstElmnt.getElementsByTagName("a73");
                    Element lstNmElmnt75 = (Element) lstNmElmntLst75.item(0);
                    NodeList lstNm75 = lstNmElmnt75.getChildNodes();
                    System.out.println("a73 : " + ((Node) lstNm75.item(0)).getNodeValue());
                    a73 = ((Node) lstNm75.item(0)).getNodeValue();

                    NodeList lstNmElmntLst76 = fstElmnt.getElementsByTagName("a74");
                    Element lstNmElmnt76 = (Element) lstNmElmntLst76.item(0);
                    NodeList lstNm76 = lstNmElmnt76.getChildNodes();
                    System.out.println("a74 : " + ((Node) lstNm76.item(0)).getNodeValue());
                    a74 = ((Node) lstNm76.item(0)).getNodeValue();

                    NodeList lstNmElmntLst77 = fstElmnt.getElementsByTagName("a75");
                    Element lstNmElmnt77 = (Element) lstNmElmntLst77.item(0);
                    NodeList lstNm77 = lstNmElmnt77.getChildNodes();
                    System.out.println("a75 : " + ((Node) lstNm77.item(0)).getNodeValue());
                    a75 = ((Node) lstNm77.item(0)).getNodeValue();

                    NodeList lstNmElmntLst78 = fstElmnt.getElementsByTagName("a76");
                    Element lstNmElmnt78 = (Element) lstNmElmntLst78.item(0);
                    NodeList lstNm78 = lstNmElmnt78.getChildNodes();
                    System.out.println("a76 : " + ((Node) lstNm78.item(0)).getNodeValue());
                    a76 = ((Node) lstNm78.item(0)).getNodeValue();

                    NodeList lstNmElmntLst79 = fstElmnt.getElementsByTagName("a77");
                    Element lstNmElmnt79 = (Element) lstNmElmntLst79.item(0);
                    NodeList lstNm79 = lstNmElmnt79.getChildNodes();
                    System.out.println("a77 : " + ((Node) lstNm79.item(0)).getNodeValue());
                    a77 = ((Node) lstNm79.item(0)).getNodeValue();

                    NodeList lstNmElmntLst80 = fstElmnt.getElementsByTagName("a78");
                    Element lstNmElmnt80 = (Element) lstNmElmntLst80.item(0);
                    NodeList lstNm80 = lstNmElmnt80.getChildNodes();
                    System.out.println("a78 : " + ((Node) lstNm80.item(0)).getNodeValue());
                    a78 = ((Node) lstNm80.item(0)).getNodeValue();

                    NodeList lstNmElmntLst81 = fstElmnt.getElementsByTagName("a79");
                    Element lstNmElmnt81 = (Element) lstNmElmntLst81.item(0);
                    NodeList lstNm81 = lstNmElmnt81.getChildNodes();
                    System.out.println("a79 : " + ((Node) lstNm81.item(0)).getNodeValue());
                    a79 = ((Node) lstNm81.item(0)).getNodeValue();

                    NodeList lstNmElmntLst82 = fstElmnt.getElementsByTagName("a80");
                    Element lstNmElmnt82 = (Element) lstNmElmntLst82.item(0);
                    NodeList lstNm82 = lstNmElmnt82.getChildNodes();
                    System.out.println("a80 : " + ((Node) lstNm82.item(0)).getNodeValue());
                    a80 = ((Node) lstNm82.item(0)).getNodeValue();

                    NodeList lstNmElmntLst83 = fstElmnt.getElementsByTagName("a81");
                    Element lstNmElmnt83 = (Element) lstNmElmntLst83.item(0);
                    NodeList lstNm83 = lstNmElmnt83.getChildNodes();
                    System.out.println("a81 : " + ((Node) lstNm83.item(0)).getNodeValue());
                    a81 = ((Node) lstNm83.item(0)).getNodeValue();

                    NodeList lstNmElmntLst84 = fstElmnt.getElementsByTagName("a82");
                    Element lstNmElmnt84 = (Element) lstNmElmntLst84.item(0);
                    NodeList lstNm84 = lstNmElmnt84.getChildNodes();
                    System.out.println("a82 : " + ((Node) lstNm84.item(0)).getNodeValue());
                    a82 = ((Node) lstNm84.item(0)).getNodeValue();

                    NodeList lstNmElmntLst85 = fstElmnt.getElementsByTagName("a83");
                    Element lstNmElmnt85 = (Element) lstNmElmntLst85.item(0);
                    NodeList lstNm85 = lstNmElmnt85.getChildNodes();
                    System.out.println("a83 : " + ((Node) lstNm85.item(0)).getNodeValue());
                    a83 = ((Node) lstNm85.item(0)).getNodeValue();

                    NodeList lstNmElmntLst86 = fstElmnt.getElementsByTagName("a84");
                    Element lstNmElmnt86 = (Element) lstNmElmntLst86.item(0);
                    NodeList lstNm86 = lstNmElmnt86.getChildNodes();
                    System.out.println("a84 : " + ((Node) lstNm86.item(0)).getNodeValue());
                    a84 = ((Node) lstNm86.item(0)).getNodeValue();

                    NodeList lstNmElmntLst87 = fstElmnt.getElementsByTagName("a85");
                    Element lstNmElmnt87 = (Element) lstNmElmntLst87.item(0);
                    NodeList lstNm87 = lstNmElmnt87.getChildNodes();
                    System.out.println("a85 : " + ((Node) lstNm87.item(0)).getNodeValue());
                    a85 = ((Node) lstNm87.item(0)).getNodeValue();

                    NodeList lstNmElmntLst88 = fstElmnt.getElementsByTagName("a86");
                    Element lstNmElmnt88 = (Element) lstNmElmntLst88.item(0);
                    NodeList lstNm88 = lstNmElmnt88.getChildNodes();
                    System.out.println("a86 : " + ((Node) lstNm88.item(0)).getNodeValue());
                    a86 = ((Node) lstNm88.item(0)).getNodeValue();

                    NodeList lstNmElmntLst89 = fstElmnt.getElementsByTagName("a87");
                    Element lstNmElmnt89 = (Element) lstNmElmntLst89.item(0);
                    NodeList lstNm89 = lstNmElmnt89.getChildNodes();
                    System.out.println("a87 : " + ((Node) lstNm89.item(0)).getNodeValue());
                    a87 = ((Node) lstNm89.item(0)).getNodeValue();

                    NodeList lstNmElmntLst90 = fstElmnt.getElementsByTagName("a88");
                    Element lstNmElmnt90 = (Element) lstNmElmntLst90.item(0);
                    NodeList lstNm90 = lstNmElmnt90.getChildNodes();
                    System.out.println("a88 : " + ((Node) lstNm90.item(0)).getNodeValue());
                    a88 = ((Node) lstNm90.item(0)).getNodeValue();

                    NodeList lstNmElmntLst91 = fstElmnt.getElementsByTagName("a89");
                    Element lstNmElmnt91 = (Element) lstNmElmntLst91.item(0);
                    NodeList lstNm91 = lstNmElmnt91.getChildNodes();
                    System.out.println("a89 : " + ((Node) lstNm91.item(0)).getNodeValue());
                    a89 = ((Node) lstNm91.item(0)).getNodeValue();

                    NodeList lstNmElmntLst92 = fstElmnt.getElementsByTagName("a90");
                    Element lstNmElmnt92 = (Element) lstNmElmntLst92.item(0);
                    NodeList lstNm92 = lstNmElmnt92.getChildNodes();
                    System.out.println("a90 : " + ((Node) lstNm92.item(0)).getNodeValue());
                    a90 = ((Node) lstNm92.item(0)).getNodeValue();

                    NodeList lstNmElmntLst93 = fstElmnt.getElementsByTagName("a91");
                    Element lstNmElmnt93 = (Element) lstNmElmntLst93.item(0);
                    NodeList lstNm93 = lstNmElmnt93.getChildNodes();
                    System.out.println("a91 : " + ((Node) lstNm93.item(0)).getNodeValue());
                    a91 = ((Node) lstNm93.item(0)).getNodeValue();

                    NodeList lstNmElmntLst94 = fstElmnt.getElementsByTagName("a92");
                    Element lstNmElmnt94 = (Element) lstNmElmntLst94.item(0);
                    NodeList lstNm94 = lstNmElmnt94.getChildNodes();
                    System.out.println("a92 : " + ((Node) lstNm94.item(0)).getNodeValue());
                    a92 = ((Node) lstNm94.item(0)).getNodeValue();

                    NodeList lstNmElmntLst95 = fstElmnt.getElementsByTagName("a93");
                    Element lstNmElmnt95 = (Element) lstNmElmntLst95.item(0);
                    NodeList lstNm95 = lstNmElmnt95.getChildNodes();
                    System.out.println("a93 : " + ((Node) lstNm95.item(0)).getNodeValue());
                    a93 = ((Node) lstNm95.item(0)).getNodeValue();

                    NodeList lstNmElmntLst96 = fstElmnt.getElementsByTagName("a94");
                    Element lstNmElmnt96 = (Element) lstNmElmntLst96.item(0);
                    NodeList lstNm96 = lstNmElmnt96.getChildNodes();
                    System.out.println("a94 : " + ((Node) lstNm96.item(0)).getNodeValue());
                    a94 = ((Node) lstNm96.item(0)).getNodeValue();

                    NodeList lstNmElmntLst97 = fstElmnt.getElementsByTagName("a95");
                    Element lstNmElmnt97 = (Element) lstNmElmntLst97.item(0);
                    NodeList lstNm97 = lstNmElmnt97.getChildNodes();
                    System.out.println("a95 : " + ((Node) lstNm97.item(0)).getNodeValue());
                    a95 = ((Node) lstNm97.item(0)).getNodeValue();

                    NodeList lstNmElmntLst98 = fstElmnt.getElementsByTagName("a96");
                    Element lstNmElmnt98 = (Element) lstNmElmntLst98.item(0);
                    NodeList lstNm98 = lstNmElmnt98.getChildNodes();
                    System.out.println("a96 : " + ((Node) lstNm98.item(0)).getNodeValue());
                    a96 = ((Node) lstNm98.item(0)).getNodeValue();

                    NodeList lstNmElmntLst99 = fstElmnt.getElementsByTagName("a97");
                    Element lstNmElmnt99 = (Element) lstNmElmntLst99.item(0);
                    NodeList lstNm99 = lstNmElmnt99.getChildNodes();
                    System.out.println("a97 : " + ((Node) lstNm99.item(0)).getNodeValue());
                    a97 = ((Node) lstNm99.item(0)).getNodeValue();

                    NodeList lstNmElmntLst100 = fstElmnt.getElementsByTagName("a98");
                    Element lstNmElmnt100 = (Element) lstNmElmntLst100.item(0);
                    NodeList lstNm100 = lstNmElmnt100.getChildNodes();
                    System.out.println("a98 : " + ((Node) lstNm100.item(0)).getNodeValue());
                    a98 = ((Node) lstNm100.item(0)).getNodeValue();

                    NodeList lstNmElmntLst101 = fstElmnt.getElementsByTagName("a99");
                    Element lstNmElmnt101 = (Element) lstNmElmntLst101.item(0);
                    NodeList lstNm101 = lstNmElmnt101.getChildNodes();
                    System.out.println("a99 : " + ((Node) lstNm101.item(0)).getNodeValue());
                    a99 = ((Node) lstNm101.item(0)).getNodeValue();

                    NodeList lstNmElmntLst102 = fstElmnt.getElementsByTagName("a100");
                    Element lstNmElmnt102 = (Element) lstNmElmntLst102.item(0);
                    NodeList lstNm102 = lstNmElmnt102.getChildNodes();
                    System.out.println("a100 : " + ((Node) lstNm102.item(0)).getNodeValue());
                    a100 = ((Node) lstNm102.item(0)).getNodeValue();

                    NodeList lstNmElmntLst103 = fstElmnt.getElementsByTagName("a101");
                    Element lstNmElmnt103 = (Element) lstNmElmntLst103.item(0);
                    NodeList lstNm103 = lstNmElmnt103.getChildNodes();
                    System.out.println("a101 : " + ((Node) lstNm103.item(0)).getNodeValue());
                    a101 = ((Node) lstNm103.item(0)).getNodeValue();

                    NodeList lstNmElmntLst104 = fstElmnt.getElementsByTagName("a102");
                    Element lstNmElmnt104 = (Element) lstNmElmntLst104.item(0);
                    NodeList lstNm104 = lstNmElmnt104.getChildNodes();
                    System.out.println("a102 : " + ((Node) lstNm104.item(0)).getNodeValue());
                    a102 = ((Node) lstNm104.item(0)).getNodeValue();

                    NodeList lstNmElmntLst105 = fstElmnt.getElementsByTagName("a103");
                    Element lstNmElmnt105 = (Element) lstNmElmntLst105.item(0);
                    NodeList lstNm105 = lstNmElmnt105.getChildNodes();
                    System.out.println("a103 : " + ((Node) lstNm105.item(0)).getNodeValue());
                    a103 = ((Node) lstNm105.item(0)).getNodeValue();

                    NodeList lstNmElmntLst106 = fstElmnt.getElementsByTagName("a104");
                    Element lstNmElmnt106 = (Element) lstNmElmntLst106.item(0);
                    NodeList lstNm106 = lstNmElmnt106.getChildNodes();
                    System.out.println("a104 : " + ((Node) lstNm106.item(0)).getNodeValue());
                    a104 = ((Node) lstNm106.item(0)).getNodeValue();

                    NodeList lstNmElmntLst107 = fstElmnt.getElementsByTagName("a105");
                    Element lstNmElmnt107 = (Element) lstNmElmntLst107.item(0);
                    NodeList lstNm107 = lstNmElmnt107.getChildNodes();
                    System.out.println("a105 : " + ((Node) lstNm107.item(0)).getNodeValue());
                    a105 = ((Node) lstNm107.item(0)).getNodeValue();

                    NodeList lstNmElmntLst108 = fstElmnt.getElementsByTagName("a106");
                    Element lstNmElmnt108 = (Element) lstNmElmntLst108.item(0);
                    NodeList lstNm108 = lstNmElmnt108.getChildNodes();
                    System.out.println("a106 : " + ((Node) lstNm108.item(0)).getNodeValue());
                    a106 = ((Node) lstNm108.item(0)).getNodeValue();

                    NodeList lstNmElmntLst109 = fstElmnt.getElementsByTagName("a107");
                    Element lstNmElmnt109 = (Element) lstNmElmntLst109.item(0);
                    NodeList lstNm109 = lstNmElmnt109.getChildNodes();
                    System.out.println("a107 : " + ((Node) lstNm109.item(0)).getNodeValue());
                    a107 = ((Node) lstNm109.item(0)).getNodeValue();

                    NodeList lstNmElmntLst110 = fstElmnt.getElementsByTagName("a108");
                    Element lstNmElmnt110 = (Element) lstNmElmntLst110.item(0);
                    NodeList lstNm110 = lstNmElmnt110.getChildNodes();
                    System.out.println("a108 : " + ((Node) lstNm110.item(0)).getNodeValue());
                    a108 = ((Node) lstNm110.item(0)).getNodeValue();

                    NodeList lstNmElmntLst111 = fstElmnt.getElementsByTagName("a109");
                    Element lstNmElmnt111 = (Element) lstNmElmntLst111.item(0);
                    NodeList lstNm111 = lstNmElmnt111.getChildNodes();
                    System.out.println("a109 : " + ((Node) lstNm111.item(0)).getNodeValue());
                    a109 = ((Node) lstNm111.item(0)).getNodeValue();

                    NodeList lstNmElmntLst112 = fstElmnt.getElementsByTagName("a110");
                    Element lstNmElmnt112 = (Element) lstNmElmntLst112.item(0);
                    NodeList lstNm112 = lstNmElmnt112.getChildNodes();
                    System.out.println("a110 : " + ((Node) lstNm112.item(0)).getNodeValue());
                    a110 = ((Node) lstNm112.item(0)).getNodeValue();

                    NodeList lstNmElmntLst113 = fstElmnt.getElementsByTagName("a111");
                    Element lstNmElmnt113 = (Element) lstNmElmntLst113.item(0);
                    NodeList lstNm113 = lstNmElmnt113.getChildNodes();
                    System.out.println("a111 : " + ((Node) lstNm113.item(0)).getNodeValue());
                    a111 = ((Node) lstNm113.item(0)).getNodeValue();

                    NodeList lstNmElmntLst114 = fstElmnt.getElementsByTagName("a112");
                    Element lstNmElmnt114 = (Element) lstNmElmntLst114.item(0);
                    NodeList lstNm114 = lstNmElmnt114.getChildNodes();
                    System.out.println("a112 : " + ((Node) lstNm114.item(0)).getNodeValue());
                    a112 = ((Node) lstNm114.item(0)).getNodeValue();

                    NodeList lstNmElmntLst115 = fstElmnt.getElementsByTagName("a113");
                    Element lstNmElmnt115 = (Element) lstNmElmntLst115.item(0);
                    NodeList lstNm115 = lstNmElmnt115.getChildNodes();
                    System.out.println("a113 : " + ((Node) lstNm115.item(0)).getNodeValue());
                    a113 = ((Node) lstNm115.item(0)).getNodeValue();

                    NodeList lstNmElmntLst116 = fstElmnt.getElementsByTagName("a114");
                    Element lstNmElmnt116 = (Element) lstNmElmntLst116.item(0);
                    NodeList lstNm116 = lstNmElmnt116.getChildNodes();
                    System.out.println("a114 : " + ((Node) lstNm116.item(0)).getNodeValue());
                    a114 = ((Node) lstNm116.item(0)).getNodeValue();

                    NodeList lstNmElmntLst117 = fstElmnt.getElementsByTagName("a115");
                    Element lstNmElmnt117 = (Element) lstNmElmntLst117.item(0);
                    NodeList lstNm117 = lstNmElmnt117.getChildNodes();
                    System.out.println("a115 : " + ((Node) lstNm117.item(0)).getNodeValue());
                    // tt
                    //date to string
                    a115 = Convertstrtodate(((Node) lstNm117.item(0)).getNodeValue());

                    NodeList lstNmElmntLst118 = fstElmnt.getElementsByTagName("a116");
                    Element lstNmElmnt118 = (Element) lstNmElmntLst118.item(0);
                    NodeList lstNm118 = lstNmElmnt118.getChildNodes();
                    System.out.println("a116 : " + ((Node) lstNm118.item(0)).getNodeValue());
// tt
                    //date to string
                    a116 = Convertstrtodate(((Node) lstNm118.item(0)).getNodeValue());

                    NodeList lstNmElmntLst119 = fstElmnt.getElementsByTagName("a117");
                    Element lstNmElmnt119 = (Element) lstNmElmntLst119.item(0);
                    NodeList lstNm119 = lstNmElmnt119.getChildNodes();
                    System.out.println("a117 : " + ((Node) lstNm119.item(0)).getNodeValue());
                    a117 = ((Node) lstNm119.item(0)).getNodeValue();

                    NodeList lstNmElmntLst120 = fstElmnt.getElementsByTagName("a118");
                    Element lstNmElmnt120 = (Element) lstNmElmntLst120.item(0);
                    NodeList lstNm120 = lstNmElmnt120.getChildNodes();
                    System.out.println("a118 : " + ((Node) lstNm120.item(0)).getNodeValue());
                    a118 = ((Node) lstNm120.item(0)).getNodeValue();

                    NodeList lstNmElmntLst121 = fstElmnt.getElementsByTagName("a119");
                    Element lstNmElmnt121 = (Element) lstNmElmntLst121.item(0);
                    NodeList lstNm121 = lstNmElmnt121.getChildNodes();
                    System.out.println("a119 : " + ((Node) lstNm121.item(0)).getNodeValue());
                    a119 = ((Node) lstNm121.item(0)).getNodeValue();

                    NodeList lstNmElmntLst122 = fstElmnt.getElementsByTagName("a120");
                    Element lstNmElmnt122 = (Element) lstNmElmntLst122.item(0);
                    NodeList lstNm122 = lstNmElmnt122.getChildNodes();
                    System.out.println("a120 : " + ((Node) lstNm122.item(0)).getNodeValue());
                    a120 = ((Node) lstNm122.item(0)).getNodeValue();

                    NodeList lstNmElmntLst123 = fstElmnt.getElementsByTagName("a121");
                    Element lstNmElmnt123 = (Element) lstNmElmntLst123.item(0);
                    NodeList lstNm123 = lstNmElmnt123.getChildNodes();
                    System.out.println("a121 : " + ((Node) lstNm123.item(0)).getNodeValue());
                    a121 = ((Node) lstNm123.item(0)).getNodeValue();

                    NodeList lstNmElmntLst124 = fstElmnt.getElementsByTagName("a122");
                    Element lstNmElmnt124 = (Element) lstNmElmntLst124.item(0);
                    NodeList lstNm124 = lstNmElmnt124.getChildNodes();
                    System.out.println("a122 : " + ((Node) lstNm124.item(0)).getNodeValue());
                    a122 = ((Node) lstNm124.item(0)).getNodeValue();

                    NodeList lstNmElmntLst125 = fstElmnt.getElementsByTagName("a123");
                    Element lstNmElmnt125 = (Element) lstNmElmntLst125.item(0);
                    NodeList lstNm125 = lstNmElmnt125.getChildNodes();
                    System.out.println("a123 : " + ((Node) lstNm125.item(0)).getNodeValue());
                    a123 = ((Node) lstNm125.item(0)).getNodeValue();

                    NodeList lstNmElmntLst126 = fstElmnt.getElementsByTagName("a124");
                    Element lstNmElmnt126 = (Element) lstNmElmntLst126.item(0);
                    NodeList lstNm126 = lstNmElmnt126.getChildNodes();
                    System.out.println("a124 : " + ((Node) lstNm126.item(0)).getNodeValue());
                    a124 = ((Node) lstNm126.item(0)).getNodeValue();

                    NodeList lstNmElmntLst127 = fstElmnt.getElementsByTagName("a125");
                    Element lstNmElmnt127 = (Element) lstNmElmntLst127.item(0);
                    NodeList lstNm127 = lstNmElmnt127.getChildNodes();
                    System.out.println("a125 : " + ((Node) lstNm127.item(0)).getNodeValue());
                    a125 = ((Node) lstNm127.item(0)).getNodeValue();

                    NodeList lstNmElmntLst128 = fstElmnt.getElementsByTagName("a126");
                    Element lstNmElmnt128 = (Element) lstNmElmntLst128.item(0);
                    NodeList lstNm128 = lstNmElmnt128.getChildNodes();
                    System.out.println("a126 : " + ((Node) lstNm128.item(0)).getNodeValue());
                    a126 = ((Node) lstNm128.item(0)).getNodeValue();

                    NodeList lstNmElmntLst129 = fstElmnt.getElementsByTagName("a127");
                    Element lstNmElmnt129 = (Element) lstNmElmntLst129.item(0);
                    NodeList lstNm129 = lstNmElmnt129.getChildNodes();
                    System.out.println("a127 : " + ((Node) lstNm129.item(0)).getNodeValue());
                    a127 = ((Node) lstNm129.item(0)).getNodeValue();

                    NodeList lstNmElmntLst130 = fstElmnt.getElementsByTagName("a128");
                    Element lstNmElmnt130 = (Element) lstNmElmntLst130.item(0);
                    NodeList lstNm130 = lstNmElmnt130.getChildNodes();
                    System.out.println("a128 : " + ((Node) lstNm130.item(0)).getNodeValue());
                    a128 = ((Node) lstNm130.item(0)).getNodeValue();

                    NodeList lstNmElmntLst131 = fstElmnt.getElementsByTagName("a129");
                    Element lstNmElmnt131 = (Element) lstNmElmntLst131.item(0);
                    NodeList lstNm131 = lstNmElmnt131.getChildNodes();
                    System.out.println("a129 : " + ((Node) lstNm131.item(0)).getNodeValue());
                    a129 = ((Node) lstNm131.item(0)).getNodeValue();

                    NodeList lstNmElmntLst132 = fstElmnt.getElementsByTagName("a130");
                    Element lstNmElmnt132 = (Element) lstNmElmntLst132.item(0);
                    NodeList lstNm132 = lstNmElmnt132.getChildNodes();
                    System.out.println("a130 : " + ((Node) lstNm132.item(0)).getNodeValue());
                    a130 = ((Node) lstNm132.item(0)).getNodeValue();

                    NodeList lstNmElmntLst133 = fstElmnt.getElementsByTagName("a131");
                    Element lstNmElmnt133 = (Element) lstNmElmntLst133.item(0);
                    NodeList lstNm133 = lstNmElmnt133.getChildNodes();
                    System.out.println("a131 : " + ((Node) lstNm133.item(0)).getNodeValue());
                    a131 = ((Node) lstNm133.item(0)).getNodeValue();

                    NodeList lstNmElmntLst134 = fstElmnt.getElementsByTagName("a132");
                    Element lstNmElmnt134 = (Element) lstNmElmntLst134.item(0);
                    NodeList lstNm134 = lstNmElmnt134.getChildNodes();
                    System.out.println("a132 : " + ((Node) lstNm134.item(0)).getNodeValue());
                    a132 = ((Node) lstNm134.item(0)).getNodeValue();

                    NodeList lstNmElmntLst135 = fstElmnt.getElementsByTagName("a133");
                    Element lstNmElmnt135 = (Element) lstNmElmntLst135.item(0);
                    NodeList lstNm135 = lstNmElmnt135.getChildNodes();
                    System.out.println("a133 : " + ((Node) lstNm135.item(0)).getNodeValue());
                    a133 = ((Node) lstNm135.item(0)).getNodeValue();

                    NodeList lstNmElmntLst136 = fstElmnt.getElementsByTagName("a134");
                    Element lstNmElmnt136 = (Element) lstNmElmntLst136.item(0);
                    NodeList lstNm136 = lstNmElmnt136.getChildNodes();
                    System.out.println("a134 : " + ((Node) lstNm136.item(0)).getNodeValue());
                    a134 = ((Node) lstNm136.item(0)).getNodeValue();

                    NodeList lstNmElmntLst137 = fstElmnt.getElementsByTagName("a135");
                    Element lstNmElmnt137 = (Element) lstNmElmntLst137.item(0);
                    NodeList lstNm137 = lstNmElmnt137.getChildNodes();
                    System.out.println("a135 : " + ((Node) lstNm137.item(0)).getNodeValue());
                    a135 = ((Node) lstNm137.item(0)).getNodeValue();

                    NodeList lstNmElmntLst138 = fstElmnt.getElementsByTagName("a136");
                    Element lstNmElmnt138 = (Element) lstNmElmntLst138.item(0);
                    NodeList lstNm138 = lstNmElmnt138.getChildNodes();
                    System.out.println("a136 : " + ((Node) lstNm138.item(0)).getNodeValue());
                    a136 = ((Node) lstNm138.item(0)).getNodeValue();

                    NodeList lstNmElmntLst139 = fstElmnt.getElementsByTagName("a1351");
                    Element lstNmElmnt139 = (Element) lstNmElmntLst139.item(0);
                    NodeList lstNm139 = lstNmElmnt139.getChildNodes();
                    System.out.println("a1351 : " + ((Node) lstNm139.item(0)).getNodeValue());
                    a1351 = ((Node) lstNm139.item(0)).getNodeValue();

                    NodeList lstNmElmntLst140 = fstElmnt.getElementsByTagName("a1361");
                    Element lstNmElmnt140 = (Element) lstNmElmntLst140.item(0);
                    NodeList lstNm140 = lstNmElmnt140.getChildNodes();
                    System.out.println("a1361 : " + ((Node) lstNm140.item(0)).getNodeValue());
                    a1361 = ((Node) lstNm140.item(0)).getNodeValue();

                    NodeList lstNmElmntLst141 = fstElmnt.getElementsByTagName("a1352");
                    Element lstNmElmnt141 = (Element) lstNmElmntLst141.item(0);
                    NodeList lstNm141 = lstNmElmnt141.getChildNodes();
                    System.out.println("a1352 : " + ((Node) lstNm141.item(0)).getNodeValue());
                    a1352 = ((Node) lstNm141.item(0)).getNodeValue();

                    NodeList lstNmElmntLst142 = fstElmnt.getElementsByTagName("a1362");
                    Element lstNmElmnt142 = (Element) lstNmElmntLst142.item(0);
                    NodeList lstNm142 = lstNmElmnt142.getChildNodes();
                    System.out.println("a1362 : " + ((Node) lstNm142.item(0)).getNodeValue());
                    a1362 = ((Node) lstNm142.item(0)).getNodeValue();

                    NodeList lstNmElmntLst143 = fstElmnt.getElementsByTagName("a1353");
                    Element lstNmElmnt143 = (Element) lstNmElmntLst143.item(0);
                    NodeList lstNm143 = lstNmElmnt143.getChildNodes();
                    System.out.println("a1353 : " + ((Node) lstNm143.item(0)).getNodeValue());
                    a1353 = ((Node) lstNm143.item(0)).getNodeValue();

                    NodeList lstNmElmntLst144 = fstElmnt.getElementsByTagName("a1363");
                    Element lstNmElmnt144 = (Element) lstNmElmntLst144.item(0);
                    NodeList lstNm144 = lstNmElmnt144.getChildNodes();
                    System.out.println("a1363 : " + ((Node) lstNm144.item(0)).getNodeValue());
                    a1363 = ((Node) lstNm144.item(0)).getNodeValue();

                    NodeList lstNmElmntLst145 = fstElmnt.getElementsByTagName("a1354");
                    Element lstNmElmnt145 = (Element) lstNmElmntLst145.item(0);
                    NodeList lstNm145 = lstNmElmnt145.getChildNodes();
                    System.out.println("a1354 : " + ((Node) lstNm145.item(0)).getNodeValue());
                    a1354 = ((Node) lstNm145.item(0)).getNodeValue();

                    NodeList lstNmElmntLst146 = fstElmnt.getElementsByTagName("a1364");
                    Element lstNmElmnt146 = (Element) lstNmElmntLst146.item(0);
                    NodeList lstNm146 = lstNmElmnt146.getChildNodes();
                    System.out.println("a1364 : " + ((Node) lstNm146.item(0)).getNodeValue());
                    a1364 = ((Node) lstNm146.item(0)).getNodeValue();

                    NodeList lstNmElmntLst147 = fstElmnt.getElementsByTagName("a1355");
                    Element lstNmElmnt147 = (Element) lstNmElmntLst147.item(0);
                    NodeList lstNm147 = lstNmElmnt147.getChildNodes();
                    System.out.println("a1355 : " + ((Node) lstNm147.item(0)).getNodeValue());
                    a1355 = ((Node) lstNm147.item(0)).getNodeValue();

                    NodeList lstNmElmntLst148 = fstElmnt.getElementsByTagName("a1365");
                    Element lstNmElmnt148 = (Element) lstNmElmntLst148.item(0);
                    NodeList lstNm148 = lstNmElmnt148.getChildNodes();
                    System.out.println("a1365 : " + ((Node) lstNm148.item(0)).getNodeValue());
                    a1365 = ((Node) lstNm148.item(0)).getNodeValue();

                    NodeList lstNmElmntLst149 = fstElmnt.getElementsByTagName("a1356");
                    Element lstNmElmnt149 = (Element) lstNmElmntLst149.item(0);
                    NodeList lstNm149 = lstNmElmnt149.getChildNodes();
                    System.out.println("a1356 : " + ((Node) lstNm149.item(0)).getNodeValue());
                    a1356 = ((Node) lstNm149.item(0)).getNodeValue();

                    NodeList lstNmElmntLst150 = fstElmnt.getElementsByTagName("a1366");
                    Element lstNmElmnt150 = (Element) lstNmElmntLst150.item(0);
                    NodeList lstNm150 = lstNmElmnt150.getChildNodes();
                    System.out.println("a1366 : " + ((Node) lstNm150.item(0)).getNodeValue());
                    a1366 = ((Node) lstNm150.item(0)).getNodeValue();

                    NodeList lstNmElmntLst151 = fstElmnt.getElementsByTagName("a1357");
                    Element lstNmElmnt151 = (Element) lstNmElmntLst151.item(0);
                    NodeList lstNm151 = lstNmElmnt151.getChildNodes();
                    System.out.println("a1357 : " + ((Node) lstNm151.item(0)).getNodeValue());
                    a1357 = ((Node) lstNm151.item(0)).getNodeValue();

                    NodeList lstNmElmntLst152 = fstElmnt.getElementsByTagName("a1367");
                    Element lstNmElmnt152 = (Element) lstNmElmntLst152.item(0);
                    NodeList lstNm152 = lstNmElmnt152.getChildNodes();
                    System.out.println("a1367 : " + ((Node) lstNm152.item(0)).getNodeValue());
                    a1367 = ((Node) lstNm152.item(0)).getNodeValue();

                    NodeList lstNmElmntLst153 = fstElmnt.getElementsByTagName("a1358");
                    Element lstNmElmnt153 = (Element) lstNmElmntLst153.item(0);
                    NodeList lstNm153 = lstNmElmnt153.getChildNodes();
                    System.out.println("a1358 : " + ((Node) lstNm153.item(0)).getNodeValue());
                    a1358 = ((Node) lstNm153.item(0)).getNodeValue();

                    NodeList lstNmElmntLst154 = fstElmnt.getElementsByTagName("a1368");
                    Element lstNmElmnt154 = (Element) lstNmElmntLst154.item(0);
                    NodeList lstNm154 = lstNmElmnt154.getChildNodes();
                    System.out.println("a1368 : " + ((Node) lstNm154.item(0)).getNodeValue());
                    a1368 = ((Node) lstNm154.item(0)).getNodeValue();

                    NodeList lstNmElmntLst155 = fstElmnt.getElementsByTagName("a1359");
                    Element lstNmElmnt155 = (Element) lstNmElmntLst155.item(0);
                    NodeList lstNm155 = lstNmElmnt155.getChildNodes();
                    System.out.println("a1359 : " + ((Node) lstNm155.item(0)).getNodeValue());
                    a1359 = ((Node) lstNm155.item(0)).getNodeValue();

                    NodeList lstNmElmntLst156 = fstElmnt.getElementsByTagName("a1369");
                    Element lstNmElmnt156 = (Element) lstNmElmntLst156.item(0);
                    NodeList lstNm156 = lstNmElmnt156.getChildNodes();
                    System.out.println("a1369 : " + ((Node) lstNm156.item(0)).getNodeValue());
                    a1369 = ((Node) lstNm156.item(0)).getNodeValue();

                    NodeList lstNmElmntLst157 = fstElmnt.getElementsByTagName("a137");
                    Element lstNmElmnt157 = (Element) lstNmElmntLst157.item(0);
                    NodeList lstNm157 = lstNmElmnt157.getChildNodes();
                    System.out.println("a137 : " + ((Node) lstNm157.item(0)).getNodeValue());
                    a137 = ((Node) lstNm157.item(0)).getNodeValue();

                    NodeList lstNmElmntLst158 = fstElmnt.getElementsByTagName("a138");
                    Element lstNmElmnt158 = (Element) lstNmElmntLst158.item(0);
                    NodeList lstNm158 = lstNmElmnt158.getChildNodes();
                    System.out.println("a138 : " + ((Node) lstNm158.item(0)).getNodeValue());
                    a138 = ((Node) lstNm158.item(0)).getNodeValue();

                    NodeList lstNmElmntLst159 = fstElmnt.getElementsByTagName("a139");
                    Element lstNmElmnt159 = (Element) lstNmElmntLst159.item(0);
                    NodeList lstNm159 = lstNmElmnt159.getChildNodes();
                    System.out.println("a139 : " + ((Node) lstNm159.item(0)).getNodeValue());
                    a139 = ((Node) lstNm159.item(0)).getNodeValue();

                    NodeList lstNmElmntLst160 = fstElmnt.getElementsByTagName("a140");
                    Element lstNmElmnt160 = (Element) lstNmElmntLst160.item(0);
                    NodeList lstNm160 = lstNmElmnt160.getChildNodes();
                    System.out.println("a140 : " + ((Node) lstNm160.item(0)).getNodeValue());
                    a140 = ((Node) lstNm160.item(0)).getNodeValue();

                    NodeList lstNmElmntLst161 = fstElmnt.getElementsByTagName("a141");
                    Element lstNmElmnt161 = (Element) lstNmElmntLst161.item(0);
                    NodeList lstNm161 = lstNmElmnt161.getChildNodes();
                    System.out.println("a141 : " + ((Node) lstNm161.item(0)).getNodeValue());
                    a141 = ((Node) lstNm161.item(0)).getNodeValue();

                    NodeList lstNmElmntLst162 = fstElmnt.getElementsByTagName("a142");
                    Element lstNmElmnt162 = (Element) lstNmElmntLst162.item(0);
                    NodeList lstNm162 = lstNmElmnt162.getChildNodes();
                    System.out.println("a142 : " + ((Node) lstNm162.item(0)).getNodeValue());
                    a142 = ((Node) lstNm162.item(0)).getNodeValue();

                    NodeList lstNmElmntLst163 = fstElmnt.getElementsByTagName("a143");
                    Element lstNmElmnt163 = (Element) lstNmElmntLst163.item(0);
                    NodeList lstNm163 = lstNmElmnt163.getChildNodes();
                    System.out.println("a143 : " + ((Node) lstNm163.item(0)).getNodeValue());
                    a143 = ((Node) lstNm163.item(0)).getNodeValue();

                    NodeList lstNmElmntLst164 = fstElmnt.getElementsByTagName("a144");
                    Element lstNmElmnt164 = (Element) lstNmElmntLst164.item(0);
                    NodeList lstNm164 = lstNmElmnt164.getChildNodes();
                    System.out.println("a144 : " + ((Node) lstNm164.item(0)).getNodeValue());
                    a144 = ((Node) lstNm164.item(0)).getNodeValue();

                    NodeList lstNmElmntLst165 = fstElmnt.getElementsByTagName("a145");
                    Element lstNmElmnt165 = (Element) lstNmElmntLst165.item(0);
                    NodeList lstNm165 = lstNmElmnt165.getChildNodes();
                    System.out.println("a145 : " + ((Node) lstNm165.item(0)).getNodeValue());
                    a145 = ((Node) lstNm165.item(0)).getNodeValue();

                    NodeList lstNmElmntLst166 = fstElmnt.getElementsByTagName("a146");
                    Element lstNmElmnt166 = (Element) lstNmElmntLst166.item(0);
                    NodeList lstNm166 = lstNmElmnt166.getChildNodes();
                    System.out.println("a146 : " + ((Node) lstNm166.item(0)).getNodeValue());
                    a146 = ((Node) lstNm166.item(0)).getNodeValue();

                    NodeList lstNmElmntLst167 = fstElmnt.getElementsByTagName("a147");
                    Element lstNmElmnt167 = (Element) lstNmElmntLst167.item(0);
                    NodeList lstNm167 = lstNmElmnt167.getChildNodes();
                    System.out.println("a147 : " + ((Node) lstNm167.item(0)).getNodeValue());
                    a147 = ((Node) lstNm167.item(0)).getNodeValue();

                    NodeList lstNmElmntLst168 = fstElmnt.getElementsByTagName("a148");
                    Element lstNmElmnt168 = (Element) lstNmElmntLst168.item(0);
                    NodeList lstNm168 = lstNmElmnt168.getChildNodes();
                    System.out.println("a148 : " + ((Node) lstNm168.item(0)).getNodeValue());
                    a148 = ((Node) lstNm168.item(0)).getNodeValue();

                    NodeList lstNmElmntLst169 = fstElmnt.getElementsByTagName("a149");
                    Element lstNmElmnt169 = (Element) lstNmElmntLst169.item(0);
                    NodeList lstNm169 = lstNmElmnt169.getChildNodes();
                    System.out.println("a149 : " + ((Node) lstNm169.item(0)).getNodeValue());
                    a149 = ((Node) lstNm169.item(0)).getNodeValue();

                    NodeList lstNmElmntLst170 = fstElmnt.getElementsByTagName("a150");
                    Element lstNmElmnt170 = (Element) lstNmElmntLst170.item(0);
                    NodeList lstNm170 = lstNmElmnt170.getChildNodes();
                    System.out.println("a150 : " + ((Node) lstNm170.item(0)).getNodeValue());
                    a150 = ((Node) lstNm170.item(0)).getNodeValue();

                    NodeList lstNmElmntLst171 = fstElmnt.getElementsByTagName("a151");
                    Element lstNmElmnt171 = (Element) lstNmElmntLst171.item(0);
                    NodeList lstNm171 = lstNmElmnt171.getChildNodes();
                    System.out.println("a151 : " + ((Node) lstNm171.item(0)).getNodeValue());
                    a151 = ((Node) lstNm171.item(0)).getNodeValue();

                    NodeList lstNmElmntLst172 = fstElmnt.getElementsByTagName("a152");
                    Element lstNmElmnt172 = (Element) lstNmElmntLst172.item(0);
                    NodeList lstNm172 = lstNmElmnt172.getChildNodes();
                    System.out.println("a152 : " + ((Node) lstNm172.item(0)).getNodeValue());
                    a152 = ((Node) lstNm172.item(0)).getNodeValue();

                    NodeList lstNmElmntLst173 = fstElmnt.getElementsByTagName("a153");
                    Element lstNmElmnt173 = (Element) lstNmElmntLst173.item(0);
                    NodeList lstNm173 = lstNmElmnt173.getChildNodes();
                    System.out.println("a153 : " + ((Node) lstNm173.item(0)).getNodeValue());
                    a153 = ((Node) lstNm173.item(0)).getNodeValue();

                    NodeList lstNmElmntLst174 = fstElmnt.getElementsByTagName("a154");
                    Element lstNmElmnt174 = (Element) lstNmElmntLst174.item(0);
                    NodeList lstNm174 = lstNmElmnt174.getChildNodes();
                    System.out.println("a154 : " + ((Node) lstNm174.item(0)).getNodeValue());
                    a154 = ((Node) lstNm174.item(0)).getNodeValue();

                    NodeList lstNmElmntLst175 = fstElmnt.getElementsByTagName("a155");
                    Element lstNmElmnt175 = (Element) lstNmElmntLst175.item(0);
                    NodeList lstNm175 = lstNmElmnt175.getChildNodes();
                    System.out.println("a155 : " + ((Node) lstNm175.item(0)).getNodeValue());
                    a155 = ((Node) lstNm175.item(0)).getNodeValue();

                    NodeList lstNmElmntLst176 = fstElmnt.getElementsByTagName("a156");
                    Element lstNmElmnt176 = (Element) lstNmElmntLst176.item(0);
                    NodeList lstNm176 = lstNmElmnt176.getChildNodes();
                    System.out.println("a156 : " + ((Node) lstNm176.item(0)).getNodeValue());
                    a156 = ((Node) lstNm176.item(0)).getNodeValue();

                    NodeList lstNmElmntLst177 = fstElmnt.getElementsByTagName("a157");
                    Element lstNmElmnt177 = (Element) lstNmElmntLst177.item(0);
                    NodeList lstNm177 = lstNmElmnt177.getChildNodes();
                    System.out.println("a157 : " + ((Node) lstNm177.item(0)).getNodeValue());
                    a157 = ((Node) lstNm177.item(0)).getNodeValue();

                    NodeList lstNmElmntLst178 = fstElmnt.getElementsByTagName("a158");
                    Element lstNmElmnt178 = (Element) lstNmElmntLst178.item(0);
                    NodeList lstNm178 = lstNmElmnt178.getChildNodes();
                    System.out.println("a158 : " + ((Node) lstNm178.item(0)).getNodeValue());
                    a158 = ((Node) lstNm178.item(0)).getNodeValue();

                    NodeList lstNmElmntLst179 = fstElmnt.getElementsByTagName("a159");
                    Element lstNmElmnt179 = (Element) lstNmElmntLst179.item(0);
                    NodeList lstNm179 = lstNmElmnt179.getChildNodes();
                    System.out.println("a159 : " + ((Node) lstNm179.item(0)).getNodeValue());
                    a159 = ((Node) lstNm179.item(0)).getNodeValue();

                    NodeList lstNmElmntLst180 = fstElmnt.getElementsByTagName("a160");
                    Element lstNmElmnt180 = (Element) lstNmElmntLst180.item(0);
                    NodeList lstNm180 = lstNmElmnt180.getChildNodes();
                    System.out.println("a160 : " + ((Node) lstNm180.item(0)).getNodeValue());
                    a160 = ((Node) lstNm180.item(0)).getNodeValue();

                    NodeList lstNmElmntLst181 = fstElmnt.getElementsByTagName("a161");
                    Element lstNmElmnt181 = (Element) lstNmElmntLst181.item(0);
                    NodeList lstNm181 = lstNmElmnt181.getChildNodes();
                    System.out.println("a161 : " + ((Node) lstNm181.item(0)).getNodeValue());
                    a161 = ((Node) lstNm181.item(0)).getNodeValue();

                    NodeList lstNmElmntLst182 = fstElmnt.getElementsByTagName("a162");
                    Element lstNmElmnt182 = (Element) lstNmElmntLst182.item(0);
                    NodeList lstNm182 = lstNmElmnt182.getChildNodes();
                    System.out.println("a162 : " + ((Node) lstNm182.item(0)).getNodeValue());
                    a162 = ((Node) lstNm182.item(0)).getNodeValue();

                    NodeList lstNmElmntLst183 = fstElmnt.getElementsByTagName("a163");
                    Element lstNmElmnt183 = (Element) lstNmElmntLst183.item(0);
                    NodeList lstNm183 = lstNmElmnt183.getChildNodes();
                    System.out.println("a163 : " + ((Node) lstNm183.item(0)).getNodeValue());
                    a163 = ((Node) lstNm183.item(0)).getNodeValue();

                    NodeList lstNmElmntLst184 = fstElmnt.getElementsByTagName("a164");
                    Element lstNmElmnt184 = (Element) lstNmElmntLst184.item(0);
                    NodeList lstNm184 = lstNmElmnt184.getChildNodes();
                    System.out.println("a164 : " + ((Node) lstNm184.item(0)).getNodeValue());
                    a164 = ((Node) lstNm184.item(0)).getNodeValue();

                    NodeList lstNmElmntLst185 = fstElmnt.getElementsByTagName("a165");
                    Element lstNmElmnt185 = (Element) lstNmElmntLst185.item(0);
                    NodeList lstNm185 = lstNmElmnt185.getChildNodes();
                    System.out.println("a165 : " + ((Node) lstNm185.item(0)).getNodeValue());
                    a165 = ((Node) lstNm185.item(0)).getNodeValue();

                    NodeList lstNmElmntLst186 = fstElmnt.getElementsByTagName("a166");
                    Element lstNmElmnt186 = (Element) lstNmElmntLst186.item(0);
                    NodeList lstNm186 = lstNmElmnt186.getChildNodes();
                    System.out.println("a166 : " + ((Node) lstNm186.item(0)).getNodeValue());
                    a166 = ((Node) lstNm186.item(0)).getNodeValue();

                    NodeList lstNmElmntLst187 = fstElmnt.getElementsByTagName("a167");
                    Element lstNmElmnt187 = (Element) lstNmElmntLst187.item(0);
                    NodeList lstNm187 = lstNmElmnt187.getChildNodes();
                    System.out.println("a167 : " + ((Node) lstNm187.item(0)).getNodeValue());
                    a167 = ((Node) lstNm187.item(0)).getNodeValue();

                    NodeList lstNmElmntLst188 = fstElmnt.getElementsByTagName("a168");
                    Element lstNmElmnt188 = (Element) lstNmElmntLst188.item(0);
                    NodeList lstNm188 = lstNmElmnt188.getChildNodes();
                    System.out.println("a168 : " + ((Node) lstNm188.item(0)).getNodeValue());
                    a168 = ((Node) lstNm188.item(0)).getNodeValue();

                    NodeList lstNmElmntLst189 = fstElmnt.getElementsByTagName("a169");
                    Element lstNmElmnt189 = (Element) lstNmElmntLst189.item(0);
                    NodeList lstNm189 = lstNmElmnt189.getChildNodes();
                    System.out.println("a169 : " + ((Node) lstNm189.item(0)).getNodeValue());
                    a169 = ((Node) lstNm189.item(0)).getNodeValue();

                    NodeList lstNmElmntLst190 = fstElmnt.getElementsByTagName("a170");
                    Element lstNmElmnt190 = (Element) lstNmElmntLst190.item(0);
                    NodeList lstNm190 = lstNmElmnt190.getChildNodes();
                    System.out.println("a170 : " + ((Node) lstNm190.item(0)).getNodeValue());
                    a170 = ((Node) lstNm190.item(0)).getNodeValue();

                    NodeList lstNmElmntLst191 = fstElmnt.getElementsByTagName("a171");
                    Element lstNmElmnt191 = (Element) lstNmElmntLst191.item(0);
                    NodeList lstNm191 = lstNmElmnt191.getChildNodes();
                    System.out.println("a171 : " + ((Node) lstNm191.item(0)).getNodeValue());
                    a171 = ((Node) lstNm191.item(0)).getNodeValue();

                    NodeList lstNmElmntLst192 = fstElmnt.getElementsByTagName("a172");
                    Element lstNmElmnt192 = (Element) lstNmElmntLst192.item(0);
                    NodeList lstNm192 = lstNmElmnt192.getChildNodes();
                    System.out.println("a172 : " + ((Node) lstNm192.item(0)).getNodeValue());
                    a172 = ((Node) lstNm192.item(0)).getNodeValue();

                    NodeList lstNmElmntLst193 = fstElmnt.getElementsByTagName("a173");
                    Element lstNmElmnt193 = (Element) lstNmElmntLst193.item(0);
                    NodeList lstNm193 = lstNmElmnt193.getChildNodes();
                    System.out.println("a173 : " + ((Node) lstNm193.item(0)).getNodeValue());
                    a173 = ((Node) lstNm193.item(0)).getNodeValue();

                    NodeList lstNmElmntLst194 = fstElmnt.getElementsByTagName("a174");
                    Element lstNmElmnt194 = (Element) lstNmElmntLst194.item(0);
                    NodeList lstNm194 = lstNmElmnt194.getChildNodes();
                    System.out.println("a174 : " + ((Node) lstNm194.item(0)).getNodeValue());
                    a174 = ((Node) lstNm194.item(0)).getNodeValue();

                    NodeList lstNmElmntLst195 = fstElmnt.getElementsByTagName("a175");
                    Element lstNmElmnt195 = (Element) lstNmElmntLst195.item(0);
                    NodeList lstNm195 = lstNmElmnt195.getChildNodes();
                    System.out.println("a175 : " + ((Node) lstNm195.item(0)).getNodeValue());
                    a175 = ((Node) lstNm195.item(0)).getNodeValue();

                    NodeList lstNmElmntLst196 = fstElmnt.getElementsByTagName("a176");
                    Element lstNmElmnt196 = (Element) lstNmElmntLst196.item(0);
                    NodeList lstNm196 = lstNmElmnt196.getChildNodes();
                    System.out.println("a176 : " + ((Node) lstNm196.item(0)).getNodeValue());
                    a176 = ((Node) lstNm196.item(0)).getNodeValue();

                    NodeList lstNmElmntLst197 = fstElmnt.getElementsByTagName("a177");
                    Element lstNmElmnt197 = (Element) lstNmElmntLst197.item(0);
                    NodeList lstNm197 = lstNmElmnt197.getChildNodes();
                    System.out.println("a177 : " + ((Node) lstNm197.item(0)).getNodeValue());
                    a177 = ((Node) lstNm197.item(0)).getNodeValue();

                    NodeList lstNmElmntLst198 = fstElmnt.getElementsByTagName("a178");
                    Element lstNmElmnt198 = (Element) lstNmElmntLst198.item(0);
                    NodeList lstNm198 = lstNmElmnt198.getChildNodes();
                    System.out.println("a178 : " + ((Node) lstNm198.item(0)).getNodeValue());
                    a178 = ((Node) lstNm198.item(0)).getNodeValue();

                    NodeList lstNmElmntLst199 = fstElmnt.getElementsByTagName("a179");
                    Element lstNmElmnt199 = (Element) lstNmElmntLst199.item(0);
                    NodeList lstNm199 = lstNmElmnt199.getChildNodes();
                    System.out.println("a179 : " + ((Node) lstNm199.item(0)).getNodeValue());
                    a179 = ((Node) lstNm199.item(0)).getNodeValue();

                    NodeList lstNmElmntLst200 = fstElmnt.getElementsByTagName("a180");
                    Element lstNmElmnt200 = (Element) lstNmElmntLst200.item(0);
                    NodeList lstNm200 = lstNmElmnt200.getChildNodes();
                    System.out.println("a180 : " + ((Node) lstNm200.item(0)).getNodeValue());
                    a180 = ((Node) lstNm200.item(0)).getNodeValue();

                    NodeList lstNmElmntLst201 = fstElmnt.getElementsByTagName("a181");
                    Element lstNmElmnt201 = (Element) lstNmElmntLst201.item(0);
                    NodeList lstNm201 = lstNmElmnt201.getChildNodes();
                    System.out.println("a181 : " + ((Node) lstNm201.item(0)).getNodeValue());
                    a181 = ((Node) lstNm201.item(0)).getNodeValue();

                    NodeList lstNmElmntLst202 = fstElmnt.getElementsByTagName("a182");
                    Element lstNmElmnt202 = (Element) lstNmElmntLst202.item(0);
                    NodeList lstNm202 = lstNmElmnt202.getChildNodes();
                    System.out.println("a182 : " + ((Node) lstNm202.item(0)).getNodeValue());
                    a182 = ((Node) lstNm202.item(0)).getNodeValue();

                    NodeList lstNmElmntLst203 = fstElmnt.getElementsByTagName("a183");
                    Element lstNmElmnt203 = (Element) lstNmElmntLst203.item(0);
                    NodeList lstNm203 = lstNmElmnt203.getChildNodes();
                    System.out.println("a183 : " + ((Node) lstNm203.item(0)).getNodeValue());
                    a183 = ((Node) lstNm203.item(0)).getNodeValue();

                    NodeList lstNmElmntLst204 = fstElmnt.getElementsByTagName("a184");
                    Element lstNmElmnt204 = (Element) lstNmElmntLst204.item(0);
                    NodeList lstNm204 = lstNmElmnt204.getChildNodes();
                    System.out.println("a184 : " + ((Node) lstNm204.item(0)).getNodeValue());
                    a184 = ((Node) lstNm204.item(0)).getNodeValue();

                    NodeList lstNmElmntLst205 = fstElmnt.getElementsByTagName("a185");
                    Element lstNmElmnt205 = (Element) lstNmElmntLst205.item(0);
                    NodeList lstNm205 = lstNmElmnt205.getChildNodes();
                    System.out.println("a185 : " + ((Node) lstNm205.item(0)).getNodeValue());
                    a185 = ((Node) lstNm205.item(0)).getNodeValue();

                    NodeList lstNmElmntLst206 = fstElmnt.getElementsByTagName("a186");
                    Element lstNmElmnt206 = (Element) lstNmElmntLst206.item(0);
                    NodeList lstNm206 = lstNmElmnt206.getChildNodes();
                    System.out.println("a186 : " + ((Node) lstNm206.item(0)).getNodeValue());
                    a186 = ((Node) lstNm206.item(0)).getNodeValue();

                    NodeList lstNmElmntLst207 = fstElmnt.getElementsByTagName("a187");
                    Element lstNmElmnt207 = (Element) lstNmElmntLst207.item(0);
                    NodeList lstNm207 = lstNmElmnt207.getChildNodes();
                    System.out.println("a187 : " + ((Node) lstNm207.item(0)).getNodeValue());
                    a187 = ((Node) lstNm207.item(0)).getNodeValue();

                    NodeList lstNmElmntLst208 = fstElmnt.getElementsByTagName("a188");
                    Element lstNmElmnt208 = (Element) lstNmElmntLst208.item(0);
                    NodeList lstNm208 = lstNmElmnt208.getChildNodes();
                    System.out.println("a188 : " + ((Node) lstNm208.item(0)).getNodeValue());
                    a188 = ((Node) lstNm208.item(0)).getNodeValue();

                    NodeList lstNmElmntLst209 = fstElmnt.getElementsByTagName("a189");
                    Element lstNmElmnt209 = (Element) lstNmElmntLst209.item(0);
                    NodeList lstNm209 = lstNmElmnt209.getChildNodes();
                    System.out.println("a189 : " + ((Node) lstNm209.item(0)).getNodeValue());
                    a189 = ((Node) lstNm209.item(0)).getNodeValue();

                    NodeList lstNmElmntLst210 = fstElmnt.getElementsByTagName("a190");
                    Element lstNmElmnt210 = (Element) lstNmElmntLst210.item(0);
                    NodeList lstNm210 = lstNmElmnt210.getChildNodes();
                    System.out.println("a190 : " + ((Node) lstNm210.item(0)).getNodeValue());
                    a190 = ((Node) lstNm210.item(0)).getNodeValue();

                    NodeList lstNmElmntLst211 = fstElmnt.getElementsByTagName("a191");
                    Element lstNmElmnt211 = (Element) lstNmElmntLst211.item(0);
                    NodeList lstNm211 = lstNmElmnt211.getChildNodes();
                    System.out.println("a191 : " + ((Node) lstNm211.item(0)).getNodeValue());
                    a191 = ((Node) lstNm211.item(0)).getNodeValue();

                    NodeList lstNmElmntLst212 = fstElmnt.getElementsByTagName("a192");
                    Element lstNmElmnt212 = (Element) lstNmElmntLst212.item(0);
                    NodeList lstNm212 = lstNmElmnt212.getChildNodes();
                    System.out.println("a192 : " + ((Node) lstNm212.item(0)).getNodeValue());
                    a192 = ((Node) lstNm212.item(0)).getNodeValue();

                    NodeList lstNmElmntLst213 = fstElmnt.getElementsByTagName("a193");
                    Element lstNmElmnt213 = (Element) lstNmElmntLst213.item(0);
                    NodeList lstNm213 = lstNmElmnt213.getChildNodes();
                    System.out.println("a193 : " + ((Node) lstNm213.item(0)).getNodeValue());
                    a193 = ((Node) lstNm213.item(0)).getNodeValue();

                    NodeList lstNmElmntLst214 = fstElmnt.getElementsByTagName("a194");
                    Element lstNmElmnt214 = (Element) lstNmElmntLst214.item(0);
                    NodeList lstNm214 = lstNmElmnt214.getChildNodes();
                    System.out.println("a194 : " + ((Node) lstNm214.item(0)).getNodeValue());
                    a194 = ((Node) lstNm214.item(0)).getNodeValue();

                    NodeList lstNmElmntLst215 = fstElmnt.getElementsByTagName("a195");
                    Element lstNmElmnt215 = (Element) lstNmElmntLst215.item(0);
                    NodeList lstNm215 = lstNmElmnt215.getChildNodes();
                    System.out.println("a195 : " + ((Node) lstNm215.item(0)).getNodeValue());
                    a195 = ((Node) lstNm215.item(0)).getNodeValue();

                    NodeList lstNmElmntLst216 = fstElmnt.getElementsByTagName("privatea195Required");
                    Element lstNmElmnt216 = (Element) lstNmElmntLst216.item(0);
                    NodeList lstNm216 = lstNmElmnt216.getChildNodes();
                    System.out.println("privatea195Required : " + ((Node) lstNm216.item(0)).getNodeValue());
                    a195Required = ((Node) lstNm216.item(0)).getNodeValue();

                    NodeList lstNmElmntLst217 = fstElmnt.getElementsByTagName("a196");
                    Element lstNmElmnt217 = (Element) lstNmElmntLst217.item(0);
                    NodeList lstNm217 = lstNmElmnt217.getChildNodes();
                    System.out.println("a196 : " + ((Node) lstNm217.item(0)).getNodeValue());
                    a196 = ((Node) lstNm217.item(0)).getNodeValue();

                    NodeList lstNmElmntLst218 = fstElmnt.getElementsByTagName("a197");
                    Element lstNmElmnt218 = (Element) lstNmElmntLst218.item(0);
                    NodeList lstNm218 = lstNmElmnt218.getChildNodes();
                    System.out.println("a197 : " + ((Node) lstNm218.item(0)).getNodeValue());
                    a197 = ((Node) lstNm218.item(0)).getNodeValue();

                    NodeList lstNmElmntLst219 = fstElmnt.getElementsByTagName("privatea197Required");
                    Element lstNmElmnt219 = (Element) lstNmElmntLst219.item(0);
                    NodeList lstNm219 = lstNmElmnt219.getChildNodes();
                    System.out.println("privatea197Required : " + ((Node) lstNm219.item(0)).getNodeValue());
                    a197Required = ((Node) lstNm219.item(0)).getNodeValue();

                    NodeList lstNmElmntLst220 = fstElmnt.getElementsByTagName("a198");
                    Element lstNmElmnt220 = (Element) lstNmElmntLst220.item(0);
                    NodeList lstNm220 = lstNmElmnt220.getChildNodes();
                    System.out.println("a198 : " + ((Node) lstNm220.item(0)).getNodeValue());
                    a198 = ((Node) lstNm220.item(0)).getNodeValue();

                    NodeList lstNmElmntLst221 = fstElmnt.getElementsByTagName("a199");
                    Element lstNmElmnt221 = (Element) lstNmElmntLst221.item(0);
                    NodeList lstNm221 = lstNmElmnt221.getChildNodes();
                    System.out.println("a199 : " + ((Node) lstNm221.item(0)).getNodeValue());
                    a199 = ((Node) lstNm221.item(0)).getNodeValue();

                    NodeList lstNmElmntLst222 = fstElmnt.getElementsByTagName("a200");
                    Element lstNmElmnt222 = (Element) lstNmElmntLst222.item(0);
                    NodeList lstNm222 = lstNmElmnt222.getChildNodes();
                    System.out.println("a200 : " + ((Node) lstNm222.item(0)).getNodeValue());
                    a200 = ((Node) lstNm222.item(0)).getNodeValue();

                    NodeList lstNmElmntLst223 = fstElmnt.getElementsByTagName("a201");
                    Element lstNmElmnt223 = (Element) lstNmElmntLst223.item(0);
                    NodeList lstNm223 = lstNmElmnt223.getChildNodes();
                    System.out.println("a201 : " + ((Node) lstNm223.item(0)).getNodeValue());
                    a201 = ((Node) lstNm223.item(0)).getNodeValue();

                    NodeList lstNmElmntLst224 = fstElmnt.getElementsByTagName("a202");
                    Element lstNmElmnt224 = (Element) lstNmElmntLst224.item(0);
                    NodeList lstNm224 = lstNmElmnt224.getChildNodes();
                    System.out.println("a202 : " + ((Node) lstNm224.item(0)).getNodeValue());
                    a202 = ((Node) lstNm224.item(0)).getNodeValue();

                    NodeList lstNmElmntLst225 = fstElmnt.getElementsByTagName("a203");
                    Element lstNmElmnt225 = (Element) lstNmElmntLst225.item(0);
                    NodeList lstNm225 = lstNmElmnt225.getChildNodes();
                    System.out.println("a203 : " + ((Node) lstNm225.item(0)).getNodeValue());
                    a203 = ((Node) lstNm225.item(0)).getNodeValue();

                    NodeList lstNmElmntLst226 = fstElmnt.getElementsByTagName("a204");
                    Element lstNmElmnt226 = (Element) lstNmElmntLst226.item(0);
                    NodeList lstNm226 = lstNmElmnt226.getChildNodes();
                    System.out.println("a204 : " + ((Node) lstNm226.item(0)).getNodeValue());
                    a204 = ((Node) lstNm226.item(0)).getNodeValue();

                    NodeList lstNmElmntLst227 = fstElmnt.getElementsByTagName("a205");
                    Element lstNmElmnt227 = (Element) lstNmElmntLst227.item(0);
                    NodeList lstNm227 = lstNmElmnt227.getChildNodes();
                    System.out.println("a205 : " + ((Node) lstNm227.item(0)).getNodeValue());
                    a205 = ((Node) lstNm227.item(0)).getNodeValue();

                    NodeList lstNmElmntLst228 = fstElmnt.getElementsByTagName("a206");
                    Element lstNmElmnt228 = (Element) lstNmElmntLst228.item(0);
                    NodeList lstNm228 = lstNmElmnt228.getChildNodes();
                    System.out.println("a206 : " + ((Node) lstNm228.item(0)).getNodeValue());
                    a206 = ((Node) lstNm228.item(0)).getNodeValue();

                    NodeList lstNmElmntLst229 = fstElmnt.getElementsByTagName("a207");
                    Element lstNmElmnt229 = (Element) lstNmElmntLst229.item(0);
                    NodeList lstNm229 = lstNmElmnt229.getChildNodes();
                    System.out.println("a207 : " + ((Node) lstNm229.item(0)).getNodeValue());
                    a207 = ((Node) lstNm229.item(0)).getNodeValue();

                    NodeList lstNmElmntLst230 = fstElmnt.getElementsByTagName("a208");
                    Element lstNmElmnt230 = (Element) lstNmElmntLst230.item(0);
                    NodeList lstNm230 = lstNmElmnt230.getChildNodes();
                    System.out.println("a208 : " + ((Node) lstNm230.item(0)).getNodeValue());
                    a208 = ((Node) lstNm230.item(0)).getNodeValue();

                    NodeList lstNmElmntLst231 = fstElmnt.getElementsByTagName("a209");
                    Element lstNmElmnt231 = (Element) lstNmElmntLst231.item(0);
                    NodeList lstNm231 = lstNmElmnt231.getChildNodes();
                    System.out.println("a209 : " + ((Node) lstNm231.item(0)).getNodeValue());
                    a209 = ((Node) lstNm231.item(0)).getNodeValue();

                    NodeList lstNmElmntLst232 = fstElmnt.getElementsByTagName("a210");
                    Element lstNmElmnt232 = (Element) lstNmElmntLst232.item(0);
                    NodeList lstNm232 = lstNmElmnt232.getChildNodes();
                    System.out.println("a210 : " + ((Node) lstNm232.item(0)).getNodeValue());
                    a210 = ((Node) lstNm232.item(0)).getNodeValue();

                    NodeList lstNmElmntLst233 = fstElmnt.getElementsByTagName("a211");
                    Element lstNmElmnt233 = (Element) lstNmElmntLst233.item(0);
                    NodeList lstNm233 = lstNmElmnt233.getChildNodes();
                    System.out.println("a211 : " + ((Node) lstNm233.item(0)).getNodeValue());
                    a211 = ((Node) lstNm233.item(0)).getNodeValue();

                    NodeList lstNmElmntLst234 = fstElmnt.getElementsByTagName("a212");
                    Element lstNmElmnt234 = (Element) lstNmElmntLst234.item(0);
                    NodeList lstNm234 = lstNmElmnt234.getChildNodes();
                    System.out.println("a212 : " + ((Node) lstNm234.item(0)).getNodeValue());
                    a212 = ((Node) lstNm234.item(0)).getNodeValue();

                    NodeList lstNmElmntLst235 = fstElmnt.getElementsByTagName("a213");
                    Element lstNmElmnt235 = (Element) lstNmElmntLst235.item(0);
                    NodeList lstNm235 = lstNmElmnt235.getChildNodes();
                    System.out.println("a213 : " + ((Node) lstNm235.item(0)).getNodeValue());
                    a213 = ((Node) lstNm235.item(0)).getNodeValue();

                    NodeList lstNmElmntLst236 = fstElmnt.getElementsByTagName("a214");
                    Element lstNmElmnt236 = (Element) lstNmElmntLst236.item(0);
                    NodeList lstNm236 = lstNmElmnt236.getChildNodes();
                    System.out.println("a214 : " + ((Node) lstNm236.item(0)).getNodeValue());
                    a214 = ((Node) lstNm236.item(0)).getNodeValue();

                    NodeList lstNmElmntLst237 = fstElmnt.getElementsByTagName("a215");
                    Element lstNmElmnt237 = (Element) lstNmElmntLst237.item(0);
                    NodeList lstNm237 = lstNmElmnt237.getChildNodes();
                    System.out.println("a215 : " + ((Node) lstNm237.item(0)).getNodeValue());
                    a215 = ((Node) lstNm237.item(0)).getNodeValue();

                    NodeList lstNmElmntLst238 = fstElmnt.getElementsByTagName("a216");
                    Element lstNmElmnt238 = (Element) lstNmElmntLst238.item(0);
                    NodeList lstNm238 = lstNmElmnt238.getChildNodes();
                    System.out.println("a216 : " + ((Node) lstNm238.item(0)).getNodeValue());
                    a216 = ((Node) lstNm238.item(0)).getNodeValue();

                    NodeList lstNmElmntLst239 = fstElmnt.getElementsByTagName("a217");
                    Element lstNmElmnt239 = (Element) lstNmElmntLst239.item(0);
                    NodeList lstNm239 = lstNmElmnt239.getChildNodes();
                    System.out.println("a217 : " + ((Node) lstNm239.item(0)).getNodeValue());
                    a217 = ((Node) lstNm239.item(0)).getNodeValue();

                    NodeList lstNmElmntLst240 = fstElmnt.getElementsByTagName("a218");
                    Element lstNmElmnt240 = (Element) lstNmElmntLst240.item(0);
                    NodeList lstNm240 = lstNmElmnt240.getChildNodes();
                    System.out.println("a218 : " + ((Node) lstNm240.item(0)).getNodeValue());
                    a218 = ((Node) lstNm240.item(0)).getNodeValue();

                    NodeList lstNmElmntLst241 = fstElmnt.getElementsByTagName("a219");
                    Element lstNmElmnt241 = (Element) lstNmElmntLst241.item(0);
                    NodeList lstNm241 = lstNmElmnt241.getChildNodes();
                    System.out.println("a219 : " + ((Node) lstNm241.item(0)).getNodeValue());
                    a219 = ((Node) lstNm241.item(0)).getNodeValue();

                    NodeList lstNmElmntLst242 = fstElmnt.getElementsByTagName("a220");
                    Element lstNmElmnt242 = (Element) lstNmElmntLst242.item(0);
                    NodeList lstNm242 = lstNmElmnt242.getChildNodes();
                    System.out.println("a220 : " + ((Node) lstNm242.item(0)).getNodeValue());
                    a220 = ((Node) lstNm242.item(0)).getNodeValue();

                    NodeList lstNmElmntLst243 = fstElmnt.getElementsByTagName("a221");
                    Element lstNmElmnt243 = (Element) lstNmElmntLst243.item(0);
                    NodeList lstNm243 = lstNmElmnt243.getChildNodes();
                    System.out.println("a221 : " + ((Node) lstNm243.item(0)).getNodeValue());
                    a221 = ((Node) lstNm243.item(0)).getNodeValue();

                    NodeList lstNmElmntLst244 = fstElmnt.getElementsByTagName("a222");
                    Element lstNmElmnt244 = (Element) lstNmElmntLst244.item(0);
                    NodeList lstNm244 = lstNmElmnt244.getChildNodes();
                    System.out.println("a222 : " + ((Node) lstNm244.item(0)).getNodeValue());
                    a222 = ((Node) lstNm244.item(0)).getNodeValue();

                    NodeList lstNmElmntLst245 = fstElmnt.getElementsByTagName("a223");
                    Element lstNmElmnt245 = (Element) lstNmElmntLst245.item(0);
                    NodeList lstNm245 = lstNmElmnt245.getChildNodes();
                    System.out.println("a223 : " + ((Node) lstNm245.item(0)).getNodeValue());
                    a223 = ((Node) lstNm245.item(0)).getNodeValue();

                    NodeList lstNmElmntLst246 = fstElmnt.getElementsByTagName("a224");
                    Element lstNmElmnt246 = (Element) lstNmElmntLst246.item(0);
                    NodeList lstNm246 = lstNmElmnt246.getChildNodes();
                    System.out.println("a224 : " + ((Node) lstNm246.item(0)).getNodeValue());
                    a224 = ((Node) lstNm246.item(0)).getNodeValue();

                    NodeList lstNmElmntLst247 = fstElmnt.getElementsByTagName("a225");
                    Element lstNmElmnt247 = (Element) lstNmElmntLst247.item(0);
                    NodeList lstNm247 = lstNmElmnt247.getChildNodes();
                    System.out.println("a225 : " + ((Node) lstNm247.item(0)).getNodeValue());
                    a225 = ((Node) lstNm247.item(0)).getNodeValue();

                    NodeList lstNmElmntLst248 = fstElmnt.getElementsByTagName("a226");
                    Element lstNmElmnt248 = (Element) lstNmElmntLst248.item(0);
                    NodeList lstNm248 = lstNmElmnt248.getChildNodes();
                    System.out.println("a226 : " + ((Node) lstNm248.item(0)).getNodeValue());
                    a226 = ((Node) lstNm248.item(0)).getNodeValue();

                    NodeList lstNmElmntLst249 = fstElmnt.getElementsByTagName("a227");
                    Element lstNmElmnt249 = (Element) lstNmElmntLst249.item(0);
                    NodeList lstNm249 = lstNmElmnt249.getChildNodes();
                    System.out.println("a227 : " + ((Node) lstNm249.item(0)).getNodeValue());
// tt
                    //date to string
                    a227 = Convertstrtodate(((Node) lstNm249.item(0)).getNodeValue());

                    NodeList lstNmElmntLst250 = fstElmnt.getElementsByTagName("a228");
                    Element lstNmElmnt250 = (Element) lstNmElmntLst250.item(0);
                    NodeList lstNm250 = lstNmElmnt250.getChildNodes();
                    System.out.println("a228 : " + ((Node) lstNm250.item(0)).getNodeValue());
                    a228 = ((Node) lstNm250.item(0)).getNodeValue();

                    NodeList lstNmElmntLst251 = fstElmnt.getElementsByTagName("a229");
                    Element lstNmElmnt251 = (Element) lstNmElmntLst251.item(0);
                    NodeList lstNm251 = lstNmElmnt251.getChildNodes();
                    System.out.println("a229 : " + ((Node) lstNm251.item(0)).getNodeValue());
                    a229 = ((Node) lstNm251.item(0)).getNodeValue();

                    NodeList lstNmElmntLst252 = fstElmnt.getElementsByTagName("a230");
                    Element lstNmElmnt252 = (Element) lstNmElmntLst252.item(0);
                    NodeList lstNm252 = lstNmElmnt252.getChildNodes();
                    System.out.println("a230 : " + ((Node) lstNm252.item(0)).getNodeValue());
                    a230 = ((Node) lstNm252.item(0)).getNodeValue();

                    NodeList lstNmElmntLst253 = fstElmnt.getElementsByTagName("a240");
                    Element lstNmElmnt253 = (Element) lstNmElmntLst253.item(0);
                    NodeList lstNm253 = lstNmElmnt253.getChildNodes();
                    System.out.println("a240 : " + ((Node) lstNm253.item(0)).getNodeValue());
                    a240 = ((Node) lstNm253.item(0)).getNodeValue();

                    NodeList lstNmElmntLst254 = fstElmnt.getElementsByTagName("a250");
                    Element lstNmElmnt254 = (Element) lstNmElmntLst254.item(0);
                    NodeList lstNm254 = lstNmElmnt254.getChildNodes();
                    System.out.println("a250 : " + ((Node) lstNm254.item(0)).getNodeValue());
                    a250 = ((Node) lstNm254.item(0)).getNodeValue();

                    NodeList lstNmElmntLst255 = fstElmnt.getElementsByTagName("a251");
                    Element lstNmElmnt255 = (Element) lstNmElmntLst255.item(0);
                    NodeList lstNm255 = lstNmElmnt255.getChildNodes();
                    System.out.println("a251 : " + ((Node) lstNm255.item(0)).getNodeValue());
                    a251 = ((Node) lstNm255.item(0)).getNodeValue();

                    NodeList lstNmElmntLst256 = fstElmnt.getElementsByTagName("a252");
                    Element lstNmElmnt256 = (Element) lstNmElmntLst256.item(0);
                    NodeList lstNm256 = lstNmElmnt256.getChildNodes();
                    System.out.println("a252 : " + ((Node) lstNm256.item(0)).getNodeValue());
                    a252 = ((Node) lstNm256.item(0)).getNodeValue();

                    NodeList lstNmElmntLst257 = fstElmnt.getElementsByTagName("a253");
                    Element lstNmElmnt257 = (Element) lstNmElmntLst257.item(0);
                    NodeList lstNm257 = lstNmElmnt257.getChildNodes();
                    System.out.println("a253 : " + ((Node) lstNm257.item(0)).getNodeValue());
                    a253 = ((Node) lstNm257.item(0)).getNodeValue();

                    NodeList lstNmElmntLst258 = fstElmnt.getElementsByTagName("a254");
                    Element lstNmElmnt258 = (Element) lstNmElmntLst258.item(0);
                    NodeList lstNm258 = lstNmElmnt258.getChildNodes();
                    System.out.println("a254 : " + ((Node) lstNm258.item(0)).getNodeValue());
                    a254 = ((Node) lstNm258.item(0)).getNodeValue();

                    NodeList lstNmElmntLst259 = fstElmnt.getElementsByTagName("a256");
                    Element lstNmElmnt259 = (Element) lstNmElmntLst259.item(0);
                    NodeList lstNm259 = lstNmElmnt259.getChildNodes();
                    System.out.println("a256 : " + ((Node) lstNm259.item(0)).getNodeValue());
                    a256 = ((Node) lstNm259.item(0)).getNodeValue();

                    NodeList lstNmElmntLst260 = fstElmnt.getElementsByTagName("a257");
                    Element lstNmElmnt260 = (Element) lstNmElmntLst260.item(0);
                    NodeList lstNm260 = lstNmElmnt260.getChildNodes();
                    System.out.println("a257 : " + ((Node) lstNm260.item(0)).getNodeValue());
                    a257 = ((Node) lstNm260.item(0)).getNodeValue();

                    NodeList lstNmElmntLst261 = fstElmnt.getElementsByTagName("a258");
                    Element lstNmElmnt261 = (Element) lstNmElmntLst261.item(0);
                    NodeList lstNm261 = lstNmElmnt261.getChildNodes();
                    System.out.println("a258 : " + ((Node) lstNm261.item(0)).getNodeValue());
                    a258 = ((Node) lstNm261.item(0)).getNodeValue();

                    NodeList lstNmElmntLst262 = fstElmnt.getElementsByTagName("a259");
                    Element lstNmElmnt262 = (Element) lstNmElmntLst262.item(0);
                    NodeList lstNm262 = lstNmElmnt262.getChildNodes();
                    System.out.println("a259 : " + ((Node) lstNm262.item(0)).getNodeValue());
                    a259 = ((Node) lstNm262.item(0)).getNodeValue();

                    NodeList lstNmElmntLst263 = fstElmnt.getElementsByTagName("a260");
                    Element lstNmElmnt263 = (Element) lstNmElmntLst263.item(0);
                    NodeList lstNm263 = lstNmElmnt263.getChildNodes();
                    System.out.println("a260 : " + ((Node) lstNm263.item(0)).getNodeValue());
                    a260 = ((Node) lstNm263.item(0)).getNodeValue();

                    NodeList lstNmElmntLst264 = fstElmnt.getElementsByTagName("a261");
                    Element lstNmElmnt264 = (Element) lstNmElmntLst264.item(0);
                    NodeList lstNm264 = lstNmElmnt264.getChildNodes();
                    System.out.println("a261 : " + ((Node) lstNm264.item(0)).getNodeValue());
                    a261 = ((Node) lstNm264.item(0)).getNodeValue();

                    NodeList lstNmElmntLst265 = fstElmnt.getElementsByTagName("a262");
                    Element lstNmElmnt265 = (Element) lstNmElmntLst265.item(0);
                    NodeList lstNm265 = lstNmElmnt265.getChildNodes();
                    System.out.println("a262 : " + ((Node) lstNm265.item(0)).getNodeValue());
                    a262 = ((Node) lstNm265.item(0)).getNodeValue();

                    NodeList lstNmElmntLst266 = fstElmnt.getElementsByTagName("a263");
                    Element lstNmElmnt266 = (Element) lstNmElmntLst266.item(0);
                    NodeList lstNm266 = lstNmElmnt266.getChildNodes();
                    System.out.println("a263 : " + ((Node) lstNm266.item(0)).getNodeValue());
                    a263 = ((Node) lstNm266.item(0)).getNodeValue();

                    NodeList lstNmElmntLst267 = fstElmnt.getElementsByTagName("a264");
                    Element lstNmElmnt267 = (Element) lstNmElmntLst267.item(0);
                    NodeList lstNm267 = lstNmElmnt267.getChildNodes();
                    System.out.println("a264 : " + ((Node) lstNm267.item(0)).getNodeValue());
                    a264 = ((Node) lstNm267.item(0)).getNodeValue();

                    NodeList lstNmElmntLst268 = fstElmnt.getElementsByTagName("a265");
                    Element lstNmElmnt268 = (Element) lstNmElmntLst268.item(0);
                    NodeList lstNm268 = lstNmElmnt268.getChildNodes();
                    System.out.println("a265 : " + ((Node) lstNm268.item(0)).getNodeValue());
                    a265 = ((Node) lstNm268.item(0)).getNodeValue();

                    NodeList lstNmElmntLst269 = fstElmnt.getElementsByTagName("a266");
                    Element lstNmElmnt269 = (Element) lstNmElmntLst269.item(0);
                    NodeList lstNm269 = lstNmElmnt269.getChildNodes();
                    System.out.println("a266 : " + ((Node) lstNm269.item(0)).getNodeValue());
                    a266 = ((Node) lstNm269.item(0)).getNodeValue();

                    NodeList lstNmElmntLst270 = fstElmnt.getElementsByTagName("a267");
                    Element lstNmElmnt270 = (Element) lstNmElmntLst270.item(0);
                    NodeList lstNm270 = lstNmElmnt270.getChildNodes();
                    System.out.println("a267 : " + ((Node) lstNm270.item(0)).getNodeValue());
                    a267 = ((Node) lstNm270.item(0)).getNodeValue();

                    NodeList lstNmElmntLst271 = fstElmnt.getElementsByTagName("a268");
                    Element lstNmElmnt271 = (Element) lstNmElmntLst271.item(0);
                    NodeList lstNm271 = lstNmElmnt271.getChildNodes();
                    System.out.println("a268 : " + ((Node) lstNm271.item(0)).getNodeValue());
                    a268 = ((Node) lstNm271.item(0)).getNodeValue();

                    NodeList lstNmElmntLst272 = fstElmnt.getElementsByTagName("a269");
                    Element lstNmElmnt272 = (Element) lstNmElmntLst272.item(0);
                    NodeList lstNm272 = lstNmElmnt272.getChildNodes();
                    System.out.println("a269 : " + ((Node) lstNm272.item(0)).getNodeValue());
                    a269 = ((Node) lstNm272.item(0)).getNodeValue();

                    NodeList lstNmElmntLst273 = fstElmnt.getElementsByTagName("a270");
                    Element lstNmElmnt273 = (Element) lstNmElmntLst273.item(0);
                    NodeList lstNm273 = lstNmElmnt273.getChildNodes();
                    System.out.println("a270 : " + ((Node) lstNm273.item(0)).getNodeValue());
                    a270 = ((Node) lstNm273.item(0)).getNodeValue();

                    NodeList lstNmElmntLst274 = fstElmnt.getElementsByTagName("a271");
                    Element lstNmElmnt274 = (Element) lstNmElmntLst274.item(0);
                    NodeList lstNm274 = lstNmElmnt274.getChildNodes();
                    System.out.println("a271 : " + ((Node) lstNm274.item(0)).getNodeValue());
                    a271 = ((Node) lstNm274.item(0)).getNodeValue();

                    NodeList lstNmElmntLst275 = fstElmnt.getElementsByTagName("a272");
                    Element lstNmElmnt275 = (Element) lstNmElmntLst275.item(0);
                    NodeList lstNm275 = lstNmElmnt275.getChildNodes();
                    System.out.println("a272 : " + ((Node) lstNm275.item(0)).getNodeValue());
                    a272 = ((Node) lstNm275.item(0)).getNodeValue();

                    NodeList lstNmElmntLst276 = fstElmnt.getElementsByTagName("a273");
                    Element lstNmElmnt276 = (Element) lstNmElmntLst276.item(0);
                    NodeList lstNm276 = lstNmElmnt276.getChildNodes();
                    System.out.println("a273 : " + ((Node) lstNm276.item(0)).getNodeValue());
                    a273 = ((Node) lstNm276.item(0)).getNodeValue();

                    NodeList lstNmElmntLst277 = fstElmnt.getElementsByTagName("a274");
                    Element lstNmElmnt277 = (Element) lstNmElmntLst277.item(0);
                    NodeList lstNm277 = lstNmElmnt277.getChildNodes();
                    System.out.println("a274 : " + ((Node) lstNm277.item(0)).getNodeValue());
                    a274 = ((Node) lstNm277.item(0)).getNodeValue();

                    NodeList lstNmElmntLst278 = fstElmnt.getElementsByTagName("a275");
                    Element lstNmElmnt278 = (Element) lstNmElmntLst278.item(0);
                    NodeList lstNm278 = lstNmElmnt278.getChildNodes();
                    System.out.println("a275 : " + ((Node) lstNm278.item(0)).getNodeValue());
                    a275 = ((Node) lstNm278.item(0)).getNodeValue();

                    NodeList lstNmElmntLst279 = fstElmnt.getElementsByTagName("a276");
                    Element lstNmElmnt279 = (Element) lstNmElmntLst279.item(0);
                    NodeList lstNm279 = lstNmElmnt279.getChildNodes();
                    System.out.println("a276 : " + ((Node) lstNm279.item(0)).getNodeValue());
                    a276 = ((Node) lstNm279.item(0)).getNodeValue();

                    NodeList lstNmElmntLst280 = fstElmnt.getElementsByTagName("a277");
                    Element lstNmElmnt280 = (Element) lstNmElmntLst280.item(0);
                    NodeList lstNm280 = lstNmElmnt280.getChildNodes();
                    System.out.println("a277 : " + ((Node) lstNm280.item(0)).getNodeValue());
                    a277 = ((Node) lstNm280.item(0)).getNodeValue();

                    NodeList lstNmElmntLst281 = fstElmnt.getElementsByTagName("a278");
                    Element lstNmElmnt281 = (Element) lstNmElmntLst281.item(0);
                    NodeList lstNm281 = lstNmElmnt281.getChildNodes();
                    System.out.println("a278 : " + ((Node) lstNm281.item(0)).getNodeValue());
                    a278 = ((Node) lstNm281.item(0)).getNodeValue();

                    NodeList lstNmElmntLst282 = fstElmnt.getElementsByTagName("a279");
                    Element lstNmElmnt282 = (Element) lstNmElmntLst282.item(0);
                    NodeList lstNm282 = lstNmElmnt282.getChildNodes();
                    System.out.println("a279 : " + ((Node) lstNm282.item(0)).getNodeValue());
                    a279 = ((Node) lstNm282.item(0)).getNodeValue();

                    NodeList lstNmElmntLst283 = fstElmnt.getElementsByTagName("a280");
                    Element lstNmElmnt283 = (Element) lstNmElmntLst283.item(0);
                    NodeList lstNm283 = lstNmElmnt283.getChildNodes();
                    System.out.println("a280 : " + ((Node) lstNm283.item(0)).getNodeValue());
                    a280 = ((Node) lstNm283.item(0)).getNodeValue();

                    NodeList lstNmElmntLst284 = fstElmnt.getElementsByTagName("a281");
                    Element lstNmElmnt284 = (Element) lstNmElmntLst284.item(0);
                    NodeList lstNm284 = lstNmElmnt284.getChildNodes();
                    System.out.println("a281 : " + ((Node) lstNm284.item(0)).getNodeValue());
                    a281 = ((Node) lstNm284.item(0)).getNodeValue();

                    NodeList lstNmElmntLst285 = fstElmnt.getElementsByTagName("a282");
                    Element lstNmElmnt285 = (Element) lstNmElmntLst285.item(0);
                    NodeList lstNm285 = lstNmElmnt285.getChildNodes();
                    System.out.println("a282 : " + ((Node) lstNm285.item(0)).getNodeValue());
                    a282 = ((Node) lstNm285.item(0)).getNodeValue();

                    NodeList lstNmElmntLst286 = fstElmnt.getElementsByTagName("a283");
                    Element lstNmElmnt286 = (Element) lstNmElmntLst286.item(0);
                    NodeList lstNm286 = lstNmElmnt286.getChildNodes();
                    System.out.println("a283 : " + ((Node) lstNm286.item(0)).getNodeValue());
                    a283 = ((Node) lstNm286.item(0)).getNodeValue();

                    NodeList lstNmElmntLst287 = fstElmnt.getElementsByTagName("a284");
                    Element lstNmElmnt287 = (Element) lstNmElmntLst287.item(0);
                    NodeList lstNm287 = lstNmElmnt287.getChildNodes();
                    System.out.println("a284 : " + ((Node) lstNm287.item(0)).getNodeValue());
                    a284 = ((Node) lstNm287.item(0)).getNodeValue();

                    NodeList lstNmElmntLst288 = fstElmnt.getElementsByTagName("a285");
                    Element lstNmElmnt288 = (Element) lstNmElmntLst288.item(0);
                    NodeList lstNm288 = lstNmElmnt288.getChildNodes();
                    System.out.println("a285 : " + ((Node) lstNm288.item(0)).getNodeValue());
                    a285 = ((Node) lstNm288.item(0)).getNodeValue();

                    NodeList lstNmElmntLst289 = fstElmnt.getElementsByTagName("a286");
                    Element lstNmElmnt289 = (Element) lstNmElmntLst289.item(0);
                    NodeList lstNm289 = lstNmElmnt289.getChildNodes();
                    System.out.println("a286 : " + ((Node) lstNm289.item(0)).getNodeValue());
                    a286 = ((Node) lstNm289.item(0)).getNodeValue();

                    NodeList lstNmElmntLst290 = fstElmnt.getElementsByTagName("a287");
                    Element lstNmElmnt290 = (Element) lstNmElmntLst290.item(0);
                    NodeList lstNm290 = lstNmElmnt290.getChildNodes();
                    System.out.println("a287 : " + ((Node) lstNm290.item(0)).getNodeValue());
                    a287 = ((Node) lstNm290.item(0)).getNodeValue();

                    NodeList lstNmElmntLst291 = fstElmnt.getElementsByTagName("a288");
                    Element lstNmElmnt291 = (Element) lstNmElmntLst291.item(0);
                    NodeList lstNm291 = lstNmElmnt291.getChildNodes();
                    System.out.println("a288 : " + ((Node) lstNm291.item(0)).getNodeValue());
                    a288 = ((Node) lstNm291.item(0)).getNodeValue();

                    NodeList lstNmElmntLst292 = fstElmnt.getElementsByTagName("a289");
                    Element lstNmElmnt292 = (Element) lstNmElmntLst292.item(0);
                    NodeList lstNm292 = lstNmElmnt292.getChildNodes();
                    System.out.println("a289 : " + ((Node) lstNm292.item(0)).getNodeValue());
                    a289 = ((Node) lstNm292.item(0)).getNodeValue();

                    NodeList lstNmElmntLst293 = fstElmnt.getElementsByTagName("a133s");
                    Element lstNmElmnt293 = (Element) lstNmElmntLst293.item(0);
                    NodeList lstNm293 = lstNmElmnt293.getChildNodes();
                    System.out.println("a133s : " + ((Node) lstNm293.item(0)).getNodeValue());
                    a133s = ((Node) lstNm293.item(0)).getNodeValue();

                    NodeList lstNmElmntLst294 = fstElmnt.getElementsByTagName("a133s1");
                    Element lstNmElmnt294 = (Element) lstNmElmntLst294.item(0);
                    NodeList lstNm294 = lstNmElmnt294.getChildNodes();
                    System.out.println("a133s1 : " + ((Node) lstNm294.item(0)).getNodeValue());
                    a133s1 = ((Node) lstNm294.item(0)).getNodeValue();

                    NodeList lstNmElmntLst295 = fstElmnt.getElementsByTagName("tp1");
                    Element lstNmElmnt295 = (Element) lstNmElmntLst295.item(0);
                    NodeList lstNm295 = lstNmElmnt295.getChildNodes();
                    System.out.println("tp1 : " + ((Node) lstNm295.item(0)).getNodeValue());
                    tp1 = ((Node) lstNm295.item(0)).getNodeValue();

                    NodeList lstNmElmntLst296 = fstElmnt.getElementsByTagName("tp2");
                    Element lstNmElmnt296 = (Element) lstNmElmntLst296.item(0);
                    NodeList lstNm296 = lstNmElmnt296.getChildNodes();
                    System.out.println("tp2 : " + ((Node) lstNm296.item(0)).getNodeValue());
                    tp2 = ((Node) lstNm296.item(0)).getNodeValue();

                    NodeList lstNmElmntLst297 = fstElmnt.getElementsByTagName("tp3");
                    Element lstNmElmnt297 = (Element) lstNmElmntLst297.item(0);
                    NodeList lstNm297 = lstNmElmnt297.getChildNodes();
                    System.out.println("tp3 : " + ((Node) lstNm297.item(0)).getNodeValue());
                    tp3 = ((Node) lstNm297.item(0)).getNodeValue();

                    NodeList lstNmElmntLst298 = fstElmnt.getElementsByTagName("tp4");
                    Element lstNmElmnt298 = (Element) lstNmElmntLst298.item(0);
                    NodeList lstNm298 = lstNmElmnt298.getChildNodes();
                    System.out.println("tp4 : " + ((Node) lstNm298.item(0)).getNodeValue());
                    tp4 = ((Node) lstNm298.item(0)).getNodeValue();

                    NodeList lstNmElmntLst299 = fstElmnt.getElementsByTagName("tp5");
                    Element lstNmElmnt299 = (Element) lstNmElmntLst299.item(0);
                    NodeList lstNm299 = lstNmElmnt299.getChildNodes();
                    System.out.println("tp5 : " + ((Node) lstNm299.item(0)).getNodeValue());
                    tp5 = ((Node) lstNm299.item(0)).getNodeValue();

                    NodeList lstNmElmntLst300 = fstElmnt.getElementsByTagName("tp6");
                    Element lstNmElmnt300 = (Element) lstNmElmntLst300.item(0);
                    NodeList lstNm300 = lstNmElmnt300.getChildNodes();
                    System.out.println("tp6 : " + ((Node) lstNm300.item(0)).getNodeValue());
                    tp6 = ((Node) lstNm300.item(0)).getNodeValue();

                    NodeList lstNmElmntLst301 = fstElmnt.getElementsByTagName("render1");
                    Element lstNmElmnt301 = (Element) lstNmElmntLst301.item(0);
                    NodeList lstNm301 = lstNmElmnt301.getChildNodes();
                    System.out.println("render1 : " + ((Node) lstNm301.item(0)).getNodeValue());
                    render1 = ((Node) lstNm301.item(0)).getNodeValue();

                    NodeList lstNmElmntLst302 = fstElmnt.getElementsByTagName("render2");
                    Element lstNmElmnt302 = (Element) lstNmElmntLst302.item(0);
                    NodeList lstNm302 = lstNmElmnt302.getChildNodes();
                    System.out.println("render2 : " + ((Node) lstNm302.item(0)).getNodeValue());
                    render2 = ((Node) lstNm302.item(0)).getNodeValue();

                    NodeList lstNmElmntLst303 = fstElmnt.getElementsByTagName("render3");
                    Element lstNmElmnt303 = (Element) lstNmElmntLst303.item(0);
                    NodeList lstNm303 = lstNmElmnt303.getChildNodes();
                    System.out.println("render3 : " + ((Node) lstNm303.item(0)).getNodeValue());
                    render3 = ((Node) lstNm303.item(0)).getNodeValue();

                    NodeList lstNmElmntLst304 = fstElmnt.getElementsByTagName("op5");
                    Element lstNmElmnt304 = (Element) lstNmElmntLst304.item(0);
                    NodeList lstNm304 = lstNmElmnt304.getChildNodes();
                    System.out.println("op5 : " + ((Node) lstNm304.item(0)).getNodeValue());
                    op5 = ((Node) lstNm304.item(0)).getNodeValue();

                    NodeList lstNmElmntLst305 = fstElmnt.getElementsByTagName("op6");
                    Element lstNmElmnt305 = (Element) lstNmElmntLst305.item(0);
                    NodeList lstNm305 = lstNmElmnt305.getChildNodes();
                    System.out.println("op6 : " + ((Node) lstNm305.item(0)).getNodeValue());
                    op6 = ((Node) lstNm305.item(0)).getNodeValue();

                    NodeList lstNmElmntLst306 = fstElmnt.getElementsByTagName("section18");
                    Element lstNmElmnt306 = (Element) lstNmElmntLst306.item(0);
                    NodeList lstNm306 = lstNmElmnt306.getChildNodes();
                    System.out.println("section18 : " + ((Node) lstNm306.item(0)).getNodeValue());
                    section18 = ((Node) lstNm306.item(0)).getNodeValue();

                    NodeList lstNmElmntLst307 = fstElmnt.getElementsByTagName("section22");
                    Element lstNmElmnt307 = (Element) lstNmElmntLst307.item(0);
                    NodeList lstNm307 = lstNmElmnt307.getChildNodes();
                    System.out.println("section22 : " + ((Node) lstNm307.item(0)).getNodeValue());
                    section22 = ((Node) lstNm307.item(0)).getNodeValue();

                    NodeList lstNmElmntLst308 = fstElmnt.getElementsByTagName("op9");
                    Element lstNmElmnt308 = (Element) lstNmElmntLst308.item(0);
                    NodeList lstNm308 = lstNmElmnt308.getChildNodes();
                    System.out.println("op9 : " + ((Node) lstNm308.item(0)).getNodeValue());
                    op9 = ((Node) lstNm308.item(0)).getNodeValue();

                    NodeList lstNmElmntLst309 = fstElmnt.getElementsByTagName("op10");
                    Element lstNmElmnt309 = (Element) lstNmElmntLst309.item(0);
                    NodeList lstNm309 = lstNmElmnt309.getChildNodes();
                    System.out.println("op10 : " + ((Node) lstNm309.item(0)).getNodeValue());
                    op10 = ((Node) lstNm309.item(0)).getNodeValue();

                    NodeList lstNmElmntLst310 = fstElmnt.getElementsByTagName("op11");
                    Element lstNmElmnt310 = (Element) lstNmElmntLst310.item(0);
                    NodeList lstNm310 = lstNmElmnt310.getChildNodes();
                    System.out.println("op11 : " + ((Node) lstNm310.item(0)).getNodeValue());
                    op11 = ((Node) lstNm310.item(0)).getNodeValue();

                    NodeList lstNmElmntLst311 = fstElmnt.getElementsByTagName("op12");
                    Element lstNmElmnt311 = (Element) lstNmElmntLst311.item(0);
                    NodeList lstNm311 = lstNmElmnt311.getChildNodes();
                    System.out.println("op12 : " + ((Node) lstNm311.item(0)).getNodeValue());
                    op12 = ((Node) lstNm311.item(0)).getNodeValue();

                    NodeList lstNmElmntLst312 = fstElmnt.getElementsByTagName("a195s");
                    Element lstNmElmnt312 = (Element) lstNmElmntLst312.item(0);
                    NodeList lstNm312 = lstNmElmnt312.getChildNodes();
                    System.out.println("a195s : " + ((Node) lstNm312.item(0)).getNodeValue());
                    a195s = ((Node) lstNm312.item(0)).getNodeValue();

                    NodeList lstNmElmntLst313 = fstElmnt.getElementsByTagName("a197s");
                    Element lstNmElmnt313 = (Element) lstNmElmntLst313.item(0);
                    NodeList lstNm313 = lstNmElmnt313.getChildNodes();
                    System.out.println("a197s : " + ((Node) lstNm313.item(0)).getNodeValue());
                    a197s = ((Node) lstNm313.item(0)).getNodeValue();

                    NodeList lstNmElmntLst314 = fstElmnt.getElementsByTagName("op13");
                    Element lstNmElmnt314 = (Element) lstNmElmntLst314.item(0);
                    NodeList lstNm314 = lstNmElmnt314.getChildNodes();
                    System.out.println("op13 : " + ((Node) lstNm314.item(0)).getNodeValue());
                    op13 = ((Node) lstNm314.item(0)).getNodeValue();

                    NodeList lstNmElmntLst315 = fstElmnt.getElementsByTagName("op14");
                    Element lstNmElmnt315 = (Element) lstNmElmntLst315.item(0);
                    NodeList lstNm315 = lstNmElmnt315.getChildNodes();
                    System.out.println("op14 : " + ((Node) lstNm315.item(0)).getNodeValue());
                    op14 = ((Node) lstNm315.item(0)).getNodeValue();

                    NodeList lstNmElmntLst316 = fstElmnt.getElementsByTagName("op15");
                    Element lstNmElmnt316 = (Element) lstNmElmntLst316.item(0);
                    NodeList lstNm316 = lstNmElmnt316.getChildNodes();
                    System.out.println("op15 : " + ((Node) lstNm316.item(0)).getNodeValue());
                    op15 = ((Node) lstNm316.item(0)).getNodeValue();

                    NodeList lstNmElmntLst317 = fstElmnt.getElementsByTagName("activitiesSelected");
                    Element lstNmElmnt317 = (Element) lstNmElmntLst317.item(0);
                    NodeList lstNm317 = lstNmElmnt317.getChildNodes();
                    System.out.println("activitiesSelected : " + ((Node) lstNm317.item(0)).getNodeValue());
                    //tt
                    //activitiesSelected=((Node) lstNm317.item(0)).getNodeValue(); 

                    if (((Node) lstNm317.item(0)).getNodeValue().equalsIgnoreCase("NA")) {
                    } else {
                        System.out.println("activitiesSelected : " + ((Node) lstNm317.item(0)).getNodeValue());
                        //break s,s,s,s to s1 s2 s3 ....
                        activitiesSelected = convertcsvstrtoarray(((Node) lstNm317.item(0)).getNodeValue());
                        System.out.println("activitiesSelected0 : " + activitiesSelected[0]);
                        System.out.println("activitiesSelected1 : " + activitiesSelected[1]);
                        System.out.println("activitiesSelected2 : " + activitiesSelected[2]);
                        System.out.println("activitiesSelected3 : " + activitiesSelected[3]);
                        System.out.println("activitiesSelected4 : " + activitiesSelected[4]);
                        System.out.println("activitiesSelected5 : " + activitiesSelected[5]);
                        System.out.println("activitiesSelected6 : " + activitiesSelected[6]);
                        System.out.println("activitiesSelected7 : " + activitiesSelected[7]);
                        System.out.println("activitiesSelected8 : " + activitiesSelected[8]);
                    }

                    NodeList lstNmElmntLst318 = fstElmnt.getElementsByTagName("furtherInfo");
                    Element lstNmElmnt318 = (Element) lstNmElmntLst318.item(0);
                    NodeList lstNm318 = lstNmElmnt318.getChildNodes();
                    System.out.println("furtherInfo : " + ((Node) lstNm318.item(0)).getNodeValue());
                    furtherInfo = ((Node) lstNm318.item(0)).getNodeValue();

                    NodeList lstNmElmntLst319 = fstElmnt.getElementsByTagName("furtherInfo2");
                    Element lstNmElmnt319 = (Element) lstNmElmntLst319.item(0);
                    NodeList lstNm319 = lstNmElmnt319.getChildNodes();
                    System.out.println("furtherInfo2 : " + ((Node) lstNm319.item(0)).getNodeValue());
                    furtherInfo2 = ((Node) lstNm319.item(0)).getNodeValue();

                    NodeList lstNmElmntLst320 = fstElmnt.getElementsByTagName("furtherInfo3");
                    Element lstNmElmnt320 = (Element) lstNmElmntLst320.item(0);
                    NodeList lstNm320 = lstNmElmnt320.getChildNodes();
                    System.out.println("furtherInfo3 : " + ((Node) lstNm320.item(0)).getNodeValue());
                    furtherInfo3 = ((Node) lstNm320.item(0)).getNodeValue();

                    NodeList lstNmElmntLst321 = fstElmnt.getElementsByTagName("typeOfCA");
                    Element lstNmElmnt321 = (Element) lstNmElmntLst321.item(0);
                    NodeList lstNm321 = lstNmElmnt321.getChildNodes();
                    System.out.println("typeOfCA : " + ((Node) lstNm321.item(0)).getNodeValue());
                    typeOfCA = ((Node) lstNm321.item(0)).getNodeValue();

                    NodeList lstNmElmntLst322 = fstElmnt.getElementsByTagName("a34disabled");
                    Element lstNmElmnt322 = (Element) lstNmElmntLst322.item(0);
                    NodeList lstNm322 = lstNmElmnt322.getChildNodes();
                    System.out.println("a34disabled : " + ((Node) lstNm322.item(0)).getNodeValue());
                    a34disabled = ((Node) lstNm322.item(0)).getNodeValue();

                    NodeList lstNmElmntLst323 = fstElmnt.getElementsByTagName("a47disabled");
                    Element lstNmElmnt323 = (Element) lstNmElmntLst323.item(0);
                    NodeList lstNm323 = lstNmElmnt323.getChildNodes();
                    System.out.println("a47disabled : " + ((Node) lstNm323.item(0)).getNodeValue());
                    a47disabled = ((Node) lstNm323.item(0)).getNodeValue();

                    NodeList lstNmElmntLst324 = fstElmnt.getElementsByTagName("d1");
                    Element lstNmElmnt324 = (Element) lstNmElmntLst324.item(0);
                    NodeList lstNm324 = lstNmElmnt324.getChildNodes();
                    System.out.println("d1 : " + ((Node) lstNm324.item(0)).getNodeValue());
                    d1 = ((Node) lstNm324.item(0)).getNodeValue();

                    NodeList lstNmElmntLst325 = fstElmnt.getElementsByTagName("d2");
                    Element lstNmElmnt325 = (Element) lstNmElmntLst325.item(0);
                    NodeList lstNm325 = lstNmElmnt325.getChildNodes();
                    System.out.println("d2 : " + ((Node) lstNm325.item(0)).getNodeValue());
                    d2 = ((Node) lstNm325.item(0)).getNodeValue();

                    NodeList lstNmElmntLst326 = fstElmnt.getElementsByTagName("d3");
                    Element lstNmElmnt326 = (Element) lstNmElmntLst326.item(0);
                    NodeList lstNm326 = lstNmElmnt326.getChildNodes();
                    System.out.println("d3 : " + ((Node) lstNm326.item(0)).getNodeValue());
                    d3 = ((Node) lstNm326.item(0)).getNodeValue();

                    NodeList lstNmElmntLst327 = fstElmnt.getElementsByTagName("d4");
                    Element lstNmElmnt327 = (Element) lstNmElmntLst327.item(0);
                    NodeList lstNm327 = lstNmElmnt327.getChildNodes();
                    System.out.println("d4 : " + ((Node) lstNm327.item(0)).getNodeValue());
                    d4 = ((Node) lstNm327.item(0)).getNodeValue();

                    NodeList lstNmElmntLst328 = fstElmnt.getElementsByTagName("d5");
                    Element lstNmElmnt328 = (Element) lstNmElmntLst328.item(0);
                    NodeList lstNm328 = lstNmElmnt328.getChildNodes();
                    System.out.println("d5 : " + ((Node) lstNm328.item(0)).getNodeValue());
                    d5 = ((Node) lstNm328.item(0)).getNodeValue();

                    NodeList lstNmElmntLst329 = fstElmnt.getElementsByTagName("disableall");
                    Element lstNmElmnt329 = (Element) lstNmElmntLst329.item(0);
                    NodeList lstNm329 = lstNmElmnt329.getChildNodes();
                    System.out.println("disableall : " + ((Node) lstNm329.item(0)).getNodeValue());
                    disableall = ((Node) lstNm329.item(0)).getNodeValue();

                    NodeList lstNmElmntLst330 = fstElmnt.getElementsByTagName("disableall1");
                    Element lstNmElmnt330 = (Element) lstNmElmntLst330.item(0);
                    NodeList lstNm330 = lstNmElmnt330.getChildNodes();
                    System.out.println("disableall1 : " + ((Node) lstNm330.item(0)).getNodeValue());
                    disableall1 = ((Node) lstNm330.item(0)).getNodeValue();

                    NodeList lstNmElmntLst331 = fstElmnt.getElementsByTagName("op1");
                    Element lstNmElmnt331 = (Element) lstNmElmntLst331.item(0);
                    NodeList lstNm331 = lstNmElmnt331.getChildNodes();
                    System.out.println("op1 : " + ((Node) lstNm331.item(0)).getNodeValue());
                    op1 = ((Node) lstNm331.item(0)).getNodeValue();

                    NodeList lstNmElmntLst332 = fstElmnt.getElementsByTagName("op2");
                    Element lstNmElmnt332 = (Element) lstNmElmntLst332.item(0);
                    NodeList lstNm332 = lstNmElmnt332.getChildNodes();
                    System.out.println("op2 : " + ((Node) lstNm332.item(0)).getNodeValue());
                    op2 = ((Node) lstNm332.item(0)).getNodeValue();

                    NodeList lstNmElmntLst333 = fstElmnt.getElementsByTagName("op3");
                    Element lstNmElmnt333 = (Element) lstNmElmntLst333.item(0);
                    NodeList lstNm333 = lstNmElmnt333.getChildNodes();
                    System.out.println("op3 : " + ((Node) lstNm333.item(0)).getNodeValue());
                    op3 = ((Node) lstNm333.item(0)).getNodeValue();

                    NodeList lstNmElmntLst334 = fstElmnt.getElementsByTagName("op4");
                    Element lstNmElmnt334 = (Element) lstNmElmntLst334.item(0);
                    NodeList lstNm334 = lstNmElmnt334.getChildNodes();
                    System.out.println("op4 : " + ((Node) lstNm334.item(0)).getNodeValue());
                    op4 = ((Node) lstNm334.item(0)).getNodeValue();

                    NodeList lstNmElmntLst335 = fstElmnt.getElementsByTagName("op7");
                    Element lstNmElmnt335 = (Element) lstNmElmntLst335.item(0);
                    NodeList lstNm335 = lstNmElmnt335.getChildNodes();
                    System.out.println("op7 : " + ((Node) lstNm335.item(0)).getNodeValue());
                    op7 = ((Node) lstNm335.item(0)).getNodeValue();

                    NodeList lstNmElmntLst336 = fstElmnt.getElementsByTagName("op8");
                    Element lstNmElmnt336 = (Element) lstNmElmntLst336.item(0);
                    NodeList lstNm336 = lstNmElmnt336.getChildNodes();
                    System.out.println("op8 : " + ((Node) lstNm336.item(0)).getNodeValue());
                    op8 = ((Node) lstNm336.item(0)).getNodeValue();

                    NodeList lstNmElmntLst337 = fstElmnt.getElementsByTagName("s331");
                    Element lstNmElmnt337 = (Element) lstNmElmntLst337.item(0);
                    NodeList lstNm337 = lstNmElmnt337.getChildNodes();
                    System.out.println("s331 : " + ((Node) lstNm337.item(0)).getNodeValue());
                    s331 = ((Node) lstNm337.item(0)).getNodeValue();

                    NodeList lstNmElmntLst338 = fstElmnt.getElementsByTagName("s311");
                    Element lstNmElmnt338 = (Element) lstNmElmntLst338.item(0);
                    NodeList lstNm338 = lstNmElmnt338.getChildNodes();
                    System.out.println("s311 : " + ((Node) lstNm338.item(0)).getNodeValue());
                    s311 = ((Node) lstNm338.item(0)).getNodeValue();

                    NodeList lstNmElmntLst339 = fstElmnt.getElementsByTagName("a141s");
                    Element lstNmElmnt339 = (Element) lstNmElmntLst339.item(0);
                    NodeList lstNm339 = lstNmElmnt339.getChildNodes();
                    System.out.println("a141s : " + ((Node) lstNm339.item(0)).getNodeValue());
                    a141s = ((Node) lstNm339.item(0)).getNodeValue();

                    NodeList lstNmElmntLst340 = fstElmnt.getElementsByTagName("payable");
                    Element lstNmElmnt340 = (Element) lstNmElmntLst340.item(0);
                    NodeList lstNm340 = lstNmElmnt340.getChildNodes();
                    System.out.println("payable : " + ((Node) lstNm340.item(0)).getNodeValue());
                    payable = ((Node) lstNm340.item(0)).getNodeValue();

                    NodeList lstNmElmntLst341 = fstElmnt.getElementsByTagName("pd1");
                    Element lstNmElmnt341 = (Element) lstNmElmntLst341.item(0);
                    NodeList lstNm341 = lstNmElmnt341.getChildNodes();
                    System.out.println("pd1 : " + ((Node) lstNm341.item(0)).getNodeValue());
                    pd1 = ((Node) lstNm341.item(0)).getNodeValue();

                    NodeList lstNmElmntLst342 = fstElmnt.getElementsByTagName("pd2");
                    Element lstNmElmnt342 = (Element) lstNmElmntLst342.item(0);
                    NodeList lstNm342 = lstNmElmnt342.getChildNodes();
                    System.out.println("pd2 : " + ((Node) lstNm342.item(0)).getNodeValue());
                    pd2 = ((Node) lstNm342.item(0)).getNodeValue();

                    NodeList lstNmElmntLst343 = fstElmnt.getElementsByTagName("pd3");
                    Element lstNmElmnt343 = (Element) lstNmElmntLst343.item(0);
                    NodeList lstNm343 = lstNmElmnt343.getChildNodes();
                    System.out.println("pd3 : " + ((Node) lstNm343.item(0)).getNodeValue());
                    pd3 = ((Node) lstNm343.item(0)).getNodeValue();

                    NodeList lstNmElmntLst344 = fstElmnt.getElementsByTagName("a193s");
                    Element lstNmElmnt344 = (Element) lstNmElmntLst344.item(0);
                    NodeList lstNm344 = lstNmElmnt344.getChildNodes();
                    System.out.println("a193s : " + ((Node) lstNm344.item(0)).getNodeValue());
                    a193s = ((Node) lstNm344.item(0)).getNodeValue();

                    NodeList lstNmElmntLst345 = fstElmnt.getElementsByTagName("section22i2");
                    Element lstNmElmnt345 = (Element) lstNmElmntLst345.item(0);
                    NodeList lstNm345 = lstNmElmnt345.getChildNodes();
                    System.out.println("section22i2 : " + ((Node) lstNm345.item(0)).getNodeValue());
                    section22i2 = ((Node) lstNm345.item(0)).getNodeValue();

                    NodeList lstNmElmntLst346 = fstElmnt.getElementsByTagName("section22i3");
                    Element lstNmElmnt346 = (Element) lstNmElmntLst346.item(0);
                    NodeList lstNm346 = lstNmElmnt346.getChildNodes();
                    System.out.println("section22i3 : " + ((Node) lstNm346.item(0)).getNodeValue());
                    section22i3 = ((Node) lstNm346.item(0)).getNodeValue();

                    NodeList lstNmElmntLst347 = fstElmnt.getElementsByTagName("section33i");
                    Element lstNmElmnt347 = (Element) lstNmElmntLst347.item(0);
                    NodeList lstNm347 = lstNmElmnt347.getChildNodes();
                    System.out.println("section33i : " + ((Node) lstNm347.item(0)).getNodeValue());
                    section33i = ((Node) lstNm347.item(0)).getNodeValue();

                    NodeList lstNmElmntLst348 = fstElmnt.getElementsByTagName("a385");
                    Element lstNmElmnt348 = (Element) lstNmElmntLst348.item(0);
                    NodeList lstNm348 = lstNmElmnt348.getChildNodes();
                    System.out.println("a385 : " + ((Node) lstNm348.item(0)).getNodeValue());
                    a385 = ((Node) lstNm348.item(0)).getNodeValue();

                    NodeList lstNmElmntLst349 = fstElmnt.getElementsByTagName("ar1");
                    Element lstNmElmnt349 = (Element) lstNmElmntLst349.item(0);
                    NodeList lstNm349 = lstNmElmnt349.getChildNodes();
                    System.out.println("ar1 : " + ((Node) lstNm349.item(0)).getNodeValue());
                    ar1 = ((Node) lstNm349.item(0)).getNodeValue();

                    NodeList lstNmElmntLst350 = fstElmnt.getElementsByTagName("ar2");
                    Element lstNmElmnt350 = (Element) lstNmElmntLst350.item(0);
                    NodeList lstNm350 = lstNmElmnt350.getChildNodes();
                    System.out.println("ar2 : " + ((Node) lstNm350.item(0)).getNodeValue());
                    ar2 = ((Node) lstNm350.item(0)).getNodeValue();

                    NodeList lstNmElmntLst351 = fstElmnt.getElementsByTagName("ar3");
                    Element lstNmElmnt351 = (Element) lstNmElmntLst351.item(0);
                    NodeList lstNm351 = lstNmElmnt351.getChildNodes();
                    System.out.println("ar3 : " + ((Node) lstNm351.item(0)).getNodeValue());
                    ar3 = ((Node) lstNm351.item(0)).getNodeValue();

                    NodeList lstNmElmntLst352 = fstElmnt.getElementsByTagName("ar4");
                    Element lstNmElmnt352 = (Element) lstNmElmntLst352.item(0);
                    NodeList lstNm352 = lstNmElmnt352.getChildNodes();
                    System.out.println("ar4 : " + ((Node) lstNm352.item(0)).getNodeValue());
                    ar4 = ((Node) lstNm352.item(0)).getNodeValue();

                    NodeList lstNmElmntLst353 = fstElmnt.getElementsByTagName("ar5");
                    Element lstNmElmnt353 = (Element) lstNmElmntLst353.item(0);
                    NodeList lstNm353 = lstNmElmnt353.getChildNodes();
                    System.out.println("ar5 : " + ((Node) lstNm353.item(0)).getNodeValue());
                    ar5 = ((Node) lstNm353.item(0)).getNodeValue();

                    NodeList lstNmElmntLst354 = fstElmnt.getElementsByTagName("ar6");
                    Element lstNmElmnt354 = (Element) lstNmElmntLst354.item(0);
                    NodeList lstNm354 = lstNmElmnt354.getChildNodes();
                    System.out.println("ar6 : " + ((Node) lstNm354.item(0)).getNodeValue());
                    ar6 = ((Node) lstNm354.item(0)).getNodeValue();

                    NodeList lstNmElmntLst355 = fstElmnt.getElementsByTagName("aa1");
                    Element lstNmElmnt355 = (Element) lstNmElmntLst355.item(0);
                    NodeList lstNm355 = lstNmElmnt355.getChildNodes();
                    System.out.println("aa1 : " + ((Node) lstNm355.item(0)).getNodeValue());
                    aa1 = ((Node) lstNm355.item(0)).getNodeValue();

                    NodeList lstNmElmntLst356 = fstElmnt.getElementsByTagName("aaa1");
                    Element lstNmElmnt356 = (Element) lstNmElmntLst356.item(0);
                    NodeList lstNm356 = lstNmElmnt356.getChildNodes();
                    System.out.println("aaa1 : " + ((Node) lstNm356.item(0)).getNodeValue());
                    aaa1 = ((Node) lstNm356.item(0)).getNodeValue();

                    NodeList lstNmElmntLst357 = fstElmnt.getElementsByTagName("aaaa1");
                    Element lstNmElmnt357 = (Element) lstNmElmntLst357.item(0);
                    NodeList lstNm357 = lstNmElmnt357.getChildNodes();
                    System.out.println("aaaa1 : " + ((Node) lstNm357.item(0)).getNodeValue());
                    aaaa1 = ((Node) lstNm357.item(0)).getNodeValue();

                    NodeList lstNmElmntLst358 = fstElmnt.getElementsByTagName("aaaaa1");
                    Element lstNmElmnt358 = (Element) lstNmElmntLst358.item(0);
                    NodeList lstNm358 = lstNmElmnt358.getChildNodes();
                    System.out.println("aaaaa1 : " + ((Node) lstNm358.item(0)).getNodeValue());
                    aaaaa1 = ((Node) lstNm358.item(0)).getNodeValue();

                    NodeList lstNmElmntLst359 = fstElmnt.getElementsByTagName("aa2");
                    Element lstNmElmnt359 = (Element) lstNmElmntLst359.item(0);
                    NodeList lstNm359 = lstNmElmnt359.getChildNodes();
                    System.out.println("aa2 : " + ((Node) lstNm359.item(0)).getNodeValue());
                    aa2 = ((Node) lstNm359.item(0)).getNodeValue();

                    NodeList lstNmElmntLst360 = fstElmnt.getElementsByTagName("aaa2");
                    Element lstNmElmnt360 = (Element) lstNmElmntLst360.item(0);
                    NodeList lstNm360 = lstNmElmnt360.getChildNodes();
                    System.out.println("aaa2 : " + ((Node) lstNm360.item(0)).getNodeValue());
                    aaa2 = ((Node) lstNm360.item(0)).getNodeValue();

                    NodeList lstNmElmntLst361 = fstElmnt.getElementsByTagName("aaaa2");
                    Element lstNmElmnt361 = (Element) lstNmElmntLst361.item(0);
                    NodeList lstNm361 = lstNmElmnt361.getChildNodes();
                    System.out.println("aaaa2 : " + ((Node) lstNm361.item(0)).getNodeValue());
                    aaaa2 = ((Node) lstNm361.item(0)).getNodeValue();

                    NodeList lstNmElmntLst362 = fstElmnt.getElementsByTagName("aaaaa2");
                    Element lstNmElmnt362 = (Element) lstNmElmntLst362.item(0);
                    NodeList lstNm362 = lstNmElmnt362.getChildNodes();
                    System.out.println("aaaaa2 : " + ((Node) lstNm362.item(0)).getNodeValue());
                    aaaaa2 = ((Node) lstNm362.item(0)).getNodeValue();

                    NodeList lstNmElmntLst363 = fstElmnt.getElementsByTagName("aa3");
                    Element lstNmElmnt363 = (Element) lstNmElmntLst363.item(0);
                    NodeList lstNm363 = lstNmElmnt363.getChildNodes();
                    System.out.println("aa3 : " + ((Node) lstNm363.item(0)).getNodeValue());
                    aa3 = ((Node) lstNm363.item(0)).getNodeValue();

                    NodeList lstNmElmntLst364 = fstElmnt.getElementsByTagName("aaa3");
                    Element lstNmElmnt364 = (Element) lstNmElmntLst364.item(0);
                    NodeList lstNm364 = lstNmElmnt364.getChildNodes();
                    System.out.println("aaa3 : " + ((Node) lstNm364.item(0)).getNodeValue());
                    aaa3 = ((Node) lstNm364.item(0)).getNodeValue();

                    NodeList lstNmElmntLst365 = fstElmnt.getElementsByTagName("aaaa3");
                    Element lstNmElmnt365 = (Element) lstNmElmntLst365.item(0);
                    NodeList lstNm365 = lstNmElmnt365.getChildNodes();
                    System.out.println("aaaa3 : " + ((Node) lstNm365.item(0)).getNodeValue());
                    aaaa3 = ((Node) lstNm365.item(0)).getNodeValue();

                    NodeList lstNmElmntLst366 = fstElmnt.getElementsByTagName("aaaaa3");
                    Element lstNmElmnt366 = (Element) lstNmElmntLst366.item(0);
                    NodeList lstNm366 = lstNmElmnt366.getChildNodes();
                    System.out.println("aaaaa3 : " + ((Node) lstNm366.item(0)).getNodeValue());
                    aaaaa3 = ((Node) lstNm366.item(0)).getNodeValue();

                    NodeList lstNmElmntLst367 = fstElmnt.getElementsByTagName("aa4");
                    Element lstNmElmnt367 = (Element) lstNmElmntLst367.item(0);
                    NodeList lstNm367 = lstNmElmnt367.getChildNodes();
                    System.out.println("aa4 : " + ((Node) lstNm367.item(0)).getNodeValue());
                    aa4 = ((Node) lstNm367.item(0)).getNodeValue();

                    NodeList lstNmElmntLst368 = fstElmnt.getElementsByTagName("aaa4");
                    Element lstNmElmnt368 = (Element) lstNmElmntLst368.item(0);
                    NodeList lstNm368 = lstNmElmnt368.getChildNodes();
                    System.out.println("aaa4 : " + ((Node) lstNm368.item(0)).getNodeValue());
                    aaa4 = ((Node) lstNm368.item(0)).getNodeValue();

                    NodeList lstNmElmntLst369 = fstElmnt.getElementsByTagName("aaaa4");
                    Element lstNmElmnt369 = (Element) lstNmElmntLst369.item(0);
                    NodeList lstNm369 = lstNmElmnt369.getChildNodes();
                    System.out.println("aaaa4 : " + ((Node) lstNm369.item(0)).getNodeValue());
                    aaaa4 = ((Node) lstNm369.item(0)).getNodeValue();

                    NodeList lstNmElmntLst370 = fstElmnt.getElementsByTagName("aaaaa4");
                    Element lstNmElmnt370 = (Element) lstNmElmntLst370.item(0);
                    NodeList lstNm370 = lstNmElmnt370.getChildNodes();
                    System.out.println("aaaaa4 : " + ((Node) lstNm370.item(0)).getNodeValue());
                    aaaaa4 = ((Node) lstNm370.item(0)).getNodeValue();

                    NodeList lstNmElmntLst371 = fstElmnt.getElementsByTagName("disabletext1");
                    Element lstNmElmnt371 = (Element) lstNmElmntLst371.item(0);
                    NodeList lstNm371 = lstNmElmnt371.getChildNodes();
                    System.out.println("disabletext1 : " + ((Node) lstNm371.item(0)).getNodeValue());
                    disabletext1 = ((Node) lstNm371.item(0)).getNodeValue();

                    NodeList lstNmElmntLst372 = fstElmnt.getElementsByTagName("aa5");
                    Element lstNmElmnt372 = (Element) lstNmElmntLst372.item(0);
                    NodeList lstNm372 = lstNmElmnt372.getChildNodes();
                    System.out.println("aa5 : " + ((Node) lstNm372.item(0)).getNodeValue());
                    aa5 = ((Node) lstNm372.item(0)).getNodeValue();

                    NodeList lstNmElmntLst373 = fstElmnt.getElementsByTagName("aaa5");
                    Element lstNmElmnt373 = (Element) lstNmElmntLst373.item(0);
                    NodeList lstNm373 = lstNmElmnt373.getChildNodes();
                    System.out.println("aaa5 : " + ((Node) lstNm373.item(0)).getNodeValue());
                    aaa5 = ((Node) lstNm373.item(0)).getNodeValue();

                    NodeList lstNmElmntLst374 = fstElmnt.getElementsByTagName("aaaa5");
                    Element lstNmElmnt374 = (Element) lstNmElmntLst374.item(0);
                    NodeList lstNm374 = lstNmElmnt374.getChildNodes();
                    System.out.println("aaaa5 : " + ((Node) lstNm374.item(0)).getNodeValue());
                    aaaa5 = ((Node) lstNm374.item(0)).getNodeValue();

                    NodeList lstNmElmntLst375 = fstElmnt.getElementsByTagName("aaaaa5");
                    Element lstNmElmnt375 = (Element) lstNmElmntLst375.item(0);
                    NodeList lstNm375 = lstNmElmnt375.getChildNodes();
                    System.out.println("aaaaa5 : " + ((Node) lstNm375.item(0)).getNodeValue());
                    aaaaa5 = ((Node) lstNm375.item(0)).getNodeValue();

                    NodeList lstNmElmntLst376 = fstElmnt.getElementsByTagName("aa6");
                    Element lstNmElmnt376 = (Element) lstNmElmntLst376.item(0);
                    NodeList lstNm376 = lstNmElmnt376.getChildNodes();
                    System.out.println("aa6 : " + ((Node) lstNm376.item(0)).getNodeValue());
                    aa6 = ((Node) lstNm376.item(0)).getNodeValue();

                    NodeList lstNmElmntLst377 = fstElmnt.getElementsByTagName("aaa6");
                    Element lstNmElmnt377 = (Element) lstNmElmntLst377.item(0);
                    NodeList lstNm377 = lstNmElmnt377.getChildNodes();
                    System.out.println("aaa6 : " + ((Node) lstNm377.item(0)).getNodeValue());
                    aaa6 = ((Node) lstNm377.item(0)).getNodeValue();

                    NodeList lstNmElmntLst378 = fstElmnt.getElementsByTagName("aaaa6");
                    Element lstNmElmnt378 = (Element) lstNmElmntLst378.item(0);
                    NodeList lstNm378 = lstNmElmnt378.getChildNodes();
                    System.out.println("aaaa6 : " + ((Node) lstNm378.item(0)).getNodeValue());
                    aaaa6 = ((Node) lstNm378.item(0)).getNodeValue();

                    NodeList lstNmElmntLst379 = fstElmnt.getElementsByTagName("aaaaa6");
                    Element lstNmElmnt379 = (Element) lstNmElmntLst379.item(0);
                    NodeList lstNm379 = lstNmElmnt379.getChildNodes();
                    System.out.println("aaaaa6 : " + ((Node) lstNm379.item(0)).getNodeValue());
                    aaaaa6 = ((Node) lstNm379.item(0)).getNodeValue();

                    NodeList lstNmElmntLst380 = fstElmnt.getElementsByTagName("ashow");
                    Element lstNmElmnt380 = (Element) lstNmElmntLst380.item(0);
                    NodeList lstNm380 = lstNmElmnt380.getChildNodes();
                    System.out.println("ashow : " + ((Node) lstNm380.item(0)).getNodeValue());
                    ashow = ((Node) lstNm380.item(0)).getNodeValue();

                    NodeList lstNmElmntLst381 = fstElmnt.getElementsByTagName("link0");
                    Element lstNmElmnt381 = (Element) lstNmElmntLst381.item(0);
                    NodeList lstNm381 = lstNmElmnt381.getChildNodes();
                    System.out.println("link0 : " + ((Node) lstNm381.item(0)).getNodeValue());
                    link0 = ((Node) lstNm381.item(0)).getNodeValue();

                    NodeList lstNmElmntLst382 = fstElmnt.getElementsByTagName("link1");
                    Element lstNmElmnt382 = (Element) lstNmElmntLst382.item(0);
                    NodeList lstNm382 = lstNmElmnt382.getChildNodes();
                    System.out.println("link1 : " + ((Node) lstNm382.item(0)).getNodeValue());
                    link1 = ((Node) lstNm382.item(0)).getNodeValue();

                    NodeList lstNmElmntLst383 = fstElmnt.getElementsByTagName("link2");
                    Element lstNmElmnt383 = (Element) lstNmElmntLst383.item(0);
                    NodeList lstNm383 = lstNmElmnt383.getChildNodes();
                    System.out.println("link2 : " + ((Node) lstNm383.item(0)).getNodeValue());
                    link2 = ((Node) lstNm383.item(0)).getNodeValue();

                    NodeList lstNmElmntLst384 = fstElmnt.getElementsByTagName("link3");
                    Element lstNmElmnt384 = (Element) lstNmElmntLst384.item(0);
                    NodeList lstNm384 = lstNmElmnt384.getChildNodes();
                    System.out.println("link3 : " + ((Node) lstNm384.item(0)).getNodeValue());
                    link3 = ((Node) lstNm384.item(0)).getNodeValue();

                    NodeList lstNmElmntLst385 = fstElmnt.getElementsByTagName("link4");
                    Element lstNmElmnt385 = (Element) lstNmElmntLst385.item(0);
                    NodeList lstNm385 = lstNmElmnt385.getChildNodes();
                    System.out.println("link4 : " + ((Node) lstNm385.item(0)).getNodeValue());
                    link4 = ((Node) lstNm385.item(0)).getNodeValue();

                    NodeList lstNmElmntLst386 = fstElmnt.getElementsByTagName("link5");
                    Element lstNmElmnt386 = (Element) lstNmElmntLst386.item(0);
                    NodeList lstNm386 = lstNmElmnt386.getChildNodes();
                    System.out.println("link5 : " + ((Node) lstNm386.item(0)).getNodeValue());
                    link5 = ((Node) lstNm386.item(0)).getNodeValue();

                    NodeList lstNmElmntLst387 = fstElmnt.getElementsByTagName("link6");
                    Element lstNmElmnt387 = (Element) lstNmElmntLst387.item(0);
                    NodeList lstNm387 = lstNmElmnt387.getChildNodes();
                    System.out.println("link6 : " + ((Node) lstNm387.item(0)).getNodeValue());
                    link6 = ((Node) lstNm387.item(0)).getNodeValue();

                    NodeList lstNmElmntLst388 = fstElmnt.getElementsByTagName("link7");
                    Element lstNmElmnt388 = (Element) lstNmElmntLst388.item(0);
                    NodeList lstNm388 = lstNmElmnt388.getChildNodes();
                    System.out.println("link7 : " + ((Node) lstNm388.item(0)).getNodeValue());
                    link7 = ((Node) lstNm388.item(0)).getNodeValue();

                    NodeList lstNmElmntLst389 = fstElmnt.getElementsByTagName("text0");
                    Element lstNmElmnt389 = (Element) lstNmElmntLst389.item(0);
                    NodeList lstNm389 = lstNmElmnt389.getChildNodes();
                    System.out.println("text0 : " + ((Node) lstNm389.item(0)).getNodeValue());
                    text0 = ((Node) lstNm389.item(0)).getNodeValue();

                    NodeList lstNmElmntLst390 = fstElmnt.getElementsByTagName("text1");
                    Element lstNmElmnt390 = (Element) lstNmElmntLst390.item(0);
                    NodeList lstNm390 = lstNmElmnt390.getChildNodes();
                    System.out.println("text1 : " + ((Node) lstNm390.item(0)).getNodeValue());
                    text1 = ((Node) lstNm390.item(0)).getNodeValue();

                    NodeList lstNmElmntLst391 = fstElmnt.getElementsByTagName("text2");
                    Element lstNmElmnt391 = (Element) lstNmElmntLst391.item(0);
                    NodeList lstNm391 = lstNmElmnt391.getChildNodes();
                    System.out.println("text2 : " + ((Node) lstNm391.item(0)).getNodeValue());
                    text2 = ((Node) lstNm391.item(0)).getNodeValue();

                    NodeList lstNmElmntLst392 = fstElmnt.getElementsByTagName("text3");
                    Element lstNmElmnt392 = (Element) lstNmElmntLst392.item(0);
                    NodeList lstNm392 = lstNmElmnt392.getChildNodes();
                    System.out.println("text3 : " + ((Node) lstNm392.item(0)).getNodeValue());
                    text3 = ((Node) lstNm392.item(0)).getNodeValue();

                    NodeList lstNmElmntLst393 = fstElmnt.getElementsByTagName("text4");
                    Element lstNmElmnt393 = (Element) lstNmElmntLst393.item(0);
                    NodeList lstNm393 = lstNmElmnt393.getChildNodes();
                    System.out.println("text4 : " + ((Node) lstNm393.item(0)).getNodeValue());
                    text4 = ((Node) lstNm393.item(0)).getNodeValue();

                    NodeList lstNmElmntLst394 = fstElmnt.getElementsByTagName("text5");
                    Element lstNmElmnt394 = (Element) lstNmElmntLst394.item(0);
                    NodeList lstNm394 = lstNmElmnt394.getChildNodes();
                    System.out.println("text5 : " + ((Node) lstNm394.item(0)).getNodeValue());
                    text5 = ((Node) lstNm394.item(0)).getNodeValue();

                    NodeList lstNmElmntLst395 = fstElmnt.getElementsByTagName("text6");
                    Element lstNmElmnt395 = (Element) lstNmElmntLst395.item(0);
                    NodeList lstNm395 = lstNmElmnt395.getChildNodes();
                    System.out.println("text6 : " + ((Node) lstNm395.item(0)).getNodeValue());
                    text6 = ((Node) lstNm395.item(0)).getNodeValue();

                    NodeList lstNmElmntLst396 = fstElmnt.getElementsByTagName("text7");
                    Element lstNmElmnt396 = (Element) lstNmElmntLst396.item(0);
                    NodeList lstNm396 = lstNmElmnt396.getChildNodes();
                    System.out.println("text7 : " + ((Node) lstNm396.item(0)).getNodeValue());
                    text7 = ((Node) lstNm396.item(0)).getNodeValue();

                    NodeList lstNmElmntLst397 = fstElmnt.getElementsByTagName("v0");
                    Element lstNmElmnt397 = (Element) lstNmElmntLst397.item(0);
                    NodeList lstNm397 = lstNmElmnt397.getChildNodes();
                    System.out.println("v0 : " + ((Node) lstNm397.item(0)).getNodeValue());
                    v0 = ((Node) lstNm397.item(0)).getNodeValue();

                    NodeList lstNmElmntLst398 = fstElmnt.getElementsByTagName("i0");
                    Element lstNmElmnt398 = (Element) lstNmElmntLst398.item(0);
                    NodeList lstNm398 = lstNmElmnt398.getChildNodes();
                    System.out.println("i0 : " + ((Node) lstNm398.item(0)).getNodeValue());
                    i0 = ((Node) lstNm398.item(0)).getNodeValue();

                    NodeList lstNmElmntLst399 = fstElmnt.getElementsByTagName("c0");
                    Element lstNmElmnt399 = (Element) lstNmElmntLst399.item(0);
                    NodeList lstNm399 = lstNmElmnt399.getChildNodes();
                    System.out.println("c0 : " + ((Node) lstNm399.item(0)).getNodeValue());
                    c0 = ((Node) lstNm399.item(0)).getNodeValue();

                    NodeList lstNmElmntLst400 = fstElmnt.getElementsByTagName("v1");
                    Element lstNmElmnt400 = (Element) lstNmElmntLst400.item(0);
                    NodeList lstNm400 = lstNmElmnt400.getChildNodes();
                    System.out.println("v1 : " + ((Node) lstNm400.item(0)).getNodeValue());
                    v1 = ((Node) lstNm400.item(0)).getNodeValue();

                    NodeList lstNmElmntLst401 = fstElmnt.getElementsByTagName("i1");
                    Element lstNmElmnt401 = (Element) lstNmElmntLst401.item(0);
                    NodeList lstNm401 = lstNmElmnt401.getChildNodes();
                    System.out.println("i1 : " + ((Node) lstNm401.item(0)).getNodeValue());
                    i1 = ((Node) lstNm401.item(0)).getNodeValue();

                    NodeList lstNmElmntLst402 = fstElmnt.getElementsByTagName("c1");
                    Element lstNmElmnt402 = (Element) lstNmElmntLst402.item(0);
                    NodeList lstNm402 = lstNmElmnt402.getChildNodes();
                    System.out.println("c1 : " + ((Node) lstNm402.item(0)).getNodeValue());
                    c1 = ((Node) lstNm402.item(0)).getNodeValue();

                    NodeList lstNmElmntLst403 = fstElmnt.getElementsByTagName("v2");
                    Element lstNmElmnt403 = (Element) lstNmElmntLst403.item(0);
                    NodeList lstNm403 = lstNmElmnt403.getChildNodes();
                    System.out.println("v2 : " + ((Node) lstNm403.item(0)).getNodeValue());
                    v2 = ((Node) lstNm403.item(0)).getNodeValue();

                    NodeList lstNmElmntLst404 = fstElmnt.getElementsByTagName("i2");
                    Element lstNmElmnt404 = (Element) lstNmElmntLst404.item(0);
                    NodeList lstNm404 = lstNmElmnt404.getChildNodes();
                    System.out.println("i2 : " + ((Node) lstNm404.item(0)).getNodeValue());
                    i2 = ((Node) lstNm404.item(0)).getNodeValue();

                    NodeList lstNmElmntLst405 = fstElmnt.getElementsByTagName("c2");
                    Element lstNmElmnt405 = (Element) lstNmElmntLst405.item(0);
                    NodeList lstNm405 = lstNmElmnt405.getChildNodes();
                    System.out.println("c2 : " + ((Node) lstNm405.item(0)).getNodeValue());
                    c2 = ((Node) lstNm405.item(0)).getNodeValue();

                    NodeList lstNmElmntLst406 = fstElmnt.getElementsByTagName("v3");
                    Element lstNmElmnt406 = (Element) lstNmElmntLst406.item(0);
                    NodeList lstNm406 = lstNmElmnt406.getChildNodes();
                    System.out.println("v3 : " + ((Node) lstNm406.item(0)).getNodeValue());
                    v3 = ((Node) lstNm406.item(0)).getNodeValue();

                    NodeList lstNmElmntLst407 = fstElmnt.getElementsByTagName("i3");
                    Element lstNmElmnt407 = (Element) lstNmElmntLst407.item(0);
                    NodeList lstNm407 = lstNmElmnt407.getChildNodes();
                    System.out.println("i3 : " + ((Node) lstNm407.item(0)).getNodeValue());
                    i3 = ((Node) lstNm407.item(0)).getNodeValue();

                    NodeList lstNmElmntLst408 = fstElmnt.getElementsByTagName("c3");
                    Element lstNmElmnt408 = (Element) lstNmElmntLst408.item(0);
                    NodeList lstNm408 = lstNmElmnt408.getChildNodes();
                    System.out.println("c3 : " + ((Node) lstNm408.item(0)).getNodeValue());
                    c3 = ((Node) lstNm408.item(0)).getNodeValue();

                    NodeList lstNmElmntLst409 = fstElmnt.getElementsByTagName("v4");
                    Element lstNmElmnt409 = (Element) lstNmElmntLst409.item(0);
                    NodeList lstNm409 = lstNmElmnt409.getChildNodes();
                    System.out.println("v4 : " + ((Node) lstNm409.item(0)).getNodeValue());
                    v4 = ((Node) lstNm409.item(0)).getNodeValue();

                    NodeList lstNmElmntLst410 = fstElmnt.getElementsByTagName("i4");
                    Element lstNmElmnt410 = (Element) lstNmElmntLst410.item(0);
                    NodeList lstNm410 = lstNmElmnt410.getChildNodes();
                    System.out.println("i4 : " + ((Node) lstNm410.item(0)).getNodeValue());
                    i4 = ((Node) lstNm410.item(0)).getNodeValue();

                    NodeList lstNmElmntLst411 = fstElmnt.getElementsByTagName("c4");
                    Element lstNmElmnt411 = (Element) lstNmElmntLst411.item(0);
                    NodeList lstNm411 = lstNmElmnt411.getChildNodes();
                    System.out.println("c4 : " + ((Node) lstNm411.item(0)).getNodeValue());
                    c4 = ((Node) lstNm411.item(0)).getNodeValue();

                    NodeList lstNmElmntLst412 = fstElmnt.getElementsByTagName("v5");
                    Element lstNmElmnt412 = (Element) lstNmElmntLst412.item(0);
                    NodeList lstNm412 = lstNmElmnt412.getChildNodes();
                    System.out.println("v5 : " + ((Node) lstNm412.item(0)).getNodeValue());
                    v5 = ((Node) lstNm412.item(0)).getNodeValue();

                    NodeList lstNmElmntLst413 = fstElmnt.getElementsByTagName("i5");
                    Element lstNmElmnt413 = (Element) lstNmElmntLst413.item(0);
                    NodeList lstNm413 = lstNmElmnt413.getChildNodes();
                    System.out.println("i5 : " + ((Node) lstNm413.item(0)).getNodeValue());
                    i5 = ((Node) lstNm413.item(0)).getNodeValue();

                    NodeList lstNmElmntLst414 = fstElmnt.getElementsByTagName("c5");
                    Element lstNmElmnt414 = (Element) lstNmElmntLst414.item(0);
                    NodeList lstNm414 = lstNmElmnt414.getChildNodes();
                    System.out.println("c5 : " + ((Node) lstNm414.item(0)).getNodeValue());
                    c5 = ((Node) lstNm414.item(0)).getNodeValue();

                    NodeList lstNmElmntLst415 = fstElmnt.getElementsByTagName("v6");
                    Element lstNmElmnt415 = (Element) lstNmElmntLst415.item(0);
                    NodeList lstNm415 = lstNmElmnt415.getChildNodes();
                    System.out.println("v6 : " + ((Node) lstNm415.item(0)).getNodeValue());
                    v6 = ((Node) lstNm415.item(0)).getNodeValue();

                    NodeList lstNmElmntLst416 = fstElmnt.getElementsByTagName("i6");
                    Element lstNmElmnt416 = (Element) lstNmElmntLst416.item(0);
                    NodeList lstNm416 = lstNmElmnt416.getChildNodes();
                    System.out.println("i6 : " + ((Node) lstNm416.item(0)).getNodeValue());
                    i6 = ((Node) lstNm416.item(0)).getNodeValue();

                    NodeList lstNmElmntLst417 = fstElmnt.getElementsByTagName("c6");
                    Element lstNmElmnt417 = (Element) lstNmElmntLst417.item(0);
                    NodeList lstNm417 = lstNmElmnt417.getChildNodes();
                    System.out.println("c6 : " + ((Node) lstNm417.item(0)).getNodeValue());
                    c6 = ((Node) lstNm417.item(0)).getNodeValue();

                    NodeList lstNmElmntLst418 = fstElmnt.getElementsByTagName("v7");
                    Element lstNmElmnt418 = (Element) lstNmElmntLst418.item(0);
                    NodeList lstNm418 = lstNmElmnt418.getChildNodes();
                    System.out.println("v7 : " + ((Node) lstNm418.item(0)).getNodeValue());
                    v7 = ((Node) lstNm418.item(0)).getNodeValue();

                    NodeList lstNmElmntLst419 = fstElmnt.getElementsByTagName("i7");
                    Element lstNmElmnt419 = (Element) lstNmElmntLst419.item(0);
                    NodeList lstNm419 = lstNmElmnt419.getChildNodes();
                    System.out.println("i7 : " + ((Node) lstNm419.item(0)).getNodeValue());
                    i7 = ((Node) lstNm419.item(0)).getNodeValue();

                    NodeList lstNmElmntLst420 = fstElmnt.getElementsByTagName("c7");
                    Element lstNmElmnt420 = (Element) lstNmElmntLst420.item(0);
                    NodeList lstNm420 = lstNmElmnt420.getChildNodes();
                    System.out.println("c7 : " + ((Node) lstNm420.item(0)).getNodeValue());
                    c7 = ((Node) lstNm420.item(0)).getNodeValue();

                    NodeList lstNmElmntLst421 = fstElmnt.getElementsByTagName("cpvddd");
                    Element lstNmElmnt421 = (Element) lstNmElmntLst421.item(0);
                    NodeList lstNm421 = lstNmElmnt421.getChildNodes();
                    System.out.println("cpvddd : " + ((Node) lstNm421.item(0)).getNodeValue());
                    cpvddd = ((Node) lstNm421.item(0)).getNodeValue();

                    NodeList lstNmElmntLst422 = fstElmnt.getElementsByTagName("showAnnexASectionI");
                    Element lstNmElmnt422 = (Element) lstNmElmntLst422.item(0);
                    NodeList lstNm422 = lstNmElmnt422.getChildNodes();
                    System.out.println("showAnnexASectionI : " + ((Node) lstNm422.item(0)).getNodeValue());
                    showAnnexASectionI = Boolean.valueOf(((Node) lstNm422.item(0)).getNodeValue());

                    NodeList lstNmElmntLst423 = fstElmnt.getElementsByTagName("showAnnexASectionII");
                    Element lstNmElmnt423 = (Element) lstNmElmntLst423.item(0);
                    NodeList lstNm423 = lstNmElmnt423.getChildNodes();
                    System.out.println("showAnnexASectionII : " + ((Node) lstNm423.item(0)).getNodeValue());
                    showAnnexASectionII = Boolean.valueOf(((Node) lstNm423.item(0)).getNodeValue());

                    NodeList lstNmElmntLst424 = fstElmnt.getElementsByTagName("showAnnexASectionIII");
                    Element lstNmElmnt424 = (Element) lstNmElmntLst424.item(0);
                    NodeList lstNm424 = lstNmElmnt424.getChildNodes();
                    System.out.println("showAnnexASectionIII : " + ((Node) lstNm424.item(0)).getNodeValue());
                    showAnnexASectionIII = Boolean.valueOf(((Node) lstNm424.item(0)).getNodeValue());

                    NodeList lstNmElmntLst425 = fstElmnt.getElementsByTagName("a86valid");
                    Element lstNmElmnt425 = (Element) lstNmElmntLst425.item(0);
                    NodeList lstNm425 = lstNmElmnt425.getChildNodes();
                    System.out.println("a86valid : " + ((Node) lstNm425.item(0)).getNodeValue());
                    a86valid = Boolean.valueOf(((Node) lstNm425.item(0)).getNodeValue());





                }// if ends
            //dList.add(ditem);
            }//for ends
        }//try ends
        catch (Exception e) {
            System.out.print("Error" + e.getMessage());
        }
    }

    private void saveTextFile(String contents, java.io.File file) throws java.io.IOException {
        java.io.PrintWriter out = new java.io.PrintWriter(new java.io.FileWriter(file));
        out.print(contents);
        out.close();
    }

    public String convdatetostr(Date dd) {


        SimpleDateFormat dateformatYYYYMMDD = new SimpleDateFormat("yyyyMMdd");


        StringBuilder nowYYYYMMDD = new StringBuilder(dateformatYYYYMMDD.format(dd));


        // System.out.println( "DEBUG: Today in YYYYMMDD: '" + nowYYYYMMDD + "'");
        return nowYYYYMMDD.toString();
    }

    public boolean SaveResult(String results) {
        formatFilename();
        java.io.File Filess = new java.io.File(szpath + filename);
        try {
            saveTextFile(results, Filess);
            return true;
        } catch (IOException e) {
            return false;
        }
    }

    public String GetXMLHeaderCNForm() {
        return "<?xml version=\"1.0\"?>" + "\n" + "<Ellectra-CN xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns=\"EllectraCNForm\"> \n";

    }

    public String GetXMLFooterCNForm() {
        return "</Ellectra-CN>";
    }

    public String GetMainXMLCNForm() {
        String szResults = "";
        szResults = szResults + "<Record>\n";



        szResults = szResults + "<contracttype>" + contracttype + "</contracttype> \n ";
        szResults = szResults + "<proceduretype>" + proceduretype + "</proceduretype> \n ";
        szResults = szResults + "<a1>" + a1 + "</a1> \n ";
        szResults = szResults + "<a2>" + a2 + "</a2> \n ";
        szResults = szResults + "<a3>" + a3 + "</a3> \n ";
        szResults = szResults + "<a4>" + a4 + "</a4> \n ";
        szResults = szResults + "<a5>" + a5 + "</a5> \n ";
        szResults = szResults + "<a6>" + a6 + "</a6> \n ";
        szResults = szResults + "<a7>" + a7 + "</a7> \n ";
        szResults = szResults + "<a8>" + a8 + "</a8> \n ";
        szResults = szResults + "<a9>" + a9 + "</a9> \n ";
        szResults = szResults + "<a10>" + a10 + "</a10> \n ";
        szResults = szResults + "<a11>" + a11 + "</a11> \n ";
        szResults = szResults + "<a12>" + a12 + "</a12> \n ";
        szResults = szResults + "<a13>" + a13 + "</a13> \n ";
        szResults = szResults + "<a14>" + a14 + "</a14> \n ";
        szResults = szResults + "<a15>" + a15 + "</a15> \n ";
        szResults = szResults + "<a16>" + a16 + "</a16> \n ";
        szResults = szResults + "<a17>" + a17 + "</a17> \n ";
        szResults = szResults + "<a18>" + a18 + "</a18> \n ";
        szResults = szResults + "<a19>" + a19 + "</a19> \n ";
        szResults = szResults + "<a20>" + a20 + "</a20> \n ";
        szResults = szResults + "<a21>" + a21 + "</a21> \n ";
        szResults = szResults + "<a22>" + a22 + "</a22> \n ";
        szResults = szResults + "<a23>" + a23 + "</a23> \n ";
        szResults = szResults + "<a24>" + a24 + "</a24> \n ";
        szResults = szResults + "<a25>" + a25 + "</a25> \n ";
        szResults = szResults + "<a26>" + a26 + "</a26> \n ";
        szResults = szResults + "<a27>" + a27 + "</a27> \n ";
        szResults = szResults + "<a28>" + a28 + "</a28> \n ";
        szResults = szResults + "<a29>" + a29 + "</a29> \n ";
        szResults = szResults + "<a30>" + a30 + "</a30> \n ";
        szResults = szResults + "<a31>" + a31 + "</a31> \n ";
        szResults = szResults + "<a32>" + a32 + "</a32> \n ";
        szResults = szResults + "<a33>" + a33 + "</a33> \n ";
        szResults = szResults + "<a34>" + a34 + "</a34> \n ";
        szResults = szResults + "<a35>" + a35 + "</a35> \n ";
        szResults = szResults + "<a36>" + a36 + "</a36> \n ";
        szResults = szResults + "<a37>" + a37 + "</a37> \n ";
        szResults = szResults + "<a38>" + a38 + "</a38> \n ";
        szResults = szResults + "<a39>" + a39 + "</a39> \n ";
        szResults = szResults + "<a40>" + a40 + "</a40> \n ";
        szResults = szResults + "<a41>" + a41 + "</a41> \n ";
        szResults = szResults + "<a42>" + a42 + "</a42> \n ";
        szResults = szResults + "<a43>" + a43 + "</a43> \n ";
        szResults = szResults + "<a44>" + a44 + "</a44> \n ";
        szResults = szResults + "<a45>" + a45 + "</a45> \n ";
        szResults = szResults + "<a46>" + a46 + "</a46> \n ";
        szResults = szResults + "<a47>" + a47 + "</a47> \n ";
        szResults = szResults + "<a48>" + a48 + "</a48> \n ";
        szResults = szResults + "<a49>" + a49 + "</a49> \n ";
        szResults = szResults + "<a50>" + a50 + "</a50> \n ";
        szResults = szResults + "<a51>" + a51 + "</a51> \n ";
        szResults = szResults + "<a52>" + a52 + "</a52> \n ";
        szResults = szResults + "<a53>" + a53 + "</a53> \n ";
        szResults = szResults + "<a54>" + a54 + "</a54> \n ";
        szResults = szResults + "<a55>" + a55 + "</a55> \n ";
        szResults = szResults + "<a56>" + a56 + "</a56> \n ";
        szResults = szResults + "<a57>" + a57 + "</a57> \n ";
        szResults = szResults + "<a58>" + a58 + "</a58> \n ";
        szResults = szResults + "<a59>" + a59 + "</a59> \n ";
        szResults = szResults + "<a60>" + a60 + "</a60> \n ";
        szResults = szResults + "<a61>" + a61 + "</a61> \n ";
        szResults = szResults + "<a62>" + a62 + "</a62> \n ";
        szResults = szResults + "<a63>" + a63 + "</a63> \n ";
        szResults = szResults + "<a64>" + a64 + "</a64> \n ";
        szResults = szResults + "<a65>" + a65 + "</a65> \n ";
        szResults = szResults + "<a66>" + a66 + "</a66> \n ";
        szResults = szResults + "<a67>" + a67 + "</a67> \n ";
        szResults = szResults + "<a68>" + a68 + "</a68> \n ";
        szResults = szResults + "<a69>" + a69 + "</a69> \n ";
        szResults = szResults + "<a70>" + a70 + "</a70> \n ";
        szResults = szResults + "<a71>" + a71 + "</a71> \n ";
        szResults = szResults + "<a72>" + a72 + "</a72> \n ";
        szResults = szResults + "<a73>" + a73 + "</a73> \n ";
        szResults = szResults + "<a74>" + a74 + "</a74> \n ";
        szResults = szResults + "<a75>" + a75 + "</a75> \n ";
        szResults = szResults + "<a76>" + a76 + "</a76> \n ";
        szResults = szResults + "<a77>" + a77 + "</a77> \n ";
        szResults = szResults + "<a78>" + a78 + "</a78> \n ";
        szResults = szResults + "<a79>" + a79 + "</a79> \n ";
        szResults = szResults + "<a80>" + a80 + "</a80> \n ";
        szResults = szResults + "<a81>" + a81 + "</a81> \n ";
        szResults = szResults + "<a82>" + a82 + "</a82> \n ";
        szResults = szResults + "<a83>" + a83 + "</a83> \n ";
        szResults = szResults + "<a84>" + a84 + "</a84> \n ";
        szResults = szResults + "<a85>" + a85 + "</a85> \n ";
        szResults = szResults + "<a86>" + a86 + "</a86> \n ";
        szResults = szResults + "<a87>" + a87 + "</a87> \n ";
        szResults = szResults + "<a88>" + a88 + "</a88> \n ";
        szResults = szResults + "<a89>" + a89 + "</a89> \n ";
        szResults = szResults + "<a90>" + a90 + "</a90> \n ";
        szResults = szResults + "<a91>" + a91 + "</a91> \n ";
        szResults = szResults + "<a92>" + a92 + "</a92> \n ";
        szResults = szResults + "<a93>" + a93 + "</a93> \n ";
        szResults = szResults + "<a94>" + a94 + "</a94> \n ";
        szResults = szResults + "<a95>" + a95 + "</a95> \n ";
        szResults = szResults + "<a96>" + a96 + "</a96> \n ";
        szResults = szResults + "<a97>" + a97 + "</a97> \n ";
        szResults = szResults + "<a98>" + a98 + "</a98> \n ";
        szResults = szResults + "<a99>" + a99 + "</a99> \n ";
        szResults = szResults + "<a100>" + a100 + "</a100> \n ";
        szResults = szResults + "<a101>" + a101 + "</a101> \n ";
        szResults = szResults + "<a102>" + a102 + "</a102> \n ";
        szResults = szResults + "<a103>" + a103 + "</a103> \n ";
        szResults = szResults + "<a104>" + a104 + "</a104> \n ";
        szResults = szResults + "<a105>" + a105 + "</a105> \n ";
        szResults = szResults + "<a106>" + a106 + "</a106> \n ";
        szResults = szResults + "<a107>" + a107 + "</a107> \n ";
        szResults = szResults + "<a108>" + a108 + "</a108> \n ";
        szResults = szResults + "<a109>" + a109 + "</a109> \n ";
        szResults = szResults + "<a110>" + a110 + "</a110> \n ";
        szResults = szResults + "<a111>" + a111 + "</a111> \n ";
        szResults = szResults + "<a112>" + a112 + "</a112> \n ";
        szResults = szResults + "<a113>" + a113 + "</a113> \n ";
        szResults = szResults + "<a114>" + a114 + "</a114> \n ";
        if (a115 != null) {
            szResults = szResults + "<a115>" + convdatetostr(a115) + "</a115> \n ";
        } else {
            szResults = szResults + "<a115>" + "NA" + "</a115> \n ";
        }
        if (a116 != null) {
            szResults = szResults + "<a116>" + convdatetostr(a116) + "</a116> \n ";
        } else {
            szResults = szResults + "<a116>" + "NA" + "</a116> \n ";        //szResults=szResults+"<a115>"+a115+"</a115> \n "; 
        //szResults=szResults+"<a116>"+a116+"</a116> \n "; 
        }
        szResults = szResults + "<a117>" + a117 + "</a117> \n ";
        szResults = szResults + "<a118>" + a118 + "</a118> \n ";
        szResults = szResults + "<a119>" + a119 + "</a119> \n ";
        szResults = szResults + "<a120>" + a120 + "</a120> \n ";
        szResults = szResults + "<a121>" + a121 + "</a121> \n ";
        szResults = szResults + "<a122>" + a122 + "</a122> \n ";
        szResults = szResults + "<a123>" + a123 + "</a123> \n ";
        szResults = szResults + "<a124>" + a124 + "</a124> \n ";
        szResults = szResults + "<a125>" + a125 + "</a125> \n ";
        szResults = szResults + "<a126>" + a126 + "</a126> \n ";
        szResults = szResults + "<a127>" + a127 + "</a127> \n ";
        szResults = szResults + "<a128>" + a128 + "</a128> \n ";
        szResults = szResults + "<a129>" + a129 + "</a129> \n ";
        szResults = szResults + "<a130>" + a130 + "</a130> \n ";
        szResults = szResults + "<a131>" + a131 + "</a131> \n ";
        szResults = szResults + "<a132>" + a132 + "</a132> \n ";
        szResults = szResults + "<a133>" + a133 + "</a133> \n ";
        szResults = szResults + "<a134>" + a134 + "</a134> \n ";
        szResults = szResults + "<a135>" + a135 + "</a135> \n ";
        szResults = szResults + "<a136>" + a136 + "</a136> \n ";
        szResults = szResults + "<a1351>" + a1351 + "</a1351> \n ";
        szResults = szResults + "<a1361>" + a1361 + "</a1361> \n ";
        szResults = szResults + "<a1352>" + a1352 + "</a1352> \n ";
        szResults = szResults + "<a1362>" + a1362 + "</a1362> \n ";
        szResults = szResults + "<a1353>" + a1353 + "</a1353> \n ";
        szResults = szResults + "<a1363>" + a1363 + "</a1363> \n ";
        szResults = szResults + "<a1354>" + a1354 + "</a1354> \n ";
        szResults = szResults + "<a1364>" + a1364 + "</a1364> \n ";
        szResults = szResults + "<a1355>" + a1355 + "</a1355> \n ";
        szResults = szResults + "<a1365>" + a1365 + "</a1365> \n ";
        szResults = szResults + "<a1356>" + a1356 + "</a1356> \n ";
        szResults = szResults + "<a1366>" + a1366 + "</a1366> \n ";
        szResults = szResults + "<a1357>" + a1357 + "</a1357> \n ";
        szResults = szResults + "<a1367>" + a1367 + "</a1367> \n ";
        szResults = szResults + "<a1358>" + a1358 + "</a1358> \n ";
        szResults = szResults + "<a1368>" + a1368 + "</a1368> \n ";
        szResults = szResults + "<a1359>" + a1359 + "</a1359> \n ";
        szResults = szResults + "<a1369>" + a1369 + "</a1369> \n ";
        szResults = szResults + "<a137>" + a137 + "</a137> \n ";
        szResults = szResults + "<a138>" + a138 + "</a138> \n ";
        szResults = szResults + "<a139>" + a139 + "</a139> \n ";
        szResults = szResults + "<a140>" + a140 + "</a140> \n ";
        szResults = szResults + "<a141>" + a141 + "</a141> \n ";
        szResults = szResults + "<a142>" + a142 + "</a142> \n ";
        szResults = szResults + "<a143>" + a143 + "</a143> \n ";
        szResults = szResults + "<a144>" + a144 + "</a144> \n ";
        szResults = szResults + "<a145>" + a145 + "</a145> \n ";
        szResults = szResults + "<a146>" + a146 + "</a146> \n ";
        szResults = szResults + "<a147>" + a147 + "</a147> \n ";
        szResults = szResults + "<a148>" + a148 + "</a148> \n ";
        szResults = szResults + "<a149>" + a149 + "</a149> \n ";
        szResults = szResults + "<a150>" + a150 + "</a150> \n ";
        szResults = szResults + "<a151>" + a151 + "</a151> \n ";
        szResults = szResults + "<a152>" + a152 + "</a152> \n ";
        szResults = szResults + "<a153>" + a153 + "</a153> \n ";
        szResults = szResults + "<a154>" + a154 + "</a154> \n ";
        szResults = szResults + "<a155>" + a155 + "</a155> \n ";
        szResults = szResults + "<a156>" + a156 + "</a156> \n ";
        szResults = szResults + "<a157>" + a157 + "</a157> \n ";
        szResults = szResults + "<a158>" + a158 + "</a158> \n ";
        szResults = szResults + "<a159>" + a159 + "</a159> \n ";
        szResults = szResults + "<a160>" + a160 + "</a160> \n ";
        szResults = szResults + "<a161>" + a161 + "</a161> \n ";
        szResults = szResults + "<a162>" + a162 + "</a162> \n ";
        szResults = szResults + "<a163>" + a163 + "</a163> \n ";
        szResults = szResults + "<a164>" + a164 + "</a164> \n ";
        szResults = szResults + "<a165>" + a165 + "</a165> \n ";
        szResults = szResults + "<a166>" + a166 + "</a166> \n ";
        szResults = szResults + "<a167>" + a167 + "</a167> \n ";
        szResults = szResults + "<a168>" + a168 + "</a168> \n ";
        szResults = szResults + "<a169>" + a169 + "</a169> \n ";
        szResults = szResults + "<a170>" + a170 + "</a170> \n ";
        szResults = szResults + "<a171>" + a171 + "</a171> \n ";
        szResults = szResults + "<a172>" + a172 + "</a172> \n ";
        szResults = szResults + "<a173>" + a173 + "</a173> \n ";
        szResults = szResults + "<a174>" + a174 + "</a174> \n ";
        szResults = szResults + "<a175>" + a175 + "</a175> \n ";
        szResults = szResults + "<a176>" + a176 + "</a176> \n ";
        szResults = szResults + "<a177>" + a177 + "</a177> \n ";
        szResults = szResults + "<a178>" + a178 + "</a178> \n ";
        szResults = szResults + "<a179>" + a179 + "</a179> \n ";
        szResults = szResults + "<a180>" + a180 + "</a180> \n ";
        szResults = szResults + "<a181>" + a181 + "</a181> \n ";
        szResults = szResults + "<a182>" + a182 + "</a182> \n ";
        szResults = szResults + "<a183>" + a183 + "</a183> \n ";
        szResults = szResults + "<a184>" + a184 + "</a184> \n ";
        szResults = szResults + "<a185>" + a185 + "</a185> \n ";
        szResults = szResults + "<a186>" + a186 + "</a186> \n ";
        szResults = szResults + "<a187>" + a187 + "</a187> \n ";
        szResults = szResults + "<a188>" + a188 + "</a188> \n ";
        szResults = szResults + "<a189>" + a189 + "</a189> \n ";
        szResults = szResults + "<a190>" + a190 + "</a190> \n ";
        szResults = szResults + "<a191>" + a191 + "</a191> \n ";
        szResults = szResults + "<a192>" + a192 + "</a192> \n ";
        szResults = szResults + "<a193>" + a193 + "</a193> \n ";
        szResults = szResults + "<a194>" + a194 + "</a194> \n ";
        szResults = szResults + "<a195>" + a195 + "</a195> \n ";
        szResults = szResults + "<privatea195Required>" + a195Required + "</privatea195Required> \n ";
        szResults = szResults + "<a196>" + a196 + "</a196> \n ";
        szResults = szResults + "<a197>" + a197 + "</a197> \n ";
        szResults = szResults + "<privatea197Required>" + a197Required + "</privatea197Required> \n ";
        szResults = szResults + "<a198>" + a198 + "</a198> \n ";
        szResults = szResults + "<a199>" + a199 + "</a199> \n ";
        szResults = szResults + "<a200>" + a200 + "</a200> \n ";
        szResults = szResults + "<a201>" + a201 + "</a201> \n ";
        szResults = szResults + "<a202>" + a202 + "</a202> \n ";
        szResults = szResults + "<a203>" + a203 + "</a203> \n ";
        szResults = szResults + "<a204>" + a204 + "</a204> \n ";
        szResults = szResults + "<a205>" + a205 + "</a205> \n ";
        szResults = szResults + "<a206>" + a206 + "</a206> \n ";
        szResults = szResults + "<a207>" + a207 + "</a207> \n ";
        szResults = szResults + "<a208>" + a208 + "</a208> \n ";
        szResults = szResults + "<a209>" + a209 + "</a209> \n ";
        szResults = szResults + "<a210>" + a210 + "</a210> \n ";
        szResults = szResults + "<a211>" + a211 + "</a211> \n ";
        szResults = szResults + "<a212>" + a212 + "</a212> \n ";
        szResults = szResults + "<a213>" + a213 + "</a213> \n ";
        szResults = szResults + "<a214>" + a214 + "</a214> \n ";
        szResults = szResults + "<a215>" + a215 + "</a215> \n ";
        szResults = szResults + "<a216>" + a216 + "</a216> \n ";
        szResults = szResults + "<a217>" + a217 + "</a217> \n ";
        szResults = szResults + "<a218>" + a218 + "</a218> \n ";
        szResults = szResults + "<a219>" + a219 + "</a219> \n ";
        szResults = szResults + "<a220>" + a220 + "</a220> \n ";
        szResults = szResults + "<a221>" + a221 + "</a221> \n ";
        szResults = szResults + "<a222>" + a222 + "</a222> \n ";
        szResults = szResults + "<a223>" + a223 + "</a223> \n ";
        szResults = szResults + "<a224>" + a224 + "</a224> \n ";
        szResults = szResults + "<a225>" + a225 + "</a225> \n ";
        szResults = szResults + "<a226>" + a226 + "</a226> \n ";

        if (a227 != null) {
            szResults = szResults + "<a227>" + convdatetostr(a227) + "</a227> \n ";
        } else {
            szResults = szResults + "<a227>" + "NA" + "</a227> \n ";
        //szResults=szResults+"<a227>"+a227+"</a227> \n "; 
        }
        szResults = szResults + "<a228>" + a228 + "</a228> \n ";
        szResults = szResults + "<a229>" + a229 + "</a229> \n ";
        szResults = szResults + "<a230>" + a230 + "</a230> \n ";
        szResults = szResults + "<a240>" + a240 + "</a240> \n ";
        szResults = szResults + "<a250>" + a250 + "</a250> \n ";
        szResults = szResults + "<a251>" + a251 + "</a251> \n ";
        szResults = szResults + "<a252>" + a252 + "</a252> \n ";
        szResults = szResults + "<a253>" + a253 + "</a253> \n ";
        szResults = szResults + "<a254>" + a254 + "</a254> \n ";
        szResults = szResults + "<a256>" + a256 + "</a256> \n ";
        szResults = szResults + "<a257>" + a257 + "</a257> \n ";
        szResults = szResults + "<a258>" + a258 + "</a258> \n ";
        szResults = szResults + "<a259>" + a259 + "</a259> \n ";
        szResults = szResults + "<a260>" + a260 + "</a260> \n ";
        szResults = szResults + "<a261>" + a261 + "</a261> \n ";
        szResults = szResults + "<a262>" + a262 + "</a262> \n ";
        szResults = szResults + "<a263>" + a263 + "</a263> \n ";
        szResults = szResults + "<a264>" + a264 + "</a264> \n ";
        szResults = szResults + "<a265>" + a265 + "</a265> \n ";
        szResults = szResults + "<a266>" + a266 + "</a266> \n ";
        szResults = szResults + "<a267>" + a267 + "</a267> \n ";
        szResults = szResults + "<a268>" + a268 + "</a268> \n ";
        szResults = szResults + "<a269>" + a269 + "</a269> \n ";
        szResults = szResults + "<a270>" + a270 + "</a270> \n ";
        szResults = szResults + "<a271>" + a271 + "</a271> \n ";
        szResults = szResults + "<a272>" + a272 + "</a272> \n ";
        szResults = szResults + "<a273>" + a273 + "</a273> \n ";
        szResults = szResults + "<a274>" + a274 + "</a274> \n ";
        szResults = szResults + "<a275>" + a275 + "</a275> \n ";
        szResults = szResults + "<a276>" + a276 + "</a276> \n ";
        szResults = szResults + "<a277>" + a277 + "</a277> \n ";
        szResults = szResults + "<a278>" + a278 + "</a278> \n ";
        szResults = szResults + "<a279>" + a279 + "</a279> \n ";
        szResults = szResults + "<a280>" + a280 + "</a280> \n ";
        szResults = szResults + "<a281>" + a281 + "</a281> \n ";
        szResults = szResults + "<a282>" + a282 + "</a282> \n ";
        szResults = szResults + "<a283>" + a283 + "</a283> \n ";
        szResults = szResults + "<a284>" + a284 + "</a284> \n ";
        szResults = szResults + "<a285>" + a285 + "</a285> \n ";
        szResults = szResults + "<a286>" + a286 + "</a286> \n ";
        szResults = szResults + "<a287>" + a287 + "</a287> \n ";
        szResults = szResults + "<a288>" + a288 + "</a288> \n ";
        szResults = szResults + "<a289>" + a289 + "</a289> \n ";
        szResults = szResults + "<a133s>" + a133s + "</a133s> \n ";
        szResults = szResults + "<a133s1>" + a133s1 + "</a133s1> \n ";
        szResults = szResults + "<tp1>" + tp1 + "</tp1> \n ";
        szResults = szResults + "<tp2>" + tp2 + "</tp2> \n ";
        szResults = szResults + "<tp3>" + tp3 + "</tp3> \n ";
        szResults = szResults + "<tp4>" + tp4 + "</tp4> \n ";
        szResults = szResults + "<tp5>" + tp5 + "</tp5> \n ";
        szResults = szResults + "<tp6>" + tp6 + "</tp6> \n ";
        szResults = szResults + "<render1>" + render1 + "</render1> \n ";
        szResults = szResults + "<render2>" + render2 + "</render2> \n ";
        szResults = szResults + "<render3>" + render3 + "</render3> \n ";
        szResults = szResults + "<op5>" + op5 + "</op5> \n ";
        szResults = szResults + "<op6>" + op6 + "</op6> \n ";
        szResults = szResults + "<section18>" + section18 + "</section18> \n ";
        szResults = szResults + "<section22>" + section22 + "</section22> \n ";
        szResults = szResults + "<op9>" + op9 + "</op9> \n ";
        szResults = szResults + "<op10>" + op10 + "</op10> \n ";
        szResults = szResults + "<op11>" + op11 + "</op11> \n ";
        szResults = szResults + "<op12>" + op12 + "</op12> \n ";
        szResults = szResults + "<a195s>" + a195s + "</a195s> \n ";
        szResults = szResults + "<a197s>" + a197s + "</a197s> \n ";
        szResults = szResults + "<op13>" + op13 + "</op13> \n ";
        szResults = szResults + "<op14>" + op14 + "</op14> \n ";
        szResults = szResults + "<op15>" + op15 + "</op15> \n ";
        String activitiesSelected1 = "NA";
        if (activitiesSelected != null) {


            for (int i = 0; i < activitiesSelected.length; i++) {
                activitiesSelected1 = activitiesSelected1 + activitiesSelected[i] + ",";
            }
        }

        szResults = szResults + "<activitiesSelected>" + activitiesSelected1 + "</activitiesSelected> \n ";

        //szResults=szResults+"<activitiesSelected>"+activitiesSelected+"</activitiesSelected> \n "; 
        szResults = szResults + "<furtherInfo>" + furtherInfo + "</furtherInfo> \n ";
        szResults = szResults + "<furtherInfo2>" + furtherInfo2 + "</furtherInfo2> \n ";
        szResults = szResults + "<furtherInfo3>" + furtherInfo3 + "</furtherInfo3> \n ";
        szResults = szResults + "<typeOfCA>" + typeOfCA + "</typeOfCA> \n ";
        szResults = szResults + "<a34disabled>" + a34disabled + "</a34disabled> \n ";
        szResults = szResults + "<a47disabled>" + a47disabled + "</a47disabled> \n ";
        szResults = szResults + "<d1>" + d1 + "</d1> \n ";
        szResults = szResults + "<d2>" + d2 + "</d2> \n ";
        szResults = szResults + "<d3>" + d3 + "</d3> \n ";
        szResults = szResults + "<d4>" + d4 + "</d4> \n ";
        szResults = szResults + "<d5>" + d5 + "</d5> \n ";
        szResults = szResults + "<disableall>" + disableall + "</disableall> \n ";
        szResults = szResults + "<disableall1>" + disableall1 + "</disableall1> \n ";
        szResults = szResults + "<op1>" + op1 + "</op1> \n ";
        szResults = szResults + "<op2>" + op2 + "</op2> \n ";
        szResults = szResults + "<op3>" + op3 + "</op3> \n ";
        szResults = szResults + "<op4>" + op4 + "</op4> \n ";
        szResults = szResults + "<op7>" + op7 + "</op7> \n ";
        szResults = szResults + "<op8>" + op8 + "</op8> \n ";
        szResults = szResults + "<s331>" + s331 + "</s331> \n ";
        szResults = szResults + "<s311>" + s311 + "</s311> \n ";
        szResults = szResults + "<a141s>" + a141s + "</a141s> \n ";
        szResults = szResults + "<payable>" + payable + "</payable> \n ";
        szResults = szResults + "<pd1>" + pd1 + "</pd1> \n ";
        szResults = szResults + "<pd2>" + pd2 + "</pd2> \n ";
        szResults = szResults + "<pd3>" + pd3 + "</pd3> \n ";
        szResults = szResults + "<a193s>" + a193s + "</a193s> \n ";
        szResults = szResults + "<section22i2>" + section22i2 + "</section22i2> \n ";
        szResults = szResults + "<section22i3>" + section22i3 + "</section22i3> \n ";
        szResults = szResults + "<section33i>" + section33i + "</section33i> \n ";
        szResults = szResults + "<a385>" + a385 + "</a385> \n ";
        szResults = szResults + "<ar1>" + ar1 + "</ar1> \n ";
        szResults = szResults + "<ar2>" + ar2 + "</ar2> \n ";
        szResults = szResults + "<ar3>" + ar3 + "</ar3> \n ";
        szResults = szResults + "<ar4>" + ar4 + "</ar4> \n ";
        szResults = szResults + "<ar5>" + ar5 + "</ar5> \n ";
        szResults = szResults + "<ar6>" + ar6 + "</ar6> \n ";
        szResults = szResults + "<aa1>" + aa1 + "</aa1> \n ";
        szResults = szResults + "<aaa1>" + aaa1 + "</aaa1> \n ";
        szResults = szResults + "<aaaa1>" + aaaa1 + "</aaaa1> \n ";
        szResults = szResults + "<aaaaa1>" + aaaaa1 + "</aaaaa1> \n ";
        szResults = szResults + "<aa2>" + aa2 + "</aa2> \n ";
        szResults = szResults + "<aaa2>" + aaa2 + "</aaa2> \n ";
        szResults = szResults + "<aaaa2>" + aaaa2 + "</aaaa2> \n ";
        szResults = szResults + "<aaaaa2>" + aaaaa2 + "</aaaaa2> \n ";
        szResults = szResults + "<aa3>" + aa3 + "</aa3> \n ";
        szResults = szResults + "<aaa3>" + aaa3 + "</aaa3> \n ";
        szResults = szResults + "<aaaa3>" + aaaa3 + "</aaaa3> \n ";
        szResults = szResults + "<aaaaa3>" + aaaaa3 + "</aaaaa3> \n ";
        szResults = szResults + "<aa4>" + aa4 + "</aa4> \n ";
        szResults = szResults + "<aaa4>" + aaa4 + "</aaa4> \n ";
        szResults = szResults + "<aaaa4>" + aaaa4 + "</aaaa4> \n ";
        szResults = szResults + "<aaaaa4>" + aaaaa4 + "</aaaaa4> \n ";
        szResults = szResults + "<disabletext1>" + disabletext1 + "</disabletext1> \n ";
        szResults = szResults + "<aa5>" + aa5 + "</aa5> \n ";
        szResults = szResults + "<aaa5>" + aaa5 + "</aaa5> \n ";
        szResults = szResults + "<aaaa5>" + aaaa5 + "</aaaa5> \n ";
        szResults = szResults + "<aaaaa5>" + aaaaa5 + "</aaaaa5> \n ";
        szResults = szResults + "<aa6>" + aa6 + "</aa6> \n ";
        szResults = szResults + "<aaa6>" + aaa6 + "</aaa6> \n ";
        szResults = szResults + "<aaaa6>" + aaaa6 + "</aaaa6> \n ";
        szResults = szResults + "<aaaaa6>" + aaaaa6 + "</aaaaa6> \n ";
        szResults = szResults + "<ashow>" + ashow + "</ashow> \n ";
        szResults = szResults + "<link0>" + link0 + "</link0> \n ";
        szResults = szResults + "<link1>" + link1 + "</link1> \n ";
        szResults = szResults + "<link2>" + link2 + "</link2> \n ";
        szResults = szResults + "<link3>" + link3 + "</link3> \n ";
        szResults = szResults + "<link4>" + link4 + "</link4> \n ";
        szResults = szResults + "<link5>" + link5 + "</link5> \n ";
        szResults = szResults + "<link6>" + link6 + "</link6> \n ";
        szResults = szResults + "<link7>" + link7 + "</link7> \n ";
        szResults = szResults + "<text0>" + text0 + "</text0> \n ";
        szResults = szResults + "<text1>" + text1 + "</text1> \n ";
        szResults = szResults + "<text2>" + text2 + "</text2> \n ";
        szResults = szResults + "<text3>" + text3 + "</text3> \n ";
        szResults = szResults + "<text4>" + text4 + "</text4> \n ";
        szResults = szResults + "<text5>" + text5 + "</text5> \n ";
        szResults = szResults + "<text6>" + text6 + "</text6> \n ";
        szResults = szResults + "<text7>" + text7 + "</text7> \n ";
        szResults = szResults + "<v0>" + v0 + "</v0> \n ";
        szResults = szResults + "<i0>" + i0 + "</i0> \n ";
        szResults = szResults + "<c0>" + c0 + "</c0> \n ";
        szResults = szResults + "<v1>" + v1 + "</v1> \n ";
        szResults = szResults + "<i1>" + i1 + "</i1> \n ";
        szResults = szResults + "<c1>" + c1 + "</c1> \n ";
        szResults = szResults + "<v2>" + v2 + "</v2> \n ";
        szResults = szResults + "<i2>" + i2 + "</i2> \n ";
        szResults = szResults + "<c2>" + c2 + "</c2> \n ";
        szResults = szResults + "<v3>" + v3 + "</v3> \n ";
        szResults = szResults + "<i3>" + i3 + "</i3> \n ";
        szResults = szResults + "<c3>" + c3 + "</c3> \n ";
        szResults = szResults + "<v4>" + v4 + "</v4> \n ";
        szResults = szResults + "<i4>" + i4 + "</i4> \n ";
        szResults = szResults + "<c4>" + c4 + "</c4> \n ";
        szResults = szResults + "<v5>" + v5 + "</v5> \n ";
        szResults = szResults + "<i5>" + i5 + "</i5> \n ";
        szResults = szResults + "<c5>" + c5 + "</c5> \n ";
        szResults = szResults + "<v6>" + v6 + "</v6> \n ";
        szResults = szResults + "<i6>" + i6 + "</i6> \n ";
        szResults = szResults + "<c6>" + c6 + "</c6> \n ";
        szResults = szResults + "<v7>" + v7 + "</v7> \n ";
        szResults = szResults + "<i7>" + i7 + "</i7> \n ";
        szResults = szResults + "<c7>" + c7 + "</c7> \n ";
        szResults = szResults + "<cpvddd>" + cpvddd + "</cpvddd> \n ";
        szResults = szResults + "<showAnnexASectionI>" + showAnnexASectionI + "</showAnnexASectionI> \n ";
        szResults = szResults + "<showAnnexASectionII>" + showAnnexASectionII + "</showAnnexASectionII> \n ";
        szResults = szResults + "<showAnnexASectionIII>" + showAnnexASectionIII + "</showAnnexASectionIII> \n ";
        szResults = szResults + "<a86valid>" + a86valid + "</a86valid> \n ";






        szResults = szResults + "</Record>\n";
        return szResults;
    }

    public void GetSessionVariables() {
        String szTemp = (String) JSFUtils.retrieveOnSession(FacesContext.getCurrentInstance(), "CALLTENDERID");
        mycalloftender = Integer.valueOf(szTemp).intValue();
    }

    private void LoadOrganizationDetails() {
        try { // Call Web Service Operation
            org.ellectra.wsws.ManageOrgPortType port = service_3.getManageOrgPort();

            //  initialize WS operation arguments here
            org.ellectra.wsws.ManageOrgRequest part1 = new org.ellectra.wsws.ManageOrgRequest();
            part1.setAction("FR2_Org_ViewAll");
            part1.setActorSignature("123456");


            //call operation
            org.ellectra.wsws.ManageOrgResponse result = port.manageOrgOperation(part1);


            String szOrgNameFromSession = (String) JSFUtils.retrieveOnSession(FacesContext.getCurrentInstance(), "LOGINORGANIZATION");
            szOrgNameFromSession = szOrgNameFromSession.trim();

            for (int iorgs = 0; iorgs < result.getOrganisation().size(); iorgs++) {
                org.ellectra.wsws.OrgType dd = result.getOrganisation().get(iorgs);
                if (szOrgNameFromSession.equalsIgnoreCase(dd.getOrganisationName())) {
                    setA10(dd.getOrganisationName());    //official name
                    setA11(dd.getAddressLine1());    //postal address
                    setA12(dd.getCityName());    //town
                    setA13(dd.getCountry());    //country
                    setA14(dd.getPostCode());    //postal code
                    setA18(dd.getEmail());    //email 
                    setA19(dd.getFax());    //fax  
                    setA20(dd.getAuthorityURL());    //CA url

                }

            }
        //result.getOrganisation();
        } catch (Exception ex) {
            // TODO handle custom exceptions here
        }

    }

    public String populateFromCall() {
    GetSessionVariables();
        try {
            org.ellectra.wsvcall.ViewCallPortType port = service.getViewCallPort();

            org.ellectra.wsvcall.ViewCallRequest part1 = new org.ellectra.wsvcall.ViewCallRequest();
            part1.setActorSignature("123456");  //not needed
            part1.setCallForTendersID(mycalloftender);

            org.ellectra.wsvcall.ViewCallResponse result = port.viewCallOperation(part1);

            if (result.getContractType().equals("WORKS")) {
                setContracttype("0");
            } else if (result.getContractType().equals("SUPPLIES")) {
                setContracttype("1");
            } else if (result.getContractType().equals("SERVICES")) {
                setContracttype("2");
            }

            if (result.getProcedureType().equals("OPEN")) {
                setProceduretype("1");
            } else if (result.getProcedureType().equals("RESTRICTED")) {
                setProceduretype("2");
            } else if (result.getProcedureType().equals("ACCELERATED")) {
                setProceduretype("3");
            } else if (result.getProcedureType().equals("NEGOTIATED")) {
                setProceduretype("4");
            } else if (result.getProcedureType().equals("ACCELERATED_NEGOTIATED")) {
                setProceduretype("5");
            } else {
                setProceduretype("6");
            }
            GregorianCalendar gc = new GregorianCalendar();
            String currentYear = String.valueOf(gc.get(GregorianCalendar.YEAR));
            setA139(currentYear + " / " + result.getCallForTendersID());

            String pinA = result.getPINcode();
            String partA = "";
            String partB = "";
            String partC = "";

            if (pinA != null && (!pinA.trim().equals(""))) {
                setA141("0");
                if (pinA.length() == 17) {
                    partA = pinA.substring(0, 4);
                    partB = pinA.substring(7, 10);
                    partC = pinA.substring(11, pinA.length());
                    this.setA143(partA);
                    this.setA144(partB);
                    this.setA145(partC);
                    GregorianCalendar xmlPinA = result.getPINsubmitted().toGregorianCalendar();
                    Date pinADate = xmlPinA.getTime();
                    // converttostring();
                    this.setA146(pinADate.toString());

                }
            }







            setA49(result.getTitle());
            setA79(result.getDescription());

            ///



//            boolean pc = result.isNoticeInvolvesPC();
//            boolean dps = result.isNoticeInvolvesDPS();
//            boolean fa = result.isNoticeInvolvesFA();
//            
//            if (pc) {
//                setA57("0"); //= "pc";
//            }
//            else if (dps) {
//                setA57("1"); //= "dps";
//            }
//            else if (fa) {
//                setA57("2"); //= "fa";
//            }
//            
//            GregorianCalendar xmlOpen = result.getOpenCallDate().toGregorianCalendar();
//            String DATE_FORMAT2 = "dd-MM-yyyy HH:mm:ss";
//            DateFormat sdf2 = new SimpleDateFormat(DATE_FORMAT2);
//            //sdf2.setTimeZone(TimeZone.getDefault());
//            String formattedOpenDate = sdf2.format(xmlOpen.getTime());
//            setOpenDate(formattedOpenDate);
//
//            String DATE_FORMAT = "dd/MM/yyyy";
//            DateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
//            //DateFormat localFormat = DateFormat.getDateInstance();
//
//            GregorianCalendar xmlClose = result.getCloseCallDate().toGregorianCalendar();
//            //sdf3.setTimeZone(TimeZone.getDefault());
//            String formattedCloseDate = sdf2.format(xmlClose.getTime());
//            setCloseDate(formattedCloseDate);
//
//            setOpenDateEd(sdf.format(xmlOpen.getTime()));
//            setCloseDateEd(sdf.format(xmlClose.getTime()));
//
//            if (result.getCNsubmissionDate() != null) {
//                GregorianCalendar xmlCNsubmission = result.getCNsubmissionDate().toGregorianCalendar();
//                Date cnSubmissionDate = xmlCNsubmission.getTime();
//                setDateCNdispatch(cnSubmissionDate);
//            }
//
//
//            if (xmlClose != null) {
//                GregorianCalendar nowDate = new GregorianCalendar();
//                if (nowDate.before(xmlClose)) {
//                    btnCreateTenderDisabled = "false";
//                //linkUnlockRendered = false;
//                } else {
//                    //linkUnlockRendered = true;
//                    btnCreateTenderDisabled = "true";
//                }
//            } else {
//                //linkUnlockRendered = false;
//                btnCreateTenderDisabled = "true";
//            }
//
//            Double estimatedValue = result.getEstimatedValue();
//            if (estimatedValue != null) {
//                setEstimatedValue(estimatedValue);
//            }
//            String valueString = String.valueOf(estimatedValue);
//            setCurrency(result.getCurrency());
//            setValue(valueString + " " + result.getCurrency());
//
//            setCpvddd(result.getCPV());
//            setA56(result.getNUTS());
//
//            ///////////////////////////////////////////////////////////////////
//            //CASE 1
//            String duration = "";
//            int months = result.getDurationInMonths();
//            int days = result.getDurationInDays();
//           
//            GregorianCalendar xmlStart = result.getContractStarts().toGregorianCalendar();
//            Date startDate = xmlStart.getTime();
//            GregorianCalendar xmlEnd = result.getContractEnds().toGregorianCalendar();
//            Date endDate = xmlEnd.getTime();
//
//            if (startDate != null || endDate != null) {
//                if (startDate != null) {
//                    setA115(startDate);
//                    if (endDate != null) {
//                        setA116(endDate);
//                     } 
//                } 
//                else
//                    setA116(endDate);
//                    
//            } else if (months > 0 || days > 0) {
//                if (months > 0) 
//                    setA111(String.valueOf(months));
//                if (days > 0)
//                    setA113(String.valueOf(days));
//            }
//            
            LoadOrganizationDetails();
            viewCfps();
            viewAwCriteria();
//            
//            
//            if (result.isETransmissionOfCN()) {
//                setEcntransmission("yes");
//            } else {
//                setEcntransmission("no");
//            }
//            if (result.isEContractDocs()) {
//                setEcontractDocs("yes");
//            } else {
//                setEcontractDocs("no");
//            }
//            if (result.getOpenTendersAfterClosingDate() != null) {
//                setNumOfDays(result.getOpenTendersAfterClosingDate());    
//            }

            //DateFormat sdf4 = new SimpleDateFormat(DATE_FORMAT2);
            //sdf4.setTimeZone(TimeZone.getDefault());
            //String formattedStartDate = sdf4.format(xmlStart.getTime());
            //Date date1 = ConvertToDate(formattedStartDate);
            //DateFormat sdf5 = new SimpleDateFormat(DATE_FORMAT2);
            //sdf5.setTimeZone(TimeZone.getDefault());
            //String formattedEndDate = sdf5.format(xmlEnd.getTime());
            //Date date2 = ConvertToDate(formattedEndDate);

            //cfpsExist = result.isCfpClosed();

            //System.err.print("ok user: " + dUserloginname);
            //ok
            return "createcnform";
        } catch (Exception ex) {
            // TODO handle custom exceptions here
            ex.printStackTrace();
            System.err.println("ViewCallDetails Result error = " + ex.getLocalizedMessage() + " -- " + ex.getMessage());
            return "failure";
        }
    }

    public void viewCfps() {
        GetSessionVariables();
        try {
            org.ellectra.wsviewcftct.ViewCfpCriteriaPortType port = service_1.getViewCfpCriteriaPort();
            // TODO initialize WS operation arguments here
            org.ellectra.wsviewcftct.ViewCfpCriteriaRequest part1 = new org.ellectra.wsviewcftct.ViewCfpCriteriaRequest();
            part1.setActorSignature("123456");  //not needed
            part1.setCallForTenderID(mycalloftender);

            org.ellectra.wsviewcftct.ViewCfpCriteriaResponse result = port.viewCfpCriteriaOperation(part1);
            /// fill up the stuff
            List<org.ellectra.wsviewcftct.CfpCriterionType> ddd = result.getCfpCriterion();
            String psConditions = "";
            String efcConditions = "";
            String tcConditions = "";
            for (int t = 0; t < ddd.size(); t++) {
                org.ellectra.wsviewcftct.CfpCriterionType ditem = new org.ellectra.wsviewcftct.CfpCriterionType();
                ditem = ddd.get(t);

                cfparticipation dd1 = new cfparticipation();
                dd1.setCondition(ditem.getCondition());
                dd1.setId(ditem.getCfpID());
                dd1.setNumber(ditem.getCfpID());

                if (ditem.getConditionType().equalsIgnoreCase("PERSONAL_SITUATION")) {
                    psConditions += "\n" + ditem.getCondition();
                }
                if (ditem.getConditionType().equalsIgnoreCase("ECONOMIC_FINANCIAL_CAPACITY")) {
                    efcConditions += "\n" + ditem.getCondition();
                }

                if (ditem.getConditionType().equalsIgnoreCase("TECHNICAL_CAPACITY")) {
                    efcConditions += "\n" + ditem.getCondition();
                }


            }
            setA122(psConditions);
            setA123(efcConditions);
            setA125(tcConditions);

        } catch (Exception ex) {
            // TODO handle custom exceptions here
        }
    }

    public void viewAwCriteria() {
        GetSessionVariables();
        try { // Call Web Service Operation
            org.ellectra.wsviewawcre.ViewAwCriteriaPortType port = service_2.getViewAwCriteriaPort();
            // TODO initialize WS operation arguments here
            org.ellectra.wsviewawcre.ViewAwCriteriaRequest part1 = new org.ellectra.wsviewawcre.ViewAwCriteriaRequest();
            part1.setActorSignature("123456");  //not needed
            part1.setCallForTenderID(mycalloftender);
            // TODO process result here
            org.ellectra.wsviewawcre.ViewAwCriteriaResponse result = port.viewAwCriteriaOperation(part1);
            String evaluationMethod = result.getEvaluationMethodType();

            if (evaluationMethod.equals("LOWEST_PRICE")) {
                setA131("0");
            } else {
                setA131("1");
            }
            boolean statedBelow = result.isStatedInCN();
            if (statedBelow) {
                setA133("0");
            } else {
                setA133("1");
            }
            boolean eAuction = result.isEAuction();
            if (eAuction) {
                setA137("0");
            } else {
                setA137("1");
            }
            List<org.ellectra.wsviewawcre.AwardCriterionType> dd = result.getAwardCriterion();
            for (int i = 0; i < dd.size(); i++) {
                org.ellectra.wsviewawcre.AwardCriterionType ditem = new org.ellectra.wsviewawcre.AwardCriterionType();
                ditem = dd.get(i);
                evaluationlist o = new evaluationlist();
                o.setCreditio(ditem.getCriterion());
                o.setType(ditem.getCriterionType());
                o.setWeight(ditem.getWeight());
                String criterion = ditem.getCriterionType();
                String weight = String.valueOf(ditem.getWeight());
                if (i == 0) {
                    setA135(criterion);
                    setA136(weight);
                }
                if (i == 1) {
                    setA1351(criterion);
                    setA1361(weight);
                }
                if (i == 2) {
                    setA1352(criterion);
                    setA1362(weight);
                }
                if (i == 3) {
                    setA1353(criterion);
                    setA1363(weight);
                }
                if (i == 4) {
                    setA1354(criterion);
                    setA1364(weight);
                }
                if (i == 5) {
                    setA1355(criterion);
                    setA1365(weight);
                }
                if (i == 6) {
                    setA1356(criterion);
                    setA1366(weight);
                }
                if (i == 7) {
                    setA1357(criterion);
                    setA1367(weight);
                }
                if (i == 8) {
                    setA1358(criterion);
                    setA1368(weight);
                }
                if (i == 9) {
                    setA1359(criterion);
                    setA1369(weight);
                }

            }

        //System.out.println("Result = "+result);
        } catch (Exception ex) {
            // TODO handle custom exceptions here
            System.out.println("Result error on view aw= " + ex.getLocalizedMessage());
        }

    }

    public String getFilenameToRead() {
        queryCN();
        return filenameToRead;
    }

    public void setFilenameToRead(String filenameToRead) {
        this.filenameToRead = filenameToRead;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }
    
    
}
