function showurlin(url, dest, options)
{
  if (dest == 'popup')
  {
    window.open(url, '', options);
  }
  else if (dest == 'original')
  {
    if (window.opener.location)
      window.opener.location.href = url;
  }
}
