JavaScript DHTML/Document/Text Direction
"blockDirection" Example
<html>
<body>
<p id="myP" blockDirection="rtl" onClick="function1();">
Click in this text that must be read from right to left.
</p>
<script language="JavaScript">
function function1() {
var m = document.all.myP.blockDirection;
alert(m);
}
</script>
</body>
</html>