// JavaScript Document

function random_imgGeneratorHome(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="<a href='http://www.energyadvisor.coop/rebate-heat-pump.php' target='blank'><img src='images/WVP_heatpump_160x400_cooling.png'></a>"
myimages[2]="<a href='http://www.energyadvisor.coop/rebate-heat-pump.php' target='blank'><img src='images/WVP_HeatPump_160x400_heating.png'></a>"
myimages[3]="<a href='http://www.energyadvisor.coop/rebate-clothes-washer.php' target='blank'><img src='images/WVP_Washer_160x400.png'></a>"
myimages[3]="<a href='https://www.jacoinc.net/weborder/rebatex.aspx?ProgramID=37&pgp=gKANK' target='blank'><img src='images/fridge.jpg'></a>"


var ry=Math.floor(Math.random()*myimages.length)
if (ry==0)
ry=1
document.write(myimages[ry])

}
random_imgGeneratorHome()