function popup_themalis()
{
newWin = window.open('http://www.themalis.fr','','resizable=1,scrollbars=1,toolbar=1,location=1,height=630,width=810,top=10,left=10');
}

var a=0;
var x=0;
var y=0;
function popup_image(a,x,y)
{
newWin = window.open('zoom.php?img='+a,'','resizable=1,scrollbars=1,toolbar=0,location=0,height='+y+',width='+x+',top=10,left=10');
}

var z=0;
function popup_fixe(z)
{
newWin = window.open(z,'','resizable=0,scrollbars=1,toolbar=0,location=0,height=500,width=500,top=10,left=10');
}

function favoris()
{
window.external.Addfavorite('http://www.auberge-le-reau.com','AUBERGE-LE-REAU : Auberge Restaurant Location de salle');
}


function Is() {
   var agent = navigator.userAgent.toLowerCase();
   this.major = parseInt(navigator.appVersion);
   this.minor = parseFloat(navigator.appVersion);
   this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
   this.ns4 = (this.ns && (this.major >= 4));
   this.ns6 = (this.ns && (this.major >= 5));
   this.ie = (agent.indexOf("msie") != -1);
   this.ie4 = (this.ie && (this.major >= 4));
   this.ie5  = (this.ie && (agent.indexOf("msie 5")!=-1));
   this.op3 = (agent.indexOf("opera") != -1);
   this.win = (agent.indexOf("win")!=-1);
   this.mac = (agent.indexOf("mac")!=-1);
   this.unix = (agent.indexOf("x11")!=-1);
}

var is = new Is();
function addBookmark() {
   var titre = "ART STONES DECO - MOULAGE D'ART MOULEUR RESINE SCULPTURE";
   var url   = "http://www.art-stones-deco.com/";
   if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
      window.sidebar.addPanel(titre, url, "");
   } else if (is.ie) {
      window.external.AddFavorite(url, titre);
   } else {
      alert("Pour ajouter 'titre' à  vos favoris, utilisez <CTRL>+D.");
   }
}

