<!-- To change this template, choose Tools | Templates and open the template in the editor. --> <!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="css/basic.css"/> <script type="text/javascript" src="scripts/jquery-1.6.2.min.js"></script> <script src="scripts/jquery.disable.text.select.js" type="text/javascript"></script> <script type="text/javascript" src="scripts/blackYellow.js"></script> <script type="text/javascript"> $(document).ready(function(){ var lang = ""; //locale language if(window.sankore){ lang = sankore.locale().substr(0,2); } else lang = "en"; if(lang == "en") init(); else{ returnStatus(lang); } function returnStatus(lang){ $.ajax({ type: 'POST', url:'locales/' + lang + '/index.html', statusCode: { 404: function() { init(); }, 200: function(){ window.location.href = 'locales/' + lang + '/index.html'; } } }); } }); </script> </head> <body> </body> </html>