var p211psum=0; var p211od=true; function p211(target,opt) { if (target==null || target=='') { alert ("Insufficient data!");return; } p211psum+=1; var type=opt ? (opt.type && (opt.type.toUpperCase()=='PLUGIN' || opt.type.toUpperCase()=='URL' || opt.type.toUpperCase()=='OBJ') ? opt.type : 'plugin' ) : 'plugin'; if (type.toUpperCase()=='OBJ') { p211loadobjs(target);return; } var method=opt ? (opt.method && (opt.method.toUpperCase()=='GET' || opt.method.toUpperCase()=='POST') ? opt.method : 'post') : 'post'; var divid=p211div(type,target,(opt ? (opt.div ? opt.div : '') : '')); var sendget=opt ? (opt.method ? (opt.sendget && opt.sendget=='yes' ? true : false) : (opt.sendget && opt.sendget=='no' ? false : true ) ) : true; var qstr=p211get!='' && sendget ? '&'+p211get : (window.top.location.search!=0 && sendget ? '&'+window.top.location.search.substring(1) : ''); var get=opt ? (opt.get ? (opt.get.substring(0,1)=='&' ? qstr+opt.get : qstr+'&'+opt.get) : qstr ) : qstr; get+=opt ? (opt.form && method.toUpperCase()=='GET' ? p211form(document.getElementById(opt.form)? document.getElementById(opt.form) : document.forms[opt.form]) : '' ) : ''; var sendpost=opt ? (opt.method ? (opt.sendpost && opt.sendpost=='yes' ? true : false) : (opt.sendpost && opt.sendpost=='no' ? false : true ) ) : true; var poststr=sendpost && p211post ? (method.toUpperCase()=='GET' ? p211post.get : p211post.post) : ''; var post=opt ? (opt.post && method.toUpperCase()=='POST' ? (opt.post.substring(0,1)=='&' ? poststr+optpost : poststr+'&'+optpost ) : poststr ) : poststr; post+=opt ? (opt.form && method.toUpperCase()=='POST' ? p211form(document.getElementById(opt.form)? document.getElementById(opt.form) : document.forms[opt.form]) : '' ) : ''; var info=opt ? (opt.info && (opt.info==1 || opt.info==2 || opt.info==3) ? opt.info : 1) : 1; var onload=opt ? (opt.onload ? (opt.onload=='yes' ? true : false ) : true) : true; var input=opt ? (opt.inputsize ? opt.inputsize : 35) : 35; if (onload && p211od) { p211od=false;p211psum+=1;p211addonload(p2111onload); } var xmlHttp=p211GetXmlHttpObject(); if (xmlHttp==null) { alert ("Browser does not support HTTP Request");return; } xmlHttp.onreadystatechange=function () {p211state(xmlHttp,divid,info,onload);} if(type.toUpperCase()=='PLUGIN') { var url= method.toUpperCase()=='GET' ? "index.php?pluginid="+target+"&p211input="+input+get+post : "index.php?pluginid="+target+"&p211input="+input+get;} else if (type.toUpperCase()=='URL') {url= target.lastIndexOf('?') < 0 ? target+'?'+get.substring(1,get.length) : target+get; } if(method.toUpperCase()=='GET') { xmlHttp.open('GET',url,true); xmlHttp.send(null); } else if(method.toUpperCase()=='POST') { xmlHttp.open('POST',url,true); xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlHttp.setRequestHeader("Content-length", post.length); xmlHttp.setRequestHeader("Connection", "close"); xmlHttp.send(post); } } function p211state(xmlHttp,p211pidd,info,onload) { if (xmlHttp.readyState == 1 ) { if (info==2 || info==3) { document.getElementById('p211loadingbar').style.display = ""; } if (info==1 || info==3) { document.getElementById(p211pidd).innerHTML=document.getElementById('p211loading').innerHTML; } } if (xmlHttp.readyState == 2 ) { if (info==1 || info==3) { document.getElementById(p211pidd).innerHTML=document.getElementById('p211loaded').innerHTML; } } if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { if(xmlHttp.status==200) { document.getElementById(p211pidd).innerHTML=xmlHttp.responseText; } else { document.getElementById(p211pidd).innerHTML="There was a problem retrieving the data: " + xmlHttp.status + " " + xmlHttp.statusText + "."; } p211psum-=1; if (p211psum==0) { document.getElementById('p211loadingbar').style.display = "none"; } } } function p211form(obj) { var getstr=''; if( obj == undefined ) { obj = document; } formInputs = obj.getElementsByTagName("input"); for (var i = 0; i < formInputs.length; i++) getstr+='&'+formInputs.item(i).name+'='+formInputs.item(i).value; formInputs = obj.getElementsByTagName("textarea"); for (var i = 0; i < formInputs.length; i++) getstr+='&'+formInputs.item(i).name+'='+formInputs.item(i).value; formInputs = obj.getElementsByTagName("select"); for (var i = 0; i < formInputs.length; i++) getstr+='&'+formInputs.item(i).name+'='+formInputs.item(i).value; formInputs = obj.getElementsByTagName("button"); for (var i = 0; i < formInputs.length; i++) getstr+='&'+formInputs.item(i).name+'='+formInputs.item(i).value; return getstr; } function p211div(type,target,divid) { if (divid=='' || divid==null) { if (type.toUpperCase()=='PLUGIN') { var dividd='p211pluginid'+target; } else if (type.toUpperCase()=='URL') { var dividd='p211url'; } } else { dividd=divid; } if (document.getElementById(dividd) == null) { document.write('
Hoy se ha actualizado la Base de Datos de Puertos Europeos con nuevos datos del segundo trimestre de 2016.
La Base de Datos de Puertos Europeos incluye los últimos datos disponibles sobre movimientos de mercancías -tanto por tipo de carga como específicamente de contenedores- y pasajeros de manera integrada.
Hoy se han incorporado los datos de Comercio Exterior nacionales de agosto de 2016 a la Base de Datos de Comercio Exterior.
Hoy se han incorporado los datos de Comercio Exterior Europeos de agosto de 2016 a la Base de Datos de Tráficos HUB.
Hoy se han incorporado los datos de Comercio Exterior nacionales de junio de 2016 a la Base de Datos de Comercio Exterior.