<!-- Begin
var hmsg = new Array();

hmsg["colombia"] = new helpmsg(
"<strong>A. LA LÁMPARA NO ENCIENDE</strong>", "", "", "<ol><li>Compruebe que est&aacute; conectada la alimentaci&oacute;n y que no ha saltado el fusible externo. Si el fusible salta de nuevo:<br><br><ul><li> Compruebe que el condensador de factor de potencia no esta en corto circuito. Puede desmontarlo temporalmente para verificarlo.</li><li>Compruebe que el aislamiento de todos los cables se halla en buen estado. Deber&iacute;a realizar una prueba de rigidez diel&eacute;ctrica con un PAT (comprobador de aparatos port&aacute;til). Si hay alg&uacute;n cable defectuoso, sustit&uacute;yalo. Si la l&aacute;mpara sigue sin encenderse, abra el interruptor, compruebe que todas las conexiones internas del cableado de la luminaria est&aacute;n bien hechas y vaya al paso 2.</li></ul></li>");

hmsg["ecuador"] = new helpmsg(
"<strong>B.  LA LÁMPARA NO PARECE LUCIR A PLENA POTENCIA</strong>", "", "", "<ol><li>Compruebe Que se ha montado la l&aacute;mpara correcta.</li><li>Compruebe la tensi&oacute;n de la alimentaci&oacute;n el&eacute;ctrica suministrada y comp&aacute;rela con la indicada en la etiqueta del fabricante del estabilizador. Si hay varias tomas, compruebe que sea conectado adecuadamente.</li><li>Compruebe que la luminaria est&aacute; bien Ventilada y no se recalienta. En muchos casos, su calentamiento excesivo obedece a un mal dise&ntilde;o o al funcionamiento forzado con una combinaci&oacute;n de l&aacute;mpara y estabilizador para los que no est&aacute; dise&ntilde;ada. A veces, la causa puede ser una ventilaci&oacute;n restringida o una posici&oacute;n de encendido incorrecta. Utilice los recursos que le dicte el sentido com&uacute;n para que la luminaria se estabilice t&eacute;rmicamente del modo adecuado. Consulte al fabricante de la luminaria.</li><li> La posici&oacute;n de encendido de la l&aacute;mpara en la luminaria o instalaci&oacute;n no es &oacute;ptima. Consulte las fichas t&eacute;cnicas del fabricante.</li></ol>");

hmsg["guatemala"] = new helpmsg(
"<strong>C.  LA LÁMPARA PARPADEA Y NO VUELVE A ENCENDERSE</strong><br>", "", "", "No hay estabilizador - corrija el defecto.<BR>El estabilizador está en corto circuito - cambie la reactancia.<BR>Compruebe las conexiones consultando la etiqueta del fabricante.<BR>El condensador está en paralelo con la lámpara - cámbielo y conéctelo correctamente.<BR>");

hmsg["honduras"] = new helpmsg(
"<strong>D.  LA LÁMPARA NO ENCIENDE, SINO QUE PERMANECE EN LA FASE DE LUMINISCENCIA</strong><br>", "", "", "Lámpara dañada por sobrecarga.<br> Ignitor defectuoso - sustitúyalo.<br> La tensión de circuito abierto de la reactancia es baja - comprobar si la reactancia es del tipo correcto.");

hmsg["bolivia"] = new helpmsg(
"<strong>E. LA LÁMPARA FUNCIONA EN CICLOS CORTOS O MUESTRA SIGNOS DE ENNEGRECIMIENTO DEL TUBO DE ARCO</strong><br>", "", "", "La lámpara ha llegado al final de su vida útil - cámbiela. <BR> La luminaria esta demasiado caliente - vaya al paso 3 anterior. <BR>Las variaciones de tensión de la red son excesivas - compruébelo y consulte a la compañía suministradora. <BR>");

hmsg["puerto"] = new helpmsg(
"<strong>F.  SE FORMAN BULTOS O FISURASEN LA ENVOLTURA EXTERNA</strong><br>", "", "", "Sobrecarga; compruebe el tipo de balasto y todas las conexiones. Cambie la lámpara.<br>");

hmsg["uruguay"] = new helpmsg(
"<strong>G.  LA LUZ DE LAS LÁMPARAS PRESENTAN UN  COLOR ANÓMALO</strong><br>", "", "", "Compruébelo sólo al cabo de 100 horas de funcionamiento. Después, compruebe que la osición de encendido está dentro de los límites prescritos en las fichas técnicas. <br><br> En el caso de las lámparas HSI-TD, compruebe que la punta saliente del tubo de arco no apunta hacia abajo. De ser así, cambie inmediatamente de posición las lámparas en el portalámparas antes de encenderlas de nuevo.<br>");

