﻿/* Lindegren, HiQ
Function that redirects to a new page
based on an HTML selection

The selection is generated by /tmpl/Units/DropDownLinks.ascx.cs
*/

function ddlRedirect(url) 
{
  if ( url == "0" )
  {
    return;
    ///////
  }

  if ( url.substring(0,2) == "bl" )
  {
    window.open( url.substring(2), '_blank' );
  }
  else
  {
    window.open( url, '_parent' );
  }
}
