function preloadMain () {
	MM_preloadImages(
        '/common/jBlog2-trans.png',
        '/common/jClients2-trans.png',
        '/common/jPortrait2-trans.png',
        '/common/jWedding2-trans.png');
}// 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 () {
    preloadMain();
}
