function change(cal){ var url = document.getElementById(cal).src; // alert(url); if(url.indexOf("off")>=0){ url = url.replace('off','on'); document.getElementById(cal).src = url; }else{ url = url.replace('on','off'); document.getElementById(cal).src = url; } }// JavaScript Document function cambiarColor(id){ if(document.getElementById("menuLateId_"+id).className!='menuLAteral2'){ document.getElementById("menuLateId_"+id).className='menuLAteralSelect'; } } function sacarColor(id){ if(document.getElementById("menuLateId_"+id).className!='menuLAteral2'){ document.getElementById("menuLateId_"+id).className='menuLAteral'; } } function mostrarFlech(id){ if(document.getElementById("flecha"+id)){ document.getElementById("flecha"+id).style.display=''; cambiarColor(id); } } function sacarFlech(id){ try{ sacarColor(id); document.getElementById("flecha13").style.display='none'; document.getElementById("flecha14").style.display='none'; document.getElementById("flecha15").style.display='none'; }catch(e){ } } function video(archi,id) { flashembed("playerContent"+id, {src:'swf/FlowPlayerDark.swf',width: 350,height: 300, wmode: 'transparent'}, { config: { hideControls: false, controlsOverVideo:'yes', usePlayOverlay:true, autoPlay:false, showPlayButton:true, initialScale:'scale', videoFile: archi /* videoFile: '/~shagar/territoriovip/blog/' + archi*/ } } ); }