X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=88b97e7e44f8fa9739ffcb9d917dcea822bde1ba;hb=ecc7b610d0bd3d91ae4b99f036ef6e8c29a8b2ac;hp=872bdc99a5b14db696f5ff3a58e8283cb621ea6e;hpb=539fb3d8cccb71d590a991a602a4fc17487d8312;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 872bdc9..88b97e7 100644 --- a/web/commons.js +++ b/web/commons.js @@ -806,3 +806,16 @@ function room_checkspace(emme,tables,inpe) $("esco").innerHTML = ""; } + +function playsound(tag, sound) { + // g_withflash is a global var + if (g_withflash) { + alert("PLAYSOUND "+sound); + $(tag).innerHTML = '' + +'' + +'' + +''; + } +}