var FileInput=function(){var e=new Object;e.Init=function(e){var n=$("#"+e);n.fileinput({uploadUrl:"",showPreview:false,maxFileCount:1,showUpload:false,language:"zh"});n.on("fileuploaded",function(e,n,o,l){if(n.response.msg==="ok"){$("#mynavicon").attr("src",n.response.iconpath);$("#myModalIcons").modal("hide")}else{myAlert(n.response.msg)}})};return e};function setIconFileUrl(){var e="FileUpload?case=uploadicon&tid=nav";$("#upoafile").fileinput("refresh",{uploadUrl:e})}