     	
 }
 
-}+}

        
        if (instance == verticalScrollBar)
        {
            verticalScrollBar.removeEventListener("valueCommit", vsb_valueCommitHandler);
        }
        
        if (instance == horizontalScrollBar)
        {
            horizontalScrollBar.removeEventListener("valueCommit", hsb_valueCommitHandler);
        }
    }

        
        if (instance == verticalScrollBar)
        {
            verticalScrollBar.viewport = viewport;            
        	verticalScrollBar.addEventListener("valueCommit", vsb_valueCommitHandler);
        }
        
        if (instance == horizontalScrollBar)
        {
            horizontalScrollBar.viewport = viewport;            
            horizontalScrollBar.addEventListener("valueCommit", hsb_valueCommitHandler);
        }
    }
