add: WikiEdit_ClosePreview(); 
context: function WikiEdit_Preview() {    var container = $('wiki_preview');    var toolbar = $('wiki_preview_toolbar');    var content = $('form_content');    var page_name = $('form_page_name');    if (!container || !content) return;    // visual clue to indicate that preview is loading    container.innerHTML = '<div class="loading"> <img src="' + BASE_HREF + 'static/images/indicator.gif" />Se incarca ...</div>';    // request preview    // :TODO: some web servers and proxies limit GET requests to a maximum    // size. This should really be POST-ed. Perhaps when MochiKit starts    // supporting loadJSONDoc via POST?    var d = loadJSONDoc(BASE_HREF + 'json/wiki-preview?page_name=' + escape(page_name.value) + '&content=' + escape(content.value));    var ready = function(data) {        container.innerHTML = data['html'];        container.style.display = '';        toolbar.style.display = '';    }    var error = function(error) {        window.alert('Eroare! Nu pot face preview. Incearcati din nou.');    }    d.addCallbacks(ready, error);}
meta: 5756	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5756/8756f385ad1b67904a585b7f8a4775eb1a190bbd/wikiedit.js/buggy/infoarena2/www/static/js/wikiedit.js