function do_nothing()
{
}


function thisMovie(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}

var g_id_audio=0;

var g_navegador="";
var usamac=false;
var usalinux=false;
//Detect IE5.5+
version=0;
if (navigator.appVersion.indexOf("MSIE")!=-1){
temp=navigator.appVersion.split("MSIE")
version=parseFloat(temp[1])
}

if (version>=5.5) //NON IE browser will return 0
 g_navegador="explorer";
else if(navigator.userAgent.indexOf('Firefox') != -1)
 g_navegador="firefox";
else if(navigator.userAgent.indexOf('Opera') != -1)
 g_navegador="opera";
else if(navigator.userAgent.indexOf('Safari') != -1)
 g_navegador="safari";

//alert(g_navegador);

if(g_navegador=="explorer")
 document.write("<SCRIPT LANGUAGE=javascript  FOR=ByVoice  EVENT=BVVADState(state)>\n ByVoice_OnVADState(state);\n</SCRIPT>\n<SCRIPT LANGUAGE=javascript  FOR=ByVoice  EVENT=BVCommand(command)>\nByVoice_OnCommand(command);\n</SCRIPT>\n<SCRIPT LANGUAGE=javascript  FOR=ByVoice  EVENT=BVError(error)>\n ByVoice_OnError(error);\n</SCRIPT>\n<SCRIPT LANGUAGE=javascript  FOR=ByVoice  EVENT=BVSendStart()>\n ByVoice_SendStart()\n</SCRIPT>\n<SCRIPT LANGUAGE=javascript  FOR=ByVoice  EVENT=BVPlayNotification(id,description)>\n ByVoice_PlayNotification(id,description)\n</SCRIPT>");

if(navigator.userAgent.indexOf('Mac') != -1)
 usamac=true;
if(navigator.userAgent.indexOf('Linux') != -1)
{
 usalinux=true;
}

//usamac=false;

var firefox_plugin_instalado=false;
if(g_navegador=="firefox")
{
 var mimetype = navigator.mimeTypes["application/x-byvoice-plugin"];
 
 if (mimetype) {
   // Yes, so can we display with a plug-in?
   var plugin = mimetype.enabledPlugin;
   if (plugin) {
      // Yes, so show the data in-line
	  firefox_plugin_instalado=true;
   } else {
      // No, so provide a link to the data
   }
 } else {
   // No, so tell them so
 }
}


if(g_navegador=="explorer")
document.write("<object classid=\"clsid:E83089B3-50AC-4802-BFED-766004EEF189\" HEIGHT=\"1\" WIDTH=\"1\" codebase=\"http://www.by-voice.com/byvoice.cab#version=1,1,0,6\" align=\"bottom\" id=\"ByVoice\"></object>");
else if ((g_navegador=="firefox" && firefox_plugin_instalado) || g_navegador!="firefox")
{
document.write("<object class=\"hiddenObject\" TYPE=\"application/x-byvoice-plugin\" codebase=\"http://www.by-voice.com/byvoice.exe\" HEIGHT=\"1\" WIDTH=\"1\" id=\"ByVoice\"></object>");
}
var ByVoice=document.getElementById('ByVoice'); 

var timer_hidediv;
var g_bv_certificado='Wu1QCK2vClUbg7OpwUj+Ny0Kz0pmLWbo2GNV826NFMJ32CK1EmfBJ8VhABp5ejrIMOkI9c2ZlHoD8uKSUeKHhP==';
var g_bv_fecha_caducidad='09/10/2010';

//ByVoice.Initialize('Wu1QCK2vClUbg7OpwUj+Ny0Kz0pmLWbo2GNV826NFMJ32CK1EmfBJ8VhABp5ejrIMOkI9c2ZlHoD8uKSUeKHhP==','09/10/2010','servidor.by-voice.com','servidor2.by-voice.com')

var g_id,g_ini,g_fin;
var g_no_parar_animacion=false;

function iniciar_reproduccion_byv2(id,ini,fin,animacion)
{
 g_ini=ini;
 g_fin=fin;
 g_id=id;
  ByVoice.PlayLoadedSegment(id,ini,fin);
 }

function onVicloneAnimacionHablando()
{
 //if(bHablando==false)
 {
   bHablando=true;
   ByVoice.PlayLoadedSegment(g_id,g_ini,g_fin);
 }  
}

function onVicloneAnimacionCargada()
{
  	 bAnimacionCargada=true;
     //alert('animacion cargada');
	 if(!bEsperarVoz || bSonidoCargado)
	 {
      //alert("d5");
	  document.panel.reproduceAnimacion();
	 }
}

function onVicloneAnimacionFin()
{
  bAnimacionEnMarcha=false;
}


function iniciar_reproduccion(url,animacion)
{
 if(bAnimacionEnMarcha)
 {
     if(bEsperarVoz && bHablando)
	 {
  	   ByVoice.Stop();
	 }
	 else
	 {
       bAnimacionEnMarcha=false;bAnimacionCargada=false;bSonidoCargado=false;
	   
	   setTimeout('bEsperarVoz=false;bHablando=false;',1000);
	 } 
	 setTimeout('iniciar_reproduccion(\''+url+'\',\''+animacion+'\')',1000);
	 return;
 }
 //document.prueba_envio.mostrar_respuesta(texto);
 bAnimacionEnMarcha=true;
 bSonidoCargado=false;
 bEsperarVoz=true;
 g_id=5;
 g_ini=0;
 g_fin=-1;
 ByVoice.LoadVoiceFile(url,5);
}




