function enumerate_pics(){try{       			 var fld_files,s,titl,fldr_1,fldr_2
			 count_pic=0;			 fldr = fso.GetFolder(_Path("./"));			 fldr=fldr+"/"+folder_path;			 			 			 			 file_address=file_view.value;			 file_address=file_address.substr(0,file_view.value.lastIndexOf("\\"));			 if(file_address!=""){				                    file_address_flag=1;				                    file_address=file_address+"/";									fldr=fldr.replace(/\\/g,"/");									file_address=file_address.replace(/\\/g,"/");																		fldr=file_address;																		span_show_path.innerHTML="";								    span_show_path.innerHTML="【提示】：选择了图片文件夹，路径:<br><font size='-1' color='#FF9900'>"+fldr+"</font>";								  }else{									file_address_flag=0;									fldr=fldr;									fldr=fldr.replace(/\\/g,"/");																		span_show_path.innerHTML="";								    span_show_path.innerHTML="【提示】：没有选择图片文件夹,默认路径:<br><font size='-1' color='#FF9900'>"+fldr+"</font>";								  }								  								  			 			 fldr = fso.GetFolder(fldr);			 			 			 fc   =   new   Enumerator(fldr.files); 		       for (; !fc.atEnd(); fc.moveNext())                  {                               s=fc.item();   			               titl=s.name;						   titl_addr=titl.substr(titl.indexOf(".")+1,titl.length); 						   						   if(titl_addr=='jpg'||titl_addr=='gif'||titl_addr=='jpge'||titl_addr=='png'||titl_addr=='bmp'||titl_addr=='JPG'||titl_addr=='GIF'||titl_addr=='JPGE'||titl_addr=='PNG'||titl_addr=='BMP') 						   { 						   						   if(file_address_flag==0){imageurl[count_pic]=folder_path+titl;}						   						   else{imageurl[count_pic]=fldr+"/"+titl;}						                              count_pic++;						   }else{						   						   }     			   }			   if(if_view_subfolder==1)	           {			      view_subfolder(fldr);			   }else if(if_view_subfolder==0){ 			      	           }else{	              alert("函数访问子文件夹有问题，请检查enumerate_pic函数分支项！");	           }			   			 			 			 			 											   var imageurl_temp = new Array();
			   for(i=0;i<count_pic;i++)			   {				 imageurl_temp[i]=imageurl[i];			   }			   imageurl= new Array();			     for(i=0;i<count_pic;i++)			   {				 imageurl[i]=imageurl_temp[i];			   }			    for(i=0;i<imageurl.length;i++)			   {				 			   }	}catch(e){	   try{ 			 var fld_files_a,s_a,titl_a
			 fldr_a =_Path("./");			 fldr_a=fldr_a.substr(0,fldr_a.lastIndexOf("../")-1);			 fldr_a=fldr_a.substr(0,fldr_a.lastIndexOf("/"));			 fldr_a=fldr_a.replace(/%20/g," ");			 fldr_a=fldr_a+"/"+folder_path;			 			 			 			 file_address=file_view.value;			 file_address=file_address.substr(0,file_view.value.lastIndexOf("\\"));			 if(file_address!=""){				                    file_address_flag=1;								    file_address=file_address+"/";									file_address=file_address.replace(/\\/g,"/");																		fldr_a=file_address;																		span_show_path.innerHTML="";								    span_show_path.innerHTML="【提示】：选择了图片文件夹，路径:<br><font size='-1' color='#FF9900'>"+fldr_a+"</font>";								  }else{									file_address_flag=0;									fldr_a=fldr_a;									fldr_a=fldr_a.replace(/\\/g,"/");																	    span_show_path.innerHTML="";								    span_show_path.innerHTML="【提示】：没有选择图片文件夹,默认路径:<br><font size='-1' color='#FF9900'>"+fldr_a+"</font>";								  }								  								  								  			 			 fldr_a = fso.GetFolder(fldr_a);			 			 			 fc   =   new   Enumerator(fldr_a.files); 		       for (; !fc.atEnd(); fc.moveNext())                  {                               s_a=fc.item();   			               titl_a=s_a.name; 						   titl_addr=titl_a.substr(titl_a.indexOf(".")+1,titl_a.length); 						                              if(titl_addr=='jpg'||titl_addr=='gif'||titl_addr=='jpge'||titl_addr=='png'||titl_addr=='bmp'||titl_addr=='JPG'||titl_addr=='GIF'||titl_addr=='JPGE'||titl_addr=='PNG'||titl_addr=='BMP')  						   { 						   						   if(file_address_flag==0){imageurl[count_pic]=folder_path+titl_a;}						   						   else{imageurl[count_pic]=fldr_a+"/"+titl_a;}						                              count_pic++;						   }else{						   						   }			   }			   if(if_view_subfolder==1)	           {			      view_subfolder(fldr_a);			   }else if(if_view_subfolder==0){ 				  	           }else{	              alert("函数访问子文件夹有问题，请检查enumerate_pic函数分支项！");	           }													     var imageurl_temp = new Array();
			   for(i=0;i<count_pic;i++)			   {				 imageurl_temp[i]=imageurl[i];			   }			   imageurl= new Array();			     for(i=0;i<count_pic;i++)			   {				 imageurl[i]=imageurl_temp[i];			   }			    for(i=0;i<imageurl.length;i++)			   {							   }		   }catch(e2){  		     alert("浏览器安全性太高，请在internet设置选项中允许运行未经过签名的ACTIVEX控件！或者您的浏览器类型非IE 6.0浏览器");		   }      	}}  function view_subfolder(get_folder) {		                     var s_a_fk,titl_a_fk,fldr_temp,s_a_l,titl_a_l,titl_addr_l,get_a_folder,file_full_path
			var fk   =   new Enumerator(get_folder.SubFolders);
			  for (; !fk.atEnd();fk.moveNext())        {                           s_a_fk=fk.item();   			               titl_a_fk=s_a_fk.name; 						   file_full_path=get_folder+"/"+titl_a_fk;						   						   fldr_temp = fso.GetFolder(file_full_path);						   								  						     var fl   =   new   Enumerator(fldr_temp.files);
							 for (; !fl.atEnd(); fl.moveNext())                                {   							   s_a_l=fl.item();   			                   titl_a_l=s_a_l.name; 						       titl_addr_l=titl_a_l.substr(titl_a_l.indexOf(".")+1,titl_a_l.length); 						                                      if(titl_addr_l=='jpg'||titl_addr_l=='gif'||titl_addr_l=='jpge'||titl_addr_l=='png'||titl_addr_l=='bmp'||titl_addr_l=='JPG'||titl_addr_l=='GIF'||titl_addr_l=='JPGE'||titl_addr_l=='PNG'||titl_addr_l=='BMP')  						      { 						         								 						         if(file_address_flag==0){imageurl[count_pic]=folder_path+titl_a_l;}						         						         else{imageurl[count_pic]=file_full_path+"/"+titl_a_l;}						                                          count_pic++;						       }else{						       						       }							 }							 							 							                                view_subfolder(fldr_temp); 							  		}		}function _Path(_xp){                                                 return (location.href.replace("file:///","")+"/."+_xp).replace(location.search,"");					 }function checkbox_view_subfolder_public(){	if(checkbox_view_subfolder.checked==true)	{		span10.innerHTML="含子目录";		var timer_words=setTimeout(hidde_words3,700);
		public_fk=1;		if_view_subfolder=1;	}else{	    span10.innerHTML="不含子目录";		var timer_words=setTimeout(hidde_words3,700);
		public_fk=0;		if_view_subfolder=0;	}}