<!-- UTF-8  -->
Countries = new Array();
Countries['PL'] = new Array();
Countries['PL'][0] = ['4-A', 'A Austria'];
Countries['PL'][1] = ['1-AL', 'AL Albania'];
Countries['PL'][2] = ['0-ALL', 'ALL Wszystkie kraje'];
Countries['PL'][3] = ['6-AR', 'AR Armenia'];
Countries['PL'][4] = ['7-AZ', 'AZ Azerbejdżan'];
Countries['PL'][5] = ['8-B', 'B Belgia'];
Countries['PL'][6] = ['15-BG', 'BG Bułgaria'];
Countries['PL'][7] = ['12-BIH', 'BIH Bośnia i Hercegowina'];
Countries['PL'][8] = ['11-BY', 'BY Białoruś'];
Countries['PL'][9] = ['109-CH', 'CH Szwajcaria'];
Countries['PL'][10] = ['20-CY', 'CY Cypr'];
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] = ['58-KZ', 'KZ Kazachstan'];
Countries['PL'][28] = ['64-L', 'L Luksemburg'];
Countries['PL'][29] = ['59-LI', 'LI Lichtensztajn'];
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] = ['136-ME', 'ME Czarnogóra'];
Countries['PL'][36] = ['71-MK', 'MK Macedonia'];
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] = ['100-SM', 'SM San Marino'];
Countries['PL'][47] = ['57-SRB', 'SRB Serbia'];
Countries['PL'][48] = ['115-TJ', 'TJ Tadżykistan'];
Countries['PL'][49] = ['117-TM', 'TM Turkmenia'];
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/index.rst" 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><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="kr2" name="ctrto"><option value="0">wybierz kraj</option></select><select id="kr1" name="ctrfrom"><option value="0">wybierz kraj</option></select><p id="logo_o"><a href="http://www.trans.eu" target="_blank"><img src="http://banners.rst.com.pl/wyszukiwarki/49648dc627dpl/upload/logo.gif" alt="www.trans.eu" /></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="88" /><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><style type="text/css">#divvv { font-family: Tahoma; padding:0; margin:0; width:140px; height:200px; position: relative; background: #FFAB2F; border:;background-image: url(http://banners.rst.com.pl/wyszukiwarki/49648dc627dpl/upload/tlo.gif);background-position: top left; background-repeat: no-repeat;}#divvv a { border: none; cursor: pointer; text-decoration:none; padding:0; margin:0; }#divvv a img { border: none; padding:0; margin:0; }#divvv #blok0 { position: absolute; font-family: Tahoma, Sans-Serif; top:50px; left:35px; color: #325897; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #blok1 { position: absolute; font-family: Tahoma, Sans-Serif; top:70px; left:35px; color: #325897; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #label3 { position: absolute; font-family: Tahoma, Sans-Serif; top:95px; left:22px; color: #325897; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #label6 { position: absolute; font-family: Tahoma, Sans-Serif; top:135px; left:22px; color: #325897; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #cz1 { position: absolute; top: 50px; left: 17px; margin:0; padding:0; border:0;}#divvv #cz2 { position: absolute; top: 70px; left: 17px; margin:0; padding:0; border:0;}#divvv #kr2 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 100px; height: px; top: 110px; left: 20px; font-size: 10px; text-align: left; font-weight: normal; color: #000000;}#divvv #kr2 option { font-size: 10px; font-family: Tahoma, Sans-Serif; }#divvv #kr1 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 100px; height: px; top: 150px; left: 20px; font-size: 10px; font-weight: normal; color: black;}#divvv #kr1 option { font-size: 10px; font-family: Tahoma, Sans-Serif; }#divvv #logo_o { position: absolute; left: 3px; top: 2px; border:none; margin:0; padding:0; } #divvv #divvv_submit { text-align: center; background: #FFAB2F; width: 92px; height:23px; position: absolute; left: 25px; top: 173px; margin:0; padding:0; padding-bottom:3px !important; padding-bottom:0px; font-family: Tahoma, Sans-serif;border: none;font-weight: bold;color: #ffffff;font-size: 11px;background-image: url(http://banners.rst.com.pl/wyszukiwarki/49648dc627dpl/upload/przycisk.gif);background-repeat: no-repeat;background-position: center;}</style>';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(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]);}for(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]);}
