/*
 *
 *   JavaScript Document generated by www.Sonicolor.ES
 *   (C) Copyright 1998-2012 - www.Sonicolor.ES  - Sevilla (Spain) - All rights reserved.
 *   Version: 20110321
 *
 */

var altura  = screen.availHeight;
var anchura = screen.availWidth;
var alto    = altura - 37;
var ancho   = 740;
var folio   = 980;
var oDv     = document.createElement("div");
var subs    = new Array("EmpresaEnterprise", "ProductosAereasMarinas", "ProductosPMR", "ProductosRadioaficion", "ProductosCarAudio", "ProductosIluminacion", "ProductosInstrumentos", "ProductosSonido", "ProductosSonorizacion", "ProductosVideoproyectores", "ProductosAccesoriosMontaje", "ProductosAccesoriosTV", "ProductosAntenasTV", "ProductosReceptoresTV", "ProductosCCTV", "ProductosAccesoriosElectronicos", "ProductosInformatica", "ProductosTelefonia", "PresupuestosPedidos");
var xxx     = 0;
var yyy     = 0;

document.onmousedown = function() {oDv.style.visibility = "hidden"; return true;};

function AjusteIframe()     {document.getElementById("Ventana").style.height = document.getElementById("ColumnaIzda").scrollHeight - 24 + "px"; return false;};
function Catalogo(elURL)    {if (typeof(hoja) != 'undefined' && !hoja.closed) {hoja.close();}; hoja = window.open(elURL,'hoja','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left=0,top=0'); hoja.focus(); hoja.moveTo(0,0); if (is_chrome()==true) {hoja.resizeTo(ancho, alto+60);}; hoja.focus(); return false;};
function eMail(correo)      {document.write('<a class="Texto_Mail" href="mailto:'+correo+'@sonicolor.es?subject=Escribo desde la Web de Sonicolor Sevilla, S.L.&body=%0A" title="header=[Escribir un Correo<br>Electr&oacute;nico a<br>'+correo+'@sonicolor.es]</Span> body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-contactar.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;] fade=[off]">'+correo+'@sonicolor.es</a>');};
function Enlace(elURL)      {if (typeof(lazo) != 'undefined' && !lazo.closed) {lazo.close();}; lazo = window.open(elURL,'lazo','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left=0,top=0'); lazo.focus(); lazo.moveTo(0,0); if (is_chrome()==true) {lazo.resizeTo(ancho, alto+60);}; lazo.focus(); return false;};
function Imprimir(elURL)    {window.print(); return false;};
function Informacion(hms)   {setTimeout('document.getElementById("Informacion").style.display="none"; document.getElementById("Portada").style.display="block";', hms); return false;};
function Inicial()          {if (top != self) {top.location.href = location.href; window.moveTo(0, 0); window.resizeTo(anchura, altura); window.focus();}; AjusteIframe(); ResetIframe(""); return false;};
function Inicio()           {ReAjuste(95); return false;};
function is_chrome()        {var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; return is_chrome;};
function Mail(correo)       {document.write(correo+'@sonicolor.es');};
function Pagina(elURL)      {if (typeof(papel) != 'undefined' && !papel.closed) {papel.close();}; papel = window.open(elURL,'papel','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+folio+',height='+alto+',left=0,top=0'); papel.focus(); papel.moveTo(0,0); if (is_chrome()==true) {papel.resizeTo(folio, alto+60);}; papel.focus(); return false;};
function Pedido()           {xxx = anchura - ancho; if (xxx < 0) {xxx = 0;}; if (typeof(order) != 'undefined' && !order.closed) {order.close();}; order = window.open('http://www.sonicolor.es/pedidos/formularios/pedido.html','order','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left='+xxx+',top=0'); order.focus(); if (is_chrome()==true) {order.resizeTo(ancho, alto+60);}; order.moveTo(xxx,0); order.focus(); return false;};
function PedidoCesta()      {xxx = anchura - ancho; if (xxx < 0) {xxx = 0;}; if (typeof(order) != 'undefined' && !order.closed) {order.close();}; order = window.open('http://www.sonicolor.es/pedidos/formularios/cesta.html','order','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left='+xxx+',top=0'); order.focus(); if (is_chrome()==true) {order.resizeTo(ancho, alto+60);}; order.moveTo(xxx,0); order.focus(); return false;};
function Presupuesto()      {xxx = anchura - ancho; if (xxx < 0) {xxx = 0;}; if (typeof(budget) != 'undefined' && !budget.closed) {budget.close();}; budget = window.open('http://www.sonicolor.es/pedidos/formularios/presupuesto.html','budget','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left='+xxx+',top=0'); budget.focus(); if (is_chrome()==true) {budget.resizeTo(ancho, alto+60);}; budget.moveTo(xxx,0); budget.focus(); return false;};
function Compra()           {if (typeof(guia) != 'undefined' && !guia.closed) {guia.close();}; guia = window.open('http://www.sonicolor.es/pedidos/normativas/guia-de-compra.html','guia','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left=0,top=0'); guia.focus(); guia.moveTo(0,0); if (is_chrome()==true) {guia.resizeTo(ancho, alto+60);}; guia.focus(); return false;};
function ResetIframe(elURL) {if (elURL.length < 35) {elURL = "./inicio/sonicolor-sevilla-sl.html";}; document.getElementById("Ventana").src = elURL; return false;};
function ReAjuste(zzz)      {alto = window.document.getElementById("Documento").offsetHeight + zzz; if (altura < alto) {alto = altura}; xxx = (anchura - ancho) / 2; yyy = (altura - alto) / 2; if (xxx < 0) {xxx = 0;}; if (yyy < 0) {yyy = 0;}; window.resizeTo(ancho+15, alto); window.focus(); if (is_chrome()==true) {window.resizeTo(ancho+15, alto+0);}; window.moveTo(xxx,yyy); window.focus(); return false;};
function SubCatalogo(elURL) {xxx = (anchura - ancho) / 2; if (xxx < 0) {xxx = 0;}; if (typeof(sheet) != 'undefined' && !sheet.closed) {sheet.close();}; sheet = window.open(elURL,'sheet','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left='+xxx+',top=0'); sheet.focus(); if (is_chrome()==true) {sheet.resizeTo(ancho, alto+60);}; sheet.moveTo(xxx,0); sheet.focus(); return false;};
function Visualizar(elURL)  {if (typeof(ojo) != 'undefined' && !ojo.closed) {ojo.close();}; ojo = window.open(elURL,'ojo','directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,titlebar=no,toolbar=no,width='+ancho+',height='+alto+',left=0,top=0'); ojo.focus(); ojo.moveTo(0,0); if (is_chrome()==true) {ojo.resizeTo(ancho, alto+60);}; ojo.focus(); return false;};

function ControlMenu(yo,tu,el) 
  {
   if (document.getElementById)
     {
      var ello = document.getElementById(yo);
      var ella = document.getElementById(tu);
      var cual = document.getElementById("ColumnaIzda").getElementsByTagName("ol");
      for (var num = 0; num < subs.length; num++) {document.getElementById(subs[num]).style.background = "url('./iconos/portada/menu-mas-negro.gif') no-repeat 1px center #dddddd";};
      if (ello.style.display != "block")
        {
         for (var num = 0; num < cual.length; num++) {if (cual[num].className == "SubMenu") {cual[num].style.display = "none";};};
         ella.style.background = "url('./iconos/portada/menu-menos-flash.gif') no-repeat 1px center #999999";
         ello.style.display = "block";
         document.getElementById("PieL").style.display = "block";
         document.getElementById("PieR").style.display = "block";
        }
      else
        {
         ella.style.background = "url('./iconos/portada/menu-mas-negro.gif') no-repeat 1px center #dddddd";
         ello.style.display = "none";
         document.getElementById("PieL").style.display = "none";
         document.getElementById("PieR").style.display = "none";
         el = "./inicio/sonicolor-sevilla-sl.html";
        };
     };
   AjusteIframe();
   ResetIframe(el);
   return false;
  };

function Favoritos(titulo, referencia)
  {
   if (window.sidebar)
      {
       window.sidebar.addPanel(titulo, referencia, '');
      }
   else if(window.opera && window.print)
      {
       var elem = document.createElement('a');
       elem.setAttribute('href',referencia);
       elem.setAttribute('title',titulo);
       elem.setAttribute('rel','sidebar');
       elem.click();
      }
   else if(document.all)
      {
       window.external.AddFavorite(referencia, titulo);
      }
   else
      {
       window.alert("Pulse Crtl+D para agregar a sus Favoritos");
      }
   return false;
  };

function Opciones()
  {
   eltitle = document.title;
   laURL = location.href;
   document.write('<a class="Opcion" href="javascript:void(0);" onClick="Pedido();return false;"><img src="http://www.sonicolor.es/iconos/secciones/secciones-comprar.png" alt="Abrir el Formulario de Pedido" title="header=[Formulario de Pedido] body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-comprar-over.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;] fade=[off]"></a>\n');
   document.write('<a class="Opcion" href="javascript:void(0);" onClick="Compra();return false;"><img src="http://www.sonicolor.es/iconos/secciones/secciones-guia-compra.png" alt="Abrir la Guia de Compra" title="header=[Guia de Compra] body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-guia-compra-over.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;] fade=[off]"></a>\n');
   document.write('<a class="Opcion" href="mailto:correo_de_su_amigo@dominio.ext?subject=Te recomiendo esta Seccion de la Web de Sonicolor Sevilla, S.L.&body=Hola, te escribo este email para recomendarte esta Seccion de la Web de Sonicolor.%0A%0APuedes verla accediendo mediante el siguiente enlace:%0A%0A'+laURL+'%0A%0ASaludos !"><img src="http://www.sonicolor.es/iconos/secciones/secciones-recomendar.png" alt="Recomendar a sus amigos esta Secci&oacute;n por Email" title="header=[Recomendar por Email] body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-recomendar-over.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;] fade=[off]"></a>\n');
   document.write('<a class="Opcion" href="javascript:void(0);" onClick="Favoritos(eltitle,laURL);return false;"><img src="http://www.sonicolor.es/iconos/secciones/secciones-favoritos.png" alt="Guardar esta Secci&oacute;n en Favoritos" title="header=[Guardar en Favoritos] body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-favoritos-over.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;] fade=[off]"></a>\n');
   document.write('<a class="Opcion" href="javascript:void(0);" onClick="Imprimir(laURL);return false;"><img src="http://www.sonicolor.es/iconos/secciones/secciones-imprimir.png" alt="Imprimir este Documento" title="header=[Imprimir Documento] body=[&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-imprimir-over.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;110&quot; height=&quot;50&quot;&gt;&lt;br&gt;&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-separador.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;145&quot; height=&quot;2&quot;&gt;&lt;br&gt;&lt;Span class=Texto_Verde&gt;Antes de imprimir este&lt;br&gt;documento piense bien&lt;br&gt;si es necesario hacerlo.&lt;br&gt;El medio ambiente est&aacute;&lt;br&gt;en nuestra manos ...&lt;/Span&gt;&lt;br&gt;&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-separador.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;145&quot; height=&quot;2&quot;&gt;&lt;br&gt;&lt;img src=&quot;http://www.sonicolor.es/iconos/secciones/secciones-medio-ambiente.png&quot; alt=&quot;&quot; title=&quot;&quot; width=&quot;145&quot; height=&quot;134&quot;&gt;] fade=[off]"></a>\n');
  };

function TextoFecha()
  {
   document.write('<Div class="Texto_Negro"><iFrame width="630" height="15" scrolling="no" frameborder="0" Src="http://www.sonicolor.es/cgi-bin/pvp.asp?Date=Fecha"><span class="Texto_Negro">Stock y precios (18% IVA incluido) v&aacute;lidos al: [Consultar fecha]</span></iFrame></Div>\n');
   document.write('<Div class="Texto_Azul">(&nbsp;Exceptuando errores tipogr&aacute;ficos &oacute; de edici&oacute;n/dise&ntilde;o Web&nbsp;)</Div>\n');
   document.write('<Div class="Texto_Rojo">[&nbsp;La DISPONIBILIDAD y PRECIOS de estos art&iacute;culos est&aacute; condicionada a nuestro stock y al stock del fabricante&nbsp;]</Div>\n');
  };

function TextoPie()
  {
   if (window.parent.location.href.length < 35 && document.title.search(/Error /) == -1 ) {document.getElementById("DocumentoCab").style.display="none"; document.getElementById("DocumentoPie").style.display="none";};
   document.write('<Div class="Texto_Negrito" align="center">Sonicolor Sevilla, S.L. - CIF: B-41.405.101 - N&deg; IVA CEE: ESB-41.405.101 - Avenida Hytasa, 22. 41006 - Sevilla (Espa&ntilde;a).</Div>\n');
   document.write('<Div class="Texto_Negrito" align="center">Tel&eacute;fono: +(34) 954 630 514 - Fax: +(34) 954 661 884 - E-mail: sonicolor@sonicolor.es</Div>\n');
   document.write('<Div class="Texto_Negrito" align="center">...::: N&deg; RACEA 00687-1, Registro de Comerciantes de Andaluc&iacute;a. - N&deg; NEVA 2006/0734/01/41/8/V, Registro de Venta a Distancia :::...</Div>\n');
   document.write('<Div class="Texto_Azulito" align="center">&copy; Copyright 1998-2012 - www.sonicolor.es - www.sonicolor.eu - www.sonicolor.com - Sevilla (Spain) - All rights reserved.</Div>\n');
  };

/*
 *
 *   Fin
 *
 *   Muchos son los llamados,
 *   pero pocos son los elegidos.
 *
 */
