Partido en vivo Universitario vs Petrolero de Yacuiba
Universitario vs Petrolero de Yacuiba
Para seguir el partido Universitario vs Petrolero de Yacuiba en vivo sigue el enlace.
Al finalizar el partido se mostrara el resultado de Universitario vs Petrolero de Yacuiba en la décima tercera fecha del torneo apertura de Bolivia
";
div1+="";
var w = window.open('','','width=600,height=600');
var doc = w.document;
doc.open();
doc.write(div1);
doc.close();
}
function change_class_child(idDiv,classDiv1,classDiv2){console.log("entra en change class div");document.querySelector(idDiv+" > "+classDiv1).className = classDiv2;}
function change_class(idDiv,classDiv1,classDiv2){if(classDiv2==document.getElementById(idDiv).className)document.getElementById(idDiv).className = classDiv1;else document.getElementById(idDiv).className = classDiv2;}
function dom1_to_dom2(dom1,dom2){contentDom2=document.getElementById(dom2).innerHTML;if(contentDom2=="")document.getElementById(dom2).innerHTML=document.getElementById(dom1).innerHTML; else document.getElementById(dom2).innerHTML="";}
function dom1_to_dom2_2(dom1,dom2){contentDom1=document.getElementById(dom1).innerHTML;
contentDom2=document.getElementById(dom2).innerHTML;
if(contentDom1==contentDom2)document.getElementById(dom2).innerHTML="";
else document.getElementById(dom2).innerHTML=document.getElementById(dom1).innerHTML;
}
function java_to_dom(domA){ contentDom=document.getElementById(domA).innerHTML;if(contentDom=="")document.getElementById(domA).innerHTML='En mi menteNo me arrepiento'; else document.getElementById(domA).innerHTML=""
}
var auxDom="mes-actual";
function domA_show_domB(dom1,dom2){document.getElementById(dom2).innerHTML=document.getElementById(dom1).innerHTML; if(dom1==auxDom){}else{document.getElementById(auxDom).style.display="block";} document.getElementById(dom1).style.display="none"; auxDom=dom1; }
function dom1_show_dom2(dom1,dom2){document.getElementById(dom2).innerHTML=document.getElementById(dom1).innerHTML;}
function show_or_hidden_dom_sin_overflow(idName,openClose){ document.getElementById(idName).style.display = openClose; }
function dom_show_input(dom,input){document.getElementById(input).value=document.getElementById(dom).innerHTML;}
function trasladar_dats(dom1,dom2){ tx1=document.getElementById("text1").value;opcSelec=document.getElementById(dom1).innerHTML; vecAux=opcSelec.split(palabraGlob); if(vecAux.length<2){vec5=opcSelec.split(tx1); str1=vec5[0]; str2=vec5[1];}else{ str1=vecAux[0]; str2=vecAux[1]; } change_class_child("#modal_crearImagen5",".modal5.view","modal5 view visible");dom1_show_dom2(dom1,dom2);dom_show_input(dom1,"resX");}
var url_glob="",child_glob;
function myfun1(json){posturl="";contenido="";
for(i=0;i1){console.log("con iframe");
vec3=vec2[1].split('iframe>');
video='';
}else
{ vec2=contenido.split('class=\"youtube\"'); vec3=vec2[1].split('');
video='
';
}
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);}}