X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=88b97e7e44f8fa9739ffcb9d917dcea822bde1ba;hb=00768b5e1ff22271690b5977bca56e9b2fc46162;hp=872bdc99a5b14db696f5ff3a58e8283cb621ea6e;hpb=5611eaa4c6fb429da510127364279223ad60e668;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 = '' + +'' + +'' + +''; + } +}