Saludos este es el primer post de Periódicos de Bolivia, esperemos que sea de buena suerte, empezamos hoy. Es obvio que nadie lo lee aun, este post es de prueba.
";
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 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");}