function accordion_onload(){
    if($(".businesslunch_day").length > 0){
	$('.businesslunch_day .menu_container').hide();
	$('.businesslunch_day h1').click( function() {
		var trig = $(this);
		if ( trig.hasClass('day_active') ) {
			trig.next('.businesslunch_day .menu_container').slideToggle('slow');
			trig.removeClass('day_active');
		} else {
			$('.day_active').next('.businesslunch_day .menu_container').slideToggle('slow');
			$('.day_active').removeClass('day_active');
			trig.next('.businesslunch_day .menu_container').slideToggle('slow');
			trig.addClass('day_active');
		};
	return false;
	});

        // SlideDown current day
        $(".businesslunch_day").each(function(index){
            if(index == fncDayOfWeek()){
                $(this).children(".menu_container").slideToggle("slow");
                $(this).children("h1").addClass('day_active');
            }
        });

    }



//document.write('Current Day of the week :'+fncDayOfWeek() );
}

function fncDayOfWeek(){
    var stDate;
    var now = new Date();
    return now.getDay()-1;
}
