function _OAV(oo,aa,vv) //Object, Attribute, Value { if (useSVG) { if (aa=="from") { with (oo) { setAttribute("x1",vv.split(",")[0]); setAttribute("y1",vv.split(",")[1]); } return; } if (aa=="to") { with (oo) { setAttribute("x2",vv.split(",")[0]); setAttribute("y2",vv.split(",")[1]); } return; } if (aa=="color") { with (oo) setAttribute("fill",vv); return; } if (aa=="innerText") { oo.firstChild.replaceData(0,108,vv); return; } with (oo) setAttribute(aa,vv); } else { if (aa=="fill") oo.fillcolor=vv; if (aa=="stroke") oo.strokecolor=vv; if (aa=="stroke-width") oo.strokeweight=vv; if (aa=="visibility") oo.style.visibility=vv; if (aa=="from") oo.from=vv; if (aa=="to") oo.to=vv; if (aa=="x") oo.style.left=vv; if (aa=="y") oo.style.top=vv; if (aa=="d") oo.path=vv; if (aa=="color") oo.style.color=vv; if (aa=="innerText") oo.innerText=vv; } }