// JScript source code
// ***********************************************************************************
// Class Name: redirect.js
// Desc      : This javascript redirects user to the proper url.
// Author    : Peter Puth
// Date      : 04/21/2009
// ***********************************************************************************
// ISSR         Date    Staff   Desc
// ***********************************************************************************
// IS099150 04/21/2009  PPP     Created
// ***********************************************************************************

//Redirect user to non-secure protocol for non-secure page.
function fNonSecure() 
{
    
    if (document.location.protocol != "http:")
    { 
        document.location.href = "http://www.bloodsource.org" + location.pathname;
    }
}  