function speak(id)
{  
      ByVoice.PlayLoadedFile(id);    
   //ByVoice.PlayFile('http://www.by-voice.com/ttsonline/load_speak.php?id=0');
      
}

function speak_fichero(fichero)
{  
      ByVoice.PlayFile(fichero);    
      
}


function generar_speak(id)
{
 var divs=document.getElementsByTagName("DIV");
 for(i=0;i<divs.length;i++)
 {
  if((divs[i].className=="voz") && (divs[i].id==id))
  {
   speak_fichero('http://www.by-voice.com/ttsonline/get_speak2.php?lan=1&voz=carlos&format=byv&texto='+divs[i].innerHTML+'&id='+id);
  } 
 }
}


//document.write('a href="javascript:do_nothing();" onclick="">Leer</a><br />');

var g_inicializado=false;

 function ByVoice_OnVADState(state)
 {
  if(!g_inicializado)
  	return;
    thisMovie('panel').onVADState(state-1);
 }

 function ByVoice_OnError(msg)
 {
  document.status=msg;
 }

 function quitar_espacios(s)
 {
  var res='';
  var x=0;
  while(x<s.length)
  {
   var c=s.charAt(x);
   switch(c)
   {
    case ' ':
	case '?':
	case '¿':
	case '¡':
	case '!':
	 break;
	default:
	{
   		if((c>='a' && c<='z') || (c>='A' && c<='Z') || (c==' ')  || (c=='á')   || (c=='é')   || (c=='í')   || (c=='ó')   || (c=='ú')   || (c=='Á')   || (c=='É')   || (c=='Í')   || (c=='Ó')   || (c=='Ú')   || (c=='ü')  || (c=='Ü')    || (c=='ñ')   || (c=='Ñ') )
	
 	{
	 res+=c;
	}
	} 
   }
   x++;
  }
  return res;
 }


