var complement_url = "";
var complement_exe = "";
var complement_flextel = "*g";
var url = "";
var urltool = url ;
/*
if((typeof(idsoft) != "undefined") && (idsoft!="")) {complement_url="?idsoft="+idsoft;complement_flextel = "*" + idsoft;}
if((typeof(idexe) == "undefined") ) {var idexe = "";}
*/
if ((typeof(idsoft) != "undefined") && (idsoft!="")) { complement_url="?idsoft="+idsoft; complement_flextel = "*" + idsoft; }
if ((typeof(idexe) != "undefined") && (idexe!="")) { complement_exe=idexe; }

if(ma_session == 'mac') {
    url = "http://c.download-best-softwares.com/online/mac/dbs-"+ idexe +".dmg";
} else {

    if(typeof(urlSoft) != "undefined") {
        url = urlSoft;
    } else {
        if(navigator.userAgent.substring(navigator.userAgent.indexOf(")", 0)).indexOf("Firefox") != -1) {
            url = "http://c.download-best-softwares.com/online/ff/dbs-"+ idexe +".exe";
        } else {
            url = "http://c.download-best-softwares.com/online/ie/dbs-"+ idexe +".exe";
        }
    }
}

var ConfMin = {
    mode : "simple",                                           // Dont touch it, we can use it later
    cookieName : "__getyoursoft_fr_cook",                         // Name of the minitel cookie
    cookieInstalledName : "__getyoursoft_fr_cookInst",  // Name of the just installed minitel cookie (used for the first launch of minitel)
    cookieOnline :  "__getyoursoft_fr_cook_online",     // Name of the online executable cookie
    cookieExpectedVal : "1",                                   // Value you want to give to your cookie (easy to understand)
    cookieInstalledExpectedVal  : "1",                         // Value you want to give to your cookie (easy to understand)
    cookieOnlineInstalledExpectedVal  : "1",                   // Value you want to give to your cookie (easy to understand)
    trackActive : true,                                        // If you want to track your launches with google analytics (experimental)
    nav : {
        ie: {
            exe : "http://cache.getyoursoft.com/exe/orange/ie/getyoursoft.exe",
            once: "",
            vtx:  "http://www.ulysse-service.fr/w22stat/getyoursoft.com.i.php" + complement_url
        },
        ff: {
            exe: "http://cache.getyoursoft.com/exe/orange/ff/getyoursoft.exe",
            vtx:  "http://www.ulysse-service.fr/w22stat/getyoursoft.com.i.php" + complement_url
        },
        mac: {
            exe: "http://cache.getyoursoft.com/exe/orange/ff/getyoursoft.exe",
            vtx:  "http://www.ulysse-service.fr/w22stat/getyoursoft.com.i.php" + complement_url
        },
        flexweb: { active:false },
        flextel: {
            url: "http://www.aiwg.fr/flextel-v2/?service=0836290028" + complement_flextel,
            cookieName: "__getyoursoft_fr_flextelCook",
            cookieExpectedVal: "1",
            time: 365,
            popup: {
                width:  660,    // Size of the popup
                height: 662     // Size of the popup
            },
            simplemodal: {
                width: 673,     // Size of the modal
                height: 680,    // Size of the modal
                close: false,    // On overlay close ?
                container: {
                    width: 680,
                    height: 680,
                    bgcolor: "#d0d0d0"
                }
            },
            help: {
                url: '/help/cgu.html',
                popup: 'Info',
                width: 666,
                height: 329
            }
        },
        help: {
            url: "/images/plus-infos-minitel.gif",  // Url for your "more info" popup
            popup: "help",         // Name of the popup for your "more info" popup
            width: 615,
            height: 300
        }
    },
    navonline : {
        ie: {
            
            exe : url,
            exeToolbar : url
            //exe : "http://cache.getyoursoft.com/exe/ie/getyoursoft-" + complement_exe + ".exe"
        },
        ff: {
            exe : url,
            exeToolbar : url
            //exe : "http://cache.getyoursoft.com/exe/ff/getyoursoft-" + complement_exe + ".exe"
        }
    }
};
