Javascript access:

// To SET values ([o] is the target object)
[o].style.borderRightStyle="border-right-style value"// To GET values you must first get the computed style object// To get that object in IE or Opera:
var cStyle=[o].currentStyle;
// To get that object in Firefox, Chrome or Safari (w3c-type):
var cStyle=window.getComputedStyle([o],null)
// To GET the property value:;
var value=cStyle.borderRightStyle;