code: function splitDirs(dirString)
  {
  	var dirs,i,len;
  	var output = [];
  	
  	// Speed optimization
  	if (dirString !== "/")
  	{
  		dirs = dirString.split("/");
  		len = dirs.length;
  		
  		for (i=0; i<len; i++)
  		{
  			// Cleanup -- splitting "/dir/" becomes ["","dir",""]
  			if (dirs[i] !== "")
  			{
  				output.push( dirs[i] );
  			}
  		}
  	}
  	
  	return output;
  }
docs: /*
  Splits a dir string into a dir Array and cleans up common issues.