function w(q){document.write(q)}

function cabecera(numero)
{
q='<table width=100% cellspacing=0><tr><td><table width=731 cellspacing=0><tr><td width=59><img src="imacom/spacer.gif" width=59></td><td width=15><img src="imacom/logoleft.gif" width=15></td><td><table cellspacing=0><tr><td><img src="imacom/logoright.gif" width=269></td><td><table cellspacing=0><tr><td><table cellspacing=0><tr><td bgcolor=#ffffff><img src="imacom/spacer.gif" width=102 height=1></td><td><img src="imacom/'+numero+'arriba.jpg"></td></tr></table></td></tr><tr><td><table cellspacing=0><tr>';

if(numero!=1)
	q+='<td><a href="servicios.html"><img src="imacom/m_servi.gif" onmouseover="this.src=&quot;imacom/m_servi_f2.gif&quot;" onmouseout="this.src=&quot;imacom/m_servi.gif&quot;"></a></td>';
else
	q+='<td><img src="imacom/m_servi_f2.gif"></td>';

if(numero!=2)
	q+='<td><a href="equipamiento.html"><img src="imacom/m_equip.gif" onmouseover="this.src=&quot;imacom/m_equip_f2.gif&quot;" onmouseout="this.src=&quot;imacom/m_equip.gif&quot;"></a></td>';
else
	q+='<td><img src="imacom/m_equip_f2.gif"></td>';

if(numero!=3)
	q+='<td><a href="trabajos.html"><img src="imacom/m_traba.gif" onmouseover="this.src=&quot;imacom/m_traba_f2.gif&quot;" onmouseout="this.src=&quot;imacom/m_traba.gif&quot;"></a></td>';
else
	q+='<td><img src="imacom/m_traba_f2.gif"></td>';

if(numero!=4)
	q+='<td><a href="fotos.html"><img src="imacom/m_fotos.gif" onmouseover="this.src=&quot;imacom/m_fotos_f2.gif&quot;" onmouseout="this.src=&quot;imacom/m_fotos.gif&quot;"></a></td>';
else
	q+='<td><img src="imacom/m_fotos_f2.gif"></td>';

if(numero!=5)
	q+='<td><a href="contacto.html"><img src="imacom/m_conta.gif" onmouseover="this.src=&quot;imacom/m_conta_f2.gif&quot;" onmouseout="this.src=&quot;imacom/m_conta.gif&quot;"></a></td>';
else
	q+='<td><img src="imacom/m_conta_f2.gif"></td>';

q+='</tr></table></td></tr><tr><td><img src="imacom/'+numero+'abajo.jpg" width=383></td></tr><tr><td><img src="imacom/'+numero+'titulo.gif" width=383></td></tr></table></td></tr></table></td><td width=5 background="imacom/somright.gif"><img src="imacom/spacer.gif" width=5></td></tr></table><table width=731 cellspacing=0><tr><td width=74><img src="imacom/spacer.gif" width=74 height=140><img src="imacom/b_solleft.gif"></td><td bgcolor=#ffffff class=texto>';
w(q);
}

function culera()
{
w('</td><td width=5 background="imacom/somright.gif"><img src="imacom/spacer.gif" width=5></td></tr><tr><td width=74><img src="imacom/spacer.gif" width=74 height=5></td><td background="imacom/sombottom.gif"><img src="imacom/sombottomleft.gif"></td><td><img src="imacom/sombottomright.gif"></td></tr><tr><td width=74><img src="imacom/spacer.gif" width=74 height=5></td><td class=copyright><center>[c] <a href="http://estudioseclipse.com/" class=copyright>estudioseclipse.com</a> 2004 :: diseņo web por <A class=copyright HREF="javascript:maileavoet();">voet cranf</A></center></td><td></td></tr></table></td><td background="imacom/b_solright.jpg" width=100% class=norepita><img src="imacom/spacer.gif" width=1></td></tr></table><br>');
}

function maileavoet()
{location.href="mailto:voet@cranf.net";}

