equal
deleted
inserted
replaced
101 while (dec>15){ |
101 while (dec>15){ |
102 tmp = dec-(Math.floor(dec/16))*16; |
102 tmp = dec-(Math.floor(dec/16))*16; |
103 hex = hexa.charAt(tmp)+hex; |
103 hex = hexa.charAt(tmp)+hex; |
104 dec = Math.floor(dec/16); |
104 dec = Math.floor(dec/16); |
105 } |
105 } |
106 hex = hexa.charAt(dec)+hex; |
106 hex = hexa.charAt(dec)+hex; |
107 if (hex == "FFCC00"){ hex="";/* by default color of Ldt annotation */ } |
|
108 return(hex); |
107 return(hex); |
109 }; |
108 }; |
110 |
109 |
111 /* shortcut to have global variables in templates */ |
110 /* shortcut to have global variables in templates */ |
112 IriSP.templToHTML = function(template, values) { |
111 IriSP.templToHTML = function(template, values) { |