X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;fp=web%2Fcommons.js;h=462ce2e80971d44533e54e487729371117e58bad;hb=89023025985f8c0b07bb4e4500c787bfe23d999e;hp=28e6aae06b951509186f83646fad3a70dc0e474a;hpb=bddfecf27b05ebf105929f29ef23c26d3b258c3c;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 28e6aae..462ce2e 100644 --- a/web/commons.js +++ b/web/commons.js @@ -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);