<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language="javascript" type="text/javascript">
var isShow=0;
var isShowMax=0;
var tbsource = "./1";//本地文件夹路径
var hdfiles = "";
var objFSO =new ActiveXObject('Scripting.FileSystemObject');
if(!objFSO.FolderExists(tbsource))
{
alert("<"+tbsource+">该文件夹路径不存在,或者路径不能含文件名!");
objFSO = null;
//return;
}
var objFolder = objFSO.GetFolder(tbsource);
var colFiles = new Enumerator(objFolder.Files);
var re_inf1 =/\.(gif|jpg|jpeg|bmp)$/i
var ImgName = new Array(); //创建一个数组
function Loadimg()
{
for (var i= 0; (!colFiles.atEnd())&&(i