add: var dr = document.getElementById('droplist').style; if (document.getElementById('maincontent').clientHeight < 780){ dr.margin = '-64px 2px 0 0'; dr.borderTop = '1px solid #ccc'; } 
context:   function dropdown(p_strId) {    g_bH = false;    var l_E = document.getElementById(p_strId);    if(l_E && document.defaultView) {      if(document.defaultView.getComputedStyle(l_E, 'hover')) {        g_bH = true;      }    }    l_E = null;  }
meta: 7217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7217/e7cfb0e7a2ead918b7073f85f0441ae77ccfd9b1/frontend.js/clean/templates/default/frontend.js