function carte()
{
	window.open('/images/site/carte.jpg', 'carte', 'toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, copyhistory=no, width=900, height=668');
}

function offres_contactez_nous(offre)
{
	window.open('/offres-contactez-nous.php?offre='+offre, 'offre_'+offre, 'toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, copyhistory=no, width=650, height=376');
}

function zoom(photo)
{
	window.open('/zoom.php?photo='+photo, 'photo_'+photo, 'toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, copyhistory=no, width=1024, height=768');
}

/*

function popup()
{
	var element = document.getElementById('popup');
	element.style.opacity = .8
	element.style.filter = 'alpha(opacity=80)'
	element.style.display = 'block';
	if (!(my_div = document.getElementById('opaque')))
	{
		my_div = document.createElement('DIV');
		my_div.id = 'opaque';
		document.body.appendChild(my_div);
	}
	my_div.style.cssText = 'position:absolute;z-index:99;top:0px;left:0px;filter:alpha(opacity:60);display:;background:white';
	my_div.style.opacity = .6;
	my_div.style.height = document.body.scrollHeight + "px";
	my_div.style.width = document.body.scrollWidth + "px";
	var element = document.getElementById('popup');
	element.style.filter = 'alpha(opacity:100)';
	element.style.opacity = 1;
	element.style.top = (((document.body.clientHeight-130) / 2) + document.body.scrollTop) + 'px';
}

*/

function popup_continuer()
{
	//document.getElementById('opaque').style.display = 'none';
	document.getElementById('top_banner').style.display = 'none';
	popup_afficher = false;
}

function setTopBanner(popup_afficher)
{
	if (popup_afficher)
	{
		var topBanner = document.getElementById('top_banner');
				
		if ((document.all) && (navigator.appVersion.indexOf("Mac",0)<0))
		{
			topBanner.style.position = 'absolute';
			topBanner.style.top = (document.documentElement.scrollTop) + 'px';
			topBanner.style.left = 0 + 'px';
		}
		else
		{
			topBanner.style.position = 'fixed';
			topBanner.style.top = 0 + 'px';
		}	
		topBanner.style.display = 'block';
	}
}
