public final static ArrayList <String> search_buildcache(String dir,int depth,ArrayList <String> v)
{
	Thread.yield();
	if(v==null) v=new ArrayList <String>(100);
	if(depth<0) return v;
	File f,d;
	f=new File(dir);
	String filez[]=f.list();
	if(filez==null) return v;
	if(filez.length==0) return v;
	int rl=mgr.cache_dir.length();
	String bURL;
	for(int z=filez.length-1;z>=0;z--)
	{
		d=new File(f,filez[z]);
		if(!d.isDirectory()) continue;
		bURL=dir+File.separatorChar+filez[z];
		v.add(bURL.substring(rl));
		search_buildcache(bURL,depth-1,v);
    }
    return v;
}