rem: for (i in monthArray) {  
add: for (var i=0;i<monthArray.length;i++) { 
context: function getMonthSelect() {    // BROWSER LANGUAGE CHECK DONE PREVIOUSLY (navigator.language())    // FIRST TWO CHARACTERS OF LANGUAGE STRING SPECIFIES THE LANGUAGE    // (THE LAST THREE OPTIONAL CHARACTERS SPECIFY THE LANGUAGE SUBTYPE)    // SET THE NAMES OF THE MONTH TO THE PROPER LANGUAGE (DEFAULT TO ENGLISH)    // IF FRENCH    if (selectedLanguage == "fr") {        monthArray = new Array('Janvier', 'Fvrier', 'Mars', 'Avril', 'Mai', 'Juin',                               'Juillet', 'Aout', 'Septembre', 'Octobre', 'Novembre', 'Dcembre');    }    // IF GERMAN    else if (selectedLanguage == "de") {        monthArray = new Array('Januar', 'Februar', 'Mrz', 'April', 'Mai', 'Juni',                               'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember');    }    // IF SPANISH    else if (selectedLanguage == "es") {        monthArray = new Array('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',                               'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre');    }    // DEFAULT TO ENGLISH    else {        monthArray = new Array('January', 'February', 'March', 'April', 'May', 'June',                               'July', 'August', 'September', 'October', 'November', 'December');    }    // DETERMINE MONTH TO SET AS DEFAULT    var activeMonth = calDate.getMonth();    // START HTML SELECT LIST ELEMENT    monthSelect = "<SELECT NAME='month' onChange='parent.opener.setCurrentMonth()'>";    // LOOP THROUGH MONTH ARRAY    for (i in monthArray) {                // SHOW THE CORRECT MONTH IN THE SELECT LIST        if (i == activeMonth) {            monthSelect += "<OPTION SELECTED>" + monthArray[i] + "\n";        }        else {            monthSelect += "<OPTION>" + monthArray[i] + "\n";        }    }    monthSelect += "</SELECT>";    // RETURN A STRING VALUE WHICH CONTAINS A SELECT LIST OF ALL 12 MONTHS    return monthSelect;}
meta: 3540	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3540/7b4ceb4e807c77444c0efd141bc83247dc264361/lib_calendar.js/clean/htdocs/lib/lib_calendar.js