var swfu; 
var init_uploader = function() { 
    swfu = new SWFUpload({ 
        upload_url : '/news/upload/', 
        button_placeholder_id : 'jqUploader', 
        flash_url : '/js/swfupload/Flash9/swfupload_f9.swf', 
        //many more options which you must determine for yourself - see the SWFUpload docs and examples 
    }); 
 
}; 

//please use better handler attachment than this: 
window.onload = init_uploader; 