mcdDot += '}';
if (this.output == "graph") //draw graph in element
element.innerHTML = "<img src='scripts/getGraph_" + this.image + ".php?dot=" + encodeURIComponent(mcdDot) + "'/>";
mcdDot += '}';
if (this.output == "graph") //draw graph in element
element.innerHTML = "<img src='scripts/getGraph_" + this.image + ".php?dot=" + encodeURIComponent(mcdDot) + "'/>";