function ViewPhoto(PhotoUrl){ var strHtml; var FileExt=PhotoUrl.substr(PhotoUrl.lastIndexOf('.')+1).toLowerCase(); if(FileExt=='gif'||FileExt=='jpg'||FileExt=='png'||FileExt=='bmp'||FileExt=='jpeg'){ strHtml=""; }else if(FileExt=='swf'){ strHtml=""; }else{ strHtml=PhotoUrl; } imgBox.innerHTML=strHtml; } ViewPhoto('/chanpin/UploadFiles_2743/200903/2009031217191919.gif'); 秒 var arrUrlName=new Array(); var arrUrl=new Array(); arrUrlName[0]='图片地址1'; arrUrl[0]='/chanpin/UploadFiles_2743/200903/2009031217191919.gif'; function ShowUrlList(page){ if(arrUrl.length