hmsg["tipultimo"] = new helpmsg(
"<strong>H.  FUNCIONAMIENTO CONTINUO</strong><br>", "", "", "En caso de funcionamiento continuo de las lámparas, es aconsejable apagarlas una vez a la semana como mínimo.<br>");

var myPopup = new helpbox("myPopup", hmsg, 450, 320, "#f7f7f7");

// 275 is the width of the popup box
// 175 is the height of the popup box
// "#ffffee" is the color of the popup box


function helpmsg(header, hstyle, mstyle, message) {
this.DEFAULTHSTYLE = "plain";
this.DEFAULTMSTYLE = "plain";

this.header = header;
if (hstyle) this.hstyle = hstyle;
else this.hstyle = this.DEFAULTHSTYLE;
this.message = message;
if (mstyle) this.mstyle = mstyle;
else this.mstyle = this.DEFAULTMSTYLE;
return this;
}
new helpmsg();
helpmsg.prototype.show = show;

function show() {
var H = "<FONT FACE='arial' SIZE='2' COLOR='#006600'>" + this.header + "</FONT>";
if (this.hstyle == "h1") H = "<H1>" + H + "</H1>";
else if (this.hstyle == "h2") H = "<H2>" + H + "</H2>";
else if (this.hstyle == "h3") H = "<H3>" + H + "</H3>";
else if (this.hstyle == "h4") H = "<H4>" + H + "</H4>";
if (this.hstyle == "fancyheader") H = "<table width='75%'>" +
"<tr><td bgcolor='#000000' align='center' valign='center'>" +
"<H1><FONT COLOR='white'>" + H +
"</FONT></H1>" + "</td></tr></table>";
else if (this.hstyle == "italics")
H = "<I>" + H + "</I>";

var M = "<FONT FACE='arial' COLOR='#000000' SIZE='2'>" + this.message + "</FONT>";
if (this.mstyle == "plain") {}
if (this.mstyle == "italics") M = M.italics();
else if (this.mstyle == "bold") M = M.bold();

var htmlpage = "";
if (this.hstyle.indexOf("header")>=0)
htmlpage = H + M;
else htmlpage = H + "<BR>" + M;
return htmlpage;
}

function helpbox(name, hm, width, height, bgcolor) {
this.name = name;
this.helpmessage = hm;
this.timerHandle = null;
this.windowHandle = null;
this.DEFAULTWIDTH = 450;
this.DEFAULTHEIGHT = 150;
this.DEFAULTBGCOLOR = "#ffffFF";
this.POPUPDELAY = 0;
if (width) this.width = width;
else this.width = this.DEFAULTWIDTH;
if (height) this.height = height;
else this.height = this.DEFAULTHEIGHT;
if (bgcolor) this.bgcolor = bgcolor;
else this.bgcolor = this.DEFAULTBGCOLOR;
return this;
}
function startHelp(msgindex) {
var cmdstr="top." + this.name + ".showHelp('" + msgindex + "')";
this.timerHandle = setTimeout(cmdstr, this.POPUPDELAY);
}
function showHelp(msgindex) {
if (!this.windowHandle || !this.windowHandle.name || this.windowHandle.name=="")
this.windowHandle = window.open(
"", 
"subWindow", 
"toolbar=no," +
"location=no," +
"directories=no," +
"status=no," +
"menubar=no," +
"top=0," +
"left=0," +
"scrollbars=no," +
"resizable=no," +
"width=" + this.width + "," +
"height=" + this.height
);
else
this.windowHandle.focus();
this.windowHandle.document.open();
var to_page =
"<HTML>\n" +
"<BODY BGCOLOR='" + this.bgcolor + "'><P>" +
this.helpmessage[msgindex].show() +
"</BODY></HTML>\n";
this.windowHandle.document.write(to_page);
this.windowHandle.document.close();
}
function clearHelp() {
clearTimeout(this.timerHandle);
if (this.windowHandle && this.windowHandle.name) {
this.windowHandle.close();
this.windowHandle=null;
   }
}
new helpbox();
helpbox.prototype.startHelp = startHelp;
helpbox.prototype.showHelp = showHelp;
helpbox.prototype.clearHelp = clearHelp;
// End -->