function empieza_por_leer_parrafo(command)
{
	if (command.substring(0,6)=='leer p' && command.substring(7,12)=='rrafo')
  	{
   		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}

function empieza_por_leer_frase(command)
{
	if (command.substring(0,10)=='leer frase')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}
 
function empieza_por_leer_frase_parrafo_actual(command)
{
    //alert('leer actual p'+String.fromCharCode(0x00e1)+'rrafo frase');
	if (command.substring(0,25)=='leer actual p'+String.fromCharCode(0x00e1)+'rrafo frase')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
} 

function empieza_por_parrafo_frase(command)
{
	if (command.substring(0,7)=='p'+String.fromCharCode(0x00e1)+'rrafo')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
} 

function empieza_por_repetir_frase(command)
{
	if (command.substring(0,13)=='repetir frase')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}
 
function empieza_por_repetir_parrafo(command)
{
	if (command.substring(0,15)=='repetir p'+String.fromCharCode(0x00e1)+'rrafo')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}

function empieza_por_avanza_frase(command)
{
	if (command.substring(0,12)=='avanza frase')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}

function empieza_por_avanza_parrafo(command)
{
	if (command.substring(0,14)=='avanza p'+String.fromCharCode(0x00e1)+'rrafo')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}

function empieza_por_retrocede_frase(command)
{
	if (command.substring(0,15)=='retrocede frase')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}

function empieza_por_retrocede_parrafo(command)
{
	if (command.substring(0,17)=='retrocede p'+String.fromCharCode(0x00e1)+'rrafo')
  	{
  		return true;   	
  	}
  	else
  	{
  		return false;
  	}
}


function ejecutar_link(command)
{
  var s1=command.toLowerCase();
  s1=quitar_espacios(s1);
  
  if(document.all) 
  {
   bfound=false;
   //alert(s1);
   var i;
   for (i=0;!bfound && i<document.links.length; i++) {
     if(document.links[i].innerText)
	 {
	   var s2=document.links[i].innerText.toLowerCase();
	   s2=quitar_espacios(s2);
	   //alert(s2);
       if(s1==s2)
	   {
	      if(!bfound)
		  		     speak_fichero('http://www.by-voice.com/ttsonline/get_speak.php?lan=1&voz=carlos&format=byv&texto='+escape('Ha seleccionado la opci'+String.fromCharCode(0x00f3)+'n '+document.links[i].innerText));
		  		  if(oldlink!=null && oldstyle!=null)
		  {
 		    document.links[oldlink].style.fontWeight=oldstyle;
			document.links[oldlink].style.backgroundColor=oldcolor;
		  }	
		  oldlink=i;
		  oldstyle=document.links[i].style.fontWeight;
		  oldcolor=document.links[i].style.backgroundColor;
		  document.links[i].style.fontWeight="bold";
		  document.links[i].style.backgroundColor="#FF0000";
		  g_bIrLink=true;
		  	 
		  bfound=true;
	   }
	 } 
   }
  }
  else {
   bfound=false;
   for (i=0;!bfound && i<document.links.length; i++) {
     if(document.links[i].text) {
       var texto=document.links[i].text;
	   texto=texto.replace("\n","");
	   texto=texto.replace("\r","");
	   texto=texto.replace("\t","");
	   texto=texto.replace(" ","");
       texto=quitar_espacios(texto);
       command=quitar_espacios(command);
	   //alert(texto);
       if(texto.toLowerCase()==command.replace(" ","").toLowerCase()) {
	     if(!bfound)
		  		     speak_fichero('http://www.by-voice.com/ttsonline/get_speak.php?lan=1&voz=carlos&format=byv&texto='+escape('Ha seleccionado la opci'+String.fromCharCode(0x00f3)+'n '+document.links[i].text));
		  
		 if(oldlink!=null && oldstyle!=null)
		 {
 		    document.links[oldlink].style.fontWeight=oldstyle;
			document.links[oldlink].style.backgroundColor=oldcolor;
		 }	
		 oldlink=i;
		 oldstyle=document.links[i].style.fontWeight;
		 oldcolor=document.links[i].style.backgroundColor;
		 document.links[i].style.fontWeight="bold";
		 document.links[i].style.backgroundColor="#FF0000";
		 setTimeout('location.href=document.links[oldlink].href',3000);
	     
		 bfound=true;
       }
     }
     else { }
   }
  }
  return bfound;
}

function ByVoice_OnCommand(command)
{
    if(ejecutar_link(command))
  	return;

  //alert(command);

  if(g_ejecutando_comando)
  	return;
  var s='';
  if(command.charAt(0)=='#')
  {
   g_ejecutando_comando=true;
   var comandos=command.split('#');
   var previo="";
   for(i=1;i<comandos.length;i++)
   {
    var comando=comandos[i].split('->');
	if(i>1)
	 s+=" ";
	var str=comando[1];
	pos=str.indexOf("_$");
	if(pos>=0)
	 str=str.substr(0,pos);
	if(str!=previo)
	 s+=str;
	previo=str;
   }
   command=s
   
   //return;
  }
  //document.getElementById('entendido').value=command;
  try
  {
   if(bNoticiaCargada)
   {
   	thisMovie('panel').mostrar(Utf8.encode(command));//mostrar(command);
   } 
   else
        thisMovie('panel').mostrar("Cargando...");
      }
  catch(err) { } 
  
  switch(command)
  {
  case "leer noticia":
    g_ejecutando_comando=true;
  	    if(bReproduciendo)
    	ByVoice.Stop();
    	if(ByVoice.FindSegment(0,0,"textos")==0)
  	{
   		var ini=ByVoice.GetFoundSegmentData("start");
	    var fin=ByVoice.GetFoundSegmentData("end");
		g_fin_orden_actual=fin;
		g_inicio_frase_actual=ini;
		g_inicio_parrafo_actual=ini;
        //alert(ini);
   		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+fin+",'1.swf');",300);
        //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+fin+");",300);
        return;
  	} 
  	break;
  case "leer cuerpo":
    g_ejecutando_comando=true;
  	    if(bReproduciendo)
    	ByVoice.Stop();
    	if(ByVoice.FindSegment(0,0,"textos")==0)
  	{
   		var ini=ByVoice.GetFoundSegmentData("start");
	    var fin=ByVoice.GetFoundSegmentData("end");
		g_fin_orden_actual=fin;
		g_inicio_frase_actual=ini;
		g_inicio_parrafo_actual=ini;
   		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+fin+",'1.swf');",300);
        //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+fin+");",300);
        return;
  	} 
  	break;
  case "leer título":
    g_ejecutando_comando=true;
  	    if(bReproduciendo)
    	ByVoice.Stop();
    	if(ByVoice.FindSegment(0,0,"titulo")==0)
  	{
   		var ini=ByVoice.GetFoundSegmentData("start");
	    var fin=ByVoice.GetFoundSegmentData("end");
		g_fin_orden_actual=fin;
		g_inicio_frase_actual=ini;
		g_inicio_parrafo_actual=ini;
   		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+fin+",'1.swf');",300);
        //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+fin+");",300);
        return;
  	}
    return; 
  	break;
  case "siguiente p\xf1rrafo":
    g_ejecutando_comando=true;
  	    if(bReproduciendo)
    	ByVoice.Stop();
        if(g_parrafo_actual>=g_parrafos_ini.length)
    {
    	g_ejecutando_comando=false;
   		avisar_no_existe_parrafo();
   		return;
    }
    ini=g_parrafos_ini[g_parrafo_actual];
    fin=g_parrafos_fin[g_parrafo_actual];
	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
    //alert("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");");
    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
    setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    return;
  	break;
  case "anterior p\xf1rrafo":
  	    if(bReproduciendo)
    	ByVoice.Stop();
        if(g_parrafo_actual<2)
    {
    	g_ejecutando_comando=false;
    	avisar_no_existe_parrafo();
    	return;
    }    
    ini=g_parrafos_ini[g_parrafo_actual-2];
    fin=g_parrafos_fin[g_parrafo_actual-2];
	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
    setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    return;
  	break;
  case "siguiente frase":
  	    if(bReproduciendo)
    	ByVoice.Stop();
        if(g_frase_actual>=g_frases_ini.length)
    {
    	g_ejecutando_comando=false;
        avisar_no_existe_frase();
    	return;
    }
    ini=g_frases_ini[g_frase_actual];
    fin=g_frases_fin[g_frase_actual];
	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
    setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    return;
  	break;
  case "anterior frase":
  	    if(bReproduciendo)
    	ByVoice.Stop();
        if(g_frase_actual<2)
    {
    	g_ejecutando_comando=false;
        avisar_no_existe_frase();
    	return;
    }
    ini=g_frases_ini[g_frase_actual-2];
    fin=g_frases_fin[g_frase_actual-2];
	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
    setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    return;
  	break;
  case "para":
    g_ejecutando_comando=false;
    if(bReproduciendo)
    	ByVoice.Stop();
  	break;
  case "sigue":
    g_ejecutando_comando=true;
    if(bReproduciendo || g_current_pos_byv*1>=g_fin_orden_actual*1)
	  return;
    setTimeout("iniciar_reproduccion_byv2(0,"+g_current_pos_byv+","+g_fin_orden_actual+");",300);
    // setTimeout("ByVoice.PlayLoadedSegment(0,"+g_current_pos_byv+","+g_fin_orden_actual+");",300);
    return;
  	break;
  case "sigue leyendo":
  case "sigue leyendo ":
    g_ejecutando_comando=true;
    if(bReproduciendo )
    {
	  return;
	}
    if(ByVoice.FindSegment(0,0,"textos")==0)
  	{
   		var ini=ByVoice.GetFoundSegmentData("start");
	    var fin=ByVoice.GetFoundSegmentData("end");
		g_fin_orden_actual=fin;
		g_inicio_frase_actual=ini;
		g_inicio_parrafo_actual=ini;
  		setTimeout("iniciar_reproduccion_byv2(0,"+g_current_pos_byv+","+fin+",'1.swf');",300);
        //setTimeout("ByVoice.PlayLoadedSegment(0,"+g_current_pos_byv+","+fin+");",300);
        return;
  	} 
  	break;
  default : 
  	if(empieza_por_leer_parrafo(command))
  	{
	    g_ejecutando_comando=true;
  		var parrafo=command.charAt(13);
    	if(bReproduciendo)
    		ByVoice.Stop();
    	if(g_parrafos_ini.length<parrafo*1)
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_parrafo();
    		return;
    	}
	    ini=g_parrafos_ini[parrafo-1];
	    fin=g_parrafos_fin[parrafo-1];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
  	}
  	
	
	else if(empieza_por_leer_frase(command))
  	{
	    g_ejecutando_comando=true;
  		var frase=command.charAt(11);
    	if(bReproduciendo)
    		ByVoice.Stop();
    	if(g_frases_ini.length<frase*1+1+1)
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_frase();
    		return;
    	}
	    ini=g_frases_ini[frase-1];
	    fin=g_frases_fin[frase-1];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
	}
	
	else if (empieza_por_leer_frase_parrafo_actual(command))
	{
	    g_ejecutando_comando=true;
		var frase=command.charAt(26)*1; 
  		if(bReproduciendo)
    		ByVoice.Stop();
        var frase_parrafo=g_frase_parrafo[g_parrafo_actual-1];
        frase=frase_parrafo+(frase-1);
        if(frase>=g_frase_parrafo[g_parrafo_actual])
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_frase();
    		return;
    	}
	    ini=g_frases_ini[frase];
	    fin=g_frases_fin[frase];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
	}
   
   else if( command.indexOf("p'+String.fromCharCode(0x00e1)+'rrafo")>=0 && command.indexOf("frase")>=0 && command.indexOf("actual")<0)
   {
	    g_ejecutando_comando=true;
   		/*if(bReproduciendo)
    	ByVoice.Stop();*/
   		var pos_frase=command.indexOf('frase')+6;
        var pos_parrafo=command.indexOf('p'+String.fromCharCode(0x00e1)+'rrafo')+8;
   		var paux=command.indexOf(' ',pos_frase);
   		
		var frase;
		if(paux>=0)
		 frase=command.substring(pos_frase,paux);
		else
		 frase=command.substring(pos_frase);		//frase que volem
		var paux=command.indexOf(' ',pos_parrafo);
		var parrafo;
		if(paux>=0)
		 parrafo=command.substring(pos_parrafo,paux);
		else
		 parrafo=command.substring(pos_parrafo)		//parrafo que volem
		
		if(g_frase_parrafo.length<parrafo)
		{
        	g_ejecutando_comando=false;
			avisar_no_existe_frase();
    		return;
		}
		
		if(typeof(g_frases_fin[g_frase_parrafo[parrafo-1]+frase*1])=='undefined')
		{
        	g_ejecutando_comando=false;
			avisar_no_existe_frase();
    		return;
		}
		if(g_parrafos_fin[parrafo-1]<g_frases_fin[g_frase_parrafo[parrafo-1]+frase])
        {
        	g_ejecutando_comando=false;
			avisar_no_existe_frase();
    		return;
		}
		var frase_parrafo=g_frase_parrafo[parrafo-1];//quans parrafos te
        frase=frase_parrafo+(frase-1);
		if(g_frases_ini.length<frase*1+1)
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_frase();
    		return;
    	}
	    ini=g_frases_ini[frase];
	    fin=g_frases_fin[frase];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
   }
   
   else if(empieza_por_repetir_frase(command))
  	{  
	    g_ejecutando_comando=true;
  	    if(bReproduciendo)
    	ByVoice.Stop();
        if(g_parrafo_actual>=g_frases_ini.length)
    	return;
    ini=g_frases_ini[g_frase_actual-1];
    fin=g_frases_fin[g_frase_actual-1];
	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+fin+");",300);
    setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+fin+",'1.swf');",300);
    return;
	}
	
	else if(empieza_por_repetir_parrafo(command))
  	{
	    g_ejecutando_comando=true;
  		/*if(bReproduciendo)
    	ByVoice.Stop();*/
		ini=0;
		fin=0;
		
		if(ByVoice.FindSegment(0,0,"parrafo")==0)
	  	{
	   		ini=ByVoice.GetFoundSegmentData("start");
		    fin=ByVoice.GetFoundSegmentData("end");
	  	} 
	  	
	    prev_ini=ini;
		prev_fin=fin;
		while(fin*1<g_current_pos_byv*1)
		{
	      prev_ini=ini;
		  prev_fin=fin;
		  if(ByVoice.FindSegment(0,fin,"parrafo")==0)
	  	  {
	   		ini=ByVoice.GetFoundSegmentData("start");
		    fin=ByVoice.GetFoundSegmentData("end");
	  	  } 
		  else
		  {
		   continue;
		  } 
		}
		//ini=prev_ini;
		//fin=prev_fin;
		g_inicio_parrafo_actual=ini;
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
				g_fin_orden_actual=fin;
		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
        //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        return;
	}
	
	else if(empieza_por_avanza_frase(command))
  	{
	    g_ejecutando_comando=true;
  		var frase=command.charAt(13);
    	if(bReproduciendo)
    		ByVoice.Stop();
        if((g_frase_actual*1+frase*1-1)>=g_frases_ini.length)
        	return;
        //alert(g_frase_actual*1+frase*1-1);
	    ini=g_frases_ini[g_frase_actual*1+frase*1-1];
	    fin=g_frases_fin[g_frase_actual*1+frase*1-1];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
  	}
  	
  	else if(empieza_por_avanza_parrafo(command))
  	{
	    g_ejecutando_comando=true;
  		var parrafo=command.charAt(15);
    	if(bReproduciendo)
    		ByVoice.Stop();
        if((g_parrafo_actual*1+parrafo*1-1)>=g_parrafos_ini.length)
	    {
        	g_ejecutando_comando=false;
    		avisar_no_existe_parrafo();
    		return;
	    }
        //alert(g_frase_actual*1+frase*1-1);
	    ini=g_parrafos_ini[g_parrafo_actual*1+parrafo*1-1];
	    fin=g_parrafos_fin[g_parrafo_actual*1+parrafo*1-1];
		if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
	    //setTimeout("ByVoice.PlayLoadedSegment(0,"+ini+","+g_fin_orden_actual+");",300);
        setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
	    return;
  	}
  	else if(empieza_por_retrocede_frase(command))
  	{
	    g_ejecutando_comando=true;
  		var pos=17;
    	var frase=command.charAt(pos);
    	
    	pos++;
    	while(parseInt(command.charAt(pos))>0 && parseInt(command.charAt(pos))<10)
    	{
    		frase=frase+command.charAt(pos);
    		pos++;
    	}
    	
    	if(g_frase_actual-1-parseInt(frase)<=0)
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_frase();
    		return;
    	}
    	ini=g_frases_ini[g_frase_actual-1-parseInt(frase)];
    	fin=g_frases_fin[g_frase_actual-1-parseInt(frase)];
    	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    	return;
  	}
  	
  	else if(empieza_por_retrocede_parrafo(command))
  	{
	    g_ejecutando_comando=true;
  		var pos=19;
    	var parrafo=command.charAt(pos);
    	
    	pos++;
    	while(parseInt(command.charAt(pos))>0 && parseInt(command.charAt(pos))<10)
    	{
    		parrafo=parrafo+command.charAt(pos);
    		pos++;
    	}
    	
    	if(g_parrafo_actual-1-parseInt(parrafo)<0)
    	{
        	g_ejecutando_comando=false;
    		avisar_no_existe_frase();
    		return;
    	}
    	ini=g_parrafos_ini[g_parrafo_actual-1-parseInt(parrafo)];
    	fin=g_parrafos_fin[g_parrafo_actual-1-parseInt(parrafo)];

    	if(!bReproduciendo || g_fin_orden_actual*1<fin*1)
			g_fin_orden_actual=fin;
		setTimeout("iniciar_reproduccion_byv2(0,"+ini+","+g_fin_orden_actual+",'1.swf');",300);
    	return;
  	}
	break;
  	
 }
    if(command=="Leer links" || command=="Llegir links" || command=="Read links")
  {
   setTimeout("iniciar_reproduccion_byv2(1,0,-1,'1.swf');",300);
   return;
  }
  else if(command=="Leer p'+String.fromCharCode(0x00e1)+'gina" || command=="Llegir pàgina" || command=="Read page")
  {
   g_ejecutando_comando=true;
   setTimeout("iniciar_reproduccion_byv2(0,0,-1,'1.swf');",300);
   //speak(0);
   //g_bIrLink=false;
   return;
  }
  else if(command=="Callar" || command=="Silence")
  {
   ByVoice.Stop();
   return;
  }
  
 //ahora separa comando en dos para detectar "parrafo 1" o "parrafo 4" o "frase 3" o
 // "parrafo 4 frase 3"
}


 var oldlink=null;
 var oldstyle=null;
 var oldcolor=null;
 var g_bIrLink=false;
 
 function ByVoice_SendStart()
 {
 }
 
