<!-- UTF-8  -->
Countries = new Array();
Countries['PL'] = new Array();
Countries['PL'][0] = ['4-A', 'A Austria'];
Countries['PL'][1] = ['2-AFG', 'AFG Afganistan'];
Countries['PL'][2] = ['1-AL', 'AL Albania'];
Countries['PL'][3] = ['0-ALL', 'ALL Wszystkie kraje'];
Countries['PL'][4] = ['6-AM', 'AM Armenia'];
Countries['PL'][5] = ['7-AZ', 'AZ Azerbejdżan'];
Countries['PL'][6] = ['8-B', 'B Belgia'];
Countries['PL'][7] = ['15-BG', 'BG Bułgaria'];
Countries['PL'][8] = ['12-BIH', 'BIH Bośnia i Hercegowina'];
Countries['PL'][9] = ['11-BY', 'BY Białoruś'];
Countries['PL'][10] = ['109-CH', 'CH Szwajcaria'];
Countries['PL'][11] = ['22-CZ', 'CZ Czechy'];
Countries['PL'][12] = ['81-D', 'D Niemcy'];
Countries['PL'][13] = ['25-DK', 'DK Dania'];
Countries['PL'][14] = ['43-E', 'E Hiszpania'];
Countries['PL'][15] = ['29-EST', 'EST Estonia'];
Countries['PL'][16] = ['135-EU', 'EU Unia Europejska'];
Countries['PL'][17] = ['36-F', 'F Francja'];
Countries['PL'][18] = ['32-FIN', 'FIN Finlandia'];
Countries['PL'][19] = ['123-GB', 'GB W.Brytania'];
Countries['PL'][20] = ['40-GE', 'GE Gruzja'];
Countries['PL'][21] = ['39-GR', 'GR Grecja'];
Countries['PL'][22] = ['127-H', 'H Węgry'];
Countries['PL'][23] = ['18-HR', 'HR Chorwacja'];
Countries['PL'][24] = ['130-I', 'I Włochy'];
Countries['PL'][25] = ['54-IL', 'IL Izrael'];
Countries['PL'][26] = ['50-IRL', 'IRL Irlandia'];
Countries['PL'][27] = ['53-IS', 'IS Islandia'];
Countries['PL'][28] = ['58-KZ', 'KZ Kazachstan'];
Countries['PL'][29] = ['64-L', 'L Luksemburg'];
Countries['PL'][30] = ['60-LT', 'LT Litwa'];
Countries['PL'][31] = ['67-LV', 'LV Łotwa'];
Countries['PL'][32] = ['74-M', 'M Malta'];
Countries['PL'][33] = ['75-MA', 'MA Maroko'];
Countries['PL'][34] = ['78-MD', 'MD Mołdawia'];
Countries['PL'][35] = ['71-MK', 'MK Macedonia'];
Countries['PL'][36] = ['136-MNE', 'MNE Czarnogóra'];
Countries['PL'][37] = ['85-N', 'N Norwegia'];
Countries['PL'][38] = ['46-NL', 'NL Holandia'];
Countries['PL'][39] = ['92-P', 'P Portugalia'];
Countries['PL'][40] = ['88-PL', 'PL Polska'];
Countries['PL'][41] = ['99-RO', 'RO Rumunia'];
Countries['PL'][42] = ['95-RUS', 'RUS Rosja'];
Countries['PL'][43] = ['113-S', 'S Szwecja'];
Countries['PL'][44] = ['102-SK', 'SK Słowacja'];
Countries['PL'][45] = ['106-SLO', 'SLO Słowenia'];
Countries['PL'][46] = ['57-SRB', 'SRB Serbia'];
Countries['PL'][47] = ['115-TJ', 'TJ Tadżykistan'];
Countries['PL'][48] = ['117-TM', 'TM Turkmenistan'];
Countries['PL'][49] = ['118-TN', 'TN Tunezja'];
Countries['PL'][50] = ['116-TR', 'TR Turcja'];
Countries['PL'][51] = ['120-UA', 'UA Ukraina'];
Countries['PL'][52] = ['124-UZ', 'UZ Uzbekistan'];
document.getElementById('fla').innerHTML = '<div id="divvv"><form method="get" action="http://pl.trans.eu/" target="blank"><label id="blok0" for="cz1">wolne ładunki</label><label id="blok1" for="cz2">wolne pojazdy</label><p id="label3">Od:</p><p id="label6">Do:</p><a href="http://pl.trans.eu" ><p id="blok4">Kliknij i zobacz wszystkie oferty</p></a><p id="blok5">Wyszukiwarka wolnych ładunków i ciężarówek.</p><p id="blok6">Aktualnie mamy <span style="color: #ffffff; position: relative; font-size: inherit; top:0; left:0;">31515</span> ofert.</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">wybierz kraj</option></select><select id="kr2" name="ctrto"><option value="0">wybierz kraj</option></select><p id="logo_o"><a href="http://www.logintrans.com.pl" target="_blank"><img src="http://banners.rst.com.pl/wyszukiwarki/49dd861a8a2pl/upload/logo.gif" alt="transport ładunków" /></a></p><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="187" /><input type="hidden" name="lang" value="PL" /><input type="submit" value="Szukaj" id="divvv_submit" /><input type="hidden" id="from1" value="Załadunek:" /><input type="hidden" id="from2" value="Od:" /><input type="hidden" id="to1" value="Rozładunek:" /><input type="hidden" id="to2" value="Do:" /></form></div>'
         var langg = 'PL';
      
         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/49dd861a8a2pl/49dd861a8a2pl.css");
            element.setAttribute("type", "text/css");
            element.setAttribute("media", "screen");
            var variable_49dd861a8a2pl = document.getElementsByTagName("head")[0];
            variable_49dd861a8a2pl.appendChild(element);
         
