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

var y=0
function popup_ref(y)
{
newWin = window.open(y,'','resizable=1,scrollbars=1,toolbar=1,location=1,height=590,width=950,top=10,left=10');
}

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

var a=0;
function popup_photo(a)
{
var poppho = window.open(a,'photo','resizable=1,scrollbars=1,toolbar=0,location=0,height=450,width=400,top=10,left=10');
poppho.focus();
}

function valider_acces_cpt() 
{
	document.cnx.valider_cnx.value='Validation';
	document.cnx.submit();
}

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 = "Le Domaine De Bacquie - LOCATION MAISON GUADELOUPE";
   var url   = "http://www.domaine-de-bacquie.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.");
   }
}

