title: Check if a anchor exists in the url Prototype JavaScript
body: <p>A bit of a basic question but how may I check if a anchor is in the url when I load the page?</p>
  
  <p>For example www.mysite.com/mypage#show</p>
  
  <p>And then in the JavaScript I can go if #show exists do this</p>
  
  <p>Thanks.</p>