Script working perfect on IE and not Firefox

Can someone please tell me what is th eproblem with this script?
It works perfect on IE but on Firefox it doesn;t load the jpg.

Check the example http://db-art.110mb.com/indexo.html

It’s an altered tweaked version of kirupa’s thumbnail gallery.

Here is the code that load’s jpgs in mc IMG_MC:
function loadIt() {
this.onEnterFrame = function() {
_root.fader.alphaTo(100,0.4,“easeOutBounce”);
_root.fader._alpha = 100;
if (_root.fader._alpha = 100) {
_root.IMG_MC2.loadMovie(image[p],1);
this.onEnterFrame = function() {
filesize = _root.IMG_MC2.getBytesTotal();
loaded = _root.IMG_MC2.getBytesLoaded();
_root.preloader.alphaTo(100,0.1,“linear”);
_root.preloader.xScaleTo(100,0.1,“linear”);
percent = 100*(loaded/filesize);
if (loaded != filesize) {
_root.preloader.bar._xscale = percent;
_root.preloader.percent_txt.text = int(percent)+"%";
} else {
_root.preloader.alphaTo(0,0.8,“linear”);
_root.preloader.xScaleTo(0,0.8,“easeInBounce”);
curImg = new flash.display.BitmapData(1280,1024,false,0x00ffffff);
_root.IMG_MC.attachBitmap(curImg, 0, “never”, true);
curImg.draw(_root.IMG_MC2);
_root.fader.alphaTo(0,0.5,“linear”);
_root.IMG_MC2.unloadMovie();
delete this.onEnterFrame;
}
};
}
};
}