Pre loader doesn't work!

Hi,

I am trying to get the pre loader that you have on this site to work on mine. The problem is that the pre loader works with the animation, but it doesn’t load my site once it has loaded.

Does anyone know what I should do?

onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes_loaded == bytes) {
_root.gotoAndPlay(2);
this.kirupatxt = “movie loaded”;
} else {
_root.gotoAndStop(1);
this.kirupatxt = “loading (”+bytes_loaded+"/"+bytes+")";
}
}

(this is the code for the pre loader)