';
}
console.log("VIDEO"+video);
var node = document.createElement("div");node.id=url_glob;
node.innerHTML=video;
insertAfter(child_glob.parentNode,node);
var div1 = document.getElementById('domjson');
div1.remove();
youtb();
}
function ver_json(formu){ //if(document.getElementById("domvideo")){document.getElementById("domvideo").remove();}
url_glob=formu.elements[0].value;
url_glob=url_glob.replace(/\?m=1/gi, "");url_glob = url_glob.replace(/\?m=0/gi, "");
if(document.getElementById(url_glob)){document.getElementById(url_glob).remove();return;}
vec1=url_glob.split("/");
child_glob=formu;
//console.log("padre:::"+formu.parentNode.id);
if(vec1.length>0)
{newURL="https://www.boliviamusica.com/feeds/posts/default?path="+"/"+vec1[3]+"/"+vec1[4]+"/"+vec1[5]+"&max-results=1&alt=json-in-script&callback=myfun1";
var s = document.createElement("script"); s.src = newURL;
var node = document.createElement("div"); node.id = "domjson"; node.appendChild(s);
document.body.appendChild(node); console.log("nueva url"+newURL);
}
}
function insertAfter(dom1,dom2){if(dom1.nextSibling){ dom1.parentNode.insertBefore(dom2,dom1.nextSibling);} else {dom1.parentNode.appendChild(dom2);}}