function estado(){
   defaultStatus="Kino Marcos Molduras"
   setTimeout("estado()",300);
}

function rowSeparator(hh) {
  document.writeLn("<tr>");
  document.writeLn("  <td height='" + hh + "'>");
  document.writeLn("    &nbsp;");
  document.writeLn("  </td>");
  document.writeLn("</tr>");
}

function header(img) {
  document.writeln("<table width='750' border='0' cellpadding='0' cellspacing='0'>");
  document.writeln("  <tr>");
  document.writeln("    <td width='150' height='80'>");
  document.writeln("      <a href='index.htm'><img src='images/logo.gif' border='0'></a>");
  document.writeln("    </td>");
  if (img == 'tit_empresa.gif') {
    document.writeln("    <td width='480' height='80' align='right' valign='middle' align='center'>");
    document.writeln("      <div style='width:300px;margin-right:10px;padding:8px;text-align:center;color:#ffffff;font-size:14px;font-weight:bold;font-family:\"Century Gothic\",Arial,Helvetica;border:1px solid #535353;background-color:#734A00'>* Venta al público, precios de taller *<br>* Enmarcación de cuadros *</div>");
    document.writeln("    </td>");
    document.writeln("    <td width='120' height='80' align='right' valign='middle'>");
    document.writeln("      <img src='images/" + img + "' width='120' height='50'>");
    document.writeln("    </td>");
  } else {
    document.writeln("    <td width='600' height='80' align='right' valign='middle'>");
    document.writeln("      <img src='images/" + img + "' width='250' height='50'>");
    document.writeln("    </td>");
  }	
  document.writeln("  </tr>");
  document.writeln("  <tr>");
  document.writeln("  <table width='750' border='0' cellpadding='0' cellspacing='0'>");
  document.writeln("   <tr>");
  document.writeln("    <td width='150' align='left' valign='top'>");
  document.writeln("      <br>");
  document.writeln("      <table width='140' border='0' cellspacing='0' cellpading='0'>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'> ");
  document.writeln("      	    <a href='instalaciones.htm'><img src='images/menu_instalaciones.gif' border='0'></a> ");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='marcos_tallados.htm'><img src='images/menu_marcostallados.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='marcos_lisos.htm'><img src='images/menu_marcoslisos.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='molduras_grabadas.htm'><img src='images/menu_moldurasgrabadas.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='decapes.htm'><img src='images/menu_decapes.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='nogales.htm'><img src='images/menu_nogales.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='moldura_barra.htm'><img src='images/menu_moldurabarra.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='novedades.htm'><img src='images/menu_novedades.gif' border='0'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='situacion.htm'><img src='images/menu_planosituacion.gif' border='0'</a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  document.writeln("        <tr>");
  document.writeln("          <td width='100%' align='center'>");
  document.writeln("            <a href='mailto:kino@kinomarcosmolduras.com'><img src='images/menu_email.gif' border='0' alt='kino@kinomarcosmolduras.com'></a>");
  document.writeln("          </td>");
  document.writeln("        </tr>");
  
  document.writeln("      </table>");
  document.writeln("     </tr>");
  document.writeln("	</td>");
  document.writeln("	<td width='600' align='left' valign='top'>");
}

function bottom() {
  document.writeln("	</td>");
  document.writeln("   </tr>");
  document.writeln("  </table>");
}

function writeAddress() {

  /*document.writeln("<STYLE type=text/css>");
  document.writeln("<!--");
  document.writeln("A:link  { text-decoration: none; COLOR: Black; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10px;}");
  document.writeln("A:visited  { text-decoration: none; COLOR: Black; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px;}");
  document.writeln("A:hover { text-decoration: none; COLOR: Black; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px;}");
  document.writeln("-->");
  document.writeln("</STYLE>");  */

  document.writeln("<div id='divAddress'>"); 
  document.writeln("  <table width='450' border='0' cellpadding='0' cellspacing='0'>");
  document.writeln("    <tr>");
  document.writeln("      <td align='center'>");
  document.writeln("        <img src='images/hr1.gif' width='450' height='1'>");
  document.writeln("      </td>");
  document.writeln("    </tr>");
  document.writeln("    <tr>");
  document.writeln("      <td align='center' class='texto'>");
  document.writeln("        <br>Paseo de los Yeseros 1  - Pol. Ind. Valmor<br>");
  document.writeln("        28340 - Valdemoro (Madrid)<br>");
  document.writeln("        <b>Teléfono: </b>91 808 27 73<br>");
  document.writeln("        <a href='mailto:kino@kinomarcosmolduras.com'>kino@kinomarcosmolduras.com</a>");
  document.writeln("      </td>");
  document.writeln("    </tr>");
  document.writeln("  </table>");
  document.writeln("</div>"); 
  
  
}

function showImage(url, img) {
  document.all["imageBig"].src = url + img;
}

function divScrollImages(url, prefImg, numImg) {
  document.writeln("<div id='divScroll'>");
  document.writeln("  <table width='430' border='0' cellspacing='0' cellpadding='0'>");
  document.writeln("    <tr id='rowScroll'>");
  for (i=1; i<=numImg; i++) {
    var before;
    if (i==1) {
      before = "";
    } else {
      before = "&nbsp;";
    }
    var ind = (new String("00" + i));
    ind = ind.substring(ind.length-2, ind.length);
    document.writeln("      <td>");
    document.writeln("        " + before + "<a href=\"javascript:showImage('" + url + "', '" + prefImg + ind + ".jpg');\"><img src='" + url + prefImg + ind + "_.jpg' border='0'></a>");
    document.writeln("      </td>");
  }
  document.writeln("    </tr>");
  document.writeln("  </table>");
  document.writeln("</div>");
}

function resizeLayerScroll() {
	document.all["divMain"].style.height =
		document.body.clientHeight - 100;
}
