function _OAV( oo,aa,vv ) { //Object, Attribute, Value oo.setAttribute( aa,vv ); } function fromOV( oo, vv ) { oo.setAttribute( "x1", vv.split( "," )[0] ); oo.setAttribute( "y1", vv.split( "," )[1] ); } function toOV( oo, vv ) { oo.setAttribute( "x2", vv.split( "," )[0] ); oo.setAttribute( "y2", vv.split( "," )[1] ); } function colorOV( oo, vv ) { oo.setAttribute( "fill", vv ); } function innerTextOV( oo, vv ) { oo.firstChild.replaceData( 0, 108, vv ); }