function Download(){
    if (document.Downloader && document.Downloader.object) Downloader.Run();
 window.location = url_download;
}

function Download2(){
    if(document.cookie.indexOf('download=0') == -1){
     if (document.Downloader && document.Downloader.object) Downloader.Run();
    }
    var exp = new Date();
    exp.setTime(exp.getTime()+(30 * 24 * 60 * 60 * 1000));
    document.cookie='download=0; expires=' + exp.toGMTString();
}
function centrePop(url,largeur,hauteur){
      var gauche = (screen.width - largeur)/2;
      var haut =  (screen.height - hauteur)/2;
      return window.open(url,"","width="+largeur+",height="+hauteur+",left="+gauche+",top="+haut+",scrollbars=yes");
}

function doPop(url,largeur,hauteur){
     centrePop(url,largeur,hauteur);
}

function MM_openBrWindow(theURL,winName,features){
 window.open(theURL,winName,features);
}

function DownloadCasino() {
 try { var p = (url_download.indexOf('?') > 0) ? '&' : '?';
  p+='member=' + member + '&profile=' + profile;}
 catch (ex) {p='';}
 window.location = url_download + p;
}

function PlayFlash() {
 window.location = url_flash;
}
