
function VideoCorto(url_video,i_codigo,tipo)
{   
    try
	{
		ajax_videocorto = new XMLHttpRequest();
	}
	catch (error)
	{
		try
		{
			ajax_videocorto = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (error)
		{
			ajax_videocorto = null;

			return false;
		}
	}	     
	ajax_videocorto.open("GET", "/videocorto_process.php?url_video=" + url_video + "&id=" + i_codigo + "&tipo=" + tipo);
	ajax_videocorto.onreadystatechange=function() { 
    if (ajax_videocorto.readyState==4) { 
     //En esta parte del código, se revisa cuando el ha sido procesada la carga del AJAX 
	 document.getElementById('VideoCorto_select_cell').innerHTML =ajax_videocorto.responseText;     
      //CON en esta línea, decimos que pinte el resultado en nuestro div "contenedor" 
    } 
     } 	
	ajax_videocorto.send(null);	
}


function VideoLateral(url_video,i_codigo,tipo)
{   
    try
	{
		ajax_videolateral = new XMLHttpRequest();
	}
	catch (error)
	{
		try
		{
			ajax_videolateral = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (error)
		{
			ajax_videolateral = null;

			return false;
		}
	}	    
    
	ajax_videolateral.open("GET", "/videolateral_process.php?url_video=" + url_video + "&id=" + i_codigo + "&tipo=" + tipo);
	ajax_videolateral.onreadystatechange=function() { 	
    if (ajax_videolateral.readyState==4) { 
     //En esta parte del código, se revisa cuando el ha sido procesada la carga del AJAX 
	 var oVDiv=document.getElementById("videolateral_select_cell");	 	 
	 oVDiv.innerHTML =ajax_videolateral.responseText;
	 
      //CON en esta línea, decimos que pinte el resultado en nuestro div "contenedor" 
    } 
     } 	
	ajax_videolateral.send(null);	
}


function FotoVideoLateral(url_video,i_codigo,tipo)
{   
    try
	{
		ajax_fotovideolateral = new XMLHttpRequest();
	}
	catch (error)
	{
		try
		{
			ajax_fotovideolateral = new ActiveXObject("Microsoft.XMLHTTP");
		}
		catch (error)
		{
			ajax_fotovideolateral = null;

			return false;
		}
	}	    
   
	ajax_fotovideolateral.open("GET", "/videolateral_process.php?url_video=" + url_video + "&id=" + i_codigo + "&tipo=" + tipo);
	ajax_fotovideolateral.onreadystatechange=function() { 	
    if (ajax_fotovideolateral.readyState==4) { 
     //En esta parte del código, se revisa cuando el ha sido procesada la carga del AJAX  
	 
	  var oVDiv1=document.getElementById("videolateral_select_cell");	 
       
	  oVDiv1.innerHTML =ajax_fotovideolateral.responseText;     
	 
	 
      //CON en esta línea, decimos que pinte el resultado en nuestro div "contenedor" 
    } 
     } 	
	ajax_fotovideolateral.send(null);	
}