document.addEventListener( "DOMContentLoaded", jQuery.ready, false );
// If Safari or IE is used
document.addEventListener( "DOMContentLoaded", jQuery.ready, false );
// If Safari or IE is used
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/
try {
// If IE is used, use the trick by Diego Perini
// http://javascript.nwbox.com/IEContentLoaded/
// A fallback to window.onload, that will always work
jQuery.event.add( window, "load", jQuery.ready );
// A fallback to window.onload, that will always work
jQuery.event.add( window, "load", jQuery.ready );