div#scrollbar {
    display:block; /* initially display:none; to hide from incapable */
    }

div#wn	{ 
    position:relative;
    width:325px; height:370px;
    overflow:hidden;
	z-index:4;
	float:left;
	margin:0px;
	padding:0px;
	}
    
div#scrollbar { 
  position:relative;
  width:20px; height:370px; 
  font-size:1px;  /* so no gap or misplacement due to image vertical alignment */
  z-index:4;
  float:right;
  }
div#track { 
  position:absolute; left:0; top:0px;
  width:20px; height:370px;
  background-image:url(../img/lineScrollbar.png);
  background-position:10px top;
  background-repeat:no-repeat;
  z-index:4;
  }
div#dragBar {
  position:absolute; left:5px; top:1px;
  width:10px; height:20px;
  background-image:url(../img/dragbar.png);
  z-index:4;
  margin-left:5px;
  }  
div#up { position:absolute; left:0; top:0; }  
div#down { position:absolute; left:0; bottom:0; }

/* 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; 
    } 