Где тут ошибка?
<script type="text/javascript">function changeBg(e){
var bg=[
"/Fon_pleera/1.png"
],i=e.rel||0;if(i>bg.length-1){i=0;}
document.getElementById('bg').style.backgroundImage='url('+bg[i]+')';
i++;e.rel=i;
}
function changeBg(a){
var bg2=[
"/Fon_pleera/2.png"], x=a.rel||0;if(x>bg.length-1){x=0}
document.getElementById('bg').style.backgroundImade='url('+bd2[x]+')';
x++;a.rel=x;
}
function changeBg(b){
var bg3=[
"/Fon_pleera/3.png"
], y=b.rel||0;if(y>bg.length-1){y=0}
document.getElementById('bg').style.backgroundImade='url('+bg3[y]+')';
y++;d.rel=y;
}
function changeBg(c){
var bg4=[
"/Fon_pleera/4.png"], i=c.rel||0;if(z>bg.length-1){z=0}
document.getElementById('bg').style.backgroundImade='url('+bg4[z]+')';
z++;c.rel=z;
}
function changeBg(d){
var bg5=[
"/Fon_pleera/5.png"], o=d.rel||0;if(i>bg.length-1){o=0}
document.getElementById('bg').style.backgroundImade='url('+bg5[o]+')';
o++;e.rel=o;
}
</script>
<a onclick="changeBg(e)" id="a" href="javascript://"><img src="/Fon_pleera/1.png" width="25" height="25" /></a>
<a onclick="changeBg(a)" id="a" href="javascript://"><img src="/Fon_pleera/2.png" width="25" height="25" /></a>
<a onclick="changeBg(b)" id="a" href="javascript://"><img src="/Fon_pleera/3.png" width="25" height="25" /></a>
<a onclick="changeBg(c)" id="a" href="javascript://"><img src="/Fon_pleera/4.png" width="25" height="25" /></a>
<a onclick="changeBg(d)" id="a" href="javascript://"><img src="/Fon_pleera/5.png" width="25" height="25" /></a>