returnbase_url+'&query=portal_type:"Instance Tree" AND title:"%s"'%context.getTitle()+connection_url
else:
else:
returnbase_url+'&query=portal_type:"Software Instance" AND title:"%s" AND '%context.getTitle()+'specialise_title:"%s"'%instance_tree_title+connection_url