title: Change color and width of Polyline - ESRI Javascript API
body: <p>I have a ESRI map that has 11 polylines on it. I would like it so that when a user mouses over a line, the line changes a different color and changes to a bigger width. When a user mouses off the line, the line will go back to it's original color and width. All these lines are on the same layer (var reaches).</p>
  
  <p>I have the code that detects when a user mousesover or mouseout of a line:</p>
  
  <pre><code>dojo.connect(reaches, "onMouseOver", function(evt) 
  { });
  
  dojo.connect(reaches, "onMouseOut", function() 
  { });
  </code></pre>
  
  <p>They correctly detect when the mouse in over a line and when the mouse is off a line. The way I have these 2 function, they detect when the mouse is over any line in the <code>reaches</code> layer. I would like the <code>onMouseOver</code> function to know which line was moused over and change the color and the width of the line. How do I do this?</p>