// I had to make a separate preloader here because there is a bug in the passing of the onload 
// event through niceforms...basically, it doesn't, adn the niceforms call never gets made.
// So this preloader is set to load both the niceforms and the weddings menu preloader.

// This line doesn't work, and is the cause of the bug
//var existingResizeEvent = window.onresize || function() {};
window.onload = function () {
    NFInit();
}
window.onresize = function() {
	if(resizeTest != document.documentElement.clientHeight) {
		existingResizeEvent();
		NFFix();
	}
	resizeTest = document.documentElement.clientHeight;
}