if (String(window.location).substring(0, 39) == 'http://bloodhoundsystem.com/bloodhound/')
    document.writeln('<script type="text/javascript" src="http://bloodhoundsystem.com/BloodhoundService/Auth.ashx?proxy"></script>');
else if (String(window.location).substring(0, 40) == 'https://bloodhoundsystem.com/bloodhound/')
    document.writeln('<script type="text/javascript" src="https://bloodhoundsystem.com/BloodhoundService/Auth.ashx?proxy"></script>');
else if (String(window.location).substring(0, 42) == 'http://bloodhoundsystem.com/bloodhounddev/')
    document.writeln('<script type="text/javascript" src="http://bloodhoundsystem.com/BloodhoundServiceDev/Auth.ashx?proxy"></script>');
else if (String(window.location).substring(0, 43) == 'https://bloodhoundsystem.com/bloodhounddev/')
    document.writeln('<script type="text/javascript" src="https://bloodhoundsystem.com/BloodhoundServiceDev/Auth.ashx?proxy"></script>');
else
 document.writeln('<script type="text/javascript" src="http://localhost/BloodhoundService/Auth.ashx?proxy"></script>');