function showurlin(url, dest, options)
{
  if (dest == 'popup')
  {
    /*
    if(url.match(/\.asp/)) {
      if(url.match(/\?/))
        window.open(url + '&opener=' + window.location.href, '', options);
      else
        window.open(url + '?opener=' + window.location.href, '', options);
    }
    else
    */
      window.open(url, '', options);
  }
  else if (dest == 'original')
  {
    if (window.opener.location)
      window.opener.location.href = url;
  }
}
<!-- Start DI Tracking Code for HEAD section-->
var refr=escape(document.referrer); /* get the http referer and encode it */
var dom=location.hostname; /* get the host domain */
var stURL="http://au.decdna.net/n/4161/4162/www.finderskeepers.com.au/917e5f3300250200000000060000000000f15a520000000000000000000000000000000000/i/c?1064197693.640886&1pixgif&referer=" + refr;
if (refr && refr.search(dom) == -1) /* if the referrer is external preload the image request */
{
imageTR = new Image();
imageTR.src = stURL;
}
<!-- End DI Tracking Code -->
