<!-- UTF-8  -->
Countries = new Array();
Countries['EN'] = new Array();
Countries['EN'][0] = ['4-A', 'A Austria'];
Countries['EN'][1] = ['2-AFG', 'AFG Afghanistan'];
Countries['EN'][2] = ['1-AL', 'AL Albania'];
Countries['EN'][3] = ['0-ALL', 'ALL All countries'];
Countries['EN'][4] = ['3-AND', 'AND Andorra'];
Countries['EN'][5] = ['6-AR', 'AR Armenia'];
Countries['EN'][6] = ['7-AZ', 'AZ Azerbaijan'];
Countries['EN'][7] = ['8-B', 'B Belgium'];
Countries['EN'][8] = ['15-BG', 'BG Bulgaria'];
Countries['EN'][9] = ['12-BIH', 'BIH Bosnia and Herzegovina'];
Countries['EN'][10] = ['11-BY', 'BY Belarus'];
Countries['EN'][11] = ['109-CH', 'CH Switzerland'];
Countries['EN'][12] = ['20-CY', 'CY Cyprus'];
Countries['EN'][13] = ['22-CZ', 'CZ Czech Republic'];
Countries['EN'][14] = ['81-D', 'D Germany'];
Countries['EN'][15] = ['25-DK', 'DK Danmark'];
Countries['EN'][16] = ['5-DZ', 'DZ Algeria'];
Countries['EN'][17] = ['43-E', 'E Spain'];
Countries['EN'][18] = ['29-EST', 'EST Estonia'];
Countries['EN'][19] = ['135-EU', 'EU European Union'];
Countries['EN'][20] = ['36-F', 'F France'];
Countries['EN'][21] = ['32-FIN', 'FIN Finland'];
Countries['EN'][22] = ['123-GB', 'GB Great Britain'];
Countries['EN'][23] = ['40-GE', 'GE Georgia'];
Countries['EN'][24] = ['39-GR', 'GR Greece'];
Countries['EN'][25] = ['127-H', 'H Hungary'];
Countries['EN'][26] = ['18-HR', 'HR Croatia'];
Countries['EN'][27] = ['130-I', 'I Italy'];
Countries['EN'][28] = ['50-IRL', 'IRL Ireland'];
Countries['EN'][29] = ['58-KZ', 'KZ Kazakhstan'];
Countries['EN'][30] = ['64-L', 'L Luxembourg'];
Countries['EN'][31] = ['60-LT', 'LT Lithuania'];
Countries['EN'][32] = ['67-LV', 'LV Latvia'];
Countries['EN'][33] = ['74-M', 'M Malta'];
Countries['EN'][34] = ['75-MA', 'MA Marocco'];
Countries['EN'][35] = ['78-MD', 'MD Moldavia'];
Countries['EN'][36] = ['136-ME', 'ME Montenegro'];
Countries['EN'][37] = ['71-MK', 'MK Macedonia'];
Countries['EN'][38] = ['85-N', 'N Norway'];
Countries['EN'][39] = ['46-NL', 'NL Netherlands'];
Countries['EN'][40] = ['92-P', 'P Portugal'];
Countries['EN'][41] = ['87-PK', 'PK Pakistan'];
Countries['EN'][42] = ['88-PL', 'PL Poland'];
Countries['EN'][43] = ['99-RO', 'RO Romania'];
Countries['EN'][44] = ['95-RUS', 'RUS Russia'];
Countries['EN'][45] = ['113-S', 'S Sweden'];
Countries['EN'][46] = ['102-SK', 'SK Slovakia'];
Countries['EN'][47] = ['106-SLO', 'SLO Slovenia'];
Countries['EN'][48] = ['100-SM', 'SM San Marino'];
Countries['EN'][49] = ['57-SRB', 'SRB Serbia'];
Countries['EN'][50] = ['115-TJ', 'TJ Tajikistan'];
Countries['EN'][51] = ['117-TM', 'TM Turkmenistan'];
Countries['EN'][52] = ['116-TR', 'TR Turkey'];
Countries['EN'][53] = ['120-UA', 'UA Ukraine'];
Countries['EN'][54] = ['124-UZ', 'UZ Uzbekistan'];
document.getElementById('fla').innerHTML = '<div id="divvvvv"><form method="get" action="http://en.trans.eu/index.rst" target="blank"><label id="blok0" for="cz1">Free loads</label><label id="blok1" for="cz2">Free vehicles</label><p id="label3">From:</p><p id="label6">To:</p><a href="http://en.trans.eu" ><p id="blok4">Find free loads and free vehicles</p></a><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">Choose country</option></select><select id="kr2" name="ctrto"><option value="0">Choose country</option></select><p id="logo_o"><a href="http://www.logintrans.co.uk" target="_blank"><img src="http://banners.rst.com.pl/wyszukiwarki/49b653280fben/upload/logo_en.gif" alt="lorries" /></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="168" /><input type="hidden" name="lang" value="EN" /><input type="submit" value="Search" id="divvvvv_submit" /><input type="hidden" id="from1" value="Loading:" /><input type="hidden" id="from2" value="From:" /><input type="hidden" id="to1" value="Unloading:" /><input type="hidden" id="to2" value="To:" /></form></div><style type="text/css">#divvvvv { font-family: Tahoma; padding:0; margin:0; width:200px; height:200px; position: relative; background: #b50000; border:;background-image: url(http://banners.rst.com.pl/wyszukiwarki/49b653280fben/upload/tlo.gif);background-position: top left; background-repeat: no-repeat;}#divvvvv a { border: none; cursor: pointer; text-decoration:none; padding:0; margin:0; }#divvvvv a img { border: none; padding:0; margin:0; }#divvvvv #blok0 { position: absolute; font-family: Tahoma, Sans-Serif; top:59px; left:63px; color: #ffffff; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvvvv #blok1 { position: absolute; font-family: Tahoma, Sans-Serif; top:79px; left:63px; color: #ffffff; border:; width:px; height:px; font-size: 11px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvvvv #label3 { position: absolute; font-family: Tahoma, Sans-Serif; top:102px; left:0px; color: #ffffff; border:; width:63px; height:px; font-size: 11px; margin:0; padding:0; text-align: right;font-weight: bold;}#divvvvv #label6 { position: absolute; font-family: Tahoma, Sans-Serif; top:122px; left:0px; color: #ffffff; border:; width:63px; height:px; font-size: 11px; margin:0; padding:0; text-align: right;font-weight: bold;}#divvvvv #blok4 { position: absolute; font-family: Tahoma, Sans-Serif; top:170px; left:0px; color: #ffffff; border:; width:200px; height:px; font-size: 10px; margin:0; padding:0; text-align: center;font-weight: normal;text-decoration: underline;}#divvvvv #cz1 { position: absolute; top: 58px; left: 40px; margin:0; padding:0; border:0;}#divvvvv #cz2 { position: absolute; top: 78px; left: 40px; margin:0; padding:0; border:0;}#divvvvv #kr1 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 102px; height: px; top: 100px; left: 70px; font-size: 10px; text-align: left; font-weight: normal; color: #000000;}#divvvvv #kr1 option { font-size: 10px; font-family: Tahoma, Sans-Serif; }#divvvvv #kr2 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 102px; height: px; top: 120px; left: 70px; font-size: 10px; font-weight: normal; color: black;}#divvvvv #kr2 option { font-size: 10px; font-family: Tahoma, Sans-Serif; }#divvvvv #logo_o { position: absolute; left: 10px; top: 2px; border:none; margin:0; padding:0; } #divvvvv #divvvvv_submit { text-align: center; background: #b50000; width: 92px; height:23px; position: absolute; left: 55px; top: 145px; margin:0; padding:0; padding-bottom:3px !important; padding-bottom:0px; font-family: Tahoma, Sans-serif;border: none;font-weight: bold;color: #333333;font-size: 10px;background-image: url(http://banners.rst.com.pl/wyszukiwarki/49b653280fben/upload/przycisk.gif);background-repeat: no-repeat;background-position: center;}</style>';var langg = 'EN';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('kr1').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('kr2').options[kol] = new Option(Countries[langg][i][1], Countries[langg][i][0]);}
