full 'listen' prefs management completed and partial 'comps' prefs implemented
[brisk.git] / web / commons.js
index 28e6aae..462ce2e 100644 (file)
@@ -54,6 +54,8 @@ var mlang_commons = { 'imgload_a' : { 'it' : 'Immagini caricate ',
 
 function $(id) { return document.getElementById(id); }
 
+function $C(cls) { return document.getElementsByClassName(cls); }
+
 function dec2hex(d, padding)
 {
     var hex = Number(d).toString(16);