<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Template</title>

        <!--Scripts-->
        <script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script>
        <script type="text/javascript">
            if (parent && parent.loaded)
                parent.loaded();

            $(document).ready(function(){
                var lang = (window.sankore)?sankore.locale().substr(0,2):"en"; //local language

                $.ajax({
                    type: 'POST',
                    url: 'locales/' + lang + '/index.html',
                    statusCode: {
                        404: function() {
                            window.location.href = 'locales/en/index.html';
                        },
                        200: function(){
                            window.location.href = 'locales/' + lang + '/index.html';
                        }
                    }
                });      
            });
        </script>
    </head>
    <body>
        
    </body>
</html>