// Use jQuery via jQuery(...)
// This script is execute for each home page of the JLT web sites.

window.setTimeout(function(){

    if ( typeof(jQuery) != "undefined" )
    {
        var success = false;
        try
        {
            jQuery("div.acc_container").accordion({ header: 'h2.acc_trigger' });
            success = true;
        }
        catch (exp)
        {
        }
        
        if (!success)
        {
            // todo: manually initialise accordions.
        }
    }
    else
    {
        // fail-safe accordion implementation
    }
    
}, 500);
