<!-- ISO-8859-1  -->
Countries = new Array();
Countries['ES'] = new Array();
Countries['ES'][0] = ['4-A', 'A Austria'];
Countries['ES'][1] = ['1-AL', 'AL Albania'];
Countries['ES'][2] = ['0-ALL', 'ALL Elige pais'];
Countries['ES'][3] = ['6-AR', 'AR Armenia'];
Countries['ES'][4] = ['7-AZ', 'AZ Azerbaiyan'];
Countries['ES'][5] = ['8-B', 'B Belgica'];
Countries['ES'][6] = ['15-BG', 'BG Bulgaria'];
Countries['ES'][7] = ['12-BIH', 'BIH Bosnia y Herzegovina'];
Countries['ES'][8] = ['11-BY', 'BY Bielorusia'];
Countries['ES'][9] = ['109-CH', 'CH Suiza'];
Countries['ES'][10] = ['20-CY', 'CY Chipre'];
Countries['ES'][11] = ['22-CZ', 'CZ Rep.Checa'];
Countries['ES'][12] = ['81-D', 'D Alemania'];
Countries['ES'][13] = ['25-DK', 'DK Dinamarca'];
Countries['ES'][14] = ['5-DZ', 'DZ Algeria'];
Countries['ES'][15] = ['43-E', 'E España'];
Countries['ES'][16] = ['29-EST', 'EST Estonia'];
Countries['ES'][17] = ['135-EU', 'EU Union Europea'];
Countries['ES'][18] = ['36-F', 'F Francia'];
Countries['ES'][19] = ['32-FIN', 'FIN Finlandia'];
Countries['ES'][20] = ['123-GB', 'GB Gran Bretania'];
Countries['ES'][21] = ['40-GE', 'GE Georgia'];
Countries['ES'][22] = ['39-GR', 'GR Grecia'];
Countries['ES'][23] = ['127-H', 'H Hungria'];
Countries['ES'][24] = ['18-HR', 'HR Croacia'];
Countries['ES'][25] = ['130-I', 'I Italia'];
Countries['ES'][26] = ['54-IL', 'IL Izrael'];
Countries['ES'][27] = ['50-IRL', 'IRL Irlanda'];
Countries['ES'][28] = ['58-KZ', 'KZ Kazaquistan'];
Countries['ES'][29] = ['64-L', 'L Luxemburgo'];
Countries['ES'][30] = ['59-LI', 'LI Liechtenstein'];
Countries['ES'][31] = ['60-LT', 'LT Lituania'];
Countries['ES'][32] = ['67-LV', 'LV Letonia'];
Countries['ES'][33] = ['74-M', 'M Malta'];
Countries['ES'][34] = ['79-MC', 'MC Monako'];
Countries['ES'][35] = ['78-MD', 'MD Moldavia'];
Countries['ES'][36] = ['136-ME', 'ME Montenegro'];
Countries['ES'][37] = ['71-MK', 'MK Macedonia'];
Countries['ES'][38] = ['85-N', 'N Noruega'];
Countries['ES'][39] = ['46-NL', 'NL Holanda'];
Countries['ES'][40] = ['92-P', 'P Portugal'];
Countries['ES'][41] = ['88-PL', 'PL Polonia'];
Countries['ES'][42] = ['99-RO', 'RO Rumania'];
Countries['ES'][43] = ['95-RUS', 'RUS Rusia'];
Countries['ES'][44] = ['113-S', 'S Suecia'];
Countries['ES'][45] = ['102-SK', 'SK Eslovaquia'];
Countries['ES'][46] = ['106-SLO', 'SLO Eslovenia'];
Countries['ES'][47] = ['100-SM', 'SM San Marino'];
Countries['ES'][48] = ['57-SRB', 'SRB Serbia'];
Countries['ES'][49] = ['115-TJ', 'TJ Tayikistan'];
Countries['ES'][50] = ['117-TM', 'TM Turkmenia'];
Countries['ES'][51] = ['118-TN', 'TN Tunesia'];
Countries['ES'][52] = ['116-TR', 'TR Turquia'];
Countries['ES'][53] = ['120-UA', 'UA Ucrania'];
Countries['ES'][54] = ['124-UZ', 'UZ Uzbequistan'];
document.getElementById('fla').innerHTML = '<div id="divvv"><form method="get" action="http://es.trans.eu/index.rst" target="blank"><label id="blok0" for="cz1">cargas libres</label><label id="blok1" for="cz2">vehículos libres</label><p id="label3">De:</p><p id="label6">A:</p><a href="http://es.trans.eu" ><p id="blok4">Haz click para conseguir todas ofertas</p></a><p id="blok5">Buscador de cargas y vehículos libres.</p><p id="blok6">En este momento tenemos <span style="color: #ffffff; position: relative; font-size: inherit; top:0; left:0;">38830</span> ofertas</p><p id="blok7">País:</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">elige país</option></select><select id="kr2" name="ctrto"><option value="0">elige país</option></select><p id="logo_o"><a href="http://www.trans.eu"><img src="http://banners.rst.com.pl/wyszukiwarki/48f839429dees/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="47" /><input type="hidden" name="lang" value="ES" /><input type="submit" value="Busca" id="divvv_submit" /><input type="hidden" id="from1" value="cargas libres" /><input type="hidden" id="from2" value="De:" /><input type="hidden" id="to1" value="vehículos libres" /><input type="hidden" id="to2" value="A:" /></form></div><style type="text/css">#divvv { font-family: Tahoma; padding:0; margin:0; width:600px; height:400px; position: relative; background: #ffffff; border:;background-image: url(http://banners.rst.com.pl/wyszukiwarki/48f839429dees/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:192px; left:152px; color: #; border:; width:px; height:px; font-size: 15px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #blok1 { position: absolute; font-family: Tahoma, Sans-Serif; top:192px; left:337px; color: #; border:; width:px; height:px; font-size: 15px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #label3 { position: absolute; font-family: Tahoma, Sans-Serif; top:235px; left:322px; color: #; border:; width:px; height:px; font-size: 15px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #label6 { position: absolute; font-family: Tahoma, Sans-Serif; top:235px; left:132px; color: #; border:; width:px; height:px; font-size: 15px; margin:0; padding:0; text-align: left;font-weight: bold;}#divvv #blok4 { position: absolute; font-family: Tahoma, Sans-Serif; top:370px; left:0px; color: #000000; border:; width:600px; height:px; font-size: 15px; margin:0; padding:0; text-align: center;font-weight: bold;text-decoration: underline;}#divvv #blok5 { position: absolute; font-family: Tahoma, Sans-Serif; top:105px; left:0px; color: #ffffff; border:; width:600px; height:px; font-size: 15px; margin:0; padding:0; text-align: center;font-weight: bold;}#divvv #blok6 { position: absolute; font-family: Tahoma, Sans-Serif; top:125px; left:0px; color: #ffffff; border:; width:600px; height:px; font-size: 15px; margin:0; padding:0; text-align: center;font-weight: bold;}#divvv #blok7 { position: absolute; font-family: Tahoma, Sans-Serif; top:255px; left:0px; color: #; border:; width:120px; height:px; font-size: 15px; margin:0; padding:0; text-align: right;font-weight: bold;}#divvv #cz1 { position: absolute; top: 195px; left: 130px; margin:0; padding:0; border:0;}#divvv #cz2 { position: absolute; top: 195px; left: 315px; margin:0; padding:0; border:0;}#divvv #kr1 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 140px; height: px; top: 255px; left: 130px; font-size: 12px; text-align: left; font-weight: normal; color: #000000;}#divvv #kr1 option { font-size: 12px; font-family: Tahoma, Sans-Serif; }#divvv #kr2 { font-family: Tahoma, Sans-Serif; margin:0; padding:0; position: absolute; width: 140px; height: px; top: 255px; left: 320px; font-size: 12px; font-weight: normal; color: black;}#divvv #kr2 option { font-size: 12px; font-family: Tahoma, Sans-Serif; }#divvv #logo_o { position: absolute; left: 185px; top: 10px; border:none; margin:0; padding:0; } #divvv #divvv_submit { text-align: center; background: #ffffff; width: 138px; height:29px; position: absolute; left: 220px; top: 310px; 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: 15px;background-image: url(http://banners.rst.com.pl/wyszukiwarki/48f839429dees/upload/przycisk.gif);background-repeat: no-repeat;background-position: center;}</style>';var langg = 'ES';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]);}
