add: div.style.width = '100%'; 
context: function gn_showMetadata(id) {    var pars = 'id=' + id + '&currTab=simple';        $('gn_showmd_' + id) .hide();    $('gn_loadmd_' + id) .show();        var myAjax = new Ajax.Request(        '/geonetwork/srv/'+Env.lang+'/metadata.show.embedded',         {            method: 'get',            parameters: pars,            onSuccess: function (req) {                var parent = $('mdwhiteboard_' + id);                clearNode(parent);                                $('gn_loadmd_' + id) .hide();                $('gn_hidemd_' + id) .show();                                // create new element                var div = document.createElement('div');                div.className = 'metadata_current';                div.style.display = 'none';                parent.appendChild(div);                                div.innerHTML = req.responseText;                                Effect.BlindDown(div);                                var tipman = new TooltipManager();                ker.loadMan.wait(tipman);            },            onFailure: gn_search_error// FIXME        });}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/90e5c2241c8bc22b8f67350cdd65d92c89b6933b/gn_search.js/buggy/web/geonetwork/scripts/gn_search.js