var Sismo = null;

/* Esta Funcion crea la clase Sismo para ser utilizada por el resto de las funciones */

function createSismo()
{
    Sismo = Class.create();
    Sismo.prototype = {
          initialize: function(id, informe, hora, lat, long, prof, tensor, mag, tipo, ag, mag2, tipo2, ag2, loc, sys)
          {
                this.id      = id;      /* 00 ID del sismo        */
                this.informe = informe; /* 01 Informe             */
                this.hora    = hora;    /* 02 Hora y Fecha        */
                this.lat     = lat;     /* 03 Latitud             */
                this.long    = long;    /* 04 Longitud            */
                this.prof    = prof;    /* 05 Profundidad         */
                this.tensor  = tensor;  /* 06 Tensor              */
                this.mag     = mag;     /* 07 Magnitud            */
                this.tipo    = tipo;    /* 08 Tipo                */
                this.ag      = ag;      /* 09 AG                  */
                this.mag2    = mag2;    /* 10 Magnitud (2)        */
                this.tipo    = tipo2;   /* 11 Tipo     (2)        */
                this.ag      = ag2;     /* 12 AG       (2)        */
                this.loc     = loc;     /* 13 Localizacion        */
		this.sys     = sys;     /* 14 Sistema Auto/Manual */
          }
    };
}
