function createLineWithDOM(p, color, width,  fx, fy, tx, ty) {
  var l, d, i;  l = document.createElement("v:line");
  l.strokeweight = width+"pt";
  l.strokecolor = color;
  l.from = fx + "px, " + fy + "px";
  l.to = tx + "px, " + ty + "px";
  p.insertBefore(l, null);
}这个是vml.....