'; document.getElementById('alertMessageBox').innerHTML = str; }

Your browser does not support the HTML5 canvas tag.