aux=new String(document.location);
aux=aux.substring(aux.indexOf("http://")+7,aux.length);
aux=aux.substring(aux.indexOf("/")+1,aux.length);
aux=aux.substring(0,aux.indexOf("/"));
//alert(aux);


function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.ie6 = (this.version.indexOf('MSIE 6')>0)
	this.ie7 = (this.version.indexOf('MSIE 7')>0)
	this.min = (this.ns||this.ie)
	this.comp = (this.ns5||this.ie5||this.ie6||this.ie7)
	return this;
}
is = new BrowserCheck()

function meta_sectionid(){
	if(is.ie || is.ns5){
		urlparams=new String(document.location);
		//alert(urlparams);
		if(urlparams.indexOf("secc=")!=-1){
			parametros=urlparams.substring(urlparams.indexOf("secc=")+5,urlparams.length);
			ultimocar=(parametros.indexOf("&")!=-1)?parametros.indexOf("&"):parametros.length;
			seccion=parametros.substring(0,ultimocar);
			document.getElementById("sectionid").content=seccion;
			//alert(document.getElementById("sectionid").content);
		}
	}
}

var popUpWin=0;
function popInstitucional(URLStr)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=yes,width=550,height=420,left=100, top=100,screenX=100,screenY=100');
}

function ventana(pag){
window.open (pag,'ventana','scrollbars=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=no,copyhistory=no,width=600, height=500,left=100, top=100');
}

function ventanafotos(pag){
window.open (pag,'ventanafoto','scrollbars=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=no,copyhistory=no,width=600, height=620,left=100, top=0')
}
function ventanafotonot(pag){
window.open (pag,'ventanafotonot','scrollbars=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=no,copyhistory=no,width=600, height=500,left=100, top=0')
}

function popContenido(URLStr){ // Pop_Up para las tipologias de Contenido.

  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin','scrollbars=yes,width=400,height=498,left=100,top=100,screenX=100,screenY=100');
}

function popImagenV(pag){ // Pop_Up para las Imagenes Verticales.
window.open (pag,'imagenV','scrollbars=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=no,copyhistory=no,width=460, height=460,left=100, top=100');
}

function popImagenH(pag){ // Pop_Up para las Imagenes Verticales.
window.open (pag,'imagenH','scrollbars=yes,toolbar=no,directories=no,location=no,status=no,menubar=no,resizable=no,copyhistory=no,width=550, height=460,left=100, top=100');
}

function go() { // Validacion de formularios


	if(document.mensajeFrm.author.value=="") {
	  alert(traducir_palabra(10));
	  document.mensajeFrm.author.focus();
	  return;
	}

	// Validacion de email:

	objMail=new RegExp("^[a-zA-Z][a-zA-Z_0-9\\.]*@[a-zA-Z_0-9\\.]+\\.[a-zA-Z]{2,3}$") ;

	if (document.mensajeFrm.fromMail.value=="") {
	  alert(traducir_palabra(11));
	  document.mensajeFrm.fromMail.focus();
	  return;
	}

	if (!objMail.test(document.mensajeFrm.fromMail.value))
	{
	    alert(traducir_palabra(12));
		document.mensajeFrm.fromMail.focus();
		return;
	}

	if (document.mensajeFrm.toMail.value=="") {
	  alert(traducir_palabra(13));
	  document.mensajeFrm.toMail.focus();
	  return;
	}

	if (!objMail.test(document.mensajeFrm.toMail.value))
	{
	    alert(traducir_palabra(14));
		document.mensajeFrm.toMail.focus();
		return;
	}

	if (document.mensajeFrm.message.value.length>2000) {
	  alert(traducir_palabra(15)+document.mensajeFrm.message.value.length+traducir_palabra(16));
	  document.mensajeFrm.message.focus();
	  return;
	}
	
	//alert ("LINK 3: " + document.mensajeFrm.link);
	document.mensajeFrm.submit();
}

function emailErroneo(email) { // Validacion de emails.
	var ER = new RegExp("^[a-zA-Z][a-zA-Z_0-9\\.]*@[a-zA-Z_0-9\\.]+\\.[a-zA-Z]{2,3}$") ;
	if(ER.test(email))
		return false;
	else
		return true;
}

