$(document).ready(function() {

    // Detect if you have chrome browser and your file is local
    if ($.browser['safari'] && $.browser['webkit']) {
        if ($(location)[0]['origin'] == "file://") {
            alert("Chrome Browser can't load local file with XMLHttpRequest \nIf you want test this script, please use another browser \nor upload these file on a server.\n\nThank you!");
        } else {
            startSlideContent();
        }
    } else {
        startSlideContent();
    }

    // Start the function, if you are on a server, you can use just the code inside the function
    function startSlideContent() {

        // Start the SlideContent here
        $('#left').slideContent({
            duration     : 300,
            ajaxContent  : ['#nav','#header h2','.refresh'],             // Array of JQuery Selector
            linkAllow    : ['#nav a','#content a','#right a','.video_link a'],           // Array JQuery Selector (default : 'a')
            linkExcept   : ['.noSlide','.active','ul.noslidemenu li a','.link_button a','.link_button_web a'], // Array of JQuery Selector
            padding      : 25
        });

    }

});