var g_ejecutando_comando=true;
var g_current_pos_byv =0;
var g_fin_orden_actual=0;
var bReproduciendo=false;
var g_inicio_frase_actual=0;
var g_inicio_parrafo_actual=0;


var bAnimacionEnMarcha=false;
var bHablando=false;
var bEsperarVoz=true;
var pagina_cargada=false;
var bAnimacionCargada=false;
var bSonidoCargado=false;
var bNoticiaCargada=false;

var g_ini=0;
var g_fin=0;

function avisar_no_existe_frase()
{
 ByVoice.PlayLoadedFile(2);
}

function avisar_no_existe_parrafo()
{
 ByVoice.PlayLoadedFile(3);
}


var num_frases=0;

var g_parrafos_ini= new Array();
var g_parrafos_fin= new Array();
var g_frases_ini= new Array();
var g_frases_fin= new Array();
var g_frase_parrafo= new Array();

function cargar_info_parrafos()
{ 
 ByVoice.FindSegment(0,0,"textos");
 var _ini=ByVoice.GetFoundSegmentData("start");
 var _fin=ByVoice.GetFoundSegmentData("end");
 var ini=0;
 var fin=0;
 //document.write(_fin);
 var i=0;
 while(fin*1<_fin*1 && i<100)
 {
  ByVoice.FindSegment(0,fin,"parrafo");
  ini=ByVoice.GetFoundSegmentData("start");
  fin=ByVoice.GetFoundSegmentData("end");
  g_parrafos_ini[i]=ini;
  g_parrafos_fin[i]=fin;
  g_frase_parrafo[i]=0;
  for(j=0;j<g_frases_ini.length;j++)
  {
   if(g_frases_fin[j]<=ini*1)
     g_frase_parrafo[i]=j+1;
  }
  i++;
 }

}


