﻿if (hasFlash()) 
{
    if ((window.location.href.toLowerCase().indexOf(".aspx") == -1) && (window.location.href.toLowerCase().indexOf("admin") == -1) && (window.location.href.toLowerCase().indexOf("login") == -1)) {
        /*if (window.location.href.indexOf("#") == -1)
            window.location.href = currentFlashPath;*/
    }        
}
