Scusate l' ignoranza...ma che differenza c'è tra le due ?

window.onload=nomeFunzione;
window.onload=nomeFunzione();