Wierd Pre-loader problem

I have a preloader script that i’ve used for various websites/online-presentations. For some reason though, it doesn’t work properly with this one site i’ve created. I’ve tried variations, but the issue is the same - the pre-loader shows when ~92% has been loaded.

Example where it works fine - http://equilateraldesigns.com/prism/newsite.html

Same script mucking up - http://equilateraldesigns.com/cariya/site.html

This is my code (pasted on the movie clip, first frame) -

onClipEvent (load) {
	total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
	loaded = _root.getBytesLoaded();
	percent = int(loaded/total*100);
	percen1 = ""+percent+"%";
	gotoAndStop(percent);
		if (loaded == total) {
		_root.play();
	}
}

Does anyone have any idea why this is happening?