function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}
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_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_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function menu(){

document.write('<table width="760" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td height="49" colspan="5"><img src="/noms/images/top_r1_c1.jpg" alt="" name="top_r1_c1" width="760" height="76" border="0" id="top_r1_c1" /></td></tr><tr><td width="383" height="19"><img src="/noms/images/top_r2_c1.jpg" alt="" name="top_r2_c1" width="383" height="24" border="0" id="top_r2_c1" /></td><td width="80"><a href="/noms/personatges.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'top_r2_c2\',\'\',\'/noms/images/top_r2_c2_f2.jpg\',1);"><img src="/noms/images/top_r2_c2.jpg" alt="" name="top_r2_c2" width="80" height="24" border="0" id="top_r2_c2" /></a></td><td width="59"><a href="/noms/serie.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'top_r2_c3\',\'\',\'/noms/images/top_r2_c3_f2.jpg\',1);"><img src="/noms/images/top_r2_c3.jpg" alt="" name="top_r2_c3" width="59" height="24" border="0" id="top_r2_c3" /></a></td><td width="127"><a href="/noms/equip.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'top_r2_c4\',\'\',\'/noms/images/top_r2_c4_f2.jpg\',1);"><img src="/noms/images/top_r2_c4.jpg" alt="" name="top_r2_c4" width="127" height="24" border="0" id="top_r2_c4" /></a></td><td width="111"><a href="/noms/links.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'top_r2_c5\',\'\',\'/noms/images/top_r2_c5_f2.jpg\',1);"><img src="/noms/images/top_r2_c5.jpg" alt="" name="top_r2_c5" width="111" height="24" border="0" id="top_r2_c5" /></a></td></tr></table>');

}

function peu(){

	document.write('<table border="0" cellspacing="0" cellpadding="0" id="cul"><tr><td width="190"><a href="http://www.ccrtvi.cat/" target="_blank"><img src="/noms/images/peu_log_ccrtv.gif" width="190" height="22" border="0"></a></td><td width="176"><a href="http://www.tv3.cat/" target="_blank"><img src="/noms/images/peu_log_tvc.gif" width="190" height="22" border="0"></a></td><td width="394" >&copy; 2004 CCRTV Interactiva, S.A. | Televisi&oacute; de Catalunya, S.A.<br><a href="/noms/mapaweb.htm">Mapa web</a> | <a href="http://www.tv3.cat/avis/" target="_blank">Av&iacute;s legal</a> | <a href="javascript:void(null);" onclick="window.open(\'http://www.tv3.cat/iqua/\', \'iqua\', \'width=430,height=400,top=100,left=200\');">Segell de qualitat</a> | <a href="http://www.tv3.cat/contacta/" target="_blank">Contacta</a></td></tr></table>');	
	}
