<!-- UTF-8  -->
Countries = new Array();
Countries['RO'] = new Array();
Countries['RO'][0] = ['4-A', 'A Austria'];
Countries['RO'][1] = ['1-AL', 'AL Albania'];
Countries['RO'][2] = ['0-ALL', 'ALL Toate ţările'];
Countries['RO'][3] = ['6-AM', 'AM Armenia'];
Countries['RO'][4] = ['7-AZ', 'AZ Azerbaidjan'];
Countries['RO'][5] = ['8-B', 'B Belgia'];
Countries['RO'][6] = ['15-BG', 'BG Bulgaria'];
Countries['RO'][7] = ['12-BIH', 'BIH Bosnia şi Herţegovina'];
Countries['RO'][8] = ['11-BY', 'BY Belarus'];
Countries['RO'][9] = ['109-CH', 'CH Elveţia'];
Countries['RO'][10] = ['20-CY', 'CY Cipru'];
Countries['RO'][11] = ['22-CZ', 'CZ Republica Cehă'];
Countries['RO'][12] = ['81-D', 'D Germania'];
Countries['RO'][13] = ['25-DK', 'DK Denemarka'];
Countries['RO'][14] = ['43-E', 'E Spania'];
Countries['RO'][15] = ['29-EST', 'EST Estonia'];
Countries['RO'][16] = ['30-ET', 'ET Egipt'];
Countries['RO'][17] = ['135-EU', 'EU Uniunea Europeană'];
Countries['RO'][18] = ['36-F', 'F Franţa'];
Countries['RO'][19] = ['32-FIN', 'FIN Finlanda'];
Countries['RO'][20] = ['59-FL', 'FL Liechtenstein'];
Countries['RO'][21] = ['123-GB', 'GB Marea Britanie'];
Countries['RO'][22] = ['40-GE', 'GE Georgia'];
Countries['RO'][23] = ['39-GR', 'GR Grecia'];
Countries['RO'][24] = ['127-H', 'H Ungaria'];
Countries['RO'][25] = ['18-HR', 'HR Croaţia'];
Countries['RO'][26] = ['130-I', 'I Italia'];
Countries['RO'][27] = ['50-IRL', 'IRL Irlanda'];
Countries['RO'][28] = ['58-KZ', 'KZ Kazahstan'];
Countries['RO'][29] = ['64-L', 'L Luxemburg'];
Countries['RO'][30] = ['60-LT', 'LT Lituania'];
Countries['RO'][31] = ['67-LV', 'LV Letonia'];
Countries['RO'][32] = ['74-M', 'M Malta'];
Countries['RO'][33] = ['79-MC', 'MC Monaco'];
Countries['RO'][34] = ['78-MD', 'MD Moldova'];
Countries['RO'][35] = ['71-MK', 'MK Macedonia'];
Countries['RO'][36] = ['136-MNE', 'MNE Muntenegru'];
Countries['RO'][37] = ['85-N', 'N Norwegia'];
Countries['RO'][38] = ['46-NL', 'NL Olanda'];
Countries['RO'][39] = ['92-P', 'P Portugalia'];
Countries['RO'][40] = ['88-PL', 'PL Polonia'];
Countries['RO'][41] = ['99-RO', 'RO România'];
Countries['RO'][42] = ['100-RSM', 'RSM San Marino'];
Countries['RO'][43] = ['95-RUS', 'RUS Rusia'];
Countries['RO'][44] = ['113-S', 'S Suedia'];
Countries['RO'][45] = ['102-SK', 'SK Slovacia'];
Countries['RO'][46] = ['106-SLO', 'SLO Slovenia'];
Countries['RO'][47] = ['57-SRB', 'SRB Serbia'];
Countries['RO'][48] = ['115-TJ', 'TJ Tajikistan'];
Countries['RO'][49] = ['117-TM', 'TM Turkmenistan'];
Countries['RO'][50] = ['116-TR', 'TR Turcia'];
Countries['RO'][51] = ['120-UA', 'UA Ucraina'];
Countries['RO'][52] = ['124-UZ', 'UZ Uzbekistan'];
document.getElementById('fla').innerHTML = '<div id="divvv"><form method="get" action="http://ro.trans.eu/" target="blank"><label id="blok0" for="cz1">mărfuri disponibile</label><label id="blok1" for="cz2">camioane disponibile</label><p id="label3">Din:</p><p id="label6">Către:</p><input type="checkbox" checked="true" id="cz1" value="1" onclick="checkBoxes();" /><input type="checkbox" checked="true" id="cz2" value="2" onclick="checkBoxes();" /><input type="hidden" name="trsmsgtp" id="trscheck" value="" /><select id="kr1" name="ctrfrom"><option value="0">Alege ţara</option></select><select id="kr2" name="ctrto"><option value="0">Alege ţara</option></select><input type="hidden" name="xfrom" id="xfrom" value="" /><input type="hidden" name="yfrom" id="yfrom" value="" /><input type="hidden" name="xto" id="xto" value="" /><input type="hidden" name="yto" id="yto" value="" /><input type="hidden" name="plfrom" id="plfrom" value="" /><input type="hidden" name="plto" id="plto" value="" /><input type="hidden" name="partner_id" id="partner_id" value="100" /><input type="hidden" name="lang" value="RO" /><input type="submit" value="Caută" id="divvv_submit" /><input type="hidden" id="from1" value="Încărcare:" /><input type="hidden" id="from2" value="Din:" /><input type="hidden" id="to1" value="Descărcare:" /><input type="hidden" id="to2" value="Către:" /></form></div>';document.getElementById('divvv').appendChild(document.getElementById('logo_o'));document.getElementById('divvv').appendChild(document.getElementById('translink'));document.getElementById('divvv').appendChild(document.getElementById('translink2'));
         var langg = 'RO';
      
         function gis(id1, id2) {
            var sel = document.getElementById(id2);
            if(id2=="mi1") { var co = "from" }
            else { var co = "to" }
            document.getElementById("pl"+co).value = sel.options[sel.selectedIndex].text; 
            document.getElementById("x"+co).value = Cities[document.getElementById(id1).value][document.getElementById(id2).value][1];
            document.getElementById("y"+co).value = Cities[document.getElementById(id1).value][document.getElementById(id2).value][2];
         }
      
            function checkBoxes() {
            if(document.getElementById('cz1').checked && document.getElementById('cz2').checked) document.getElementById('trscheck').value=0;
            else if(!document.getElementById('cz1').checked && !document.getElementById('cz2').checked) document.getElementById('trscheck').value=0;
            else {
            if(document.getElementById('cz1').checked) document.getElementById('trscheck').value=1;
            if(document.getElementById('cz2').checked) document.getElementById('trscheck').value=2;
            }
            if(document.getElementById('trscheck').value==2 || document.getElementById('trscheck').value==0) {
            document.getElementById('label3').innerHTML=document.getElementById('from2').value;
            document.getElementById('label6').innerHTML=document.getElementById('to2').value;
            } else { 
            document.getElementById('label3').innerHTML=document.getElementById('from1').value;
            document.getElementById('label6').innerHTML=document.getElementById('to1').value;
            }
         }
      
            function mi(id1,id2) {
               var pom = document.getElementById(id2).options[document.getElementById(id2).selectedIndex].text;
               if(document.getElementById(id1).value!=0) { 
               for(i=1;i<200;i++){ document.getElementById(id2).options[0]=null; }
               document.getElementById(id2).disabled=false;
               document.getElementById(id2).options[0] = new Option(pom);
               for(i=1;i<Cities[document.getElementById(id1).value].length;i++) {
               var kol = i+1; document.getElementById(id2).options[kol] = new Option(Cities[document.getElementById(id1).value][i][0],i);
            }
            var ostatni = i-1; 
      
         document.getElementById(id2).options[1] = new Option(Cities[document.getElementById(id1).value][ostatni][0],0);
         Cities[document.getElementById(id1).value][0]=new Array(Cities[document.getElementById(id1).value][ostatni][0],Cities[document.getElementById(id1).value][ostatni][1],Cities[document.getElementById(id1).value][ostatni][2]);
         document.getElementById(id2).options[ostatni+1] = null;
         }
         else {
         document.getElementById(id2).options[0].selected = true; document.getElementById(id2).disabled=true; }
         }
         function chlab(id) {
         if(document.getElementById(id).value==2) {
         document.getElementById('label3').innerHTML=document.getElementById('from2').value;
         document.getElementById('label6').innerHTML=document.getElementById('to2').value;
         } else { 
         document.getElementById('label3').innerHTML=document.getElementById('from1').value;
         document.getElementById('label6').innerHTML=document.getElementById('to1').value;
         }
         }
      for(var i=0;i<Countries[langg].length;i++) {var kol = i+1; document.getElementById('kr1').options[kol] = new Option(Countries[langg][i][1], Countries[langg][i][0]);}for(var i=0;i<Countries[langg].length;i++) {var kol = i+1; document.getElementById('kr2').options[kol] = new Option(Countries[langg][i][1], Countries[langg][i][0]);}
            var element = document.createElement("link");
            element.setAttribute("rel", "stylesheet");
            element.setAttribute("href", "http://banners.rst.com.pl/wyszukiwarki/49fef3965d7ro/49fef3965d7ro.css");
            element.setAttribute("type", "text/css");
            element.setAttribute("media", "screen");
            var variable_49fef3965d7ro = document.getElementsByTagName("head")[0];
            variable_49fef3965d7ro.appendChild(element);
         