
<!--
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_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];}
}


////////// CAPÇALERA //////////
function menu(seccio) {
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");


if (seccio=='inici')
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/karakia/presentacio.htm\"><img src=\"http://www.tv3.cat/karakia/img/botons/inici1.jpg\" alt=\"Inici\" name=\"inici\" width=\"97\" height=\"56\" border=\"0\" ></a></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/karakia/presentacio.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('inici','','http://www.tv3.cat/karakia/img/botons/inici1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/inci0.gif\" alt=\"Inici\" name=\"inici\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");

}

if (seccio=='programes')
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=capitol\"><img src=\"http://www.tv3.cat/karakia/img/botons/programes1.jpg\" alt=\"Programes\" name=\"programes\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=capitol\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('programes','','http://www.tv3.cat/karakia/img/botons/programes1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/programes0.gif\" alt=\"Programes\" name=\"programes\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");

}


if (seccio=='receptes')
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=recepta\" ><img src=\"http://www.tv3.cat/karakia/img/botons/receptes1.jpg\" alt=\"Receptes\" name=\"receptes\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=recepta\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('receptes','','http://www.tv3.cat/karakia/img/botons/receptes1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/receptes0.gif\" alt=\"Receptes\" name=\"receptes\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");

}


if (seccio=='adreces')
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=adreca\"><img src=\"http://www.tv3.cat/karakia/img/botons/adreces1.jpg\" alt=\"Adreces d'interès\" name=\"adreces\" width=\"70\" height=\"56\" border=\"0\"></a></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/pprogrames/karakia/krkSeccio.jsp?seccio=adreca\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('adreces','','http://www.tv3.cat/karakia/img/botons/adreces1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/adreces0.gif\" alt=\"Adreces d'interès\" name=\"adreces\" width=\"70\" height=\"56\" border=\"0\"></a></td></tr>");
}

if (seccio=='gadgets')
{
document.write("<tr><td align=\"center\"><img src=\"http://www.tv3.cat/karakia/img/botons/gadgets1.jpg\" alt=\"Gadgets\" name=\"gadgets\" width=\"97\" height=\"56\" border=\"0\"></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/karakia/gadgets.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('gadgets','','http://www.tv3.cat/karakia/img/botons/gadgets1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/gadgets0.gif\" alt=\"Gadgets\" name=\"gadgets\" width=\"97\" height=\"56\" border=\"0\"></a></td></tr>");
}

if (seccio=='equip')
{
document.write("<tr><td align=\"center\"><img src=\"http://www.tv3.cat/karakia/img/botons/equip1.jpg\" alt=\"Equip\" name=\"equip\" width=\"97\" height=\"56\" border=\"0\"></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/karakia/equip.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('equip','','http://www.tv3.cat/karakia/img/botons/equip1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/equip0.gif\" alt=\"Equip\" name=\"equip\" width=\"97\" height=\"56\" border=\"0\"></a></td></td></tr>");
}

if (seccio=='contacta')
{
document.write("<tr><td align=\"center\"><img src=\"http://www.tv3.cat/karakia/img/botons/contacta1.jpg\" alt=\"Contacta\" border=\"0\"></td></tr>");
}
else
{
document.write("<tr><td align=\"center\"><a href=\"http://www.tv3.cat/karakia/contacte.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('contacta','','http://www.tv3.cat/karakia/img/botons/contacta1.jpg',1)\"><img src=\"http://www.tv3.cat/karakia/img/botons/contacta0.gif\" alt=\"Contacta\" name=\"contacta\" width=\"97\" height=\"56\" border=\"0\"></a></td></td></tr>");
}

document.write("<tr><td align=\"center\"><br><br><img src=\"http://www.tv3.cat/karakia/img/33.gif\" height=\"34\" width=\"51\"></td></tr>");
document.write("</table>");
document.write("<script src=\"http://www.tv3.cat/js/tvc/ojd.js\"></script>");

}

function peu(){
document.write("<table width=\"740\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr>");
document.write("<td colspan=\"3\" background=\"http://www.tv3.cat/karakia/img/puntets.gif\"><img src=\"http://www.tv3.cat/karakia/img/pixelbuilt.gif\" width=\"2\" height=\"1\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td colspan=\"3\"><img src=\"http://www.tv3.cat/karakia/img/pixelbuilt.gif\" width=\"2\" height=\"10\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td align=\"center\"><a href=\"http://www.ccrtvi.cat/\" target=\"_blank\"><img src=\"http://www.tv3.cat/img/logointeractiva.gif\" width=\"99\" height=\"30\" border=\"0\" /></a>");
document.write("</td>");
document.write("<td align=\"center\" class=\"apunte\">&copy; Televisi&oacute; de Catalunya, S.A. i CCRTV Interactiva, S.A. Tots els drets reservats<br><a href=\"http://www.tv3.cat/karakia/contacte.html\">Atenció a l'Audiència</a> <a href=\"http://www.tv3.cat/karakia/contacte.html\"><img src=\"http://www.tv3.cat/img/log5430p.gif\" alt=\"5430\" border=\"0\" style=\"vertical-align: middle;\"></a></td>");
document.write("<td align=\"center\"><a href=\"http://www.tv3.cat/\" target=\"_blank\"><img src=\"http://www.tv3.cat/img/log_tvc.gif\" border=\"0\" /></a></td>");
document.write("</tr>");
document.write("</table>");
}
