function clrBar(line,face)
{
 with(document.body.style)
 {
  scrollbarDarkShadowColor="#FFFFFF";
  scrollbar3dLightColor="#AAAAAA";
  scrollbarArrowColor=line;
  scrollbarBaseColor=face;
  scrollbarFaceColor=face;
  scrollbarHighlightColor="#FFFFFF";
  scrollbarShadowColor="#AAAAAA";
  scrollbarTrackColor="#FFFFFF";
 }
}
function setcolor()
{
 var w = document.body.clientWidth;
 var h = document.body.clientHeight;
 var x = event.clientX;
 var y = event.clientY;
 if(x>w) clrBar("#FF8B00","#E4E4E4"); // Colors of active state
 else clrBar("#808080","#E4E4E4"); // Colors of normal state
}
if (document.all){
clrBar(null,null);
document.onmousemove=setcolor;
}