-->
"; 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='Alaxpacha Amaru Bonanza Chila jatun Jacha mallku Kalamarka Llajtaymanta Los Kjarkas Maria juana Pasión andina Proyeccion Savia andina Yuri ortuño'; 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;i