// Aller a l'url a partir d'un object, bouton ... présent pour le payement //

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

// Ouvre fenetre popup au centre , pour la fenetre de téléchargement //
function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

// Blocage du bouton gauche de la sourie //
function right(e) {
var msg = " © Copyright 2010  -  Archidirect.com ";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);  // Delete this line to disable but not alert user
return false;}
else
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg); // Delete this line to disable but not alert user
return false;}
return true;}
document.onmousedown = right;
