sww176 0 Newbie Poster

I want to do some paint in browser and I use VML in IE.
here is a clear XHMTL document

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
</HEAD>
 <BODY>
 </BODY>
</HTML>

I want to add <v:line style="POSITION: absolute; BEHAVIOR: #default#VML" from = "0,0" to = "75pt,75pt">
</v:line> into the document and show a line.

like blow:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml" xmlns:v = "urn:schemas-microsoft-com:vml"><HEAD>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>
<?import namespace = "v" implementation = "#default#VML" />
</HEAD>
 <BODY>
  <v:line style="POSITION: absolute; BEHAVIOR: #default#VML" from = "0,0" to = "75pt,75pt">
  </v:line>
 </BODY>
</HTML>

I must add xmlns:v = "urn:schemas-microsoft-com:vml" and <?import namespace = "v" implementation = "#default#VML" />
into the document to enable VML function,but the question is how can I add these two lines dynamically.
I can use document.namespaces to deal with the first,but I don't what to do with the second,some one help me with the problem please.
are there other ways to paint in IE with no plugins?