Okai.I havent checked it. Here's the new code. Is it right ?
<script type='text/javascript'>
/*
Change Any Image On Page
Created by iFusion
*/
var img_b = new Array();
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1staraqua.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/moderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1stargold.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/GlobalModerator.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starlime.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/bluemoderatorstar.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starorange.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/goldstar7.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpink.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/silverstar6.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starpurple.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/orangestar5.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/1starred.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/greenstar4.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/violetstar3.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music1.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/fleshstar2.gif" ]
img_b[img_b.length++] = [ "http://images.smfboards.com/ranks/2music2.gif" , "http://i212.photobucket.com/albums/cc258/Annsharneliun/starlime1.gif" ]
var all_images = document.getElementsByTagName('IMG');
for(i=0;i<all_images.length;i++){
for(j=0;j<img_b.length;j++){
if(all_images[i].src == img_b[j][0]){
all_images[i].src = img_b[j][1];
}}}
</script>