'parse anchor: Resolves the relative URL
Required argument: Main URL
Keyword argument relative_to: Relative URL
Keyword argument _attributes: AppleEvent attribute dictionary
Returns: Parsed  URL'

def parse_anchor(self, _object, _attributes={}, **_arguments):

    _code = 'WWW!'
    _subcode = 'PRSA'
    aetools.keysubst(_arguments, self._argmap_parse_anchor)
    _arguments['----'] = _object
    (_reply, _arguments, _attributes) = self.send(_code, _subcode, _arguments, _attributes)
    if _arguments.get('errn', 0):
        raise aetools.Error, aetools.decodeerror(_arguments)
    if _arguments.has_key('----'):
        return _arguments['----']
