﻿//--------------------------------------------------------------------------------------------------
// The browsercompatible.js script is originally from http://goodbyeie6.org.ua.
// However the English grammer was not very good so I've downloaded it and setup this file to
// to customise the default settings so they don't have to be done in every individual web project.
// You should therefore include both of these files in the source code.
// The list of compatible browsers are ones that give acceptable CSS2 support.
//--------------------------------------------------------------------------------------------------


BrowserCompatible.compatibleBrowsers = 
{
    "Opera": 9.25, //Could be lowered to version 9, but Opera users are generally up to date anyway.
    "Firefox": 2, //Firefox is generally regarded as a good release for standards support.
    "IExplorer": 7, //Filter out IE6 and below!
    "Safari": 416.11, //Safari passed ACID2 (in Oct 2005) so this version should be safe http://en.wikipedia.org/wiki/Safari_%28web_browser%29#Version_history
    "Flock": 1.1 //Based off Firefox 2 codebase
};

//BrowserCompatiblebrowsersList = {
//"Opera": {.....},
//"Firefox": {.....},
//"IExplorer": {
//     "image": "http://www.goodbyeie6.org.ua/iexplorer.gif",
//     "link": "http://www.microsoft.com/Ukraine/windows/products/winfamily/ie/default.mspx"
//},
//"Safari": {.....},
//"Flock": {.....}
//}

BrowserCompatible.browsersList["IExplorer"].link = "http://www.microsoft.com/windows/internet-explorer/download-ie.aspx"

BrowserCompatible.lang=""; 

// I've set the english phrases but we'll have to rely on their translated foreign languages!
BrowserCompatible.langTranslations["en"] = 
{
    "title": "Obsolete browser",
    "description": "Your browser is obsolete, which means it does not contain all of the necessary functions for the correct working of many current web sites. Modern web sites are created to be convenient and effective for you and, together with improvement of web sites themselves, browsers continue to improve. In addition, older browsers have many security glitches which can be maliciously abused to steal personal and financial information; therefore by upgrading your web browser you not only benefit from an enhanced web experience, but ensure that your private data is better protected.",
    "recomendation": "We recommend using the latest version of one of the following browsers. All are free, quick to install and won't cost you anything.",
    "cancel": "Close this warning",
    "dontShowAgain": "Don't show this warning again",
    "Firefox": "Firefox is considered by many to be the most advanced web browser available today it has an ability to adapt to individual usage through a large range of plug-ins and other popular features such as tabbed browsing that offers useful management of the browsing experience.",
    "Flock": "Flock is a web browser that is optimised for blogs, news aggregation, and social networking sites. It is built on Mozilla’s Firefox codebase and has many of the same benefits.",
    "IExplorer": "Internet Explorer has been the default web browser for Windows users for many years.",
    "Safari": "Safari is a web browser developed by Apple Inc. and included in Mac OS X and is also available for Windows.",
    "Opera": "Opera is a web browser and Internet suite developed by the Opera Software company. Opera handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, IRC online chatting, downloading files via BitTorrent, and reading web feeds."
};