function cargar_info_frases()
{ 
 var err=ByVoice.FindSegment(0,0,"textos");
 //alert("FindSegment"+err);
 //document.getElementById('prueba').innerHTML+="FindSegment(0,0,textos) <font color=red>FindSegment"+err+"<br></font>";
 var _ini=ByVoice.GetFoundSegmentData("start");
 var _fin=ByVoice.GetFoundSegmentData("end");
 var ini=0;
 var fin=0;
 //document.write(_fin);
 var i=0;
 while(fin*1<_fin && i<100)
 {
  err=ByVoice.FindSegment(0,fin,"frase");
  //document.getElementById('prueba').innerHTML+="FindSegment(0,"+fin+",frase)<font color=red>FindSegment"+err+"<br></font>";
  ini=ByVoice.GetFoundSegmentData("start");
  //alert(ini);
  fin=ByVoice.GetFoundSegmentData("end");
  //alert(fin);
  g_frases_ini[i]=ini;
  g_frases_fin[i]=fin;
  i++;
 }
 /*document.getElementById('prueba').innerHTML+=" a ver<br>";
 for(i=0;i<g_frases_ini.length;i++)
 {
  document.getElementById('prueba').innerHTML+=" "+g_frases_ini[i]+"<br>";
 }*/
}

function frase_actual(pos)
{
 res=0;
 for(i=0;i<g_frases_ini.length;i++)
 {
  if(g_frases_ini[i]>pos*1)
  {
  	return i;
  }
  res=g_frases_ini[i];
 }
 return i;
}

