function outdatedBrowser() {
  $('body').prepend(
  $('<div />').attr('id', 'outdated_browser')
    .append($('<div />').attr('id', 'boxe_1')
      .append($('<a />').attr('href', '#').click(function(){$(this).parents('#outdated_browser').remove(); return false;})
        .append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-cornerx.jpg').attr('alt', 'Fermer'))
    )).append($('<div />').attr('id', 'boxe_2')
      .append($('<div />').attr('id', 'boxe_3').append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-warning.jpg').attr('alt', 'Attention !')))
      .append($('<div />').attr('id', 'boxe_4')
        .append($('<div />').attr('id', 'boxe_5').html('Vous utilisez un navigateur dépassé!'))
        .append($('<div />').attr('id', 'boxe_6').html('Pour une meilleure expérience web, prenez le temps de mettre votre navigateur à jour.'))
      ).append($('<div />').attr('id', 'boxe_7').append($('<a />').attr('href', 'http://fr.www.mozilla.com/fr/').attr('target', '_blank').append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-firefox.jpg').attr('alt', 'Firefox 3.5'))))
      .append($('<div />').attr('id', 'boxe_7').append($('<a />').attr('href', 'http://www.microsoft.com/downloads/details.aspx?FamilyID=341c2ad5-8c3d-4347-8c03-08cdecd8852b&DisplayLang=fr').attr('target', '_blank').append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-ie8.jpg').attr('alt', 'Internet Explorer 8'))))
      .append($('<div />').attr('id', 'boxe_8').append($('<a />').attr('href', 'http://www.apple.com/fr/safari/download/').attr('target', '_blank').append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-safari.jpg').attr('alt', 'Safari 4'))))
      .append($('<div />').attr('id', 'boxe_9').append($('<a />').attr('href', 'http://www.google.com/chrome?hl=fr').attr('target', '_blank').append($('<img />').attr('src', 'http://www.ie6nomore.com/files/theme/ie6nomore-chrome.jpg').attr('alt', 'Google Chrome'))))
    ));
}

function showVideo(source) {
	$.modal("<div id=\"galerie_flashvideo\">La vid&eacute;o ne peut pas &ecirc;tre lue, car vous ne disposez pas d'une version de Flash suffisamment r&eacute;cente.Veuiller t&eacute;l&eacute;charger <a href=\"http://www.macromedia.com/go/getflashplayer\">le player Flash</a>.</div>");
	var s1 = new SWFObject("/swf/player.swf","ply","600","355","9","#FFFFFF");
	s1.addParam("allowfullscreen","true");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("flashvars","file="+source);
	s1.write("galerie_flashvideo");

	//var so = new SWFObject('/uploads/photo/5349c51b2373d8a2f752b71d908fcdea.swf', 'mpl', '212', '157', '9');
	//so.write('galerie_flashvideo');
}

function showVideo1(source) {
	$.modal("<div id=\"galerie_flashvideo\">La vid&eacute;o ne peut pas &ecirc;tre lue, car vous ne disposez pas d'une version de Flash suffisamment r&eacute;cente.Veuiller t&eacute;l&eacute;charger <a href=\"http://www.macromedia.com/go/getflashplayer\">le player Flash</a>.</div>", {containerId:'simplemodal-container1' });
	var s1 = new SWFObject("/swf/player.swf","ply","720","576","9","#FFFFFF");
	s1.addParam("allowfullscreen","true");
	s1.addParam("allowscriptaccess","always");
	s1.addParam("flashvars","file="+source);
	s1.write("galerie_flashvideo");

	//var so = new SWFObject('/uploads/photo/5349c51b2373d8a2f752b71d908fcdea.swf', 'mpl', '212', '157', '9');
	//so.write('galerie_flashvideo');
}
