protected void TagSystemCodeChange(){
        TreeMap<String, String> tags = new TreeMap<String, String>();
        tags.put("ATr", txt_AT_Romaji.getText());
        tags.put("ATe", txt_AT_English.getText());
        tags.put("ATk", txt_AT_Kanji.getText());
        tags.put("ATs", txt_AT_Synomymn.getText());
        tags.put("ATo", txt_AT_Other.getText());
        tags.put("AYearBegin", txt_YearBegin.getText());
        tags.put("AYearEnd", txt_YearEnd.getText());
        tags.put("ACatList", txt_ACatList.getText());

        tags.put("ETr", txt_ET_Romaji.getText());
        tags.put("ETe", txt_ET_English.getText());
        tags.put("ETk", txt_ET_Kanji.getText());
        tags.put("EAirDate", "");

        tags.put("GTs", txt_GT_Short.getText());
        tags.put("GTl", txt_GT_Long.getText());


        tags.put("FCrc", txt_Crc.getText());
        tags.put("FALng", txt_Dubs.getText());
        tags.put("FACodec", txt_AudioCodec.getText());
        tags.put("FSLng", txt_Subs.getText());
        tags.put("FVCodec", txt_VideoCodec.getText());
        tags.put("FVideoRes", txt_Resolution.getText());
        
        tags.put("FColorDepth", "");
        tags.put("FDuration", "1440");
         
        tags.put("AniDBFN", "Suzumiya_Haruhi_no_Yuuutsu_(2009)_-_01_-_The_Melancholy_of_Suzumiya_Haruhi_Part_1_-_[a.f.k.](32f2f4ea).avi");
        tags.put("CurrentFN", txt_CurrentFN.getText());
        
        
        tags.put("EpNo", updown_EpNo.getValue().toString());
        tags.put("EpHiNo", updown_EpHiNo.getValue().toString());
        tags.put("EpCount", updown_EpCount.getValue().toString());
        
        tags.put("FId", "1");
        tags.put("AId", "2");
        tags.put("EId", "3");
        tags.put("GId", "4");
        tags.put("LId", "5");        
             
        tags.put("OtherEps", "5'7");
        
        tags.put("Quality", cmb_Quality.getSelectedItem().toString());
        tags.put("Source", cmb_Source.getSelectedItem().toString());
        tags.put("Type", cmb_Type.getSelectedItem().toString());

        tags.put("Watched", chck_IsWatched.isSelected()?"1":"");

        tags.put("Depr", chck_IsDeprecated.isSelected()?"1":"");
        tags.put("CrcOK", "1");
        tags.put("CrcErr", "0");
        tags.put("Depr", chck_IsDeprecated.isSelected()?"1":"");
        
        tags.put("Cen", chck_IsCensored.isSelected()?"1":"");
        tags.put("UnCen", !chck_IsCensored.isSelected()?"1":"");
        
        tags.put("Ver", updown_Version.getValue().toString());
        
        DefaultTableModel model = (DefaultTableModel)tbl_Vars.getModel();
        model.setRowCount(0);
        for (Entry<String, String> tag : tags.entrySet()) {
            model.addRow(new Object[]{ tag.getKey(), tag.getValue() });
        }

        try {
            TagSystem.Evaluate(txt_CodeBox.getText(), tags);

            lbl_FileNameStr.setText(tags.get("FileName"));
            lbl_DirNameStr.setText(tags.get("PathName"));
            lbl_ErrorMsg.setText(" ");
        } catch (Exception ex) {
            lbl_FileNameStr.setText(" ");
            lbl_DirNameStr.setText(" ");
            lbl_ErrorMsg.setText(ex.getMessage());
        }

        if(gui != null) gui.ToMem("TagSystemCode", txt_CodeBox.getText());
    }