function parrafo_actual(pos)
{
 res=0;
 for(i=0;i<g_parrafos_ini.length;i++)
 {
  if(g_parrafos_ini[i]>pos*1)
  {
  	return i;
  }
  res=g_parrafos_ini[i];
 }
 return i;
}

var g_frase_actual=0;
var g_parrafo_actual=0;
var bAnimacionEnMarcha=false;
var bHablando=false;
var bEsperarVoz=true;
var pagina_cargada=false;
var bAnimacionCargada=false;
var bSonidoCargado=false;

function ByVoice_PlayNotification(id,description)
{
 usada_pagina=true;
 switch(id)
 {
  case 0:
     //alert('eo');
	bHablando=true;
    break;
  case 1:
    //alert(description);
    if(description!='StartPlay')
    	return;
 	bReproduciendo=true;
	bHablando=true;
	if(g_ejecutando_comando)
	 g_ejecutando_comando=false;
	break;
  case 2:
        if(!g_no_parar_animacion)
    {
    	bReproduciendo=false;
		bHablando=false;
    }
    g_no_parar_animacion=false;
      	//window.status=''; 
    if(navigator.appVersion.indexOf('MSIE') > -1 ) 
	{ 
	 if(g_bIrLink)
	 		  setTimeout('document.links[oldlink].click()',1000);
	}
	else
	{
	 if(g_bIrLink)
	 		  setTimeout('document.getElementById(document.links[oldlink].id).click();',1000);	
	} 
    break;
  case 110:
     //alert("el 110");
  	 break;
  case 111:
     
  	 //alert("el 111");
     cargar_info_frases();
     cargar_info_parrafos();
  	 bSonidoCargado=true;
	 g_ejecutando_comando=false;
     if(g_frases_ini.length>1)
     {
         bNoticiaCargada=true;
      		 thisMovie('panel').mostrar("LISTO");
         }   
     break; 
  case 501:
	p1=description.indexOf(' ');
	p2=description.indexOf(':');
	g_current_pos_byv=description.substring(p1,p2);
    g_parrafo_actual=parrafo_actual(g_current_pos_byv);
    g_frase_actual=frase_actual(g_current_pos_byv);
    var s='p\xf1rrafo '+g_parrafo_actual+' frase '+g_frase_actual;
    //document.getElementById('control').value=s;
    //document.getElementById('control').value=g_current_pos_byv;
    break;
  case 502:
    break;
 }
  
}

//document.write('<input type="text" id="control" disabled="disabled" value="" />');
//document.write('<input type="text" id="entendido" disabled="disabled" value="" />');

function leer_pagina() 
{
    //alert('1');
    try
    {
	 ByVoice_OnCommand('leer noticia');
    }
    catch(e)
    {
     document.write("<div align='left'><font size='2'>Necesitas <a href=\"http://www.by-voice.com/es/instalacion.php\">instalar By-Voice</a> para escuchar los contenidos. <a href=\"javascript:history.back();\">[Volver atr\xf1s]</a></font></div>");
    }
    //thisMovie("panel").onVADState(2);
}

