code: public String getSkinRootDir(String path, Set<String> skinRootDirs) {
  		String skinRootDir = null;
  		for (String skinDir : skinRootDirs) {
  			if (path.startsWith(skinDir)) {
  				skinRootDir = skinDir;
  			}
  		}
  		return skinRootDir;
  	}
docs: Returns the skin root dir of the path given in parameter
  
  @param path
  the resource path
  @param skinRootDirs
  the set of skin root directories
  @return the skin root dir