context: function Submit_UpdateSolution() {    if (!Submit_HasCompiler($('form_task').value)) {        return;    }    var f = $('form_solution');    var compiler = $('form_compiler');    var k = -1;    for (var i = f.value.length - 1; 0 <= i; i--) {        if ('.' == f.value[i]) {            k = i;            break;        }    }    var ext = f.value.substring(k + 1).toLowerCase();    if ('c' == ext || 'cpp' == ext || 'pas' == ext) {        compiler.value = ext;    }    else {        alert('Atentie! Pentru fisierul selectat nu am putut alege automat '               + 'un compilator.');        compiler.value = '-';    }}
meta: 5756	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5756/5b1307aa97d37d14745b5d1adb6c18799a63e388/submit.js/buggy/infoarena2/www/static/js/submit.js