I need to change the background image on mouseover, but don't know how to do it as it is in a document.write that I did not write. Any help is appreciated. Here is what I have so far. I want B to be whats there normally and MO on the mouseover.

&lt;script type="text/javascript"&gt;
function DrawRow (Link,Status) {
    B = "../Images/GreenButton.png" ;
    MO = "../Images/GreenButtonMouseOver.png" ;
    color1 = "#66FF33"; color2="#000000"; color3="#000000"; color4="#000000"; color5="#000000";


    //====================================================================================================================
    //          Check User Defined States By Rule
    //====================================================================================================================

    if ( Status4 )  { B="../Images/BlueButton.png"; MO="../Images/BlueButtonMouseOver.png"; color1="#FFFFFF"; }
    if ( Status32 ) { B="../Images/LightGreenButton.png"; B="../Images/LightGreenButtonMouseOver.png"; C1color="#000000"; }
    if ( Status2 )  { B="../Images/YellowButton.png"; MO="../Images/YellowButtonMouseOver.png"; C1color="#000000"; }
    if ( Status1 )  { B="../Images/OrangeButton.png"; MO="../Images/OrangeButtonMouseOver.png"; C1color="#000000"; }
    if ( Status8 )  { B="../Images/RedButton.png"; MO="../Images/RedButtonMouseOver.png";C1color="#FFFF00"; }
    if ( Status16 ) { B="../Images/PurpleButton.png"; MO="../Images/PurpleButtonMouseOver.png"; C1color="#000000"; }

document.write(  "&lt;td ONCLICK=\"Jump('"+Link+"')\"onmouseover=\"this.style.cursor='hand'\" height='37' width='350' background='"+B+"' &gt;&lt;font color='"+color1+"'&gt;&lt;p align='center'&gt;&lt;b&gt;"+T+"&lt;/b&gt;&lt;/td&gt;"  );



Question: Can I use the following power supply as a constant fixed current source?
Answer: It says in the spec you linked that the current adjuster only works on the 0-30V output and can limit from 10mA to 3.2A. I would think that for feeding a current into a resistor this will be OK but don't expect miracle performance, for instance if set to 20mA any resistance higher than 1500 ohm will cause the output voltage to want to go greater than 30V and of course this cannot happen. Also, if you have voltage limit set to 15V, then don't expect the current limit to stay limiting/controlling when the external resistance is above 750 ohms.

EDIT If you are not satisfied with the performance of the power supply and you wanted to try a different method consider this technique: -



With R1 at 312.5 ohms, output current should be 4 mA plus a little bit from the adjust pin (maybe 50 uA). For 20 mA, R1 needs to be 62.5 ohms