//Using this instead of comments as comments has pertty damn strict requirements on the variable names required function Quick_Preview() { $('#buttons').raw().innerHTML = ""; ajax.post("ajax.php?action=preview","messageform", function(response){ $('#quickpost').hide(); $('#preview').raw().innerHTML = response; $('#preview').show(); }); } function Quick_Edit() { $('#buttons').raw().innerHTML = ""; $('#preview').hide(); $('#quickpost').show(); }