function maileclipse()
{location.href="mailto:info@estudioseclipse.com";}


function tablasom()
{
w('<table  height=1 cellspacing=0 cellpadding=0 border=0><tr><td>');
}

function tablabra()
{
w('</td><td width=6 background="icons/si2.gif" valign=top><img src="icons/si1.gif" width=6 height=6></td></tr><td height=6 background="icons/si4.gif" align=left><img height=6 src="icons/si3.gif"></td><td width=6 height=6><img src="icons/si5.gif" width=6 height=6></td></table>');
}

function aphoto(imagen,titulo,texto)
{
	imagen_t=imagen.replace(".jpg","_t.jpg");

w('<table width=1 cellspacing=0 cellpadding=0 border=0 height=1><tr><td style="padding-right:10px">');
tablasom();
w('<a href="javascript:VCFabrefoto(&quot;'+imagen+'&quot;,&quot;'+titulo+'&quot;)"><img src="'+imagen_t+'" width=130 height=130></a>');
tablabra();
w('</td></tr><tr><td class=titufoto style="padding-right:10px">'+texto+'</td></tr></table>');
}

function trabajo(imagen,artista,titulo,editor,creditos,comentario,m3u)
{
	imagen_t=imagen.replace(".jpg","_t.jpg");
w('<table cellspacing=0><tr><td><table cellspacing=0><tr><td>');
tablasom();
w('<a href="javascript:VCFabrefoto(&quot;'+imagen+'&quot;,&quot;'+titulo+'&quot;)"><img src="'+imagen_t+'" width=130 height=130><script>tablabra()</script></td></tr><tr><td align=right style="padding-right:6px;vertical-align:top"><a href="'+m3u+'" target="blank"><img src="icons/altavocin.jpg"></a></td></tr></table></td><td>&nbsp;</td><td>');
w('<table cellspacing=0><tr><td class=titular id=trab>'+artista+'</td></tr><tr><td class=titular id=trab style="font-style:italic">'+titulo+'</td></tr><tr><td class=firma style="font-size:13px;color:#555555;">'+editor+'</td></tr><tr><td style="padding-top:3px;padding-bottom:2px"><img src="imacom/spacer.gif" width=100% height=1 style="background-color:#5a114a"></td></tr><tr><td class=texto style="font-size:9px">'+creditos+'</td></tr><tr><td style="padding-top:2px;padding-bottom:3px"><img src="imacom/spacer.gif" width=100% height=1 style="background-color:#5a114a"></td></tr><tr><td class=texto>'+comentario+'</td></tr></table></td></tr></table><br><br><br><br>');
}

function trabajo2(imagen,artista,titulo,editor,creditos,comentario,m3u)
{
	imagen_t=imagen.replace(".jpg","_t.jpg");
w('<table cellspacing=0><tr><td><table cellspacing=0><tr><td>');
tablasom();
w('<a href="javascript:VCFabrefoto(&quot;'+imagen+'&quot;,&quot;'+titulo+'&quot;)"><img src="'+imagen_t+'" width=130 height=130><script>tablabra()</script></td></tr><tr><td align=right style="padding-right:6px;vertical-align:top"><img src="icons/altavocin2.jpg"></td></tr></table></td><td>&nbsp;</td><td>');
w('<table cellspacing=0><tr><td class=titular id=trab>'+artista+'</td></tr><tr><td class=titular id=trab style="font-style:italic">'+titulo+'</td></tr><tr><td class=firma style="font-size:13px;color:#555555;">'+editor+'</td></tr><tr><td style="padding-top:3px;padding-bottom:2px"><img src="imacom/spacer.gif" width=100% height=1 style="background-color:#5a114a"></td></tr><tr><td class=texto style="font-size:9px">'+creditos+'</td></tr><tr><td style="padding-top:2px;padding-bottom:3px"><img src="imacom/spacer.gif" width=100% height=1 style="background-color:#5a114a"></td></tr><tr><td class=texto>'+comentario+'</td></tr></table></td></tr></table><br><br><br><br>');
}