document.write('<table border="0" width="100%" height="13" cellpadding="0" cellspacing="0">');
document.write('<tr>');
cami=location.href;
if (cami.indexOf('societat/actualitat') > -1){ 
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: ACTUALITAT</td>');
}else if(cami.indexOf('societat/agenda') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: AGENDA</td>');
}else if(cami.indexOf('societat/lapunt') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: ENTREVISTES</td>');
}else if(cami.indexOf('societat/entitats') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: ENTITATS</td>');
}else if(cami.indexOf('societat/oci') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: OCI</td>');
}else if(cami.indexOf('societat/premsa') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">DOCUMENTACIÓ: PREMSA</td>');
}else if(cami.indexOf('societat/taulell') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">CONVOCATÒRIES</td>');
}else if(cami.indexOf('documentacio/formacio') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: FORMACIÓ</td>');
}else if(cami.indexOf('documentacio/fons') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">DOCUMENTACIÓ: FONS DOCUMENTAL</td>');
}else if(cami.indexOf('documentacio/guia') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">DOCUMENTACIÓ: GUIA DE RECURSOS</td>');
}else if(cami.indexOf('documentacio/normativa') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">NORMATIVA</td>');
}else if(cami.indexOf('portal/objectius') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">PORTALSOCIAL.NET: OBJECTIUS</td>');
}else if(cami.indexOf('portal/qui') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">PORTALSOCIAL.NET: QUI SOM</td>');
}else if(cami.indexOf('portal/partners') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">PORTALSOCIAL.NET: PARTNERS</td>');
}else if(cami.indexOf('portal/com') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">PORTALSOCIAL.NET: CARTA DE SERVEIS</td>');
}else if(cami.indexOf('portal/novetats') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">PORTALSOCIAL.NET: NEWSLETTER</td>');
}else if(cami.indexOf('materials/consultoria') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">CONSULTORIA</td>');
}else if(cami.indexOf('materials/internet') > -1){
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13">SOCIETAT: RECURSOS INTERNET</td>');
}else{
document.write('<td bgcolor="#FF7D36" class="titolblancp" width="60%" height="13"><img src="http://www.portalsocial.net/DBS/a/materials/portada/img/punt_trans.gif" align="left" width="1" height="13"></td>');
}

document.write('<td bgcolor="#FF7D36" height="13" align="right">');


function Horas(){

	fecha = new Date (); 
	
	dia = fecha.getDate(); 
	mes = fecha.getMonth(); 
	ano = fecha.getFullYear(); 
	dia_semana = fecha.getDay(); 
	
	nombre_dias = new Array("diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"); 
	
	nombre_meses = new Array("de gener", "de febrer", "de març", "d'abril", "de maig", "de juny", "de juliol", "d'agost", "de setembre", "d'octubre", "de novembre", "de desembre"); 
	
	document.write('<p class="data">');
	document.write(nombre_dias[dia_semana] + ", " + dia + " " + nombre_meses[mes] + " de " + ano);
	document.write('&nbsp;</p>'); 

}
Horas();

document.write('</td>');
document.write('</tr>');
document.write('</table>');

