rem: screenResolution.selectedItem = item; 
add: screenResolution.selectedItem = items[0]; 
context: function setResolution( resolution )  {    // Given a number, if it's equal to a hard-coded resolution we use that,    // otherwise we set the userResolution field.    var screenResolution = document.getElementById( "screenResolution" );    var userResolution = document.getElementById( "userResolution" );    var item = screenResolution.getElementsByAttribute( "value", resolution )[0];    if (item)      {        // If it's one of the hard-coded values, we'll select it directly         screenResolution.selectedItem = item;        userResolution.setAttribute( "hidden", "true" );      }       else      {        // Otherwise we need to set up the userResolution field        var dpi = screenResolution.getAttribute( "dpi" );        userResolution.setAttribute( "value", resolution );        userResolution.setAttribute( "label", dpi.replace(/\$val/, resolution) );        userResolution.removeAttribute( "hidden" );        screenResolution.selectedItem = userResolution;         }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/439ecf9c420a64f53e3181777975716484e6e738/pref-fonts.js/buggy/xpfe/components/prefwindow/resources/content/pref-fonts.js