function to check and delete email table on db added
[brisk.git] / web / heartbit.js
1 function heartbit_old(symb)
2 {
3     if ($("heartbit").innerHTML.length >= 120) {
4         $("heartbit").innerHTML = $("heartbit").innerHTML.substring(10);
5         $("heartbit").innerHTML += symb;
6     }
7     else {
8         $("heartbit").innerHTML += symb;
9     }
10 }
11
12 function heartbit(stat)
13 {
14     // console.log("hbit here: "+"img/line-status_"+stat+".png");
15     $("stm_stat").src = "img/line-status_"+stat+".png";
16 }
17