function ejecutaSalto(arrayTmp) {
		var refer
		if (arrayTmp[4] == "true")  { // Si es POPUP
				var CX = arrayTmp[6];
				var CY = arrayTmp[7];
				if (CX == "") CX = 720;
				if (CY == "") CY = 450;
				//AbreAsistente(arrayTmp[2],arrayTmp[5],CX,CY,'yes');
				var nombreventana;
				nombreventana=quitaespacios(arrayTmp[5]+Math.round((Math.random()*10)));
				if (arrayTmp.length < 10) {
					AbreAsistenteDos(arrayTmp[2],nombreventana,CX,CY,'yes',' ');
				}  else  {
					AbreAsistenteDos(arrayTmp[2],nombreventana,CX,CY,'yes',arrayTmp[9]);
				}
			}
			else if (arrayTmp[6] != "" && arrayTmp[7] != ""){
					redimensiona(arrayTmp[2],arrayTmp[6],arrayTmp[7]);
			}
			else {
				if (arrayTmp[3] == "conten")
				   conten.document.location.href = arrayTmp[2];
				else if (arrayTmp[3] == "parent.conten")
				   parent.conten.document.location.href = arrayTmp[2];
				else
					//window.document.location.href = arrayTmp[2];
					top.location.href = arrayTmp[2];
			}
}

function mostrarPathNavegacion(html) {
	document.getElementById("path_nav").innerHTML=unescape(html);
}

//----------- Redimiensionamiento iframes --------------------//
var gestionIframes={
	padreIframe:parent,
	aireVertical:25,
	redimension:function(frmDestino,frmOrigen,frm,aire){
		aire=(aire!=null)? aire:gestionIframes.aireVertical;
		try
		{
			document.getElementById(frmDestino).style.height = parseInt(parent.eval(frm).document.getElementById(frmOrigen).offsetHeight +aire)+ "px";
		} 
		catch(e)
		{
		}
	},
	load: function(){
	window.document.scrollHeight = 0;
	}
}

// 22/10/2008 - RS96024 ON - Ampliación Requisitos (DCPI Nuevo Proceso Compra QX
function borrarLogin(){
	try{
	if(document.getElementById("submenu_contenido5").style.display.toUpperCase()!="NONE"){
	document.getElementById("submenu_contenido5").style.display="none";
	}
	}catch(E){}
}

function cambiarTituloPagina(cadena){
	try{
	document.title=cadena;
	
	}catch(E){}
}

function mostrarCargando(imagen)
{

 try{
         
   var cadena="";
   if(imagen==""){
                          imagen="/on/images/es/cargando.gif";
   }
        
   cadena = "<div style=\"top:0px;position:absolute;left:0px;background-color:#FFFFFF;z-index:20; filter:progid:DXImageTransform.Microsoft.alpha(opacity=80);opacity: 0.8;\" id=\"DivBloqueo\" >";
	 cadena += "<table id=\"cargando\" width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\" style=\"z-index:50\"><tr>";
   cadena += "<td><center><img src=\""+imagen+"\"/></center></td>";
   cadena += "</tr>";
   cadena += "</table>";
   cadena += "</div>";
   
 
    document.getElementById("submenu_contenido5").innerHTML=document.getElementById("submenu_contenido5").innerHTML+cadena;
    
    document.getElementById("DivBloqueo").style.width = document.body.scrollWidth-10;
   
    document.getElementById("DivBloqueo").style.height = document.body.scrollHeight;
    
   
	  document.getElementById("cargando").style.marginTop = document.body.scrollHeight/2+"px";
 }catch(E){}

}
	
function ocultarCargando(){
	try{
	document.getElementById("DivBloqueo").style.display="none";
	}catch(E){}
}

// 22/10/2008 - RS96024 ON - Ampliación Requisitos (DCPI Nuevo Proceso Compra QX