function MM_openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0

  if(window.screen)if(isCenter)if(isCenter=="true"){

    var myLeft = (screen.width-myWidth)/2;

    var myTop = (screen.height-myHeight)/2;

    features+=(features!='')?',':'';

    features+=',left='+myLeft+',top='+myTop;

  }

  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);

}



function navroll() 

{

whichpage = location.href.substring(location.href.lastIndexOf('/')- 2);

whichpage2 = location.href.substring(location.href.lastIndexOf('/'));

whichpage3 = location.href.substring(location.href.lastIndexOf('=')+ 1);

idioma = whichpage.charAt(0)+whichpage.charAt(1);

//alert(whichpage3);

onsoc();

}



function saltador(n)

{

	if(n==1)

	{

		var anar = '../cat'+whichpage2;

//		alert(anar);

		window.open(anar,'_self');

	}

	else if(n==2)

	{

		var anar = '../esp'+whichpage2;

//		alert(anar);

		window.open(anar,'_self');

	}

	else if(n==3)

	{

		var anar = '../eng'+whichpage2;

//		alert(anar);

		window.open(anar,'_self');

	}

}



function onsoc()

{

	if(idioma=='at')

	{

		catala=new Image;

		catala.src='img/peu0202.gif'

		document.peu02.src=catala.src;

	}

	else if(idioma=='sp')

	{

		castellano=new Image;

		castellano.src='img/peu0302.gif'

		document.peu03.src=castellano.src;

	}

	else if(idioma=='ng')

	{

		english=new Image;

		english.src='img/peu0402.gif'

		document.peu04.src=english.src;

	}	

}



document.write('<table width="708" border="0" cellspacing="0" cellpadding="0">');

document.write('<tr>');

document.write('<td width="93" align="right"><a href="#" onClick="MM_openBrWindow(\'copy.htm\',\'copy\',\'scrollbars=yes,resizable=yes,width=500,height=250\')" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'peu01\',\'\',\'img/peu0102.gif\',1)"><img src="img/peu0101.gif" alt="Advanced Music" name="peu01" width="93" height="17" border="0"></a></td>');

document.write('<td width="174"><table width="174" border="0" cellspacing="0" cellpadding="0">');

document.write('<tr>');

document.write('<td width="38"><a href="#" onClick="saltador(1);" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'peu02\',\'\',\'img/peu0202.gif\',1)"><img src="img/peu0201.gif" alt="Catala" name="peu02" width="38" height="17" border="0"></a></td>');

document.write('<td width="58"><a href="#" onClick="saltador(2);" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'peu03\',\'\',\'img/peu0302.gif\',1)"><img src="img/peu0301.gif" alt="Castellano" name="peu03" width="58" height="17" border="0"></a></td>');

document.write('<td width="39"><a href="#" onClick="saltador(3);" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'peu04\',\'\',\'img/peu0402.gif\',1)"><img src="img/peu0401.gif" alt="English" name="peu04" width="39" height="17" border="0"></a></td>');

document.write('<td width="39"></td>');

document.write('</tr>');

document.write('</table></td>');

document.write('<td width="392">&nbsp;</td>');

document.write('<td width="49"><a href="http://www.sonar.es/portal/eng/map.cfm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'peu06\',\'\',\'img/peu0602.gif\',1)"><img src="img/peu0601.gif" alt="MapaWeb" name="peu06" width="49" height="17" border="0"></a></td>');

document.write('</tr>');

document.write('</table>');