Yes...it's possible 
Add this script in the head section:
Code:
<script type="text/javascript">
window.onload = function()
{
var obj=document.body.getElementsByTagName('div');
for(var start=0;start<obj.length;start++)
{
obj[start].onclick=function()
{
this.className = (this.className != 'eg-bar')? 'eg-bar': 'rangeg-bar';
}
}
}
</script>
...Then include this code in your CSS rule 
Code:
.rangeg-bar
{background:#9cf;width:500px;
font-weight: bold;
border: 1px solid black;
padding: 3px;}
See if it helps
Bookmarks