//set a delay on firefox page loading to avoid any flickering, especially due to the font loading resulting from @font-face declarations in the css 
function removeLoading() {
$('#frame').animate({
opacity:1
}, 600, function() {
$('#frame').removeClass('loading');
});
}
if($.browser.mozilla){
$('#frame').addClass('loading');
$(window).load(function() {
setTimeout ( "removeLoading()", 100 );
});
};
