rem: button.onfocus = function() { 
add: button.onmouseover = button.onfocus = function() { 
context: function redirectFormButton(uri, button, handler) {  // Insert the iframe  var iframe = document.createElement('iframe');  with (iframe) {    name = 'redirect-target';    setAttribute('name', 'redirect-target');    id = 'redirect-target';  }  with (iframe.style) {    position = 'absolute';    height = '1px';    width = '1px';    visibility = 'hidden';  }  document.body.appendChild(iframe);  // Trap the button  button.onfocus = function() {    button.onclick = function() {      // Prepare variables for use in anonymous function.      var button = this;      var action = button.form.action;      var target = button.form.target;      // Redirect form submission      this.form.action = uri;      this.form.target = 'redirect-target';      handler.onsubmit();      // Set iframe handler for later      window.iframeHandler = function (data) {        // Restore form submission        button.form.action = action;        button.form.target = target;        handler.oncomplete(data);      }      return true;    }  }  button.onblur = function() {    button.onclick = null;  }}
meta: 3097	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3097/5a37a75966b0a33cc12f4b1db4344e7065d468ff/drupal.js/clean/misc/drupal.js