code: static function FindElement(&$TxtOrObj, $Tag, $PosBeg, $Forward=true) {
  
  		$XmlLoc = clsTbsXmlLoc::FindStartTag($TxtOrObj, $Tag, $PosBeg, $Forward);
  		if ($XmlLoc===false) return false;
  
  		$XmlLoc->FindEndTag();
  		return $XmlLoc;
  
  	}
docs: Search an element in the TXT contents, and return an object if it is found.