function imprimir(){
  var sPath = String(document.location);
  var text =sPath.replace("contenido","print");
  var text =sPath.replace("viewnot","print");
  popContenido(text)
}

function obrePrint(sUrl){
	popContenido(sUrl);
}

function vernoticia(sUrl){
  //var sPath = String(document.location);
 // var text =sPath.replace("contenido","print");
  popContenido(sUrl)
}

function enviaAmigo(sUrl){


	//alert(sUrl);
	enviaAmigoLOC(sUrl);
	
	/*
	if(aux=='uk' || aux=='po' || aux=='ca' || aux=='eu' || aux=='gl'){
		document.envioFrm.action="/"+aux+document.envioFrm.action;
	}
	VENTANA=window.open('','Venvio','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=yes,width=430,height=450,left=100,top=100,screenX=100,screenY=100');
	document.envioFrm.target="Venvio";
	//alert(document.envioFrm.titulo.value);
	document.envioFrm.submit();
	VENTANA.focus();
	*/
}

function enviaAmigoLOC(strloc, strlang){
	
	mailPath = '/jsp/';
	
	VENTANA=window.open( mailPath + 'email-' + strlang + '.jsp?link=' + strloc + '&lang=' + strlang,'Venvio','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,copyhistory=yes,width=430,height=455,left=100,top=100,screenX=100,screenY=100');
	VENTANA.focus();
	
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function formChecka() {
	if (document.karta.texto.value == ""){
		alert ("Introduzca un Texto para la Busqueda");
		document.karta.texto.focus();
		return (false);
	}else{
		document.karta.submit();
	}
}
function formChecka2() {
	if (document.karta.texto.value == ""){
		alert ("Introduzca un Texto para la Busqueda");
		document.karta.texto.focus();
	}else{
		document.karta.submit();
	}
}
function fecha(Idioma){
	dia_s_es=new Array ("Domingo","Lunes","Martes","Mi&eacute;rcoles","Jueves","Viernes","S&aacute;bado");
	dia_s_en=new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	dia_s_pt=new Array ("Domingo","Segunda-feira","Ter&ccedil;a-feira","Quarta-feira","Quinta-feira"," Sexta-feira","S&aacute;bado");
	dia_s_ca=new Array ("Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte");
	dia_s_eu=new Array ("Igande","Astelehen","Astearte","Asteazken","Ostegun","Ostiral","Larunbat");
	dia_s_gl=new Array ("Domingo","Luns","Martes","M&eacute;rcoles","Xoves"," Venres","S&aacute;bado");

	mes_a_es=new Array ("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre");
	mes_a_en=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
	mes_a_pt=new Array("janeiro","fevereiro","mar&ccedil;o","abril","maio","junho","julho","agosto","setembro","outubr","novembro","dezembro");
	mes_a_ca=new Array ("gener","febrer","mar&ccedil;","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre");
	mes_a_eu=new Array("Urtarril","Otsail","Martxo","Apiril","Maiatz","Ekain","Uztail","Abuztu","Irail","Urri","Azaro","Abendu");
	mes_a_gl=new Array("Xaneiro","Febreiro","Marzo","Abril","Maio","Xu&ntilde;o","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro");

	hoy=new Date();
	dia=hoy.getDay();
	num=hoy.getDate();
	mes=hoy.getMonth();
	anno=hoy.getFullYear();
	
	if(Idioma=='es' || Idioma=='pt' || Idioma=='ca' || Idioma=='eu' || Idioma=='gl'){
		fecha = (eval("dia_s_"+Idioma)[dia]+" "+num+", "+eval("mes_a_"+Idioma)[mes]+" "+anno);
	} else{
		fecha=dia_s_en[dia]+" "+num+", "+mes_a_en[mes]+" "+anno;
	}
	return fecha;
}


var da = (document.all) ? 1 : 0;
var pr = (window.print) ? 1 : 0;
var mac = (navigator.userAgent.indexOf("Mac")!=-1);

function printPage() {
  if (pr) // NS4, IE5
    window.print()
  else if (da && !mac) // IE4 (Windows)
    vbPrintPage()
  else // other browsers
    alert("Lo siento. Su navegador no soporta esta funcion.");
  return false;
}

if (da && !pr && !mac) with (document) {
  writeln('<OBJECT ID="WB" WIDTH="0" HEIGHT="0" CLASSID="clsid:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>');
  writeln('<' + 'SCRIPT LANGUAGE="VBScript">');
  writeln('Sub window_onunload');
  writeln('  On Error Resume Next');
  writeln('  Set WB = nothing');
  writeln('End Sub');
  writeln('Sub vbPrintPage');
  writeln('  OLECMDID_PRINT = 6');
  writeln('  OLECMDEXECOPT_DONTPROMPTUSER = 2');
  writeln('  OLECMDEXECOPT_PROMPTUSER = 1');
  writeln('  On Error Resume Next');
  writeln('  WB.ExecWB OLECMDID_PRINT, OLECMDEXECOPT_DONTPROMPTUSER');
  writeln('End Sub');
  writeln('<' + '/SCRIPT>');
}

function SetCookie (name, value) {
	var argv = SetCookie.arguments;
        var argc = SetCookie.arguments.length;
        var expires = (argc > 2) ? argv[2] : null;
        var path = (argc > 3) ? argv[3] : "/";
        var domain = (argc > 4) ? argv[4] : null;
        var secure = (argc > 5) ? argv[5] : false;
        document.cookie = name + "=" + escape (value) +
        ((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
        ((path == null) ? "" : ("; path=" + path)) +
        ((domain == null) ? "" : ("; domain=" + domain)) +
        ((secure == true) ? "; secure" : "");
}

function getCookieVal(offset){
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)  endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}

function getCookie(name){
	var arg = name + "=";
    var alen = arg.length;
	var clen = document.cookie.length;
    var i = 0;
	while (i < clen) {
	     var j = i + alen;
    	 if (document.cookie.substring(i, j) == arg)
    	 return getCookieVal (j);
	     i = document.cookie.indexOf(" ", i) + 1;
         if (i == 0) break;
	 }
	return null;
}

function access(tipus){}

//accessibilitat
function consulta_acces(){
	modeac=getCookie("modeacces");
	if(!modeac) modeac=0;
	//alert(modeac);
	if (modeac==0) mensaje='<a href="/sgae.inm?selectedMenu=-1" onclick="javascript:SetCookie(\'modeacces\',1)" font class="blancob2"> AMPLIAR LETRA </a>'
	if (modeac==1) mensaje='<a href="/sgae.inm?selectedMenu=-1" onclick="javascript:SetCookie(\'modeacces\',0)" font class="blancob1"> REDUCIR LETRA </a>'
	return mensaje;
}

function acces_cabecera(){
	modeac=getCookie("modeacces");
	if(!modeac) modeac=0;
	//alert(modeac);
	if (modeac==0) imgLink='<a href="/sgae.inm?selectedMenu=-1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'acces1\',\'\',\'/img/ampliar_on.gif\',1)" onclick="javascript:SetCookie(\'modeacces\',1)"><img src="/img/ampliar_off.gif" alt="AMPLIAR TAMA??O DE LETRA" name="acces1" border="0"></a>'

	if (modeac==1) imgLink='<a href="/sgae.inm?selectedMenu=-1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'acces2\',\'\',\'/img/reducir_on.gif\',1)" onclick="javascript:SetCookie(\'modeacces\',0)"><img src="/img/reducir_off.gif" alt="REDUCIR TAMA??O DE LETRA" name="acces2" border="0"></a>'
	return imgLink;
}

consulta_acces();
acces_cabecera();

function hojaCSS(){
	if (typeof(modeac)=="undefined") modeac=0;
	if (document.all){
			if(modeac==0)document.write('<link rel=stylesheet type=text/css href=/scripts/sgae_ie.css charset=iso-8859-1>');
			if(modeac==1)document.write('<link rel=stylesheet type=text/css href=/scripts/sgae_ie_g.css>');
	}else{
			if(modeac==0)document.write('<link rel=stylesheet type=text/css href=/scripts/sgae_ns.css>');
			if(modeac==1)document.write('<link rel=stylesheet type=text/css href=/scripts/sgae_ns_g.css>');
	}
}

function Multifile(sFicheros,Path) {
	// Path=ruta de los recursos.
	// sFicheros=string con los archivos separados por coma.
	var aFicheros = sFicheros.split(",");
	for(i=0;i<aFicheros.length;i++)
		{
			document.write('<b><a href="'+Path+aFicheros[i]+'" target="_blank">'+aFicheros[i]+'</a></b><BR>');
		}
}


function changeLang(){
	var idioma = document.karta.select.value;
	var newLocation = "";

	if (idioma == 'ca') {
		newLocation = "http://www.sgae.cat";
	} else {
		newLocation = "http://www.sgae.es/home/" + idioma + "/Home.html";	
	}
	
	document.location = newLocation;
}

function overTD(td,color){td.style.cursor='hand';td.bgColor=color;}
function outTD(td,color){td.style.cursor='default';td.bgColor=color;}
function clickTD(td){td.children.tags('A')[0].click();}
function MM_openBrWindow(theURL,winName,features) {window.open(theURL,winName,features);}

function overLI(liItem){liItem.id="over";}
function outLI(liItem){liItem.id="out";}


function traducir_palabra(id, Idioma){
	urlidioma=new String(document.location);
	arPalabras=[
	"Estamos en: ","You are in: ","N?s estamos dentro: ","","","",//0
	"Imprimir","Print","Imprimir","Imprimir","inprimaketa","imprimir",//1
	"Enviar a un amigo","Send to a friend","Emitir a um amigo","Enviar a un amic","Bidali a bat adiskide","Mandar a un amigo",//2
	"Campos obligatorios","Mandatory fields","Campos imperativos","Camps obligatoris","","",//3
	"Tu email","Your email","Seu email","El teu email","","",//4
	"Su email","Your friend's email","Email do seu amigo","El seu email","","",//5
	"Tu nombre","Your name","Seu nome","El teu nom","","",//6
	"Mensaje","Message","Mensagem","missatge","","",//7
	"Enviar","Send","Emitir","enviar","Bidali","madar",//8
	"Gracias por su env?o<br/><br/>El mensaje ha sido enviado correctamente.","The message has been sent correctly.","A mensagem foi emitida corretamente.","El missatge ha estat enviat correctament","","",//9
	"El nombre es obligatorio","The name is mandatory","O nome ? imperativo","El nom ?s obligatori","","",//10
	"Tu email es obligatorio","Your email is mandatory","Seu email ? imperativo","EL teu email ?s obligatori","","",//11
	"Tu email remitente no es correcto","Your sending email is not correct","Seu email de emiss?o n?o est? correto","L'email del remitent no ?s correcte","","",//12
	"Su email es obligatorio","Your friend's email is mandatory","Email do seu amigo ? imperativo","El seu email ?s obligatori","","",//13
	"Su email no es correcto","Your friend's email is not correct ","Email do seu amigo n?o est? correto","El seu email no ?s correcte","","",//14
	"El mensaje no puede superar los 2000 caracteres (tu mensaje tiene ","The message cannot surpass 2000 characters (your message have ","A mensagem n?o pode surpass 2000 car?teres (sua mensagem tem ","El missatge no pot superar els 2000 car?cters (el teu missatge te ","","",//15
	" caracteres"," characters","car?teres","car?cters","","",//16
	"GLOSARIO","GLOSSARY","GLOSS?RIO","GLOSSARI","","",//17
	"Lo sentimos. En este momento no hay contenidos disponibles en esta secci?n.","Sorry. At this moment there are no contents available in this section.","Pesaroso.  Neste momento n?o h? nenhum ?ndice dispon?vel nesta se??o.","Ho sentim. En aquests moments no hi ha continguts disponibles a aquesta secci?. ","","",//18
	" resultados encontrados con el t&eacute;rmino "," results found with the term "," resultados encontraram com a palavra ","","","",//19
	"P&aacute;gina ","Page ","P&aacute;gina ","P&agrave;gina","","",//20
	" de "," of "," de ","de ","","",//21
	"No se han encontrado registros que contengan la palabra ","No pages were found with the word ","Nenhuma p?gina foi encontrada com a palavra ","No s'han trobat registres que continguin la paraula ","","",//22
	"Anterior","Previous","","Anterior","","",//23
	"Siguiente","Next","","Seg?ent","","",//24
	"Inicio","Start","","Inici","","",//25
	"Est? expresamente prohibida la difusi?n de estas fotograf?as, sin previo consentimiento de la Sociedad General de Autores y Editores (SGAE).<br/>Contacto para autorizaci?n: ","The diffusion of these photographies is specifically prohibited, without previous consent of the Spanish Society of Authors Composers and Publishers (SGAE). Contact for authorization: ","","","","",//26
	"PUBLICACIONES","PUBLICATIONS","","PUBLICACIONS","","",//27
	"(c) Copyright <b>Sociedad General de Autores y Editores (SGAE)</b><br>Fernando VI, 4 28004 Madrid<br>Tel: +34 913 499 550 / 913 499 500","(c) Copyright <b>Spanish Society of Authors Composers and Publishers (SGAE)</b><br>Fernando VI, 4 28004 Madrid<br>Phone: +34 913 499 550 / 913 499 500","","","","",//28
	"M?s informaci?n:","More information:","","M?s informaci?","","",//29
	"CONVOCATORIAS","CALLS","","CONVOCAT?RIES","","",//30
	"ENLACES","LINKS","LINK ","ENLLA?OS","LOTURAK","ENLACES",//31
	"EST?TICOS","STATICS","EST?TICOS","EST?TICS","ESTATIKOAK","EST?TICOS",//32
	"PREGUNTAS M?S FRECUENTES","FREQUENTLY ASKED QUESTIONS","PERGUNTAS MAIS FREQ?ENTES","PREGUNTES M?S FREQ?ENTS","SARRIEN EGITEN DIREN GALDERAK","PREGUNTAS MAIS FRECUENTES",//33
	"EN LA TELE LATINA","IN TELE LATINA","NA TELEVISAO LATINA","A LA TELE LATINA","TELE LATINAn","Na Tele Latina ",//34
	"TESEO","TESEO","TESEO","TESEO","TESEO","TESEO",//35
	"NOTICIAS","NEWS","NOT?CIAS","NOT?CIES","BERRIAK","Novas ",//36
	"sigue","continue","segue","continua","jarraitzen du","segue ",//37
	"ESPECIALES","SPECIALS","ESPECIAIS","ESPECIALS","BEREZIAK","Especiais ",//38
	"SGAE RECOMIENDA","SGAE RECOMMENDS","SGAE RECOMENDA","SGAE RECOMANA","SGAEk GOMENDATZEN DU","SGAE recomenda ",//39
	"NOTAS EN RED","NOTAS EN RED","NOTAS NA REDE","NOTES EN XARXA","OHARRAK SAREAN","Notas en Rede ",//40
	"EN SGAE HOY","IN SGAE TODAY","NA SGAE HOJE","A L'SGAE AVUI","SGAEn GAUR","En SGAE hoxe ",//41
	"Programaci?n","","Programa?ao","Programaci?","Programazioa","Programaci?n ",//42
	"Avance","","Avan?o","Avan?","Aurrerapena","Avance ",//43
	"BIBLIOGRAF?A","","BIBLIOGRAF?A","BIBLIOGRAFIA","BIBLIOGRAFIA","Bibliograf?a ",//44
	"BECAS","","BOLSAS DE ESTUDO","BEQUES","BEKAK","Becas ",//45
	"?LTIMAS CONVOCATORIAS","","?LTIMAS CONVOCA?OES","?LTIMES CONVOCAT?RIES","AZKEN DEIALDIAK","?ltimas convocatorias ",//46
	"JURISPRUDENCIA","","JURISPRUD?NCIA","JURISPRUD?NCIA","JURISPRUDENTZIA","Xurisprudencia",//47
	"LEGISLACI?N","","LEGISLA?AO","LEGISLACI?","LEGERIA","Lexislaci?n",//48
	"Comentario / Resumen","","","Comentari / Resum","","",//49
	"Bienvenido al Departamento de Servicios Jur?dicos de SGAE.<br/><br/>Este departamento provee a toda la organizaci?n y a cuantas personas la integran de asesoramiento y asistencia legal para la defensa de los derechos de autor de nuestros socios. La experiencia adquirida en m?s de cien a?os de historia de la Sociedad nos ha permitido no s?lo ser precursores en el estudio y defensa de una materia siempre en continuo desarrollo, sino tambi?n disponer de profesionales altamente cualificados que acumulan el conocimiento adquirido por la Sociedad en este tiempo. No en vano la SGAE ha estado presente en cerca del 80% de los conflictos judiciales relacionados con la propiedad intelectual debatidos en este pa?s.<br/><br/>Los diferentes profesionales de nuestro equipo jur?dico est?n especializados en cada una de las disciplinas que integran la Propiedad Intelectual. Actualmente, el Departamento cuenta con 13 Letrados, repartidos entre la Sede Central y las Delegaciones de Madrid, Barcelona, Valencia y Sevilla, al frente de los que se encuentra su Director, D. Pablo Hern?ndez Arroyo.<br/><br/>Con el af?n de promover la difusi?n de los derechos de autor la SGAE, a trav?s de su Departamento Jur?dico, ha desarrollado un Centro de Documentaci?n y un programa de actividades que incluye publicaciones, cursos, seminarios y colaboraciones con universidades, empresas y organismos estatales. La finalidad primordial del Centro de Documentaci?n es conservar el valioso fondo documental que la Sociedad ha ido acumulando desde su creaci?n, as? como continuar con la tarea de recopilar la informaci?n especializada sobre la materia, utilizando para ello todos los medios tecnol?gicos que la sociedad actual pone a su alcance. A trav?s de este tamiz los Servicios Jur?dicos de SGAE son un referente espa?ol de propiedad intelectual.","","","","","",//50
	"?mbito Nacional","","?mbito Nacional","?mbit Nacional","Nazioko eremua","?mbito Nacional ",//51
	"?mbito Comunitario","","?mbito Regional","?mbit Comunitari","Elkarteko eremua","?mbito Comunitario ",//52
	"?mbito Internacional","","?mbito Internacional","?mbit Internacional","Nazioarteko eremua","?mbito Internacional ",//53
	"es","en","","","","",//54 -- sufijo de im?genes
	"NOTICIAS DE COMUNICACI?N","COMMUNICATION NEWS","NOTICIAS DE COMUNICA?AO","NOT?CIES DE COMUNICACI?","KOMUNIKAZIOKO BERRIAK","Novas de Comunicaci?n ",//55
	"No hay noticias publicadas para este periodo: ","There are no news publicated in this period: ","Nao existem not?cias publicadas para este per?odo: ","No hi ha not?cies publicades en aquest per?ode: ","Epealdi honetarako ez dago berririk argitaratuta ","Non hai novas publicadas para este per?odo: ",//56
	"Ver galer?a de fotos","See photo gallery","Ver a Galer?a de fotos","Veure galeria de fotos","Ikus argazki aretoa","Ver galer?a de fotos ",//57
	"Direcci?n","","DIRE?AO","Direcci?","Zuzendaritza","Direcci?n",//58
	"Coordinaci?n","","CORDENA?AO","Coordinaci?","Koordinazioa","Coordinaci?n",//59
	"Organizaci?n","","ORGANIZA?AO","Organitzaci?","Antolaketa","Organizaci?n",//60
	"Colabora","","Colabora","Col?labora","Izan lankide","Colabora",//61
	"Dotaci?n","","Dota?ao","Dotaci?","Hornidura","Dotaci?n",//62
	"Presentaci?n de las solicitudes:","","Presenta?ao das solicitudes:","Presentaci? de les sol?licituds:","Eskarien aurkezpena:","Presentaci?n das solicitudes: ",//63
	"Fecha de inicio: ","","Data de In?cio:","Data d'inici: ","Hasiera data:","Data de inicio: ",//64
	"Fecha de finalizaci?n: ","","Data de finaliza?ao","Data de finalitzaci?: ","Amaiera data:","Data de finalizaci?n: ",//65
	"Organiza: ","","Organiza:","Organitza: ","Antolatzaile: ","Organiza: ",//66
	"Hora: ","","Hora:","Hora: ","Ordua: ","Hora: ",//67
	"Del ","","Desde o d?a ","Del ","Nondik: ","Do ",//68
	" al ","","at? o d?a  ","al"," nora:","ao",//69
	"Si no tienes el Acrobat Reader desc?rgalo gratuitamente ","If you do not have the Acrobat Reader, you may freely download it by clicking ","Se voc? n?o tiver o Acrobat Reader, desc?rgao gratuitamente ","Si no tens l'Acrobat Reader, descarrega'l gratu?tament ","Acrobat Reader ez badaukazu, deskargatu doan ","Se non tes o Acrobat Reader, desc?rgao gratuitamente ",//70
	"pinchando aqu?","here","aqui","aqu?","hementxe","premendo aqu?",//71
	"Antes de imprimir este documento, puedes rellenarlo directamente desde tu propio ordenador.","Before printing this document, you can directly fill it from your computer.","Antes de imprimir este original, voc? pode diretamente ench?-lo de seu computador.","Abans d?imprimir aquest document, pot omplir-lo directament des del seu ordinador.","","",//72
	"No hay documentos en esta secci?n","There are no documents in this section","","","No hi ha documents en aquesta secci?","",//73
	"","","","","","",//74
	"","","","","","",//75
	"","","","","","",//76
	"?Qu? somos?","What we are","","","","",//77
	"D?nde Estamos","Where we are","","","","",//78
	"Grupo SGAE","SGAE Group","","","","",//79
	"Internacional","International","","","","",//80
	"Socios","Members","Socis","","","",//81
	"Hazte ","Become a ","Fes-te ","","","",//82
	"Socio","member","Soci","","","",//83
	"Informaci?n para los Socios","Informaci?n para los Socios","","","","",//84
	"Clientes del Repertorio","Users of repertory","","","","",//85
	"Informaci?n para los Clientes del Repertorio","Informaci?n para los Clientes del Repertorio","","","","",//86
	"SGAE en los medios","SGAE en los medios","","","","",//87
	"Convocatorias","Calls","Convocat?ries","","","",//88
	"Agenda","Agenda","","","","",//89
	"Otras actividades","Otras actividades","","","","",//90
	"Servicios SDAE/Portal Latino","Servicios SDAE/Portal Latino","","","","",//91
	"Productos Fundaci?n Autor","Fundaci?n Autor Products","","","","",//92
	"SGAE Recomienda","SGAE Recommends","SGAE Recomenda","SGAE Recomana","SGAEk Gomendatzen Du","SGAE recomenda ",//93
	"Especiales","Specials","Especiais","Especials","Bereziak","Especiais ",//94
	"Aviso Legal y Pol?tica de Privacidad","Terms of Use","","","","",//95
	"(c) Copyright <b>Sociedad General de Autores y Editores (SGAE)</b>","(c) Copyright <b>Spanish Society of Authors Composers and Publishers (SGAE)</b>","","","","",//96
	"(Fernando VI, 4 28004 Madrid Tel: 34 913 499 550 / 913 499 500)","(Fernando VI, 4 28004 Madrid Tel: 34 913 499 550 / 913 499 500)","","","","",//97
	"Delegaciones SGAE","Delegaciones SGAE","","","","",//98
	"Departamentos SGAE","Departamentos SGAE","","","","",//99
	"Idioma","Language","Idioma","Llenguatge","Idioma","Idioma",//100
	"Buscar","Search","Buscar","Buscar","Buscar","Buscar",//101
	"Pagina no encontrada", "Page not found", "Pagina no encontrada", "Pagina no trobada", "Pagina no encontrada", "Pagina no encontrada"//102
	]
	switch(Idioma){
		case 'en':
			indice=1;
			break;
		case 'pt':
			indice=2;
			break;
		case 'ca':
			indice=3;
			break;
		case 'eu':
			indice=4;
			break;
		case 'gl':
			indice=5;
			break;
		default:
			indice=0;

	}
	
	return (arPalabras[id*6+indice]);
}	
