jg_doc.paint(); } var jg_doc = new jsGraphics("jg_docCanvas"); myDrawFunction(); //-->