function leer_links() 
{
    //alert('1');
    try
    {
	 ByVoice_OnCommand('Leer links');
    }
    catch(e)
    {
     document.write("<div align='left'><font size='2'>Necesitas <a href=\"http://www.by-voice.com/es/instalacion.php\">instalar By-Voice</a> para escuchar los contenidos. <a href=\"javascript:history.back();\">[Volver atr\xf1s]</a></font></div>");
    }
    //thisMovie("panel").onVADState(2);
}

function callar() 
{
    //alert('1');
	ByVoice_OnCommand('para');
    //thisMovie("panel").onVADState(2);
}

function ayuda() {
   //alert('ayuda');
      top.location.href='http://www.by-voice.com/es/instrucciones-include.php'
   }

function activar_microfono() {
	 //g_micro_activado=true;
     //alert("micro on");
     ByVoice.Enable();
     Set_Cookie( 'micro', 'on', '', '/', '', '' );
	 thisMovie('panel').onVADState(0);
	 //set_cookie_micro('1');
}

function desactivar_microfono() {
	 //g_micro_activado=false;
     //alert("micro off");
     ByVoice.Disable();
	 //set_cookie_micro('0');
     Set_Cookie( 'micro', 'off', '', '/', '', '' );
	 thisMovie('panel').onVADState(-1);

}

function mostrar_byvoice()
{

 document.write('<div>');
 document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="210" height="32" id="panel">  <param name="wmode" value="transparent"> <param name="allowScriptAccess" value="always" /> <param name="movie" value="http://www.by-voice.com/external-includes/swf/mini.swf" />   <param name="quality" value="high" />  <embed src="http://www.by-voice.com/external-includes/swf/mini.swf" wmode=transparent quality="high" name="panel" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="210" height="32" allowScriptAccess="always" ></embed>  </object>');
 document.write('</div>');

  try
 {
      if(usamac)
      {}
      else if(usalinux)
      {}
      else 
      {
       var vers=ByVoice.StrVersion();
       //alert(vers);
       if(g_navegador!='explorer' && vers!='1.1.0.9')
       {
              document.write('<div align="left"><font color="red">ATENCI&Oacute;N:</font> <a href="http://www.by-voice.com/es/instalacion.php">Necesita actualizar su versi&oacute;n de By Voice de la '+vers+' a la 1.1.0.9 . Pulse sobre este enlace.</a></div>');
              }
      } 
 }
 catch(err)
 {
              document.write('<div align="left"><font color="red">ATENCI&Oacute;N:</font> <a href="http://www.by-voice.com/es/instalacion.php">Necesita actualizar su versi&oacute;n de By Voice a la 1.1.0.9 . Pulse sobre este enlace.</a></div>');
        }


//window.onblur = "alert('fuera');";
//window.onfocus = "alert('dentro');";


}


function minimizar_panel() {
  	//alert('minimizar');
	//document.getElementById("character").style.height="82px";
	document.getElementById("contenedorflash").style.height="82px";
    //Set_Cookie( 'panel_mini', 'on', '', '/', '', '' );
}

function maximizar_panel() {
  	//alert('maximizar');
	//document.getElementById("character").style.height="82px";
	document.getElementById("contenedorflash").style.height="280px";
    //Set_Cookie( 'panel_mini', 'off', '', '/', '', '' );
}


function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

 function onVicloneBannerClick()
 {
  location.href="/es/instalacion.php";	 
 }


function inicializar_byvoice()
{
 try
 {
 	 //alert('inicializar_byvoice');
     ByVoice.Initialize('Wu1QCK2vClUbg7OpwUj+Ny0Kz0pmLWbo2GNV826NFMJ32CK1EmfBJ8VhABp5ejrIMOkI9c2ZlHoD8uKSUeKHhP==','09/10/2010','servidor.by-voice.com','servidor2.by-voice.com');

     g_inicializado=true;

 	 if ( Get_Cookie( 'micro' ) =='on' ) 
     {
     	//alert('on');
		setTimeout('thisMovie("panel").activar_mic();',1000);
     }  
	 else
     {
     	//alert('off');
		setTimeout('thisMovie("panel").desactivar_mic();',1000);
	 }
     
	 	      ByVoice.Disable();
             ByVoice.SetContext('noticia');
          ByVoice.LoadVoiceFile('http://www.by-voice.com/ttsonline/load_speak.php?id=0',0);
     ByVoice.LoadVoiceFile('http://www.by-voice.com/ttsonline/load_speak.php?id=0',1);
	 ByVoice.LoadVoiceFile('http://www.by-voice.com/external-includes/byv/nofrase.byv',2); ByVoice.LoadVoiceFile('http://www.by-voice.com/external-includes/byv/noparrafo.byv',3);
	 
     //leer_pagina();

             ByVoice.SetContext('noticia');
     	 ByVoice.SetMode('ImprovedPerformanceASR');
        thisMovie('panel').mostrar("Cargando...");
     }
 catch(err)
 {
   }
 
 
}


function poner_boton(img)
{
//document.write('<a href="javascript:do_nothing();" onclick="speak_fichero(\'http://www.by-voice.com/ttsonline/load_speak.php?id=0\');"><img src="'+img+'" border="0"></a></font>');
 
 }

function poner_link_leer(texto)
{
 }

function poner_link_leer_links(texto)
{
 document.write('<a href="javascript:do_nothing();" onclick="speak(1);">'+texto+'</a></font>');

}

