/* Set small font-size or size/position of div's will be off in some browsers  */
div#scrollbar {
    display:none; /* hide from incapable */
 }
 
 div#scrollbar { 
  position:relative; 
  left:0px; 
  top:0px;
  width:21px; 
  height:231px; 
  font-size:1px;  /* so no gap or misplacement due to image vertical alignment */
  z-index:1;
  display:block; /* initially display:none; to hide from incapable */
  /*background-color:#999999;*/
  }
div#track { 
  position:absolute; 
  left:5px; 
  top:31px;
  width:5px; 
  height:166px;
  /*background: url("track.gif") #336 repeat;*/
  z-index:1;
  }
div#dragBar {
  position:absolute; 
  left:1px; 
  top:1px;
  width:5px; 
  height:50px;
  background-color:#52699f;
  z-index:1;
  }  
div#up { position:absolute; left:0; top:0; z-index:3 }  
div#down { position:absolute; left:0; bottom:0; z-index:4 }  

/* Styles for scrolling layers  
	 Specify width and height in hold and wn, and in clip for wn. 
   hold div height accommodates scrollbar in this example    
*/
div#hold	{ 
	position:relative; overflow:hidden;
	width:700px; height:340px; z-index:100; 
	}
div#wn	{ 
	position:absolute; 
	left:0px; 
	top:0px; 
	width:700px; 
	height:340px; 
	clip:rect(0px, 700px, 340px, 0px); 
	overflow:hidden;	
	z-index:1; 
	}
div#lyr1 { 
	position:absolute; 
	visibility:hidden;
	left:0px; 
	top:0px; 
	z-index:1; 
	} 
	
	/* for safari, to prevent selection problem  */
div#scrollbar, div#track, div#dragBar, div#up, div#down {
    -moz-user-select: none;
    -khtml-user-select: none;
}


/* so no gap or misplacement due to image vertical alignment
font-size:1px in scrollbar has same effect (less likely to be removed, resulting in support issues) */
div#scrollbar img {
    display:block; 
    } 