.height = 000;       $('#c').mousedown(function (e) {          mousePressed = true;          Draw(e.pageX - $(this).offset().left, e.pageY - $(this).offset().top, false);      });        $('#c').mousemove(function (e) {          if (mousePressed) {              Draw(e.pageX - $(this).offset().left, e.pageY - $(this).offset().top, true);          }      });        $('#c').mouseup(function (e) {          mousePressed = false;      });       $('#c').mouseleave(function (e) {          mousePressed = false;      });    function drawBgPath() {    