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('
<\/div>'); } return dividd; } function p211GetXmlHttpObject() { var p211xmlHttp = null; try { p211xmlHttp=new XMLHttpRequest(); } catch (e) { var eversion = ["Msxml2.XMLHTTP.7.0", "Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"]; for(var i=0; !p211xmlHttp && i
Enlace a la página principal del Blog de Bases Potuarias

The Bases Portuarias blog picks up news of the company along with topics related to the world of management and is updated, weekly, every Wednesday with a new entry.

You are free to use the content without any restriction, but we would thank you the use of a link to the original content.





Fotografía de Eduardo Oviedo, Socio Director de Bases Portuarias

Eduardo Oviedo is the Director and founder of Bases Portuarias. Entrepeneur, he believes in technology as a way to solve business problems. He studied Business Administration and a Master in Transport and Logistic Management at the University of Oviedo. He has worked in the Port Authorities of Gijón and Barcelona as well as consultant.

LinkedIn LinkedIn Google+ Google+

AGENDA


<< Apr 2024 >>
LMMJVSD
1234567
891011121314
15161718192021
22232425262728
2930

2024/04/29 NEWS, BLOG

There aren't news published today

2024/04/29 EVENTS

There aren't events today