prova così, ma non garantisco
<script>
function initIt() {
xGetElementById('tutto').style.opacity=0;
Nifty("div#centro1","normal");
Nifty("div#centro2","normal");
// RestoreScrollPosition();
// checkLocation();
xGetElementById('tutto').style.opacity = 1;
}
</script>
<body onload=initIt()>