Вот еще в самом начале есть
this.initSwfUpload = function (opt) {
var opt = opt || {};
//alert(opt.post_params);
opt.button_placeholder_id = 'image-start-upload';
if ($.cookie('ls_image_target_tmp')) {
opt.post_params.ls_image_target_tmp = $.cookie('ls_image_target_tmp');
} else {
opt.post_params.ls_image_target_tmp = 0;
}
$(ls.swfupload).bind('load', function () {
this.swfu = ls.swfupload.init(opt);
$(this.swfu).bind('eUploadProgress', this.swfHandlerUploadProgress);
$(this.swfu).bind('eFileDialogComplete', this.swfHandlerFileDialogComplete);
$(this.swfu).bind('eUploadSuccess', this.swfHandlerUploadSuccess);
$(this.swfu).bind('eUploadComplete', this.swfHandlerUploadComplete);
}.bind(this));
ls.swfupload.loadSwf();
}