function GetPopups(lang) {
	var Popup = new Array();
	switch (lang) {
		case 'cat':
			Popup[0] = new Array("SI",310,50,"DIVLeftInfo","Recordi que...","Seleccionant aquesta opció pots accedir a les dades de contacte.");
			Popup[1] = new Array("SD",25,-120,"DIVRightInfo","Recordi que...","Pot consultar el mapa de la web prement aquí.");
			Popup[2] = new Array("SD",0,-20,"DIVRandomNews","Recordi que...","Les noticies de la web s'actualitzen periòdicament.");
			Popup[3] = new Array("SI",130,110,"DIVLeftInfo","Recordi que...","Pots descarregar el currículum seleccionant aquesta opció.");
			Popup[4] = new Array("SI",200,95,"DIVLeftInfo","Recordi que...","Aquest menú permet visualitzar l'àlbum de fotos.");
			Popup[5] = new Array("SI",285,90,"DIVLeftInfo","Recordi que...","Pots descarregar programes a aquesta nova secció.");
			Popup[6] = new Array("SD",5,-60,"DIVBook","Recuerde que...","Prement aquí pots conèixer les meves últimes lectures.");
			break;
		case 'eng':
			Popup[0] = new Array("SI",310,50,"DIVLeftInfo","Remember that...","Selecting this option you can access to the contact data.");
			Popup[1] = new Array("SD",25,-120,"DIVRightInfo","Remember that...","You can consult the Web map clicking here.");
			Popup[2] = new Array("SD",0,-20,"DIVRandomNews","Remember that...","Web site's news are updated periodically.");
			Popup[3] = new Array("SI",130,110,"DIVLeftInfo","Remember that...","You can download the resume selecting this option.");
			Popup[4] = new Array("SI",200,95,"DIVLeftInfo","Remember that...","This menu allows to visualize the album of photos.");
			Popup[5] = new Array("SI",285,90,"DIVLeftInfo","Remember that...","You can download programs in this new section.");
			Popup[6] = new Array("SD",5,-60,"DIVBook","Recuerde que...","Pressing here you can know my lastest readings.");
			break;			
		default:
			Popup[0] = new Array("SI",310,50,"DIVLeftInfo","Recuerde que...","Seleccionando esta opción puedes acceder a los datos de contacto.");
			Popup[1] = new Array("SD",25,-120,"DIVRightInfo","Recuerde que...","Puedes consultar el mapa de la web pulsando aquí.");
			Popup[2] = new Array("SD",0,-20,"DIVRandomNews","Recuerde que...","Las noticias de la web se actualizan periódicamente.");
			Popup[3] = new Array("SI",130,110,"DIVLeftInfo","Recuerde que...","Puedes descargar el currículum seleccionando esta opción.");
			Popup[4] = new Array("SI",200,95,"DIVLeftInfo","Recuerde que...","Este menú permite visualizar el álbum de fotos.");
			Popup[5] = new Array("SI",285,90,"DIVLeftInfo","Recuerde que...","Puedes descargar programas en esta nueva sección.");
			Popup[6] = new Array("SD",5,-60,"DIVBook","Recuerde que...","Pulsando aquí puedes conocer mis últimas lecturas.");
			break;
	}
	return Popup;
}
function GeneratePopup(item) {
	var divStr = '';
	divStr += '<div id="DIVPopup" name="DIVPopup" style="TOP:'+item[1]+'px; LEFT:'+item[2]+'px; BACKGROUND-IMAGE:url(Images/Bocadillos/bocadillo'+item[0]+'.gif); BACKGROUND-REPEAT:no-repeat; POSITION:relative; HEIGHT:87; WIDTH:160">';
	divStr += '<TABLE cellSpacing="1" cellPadding="1" width="90%" border="0">';
	if (item[0]=="SI" || item[0]=="SD") divStr += '<tr><td>&nbsp;</td></tr>';
	divStr += '<tr>';
	divStr += '<td align="middle"><img unselectable="on" src="Images/Bocadillos/infobocadillo.gif"></td>';
	divStr += '<td><span class="TextInfo"><STRONG>'+item[4]+'</STRONG></span></td>';
	divStr += '<td align="right"><a style="CURSOR: pointer" onclick="DIVPopup.style.display=\'none\';"><img unselectable="on" src="Images/Bocadillos/cerrarbocadillodes.gif" onmouseover="this.src=\'Images/Bocadillos/cerrarbocadillo.gif\'" onmouseout="this.src=\'Images/Bocadillos/cerrarbocadillodes.gif\'"></a></td>';		
	divStr += '</tr>';
	divStr += '<tr>';
	divStr += '<td colspan="3" valign="top"><p class="TextInfo" style="COLOR: #000000">'+item[5]+'</p></td>';
	divStr += '</tr>';
	divStr += '</TABLE>';
	divStr += '</div>';
	return divStr;
}
