title: Getting an absolute URL from a relative one. (IE6 issue)
body: <p>I'm currently using the following function to 'convert' a relative URL to an absolute one:</p>
  
  <pre><code>function qualifyURL(url) {
      var a = document.createElement('a');
      a.href = url;
      return a.href;
  }
  </code></pre>
  
  <p>This works quite well in most browsers but IE6 insists on returning the relative URL still! It does the same if I use getAttribute('href'). </p>
  
  <p>The only way I've been able to get a qualified URL out of IE6 is to create an img element and query it's 'src' attribute - the problem with this is that it generates a server request; something I want to avoid.</p>
  
  <p>So my question is: Is there any way to get a fully qualified URL in IE6 from a relative one (without a server request)?</p>
  
  <hr>
  
  <p>Before you recommend a quick regex/string fix I assure you it's not that simple. Base elements + double period relative urls + a tonne of other potential variables really make it hell! </p>
  
  <p>There must be a way to do it without having to create a mammoth of a regex'y solution??</p>