title: working of vanity URL CQ5
body: <p>Can someone tell me the core .js involved in the working of Vanity URL in CQ5? i.e how does the vanity URL (sling:vanityPath) redirect to a page ?</p>
  
  <p>I need to imput in the CQ dialog a parameter along with the vanity URL so when a redirected page is loaded, the vanity parameter appends to the page!</p>