<!--

document.writeln("<div align=center>");
document.writeln("<table>");
document.writeln("<tr>");
document.writeln("<td>");
document.writeln("<p style=\"margin-left: 4px; margin-right: 4px\">");
document.writeln("<a href=\"javascript:void(0)\" onclick=\"manda('es');return false;\">");
document.writeln("<img border=\"0\" src=\"flag-spanish.png\" width=\"30\" height=\"16\"></a></p>");
document.writeln("<p>");
document.writeln("</td>");
document.writeln("<td>");
document.writeln("<p style=\"margin-left: 4px; margin-right: 4px\">");
document.writeln("<a href=\"javascript:void(0)\" onclick=\"manda('uk');return false;\">");
document.writeln("<img border=\"0\" src=\"flag-english.png\" width=\"30\" height=\"16\"></a><p>");
document.writeln("</td>");
document.writeln("<td>");
document.writeln("<p style=\"margin-left: 4px; margin-right: 4px\">");
document.writeln("<a href=\"javascript:void(0)\" onclick=\"manda('dl');return false;\">");
document.writeln("<img border=\"0\" src=\"flag-german.png\" width=\"30\" height=\"16\"></a><p>");
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("</div>");


function manda(idiom) {

var pepa = window.location.href;

var src,ftype,h_idiom;
src = pepa;
 h_idiom = src.substring(src.lastIndexOf('=')+1, src.length); 
 //document.write(h_idiom)
  //ftype = src.substring(0,src.lastIndexOf('=')+1)+'ea'; 
   if (src.lastIndexOf("=") < 0) {
    h_idiom = "ea";
                ftype = src+ "?idioma="+ idiom;
                window.open(ftype,"_self");
   }
   else
    {
        if (h_idiom != "idiom") {
                 ftype = src.substring(0,src.lastIndexOf('=')+1)+ idiom;
                window.open(ftype,"_self");
        }
    }
}  // fin funcion

-->
