// JavaScript Document
function peticionXMLHttp() {
    var peticion  = false;
    if (window.XMLHttpRequest) 
     { 
         peticion = new XMLHttpRequest();         
    } 
    else 
      if (window.ActiveXObject)      { 
       try { peticion = new ActiveXObject("Msxml2.XMLHTTP"); } 
       catch (e)  {
        try { peticion = new ActiveXObject("Microsoft.XMLHTTP"); } 
        catch (e) {}
      }
    }
 
  return peticion;  
  
}
function repro(url){

    var archivo = url;
    var capa = document.getElementById("caparepro"); // la capa id=caparepro
	capa.innerHTML = "<center><strong style='color:#FF2200;'> Cargando... </strong></center>";
    var ajax = peticionXMLHttp();
	ajax.open("GET",archivo,true); 
  //ajax.open("GET","repro.php?q="+archivo,true); // esto si quieres puedes usar asi en la url solo pones reggaeton 
	ajax.onreadystatechange = function(){
	  if(ajax.readyState==4 && ajax.status == 200){
	  capa.innerHTML  = ajax.responseText;
	  }
	}
	ajax.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
	ajax.send(null);
}

