function asmt_annc(course_id, asmt_id, asmt_type) {
    if (! asmt_type) asmt_type = 'assessment';
    if (window.confirm(ASSESSMENT_RESOURCES.getFormattedString("confirm.start_assessment", new Array(asmt_type)))) {
        //now figure out what frames we have
        if (parent.frames[0].name == "nav") {
                loc = 'course.pl?course_id='+ course_id +"&sc=/bin/common/"+ 
                    'take_asmt.pl?course_id='+ course_id +'%26assessment_id='+ asmt_id +
                    '&frame=top';
                    void(top.location = loc);
        } else {
                loc = 'take_asmt.pl?course_id='+ course_id +'&assessment_id='+ asmt_id;
                void(location = loc);
        }
    }
}
