function resizepic(thispic){ if(thispic.width>500) thispic.width=500;} function showimg(src){ $.dialog({title:'查看原图:',content: '