    function Intermitencia() {
      if (!document.all) return;
      else {
           for(i=0;i<document.all.tags('blink').length;i++){
             s=document.all.tags('blink')[i];
             s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';
           }
      }
    }
		
	function mostrarLAYER(layName,enlace){
	 document.getElementById(layName).style.position='relative';
	 //document.getElementById(layName).style.display='block';
	 //aqui se usa la libreria jquery, cuidado si se exporta este fichero
	 $("#" + layName).fadeIn(500);
	 if(document.getElementById(enlace) != null)
	 	//document.getElementById(enlace).style.background='url(images/round_tab.png)';
	 	$("#" + enlace).css("background-image","url(images/round_tab.png)");
	 }
	 
	function ocultarLAYER(layName,enlace){
	 document.getElementById(layName).style.display='none'; //quitado el visibility:hidden
	 document.getElementById(layName).style.position='absolute';
	 if(document.getElementById(enlace) != null)
	 	//document.getElementById(enlace).style.background='url(images/round_tab_unselect.png)';
	 	$("#" + enlace).css("background-image","url(images/round_tab_unselect.png)");
	}
	
	function mostrar(tabid,tabs){
		if( document.getElementById('tab'+tabid).style.visibility!='visible' )
		{
			for (i = 1; i <= tabs; i++){
			ocultarLAYER('tab'+ i,'enlace'+i);
			}
			mostrarLAYER('tab'+ tabid, 'enlace'+tabid);
		}
	} 
	
	function show_form(int_org){
	// abre el formulario de logueo
	str_url='app/entrance/default.cfm?int_OrganizationId='+int_org+'&str_origin=orgs';
	open_window(str_url,'qs_canalgv',true,350,200,2000,2000,false,0,0,0,1,0,0,false);		
	}
	
	function openPlayer(str_url){
	obj_RefreshWindow=open_window(str_url,'qs_player',true,640,470,85,140,0,0,0,0,0,0,0,true);
	}   
	function mostrarLAYER_novedad(layName,tabs)
{
	document.getElementById(layName).className="novedades_mostrado"; 
	if(layName=="novedades_pag1")
	{
		document.getElementById("ir_bottom").className="flecha_paginador_oculta";
		document.getElementById("ir_top").className="flecha_paginador"; 
	}
	else
	{
	    document.getElementById("ir_bottom").className="flecha_paginador";
		if(layName=="novedades_pag"+tabs)
		{
			document.getElementById("ir_top").className="flecha_paginador_oculta";
		}
		else
		{
			document.getElementById("ir_top").className="flecha_paginador";
		}
	}
}
function ocultarLAYER_novedad(layName){document.getElementById(layName).className="novedades_oculto";}
function mostrar_novedades(tabid,tabs) {for(i=1;i<=tabs;i++){ocultarLAYER_novedad("novedades_pag"+i);DesResalto("num_pag_"+i);}mostrarLAYER_novedad("novedades_pag"+tabid,tabs);Resalto("num_pag_"+tabid);}
function destacar_novedad(elemento,id)
	{
	elemento.className="novedad_activa_destaca";
	document.getElementById("tit_"+id).className="tituloNovedades_destaca";
	} 
function no_destacar(elemento,id)
	{
	elemento.className="novedad_activa";
	document.getElementById("tit_"+id).className="tituloNovedades";
	}
function DesResalto(pagina){document.getElementById(pagina).className="pagina_sin_seleccionar";}
function Resalto(pagina){document.getElementById(pagina).className="pagina_seleccionada";}
