def link_to_trust_request(text, trust_url = "http://#{request.host}/", *args)
      trust_url = url_for(trust_url.merge(:only_path => false)) if trust_url.kind_of?(Hash)
      link_to_function text, "CCPEVE.requestTrust(#{trust_url.inspect})", *args
    end
def link_to_trust_request(text, trust_url = "http://#{request.host}/", *args)
      trust_url = url_for(trust_url.merge(:only_path => false)) if trust_url.kind_of?(Hash)
      link_to_function text, "CCPEVE.requestTrust(#{trust_url.inspect})", *args
    end
Produces a hyperlink that will result in a pop-up a trust prompt in the client, allowing the user to either
 grant the trust request, ignore it, or always ignore trust requests from your site.

  trust_url (String)
    This is a fully-qualified domain name and path (e.g. http://wiki.eveonline.com/w/) to which your site would
    like the user to grant trust.

 The page will not be automatically refreshed if the user grants the trust request. Trust will take effect the
 next time the user refreshes the page, or navigates within the site.

 Note that trust_url is processed and only the protocol, domain and path will be used from it. If you supply a
 query string or anchor, they will be discarded. It is recommended that you primarily pass in only
 fully-qualified domain names without paths (e.g. http://wiki.eveonline.com instead of
 http://wiki.eveonline.com/w/index.php), as this avoids pestering the user for trust on every page.