var galleryArray = [];
var resetzeBox = function(){galleryArray = []};
var add2box = function(myFlowItem){galleryArray.push(myFlowItem);};
var openzeBox = function(id){Shadowbox.open(galleryArray, ShadowboxOptions, id);};

var ShadowboxOptions = {
       // continuous		: true,
		//counterType		: 'skip',
		//animate			: true,
		//handleOversize	: 'drag',
		//slideshowDelay	: 0,
		animSequence	: 'sync' 
}


function test(url , titre , widthx , heighty) {
	Shadowbox.init();
	Shadowbox.open({
		player: 'iframe', 
		title:  titre,
		content:url,
		width:  widthx,
		height: heighty
	});
}


function popnews() {
	Shadowbox.init();
	Shadowbox.open({
		player: 'iframe', 
		title:  '',
		content:'http://www.gifi.fr/newsletterd.php',
		width:  775,
		height: 472
	});
}
