don't even worry, i'm a nut. i LUV doing this stuff
two things: get rid of the src="switchpic.js" because its no longer needed
and also add semicolons(;) after each image you put in
EX:
img[27] = "http://img223.imageshack.us/img223/4438/bulbasaurmsb.png";
ok, i think i finally have the solution... hopefully
this will take a bit of effort on your part
the switchpic.js is no longer needed
but now the script is this:
<script src="switchpic.js" type="text/javascript">
function switchPicImg(switchTo){
var img = new Array();
img[1] = "NORMAL PIC";
img[2] = "SHINY PIC";
img[3] = "FRAME ONE";
img[4] = "FRAME TWO";
img[5] = "FRONT";
img[6] = "BACK";
img[7] = "DP";
img[8] = "PLATINUM";
src = img[switchTo];
document.getElementById('picImg').src = src;
}
</script>
and the links should be in ""s above
the coding in the page is good for now