function poner_link_callar(texto)
{
 document.write('<a href="javascript:do_nothing();" onclick="ByVoice.Stop();">'+texto+'</a></font>');

}


mostrar_byvoice();


document.write("<script>var g_cadena_contexto='contexto_auto_0';</script>");



 var keyCode;
 function tecla(e)
 {
  if(window.event)
    keyCode=window.event.keyCode;
  else if(e) 
    keyCode=e.which;
  //alert(keyCode)
  switch(keyCode)
  {
   case 83://play/pause
     if(bReproduciendo)
       ByVoice_OnCommand('para');
	 else
	 {
	   if(g_current_pos_byv==0)
	   	ByVoice_OnCommand('leer noticia');
	   else
	   	ByVoice_OnCommand('sigue leyendo');
	 } 
     break;
   case 68://siguiente frase
     ByVoice_OnCommand('siguiente frase');
     break;
   case 65://anterior frase
     ByVoice_OnCommand('anterior frase');
     break;
   case 69://siguiente parrafo
     ByVoice_OnCommand('siguiente p\xf1rrafo');
     break;
   case 81://anterior parrafo
     ByVoice_OnCommand('anterior p\xf1rrafo');
     break;
   case 87://repite frase
     ByVoice_OnCommand('repetir frase');
     break;
   case 88://leer noticia
     ByVoice_OnCommand('leer noticia');
     break;
   case 90://leer título
     //ByVoice_OnCommand('repetir p\xf1rrafo');
     //ByVoice.PlayLoadedSegment(0,g_frases_ini[1],g_frases_fin[1]);
     break;
   case 67://leer contenido
     //ByVoice_OnCommand('avanza p\xf1rrafo 3');
     //alert(g_parrafos_ini[1]);
     
     break;
  }
 }



document.onkeyup = tecla;
document.write('<div id="prueba"></div>');
addLoadEvent(inicializar_byvoice);
window.onunload = function(){}; 

// JavaScript Document

function Set_Cookie( name, value, expires, path, domain, secure ) 
{
	// set time, it's in milliseconds
	var today = new Date();
	today.setTime( today.getTime() );

	/*
	if the expires variable is set, make the correct 
	expires time, the current script below will set 
	it for x number of days, to make it for hours, 
	delete * 24, for minutes, delete * 60 * 24
	*/
	if ( expires )
	{
		expires = expires * 1000 * 60 * 60 * 24;
	}
	var expires_date = new Date( today.getTime() + (expires) );

	document.cookie = name + "=" +escape( value ) +
		( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) + 
		( ( path ) ? ";path=" + path : "" ) + 
		( ( domain ) ? ";domain=" + domain : "" ) +
		( ( secure ) ? ";secure" : "" );
}

function Get_Cookie( check_name ) {
	// first we'll split this cookie up into name/value pairs
	// note: document.cookie only returns name=value, not the other components
	var a_all_cookies = document.cookie.split( ';' );
	var a_temp_cookie = '';
	var cookie_name = '';
	var cookie_value = '';
	var b_cookie_found = false; // set boolean t/f default f
	
	for ( i = 0; i < a_all_cookies.length; i++ )
	{
		// now we'll split apart each name=value pair
		a_temp_cookie = a_all_cookies[i].split( '=' );
		
		
		// and trim left/right whitespace while we're at it
		cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');
	
		// if the extracted name matches passed check_name
		if ( cookie_name == check_name )
		{
			b_cookie_found = true;
			// we need to handle case where cookie has no value but exists (no = sign, that is):
			if ( a_temp_cookie.length > 1 )
			{
				cookie_value = unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, '') );
			}
			// note that in cases where cookie is initialized but no value, null is returned
			return cookie_value;
			break;
		}
		a_temp_cookie = null;
		cookie_name = '';
	}
	if ( !b_cookie_found )
	{
		return null;
	}
}	

function Delete_Cookie( name, path, domain ) {
	if ( Get_Cookie( name ) ) document.cookie = name + "=" +
		( ( path ) ? ";path=" + path : "") +
		( ( domain ) ? ";domain=" + domain : "" ) +
		";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}
// JavaScript Document
/**
*
*  UTF-8 data encode / decode
*  http://www.webtoolkit.info/
*
**/

var Utf8 = {

    // public method for url encoding
    encode : function (string) {
        string = string.replace(/\r\n/g,"\n");
        var utftext = "";

        for (var n = 0; n < string.length; n++) {

            var c = string.charCodeAt(n);

            if (c < 128) {
                utftext += String.fromCharCode(c);
            }
            else if((c > 127) && (c < 2048)) {
                utftext += String.fromCharCode((c >> 6) | 192);
                utftext += String.fromCharCode((c & 63) | 128);
            }
            else {
                utftext += String.fromCharCode((c >> 12) | 224);
                utftext += String.fromCharCode(((c >> 6) & 63) | 128);
                utftext += String.fromCharCode((c & 63) | 128);
            }

        }

        return utftext;
    },

    // public method for url decoding
    decode : function (utftext) {
        var string = "";
        var i = 0;
        var c = c1 = c2 = 0;

        while ( i < utftext.length ) {

            c = utftext.charCodeAt(i);

            if (c < 128) {
                string += String.fromCharCode(c);
                i++;
            }
            else if((c > 191) && (c < 224)) {
                c2 = utftext.charCodeAt(i+1);
                string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
                i += 2;
            }
            else {
                c2 = utftext.charCodeAt(i+1);
                c3 = utftext.charCodeAt(i+2);
                string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
                i += 3;
            }

        }

        return string;
    }

}