On Mouse Over change the RotatorType property of RadRotator using javaScript
<p>*<em>Below is my Code:- But its not working *</em></p>

<pre><code>&lt;telerik:RadRotator ID="TestRotator" runat="server" Width="560px" Height="140px"
  ScrollDuration="2000" FrameDuration="20000" ItemHeight="120" ItemWidth="520"
  WrapFrames="true" Skin="Forest" SlideShowAnimation-Type="none" RotatorType="SlideShowButtons" onClientMouseover="Rotater()"&gt;
</code></pre>

<p><strong>javaScript:-</strong></p>

<pre><code>function Rotator() {

    var RadRotator = document.getElementById('&lt;%= TestRotator.ClientId %&gt;');
    if (RadRotator.OnClientMouseOver = true){

       RadRotator.style.RotatorType = "SlideShowButtons";

    }
    else if (RadRotator.OnClientMouseOut = false)
    {

        RadRotator.RotatorType="SlideShow";

    }         
}
</code></pre>
