// fonction de popup sans option
function popup(url){
	//window.open(url);
	window.location.href=url;
};

// fonction de popup avec options
function popupOptions(url, title, options){
	window.open(url, title, options);
};

// fonction d'affichage des elements du menu
function showElement(id){
	new Effect.toggle(id.next(),'blind', {duration:0.4});
};

// fonction d'affichage des boutons close de Lightview
function showHideCLight(type){
	/*if(type == 'show'){
		Lightview.options.closeDimensions.innertop.height 	= '8';
		Lightview.options.closeDimensions.innertop.width 	= '8';
	}
	if(type == 'hide'){
		Lightview.options.closeDimensions.innertop.height 	= '0';
		Lightview.options.closeDimensions.innertop.width 	= '0';
	}*/
};

//fonction d'affichage du pop LightView pour le contact
function showContact()
	{
	Lightview.show({
			href: 'infoContact.php',
			rel: 'ajax',
			title: 'Contact',
			options : {
				height: 170
			}
		});
	}