You can create style sheet for VML using the below code
document.namespaces.add("v","urn:schemas-microsoft-com:vml");
var style = document.createStyleSheet();
style.addRule('v\\:*', "behavior: url(#default#VML);");
This code will work in IE 7 & above, but I have not tested in IE 6