Home";		// Anfang der Ausgabe
	var $separator		= " > "; 								// Trennzeichen des Pfades
	var $showFile		= true;									// Anzeige des Dateinamens
	var $css			= "";									// CSS-Angabe fuer die Links
	var $map			= array ();								// Mapping der Verzeichnis/Dateinamen
	// Ab hier nichts mehr aendern
	// ---------------------------
	var $location 		= "";						// Speicher der Ausgabe
	var $path			= "";						// Array mit dem Pfad
	var $filename		= "";						// Dateiname
	
	/*******************************************************************
	* Konstruktor														
	* Erledigt einige Initialisierungen									
	*																	
	* Return: 															
	*******************************************************************/
	function licoLocation($completeUrl)
	{
		$this->path = explode("/", $completeUrl);
		// Compatibility fuer PHP3 (ab Version 1.1)
		$this->filename = $this->path[count($this->path) - 1];
		unset($this->path[count($this->path)- 1]);
		
		$countedElements = count($this->path);
		for ($i = 0; $i < $countedElements; $i++)
		{
		$path[] = $this->path[$i];
	
		}
		$this->path = $path;
		
	}
	/*******************************************************************
	* Diese Methode liefert den Pfad als Text; die einzelnen			
	* Bestandteile des Pfades (Verzeichnisse/Dateien) sind verlinkt.	
	*																	
	* Return: Pfad (HTML-Code)											
	*******************************************************************/
	function getLocationAsLinks()
	{
		
		// Vorarbeiten
		reset($this->path);
		$this->location = "css.">".$this->site."";
		
		// Fuer jeden Bestandteil des Pfades wird geprueft, ob ein Mapping
		// erforderlich ist. Der korrekte Wert wird dem Ausgabe-Pfad hinzugefuegt.
		// Zusaetzlich wird mit dem Original-Pfad verlinkt.
		while (list($key, $value) = each($this->path))
		{ 
            $link .= "/".$value;         
		
			if (!empty($this -> location))
			{
				$this->location .= $this->separator;
			}
			
			//Compatibility fuer PHP3 (ab Version 1.1)
			$mapKeyFound = false;
			while (list($mapKey, $mapValue) = each($this->map))
			{
				if ($mapKey == $value)
				{
					$mapKeyFound = true;
				}
			}
			
			if ($mapKeyFound)
			{
				$this->location .= "css.">".$this->map[$value].""; 
			}
			else
			{
            $this->location .= "css.">".$value.""; 
			}
		}
		
		// Das File soll angezeigt werden. Endung wird abgetrennt, File verlinkt und dem Ausgabe-Pfad hinzugefuegt
		if ($this->showFile)
		{
			$this->location .= $this->separator."filename."\" ".$this->css.">".substr($this->filename, 0, strrpos($this->filename, ".")).""; 
		}
	return $this->location;
	}
	/*******************************************************************
	* Diese Methode liefert den Pfad als Text							
	*																	
	* Return: Pfad (evtl. mit HTML-Code)								
	*******************************************************************/
	function getLocationAsText()
	{
		// Vorarbeiten
		reset($this->path);
		$this->location = $this->site;
		
		// Fuer jeden Bestandteil des Pfades wird geprueft, ob ein Mapping
		// erforderlich ist. Der korrekte Wert wird dem Ausgabe-Pfad hinzugefuegt.
		while (list($key, $value) = each($this->path))
		{ 
			
			if (!empty($this -> location))
			{
				$this->location .= $this->separator;
			}
			
			//Compatibility fuer PHP3 (ab Version 1.1)
			$mapKeyFound = false;
			while (list($mapKey, $mapValue) = each($this->map))
			{
				if ($mapKey == $value)
				{
					$mapKeyFound = true;
				}
			}
			
			if ($mapKeyFound)
			{
				$this->location .= $this->map[$value]; 
			}
			else
			{
				$this->location .= $value; 
			}
		}
		
		// Das File soll angezeigt werden. Endung wird abgetrennt und dem Ausgabe-Pfad hinzugefuegt
		if ($this->showFile)
		{
			$this->location .= $this->separator.substr($this->filename, 0, strrpos($this->filename, "."));
		}
		return $this->location;
	}
}
?>