/*********** func_flash #tx-decstdcontent-flash-108 **********************/

			jQuery("#tx-decstdcontent-flash-108").css("visibility", "hidden");
		

/*********** func_flash #navigation **********************/

			jQuery("#navigation").css("visibility", "hidden");
		

/*********** func_tx_declinks_keypress-events **********************/
		function tx_declinks_checkKeyPressed(evt){
			evt = (evt) ? evt : (window.event ? event : null);
			if (evt) {
				var charCode = (evt.charCode) ? evt.charCode : ((evt.keyCode) ? evt.keyCode :((evt.which) ? evt.which : 0));
				if (charCode == 13) return true;
			}
			
			return false;
		}

/*********** func_defaultJS **********************/
	var browserName = navigator.appName;
	var browserVer = parseInt(navigator.appVersion);
	var version = "";
	var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
	if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";}
	// Blurring links:
	function blurLink(theObject)    {       //
		if (msie4)      {theObject.blur();}
	}

/*********** func_JSImgCode **********************/
if (version == "n3") {img21_0_n=new Image(); img21_0_n.src = "typo3temp/menu/LASOCIETELAURIELUMIERE_da6e470e10.gif"; 
img21_0_h=new Image(); img21_0_h.src = "typo3temp/menu/LASOCIETELAURIELUMIERE_6744c55bf8.gif"; 
img80_1_n=new Image(); img80_1_n.src = "typo3temp/menu/RECOMMANDERAUNEAMIE_a82f4d23c9.gif"; 
img80_1_h=new Image(); img80_1_h.src = "typo3temp/menu/RECOMMANDERAUNEAMIE_e679817b97.gif"; 
img20_2_n=new Image(); img20_2_n.src = "typo3temp/menu/REJOIGNEZ-NOUS_0e50d9e5c1.gif"; 
img20_2_h=new Image(); img20_2_h.src = "typo3temp/menu/REJOIGNEZ-NOUS_94f9e92b67.gif"; 
img19_3_n=new Image(); img19_3_n.src = "typo3temp/menu/NEWSLETTER_3f2a56c1d5.gif"; 
img19_3_h=new Image(); img19_3_h.src = "typo3temp/menu/NEWSLETTER_bcf4f38853.gif"; 
img18_4_n=new Image(); img18_4_n.src = "typo3temp/menu/PLANDUSITE_bf7ca27e47.gif"; 
img18_4_h=new Image(); img18_4_h.src = "typo3temp/menu/PLANDUSITE_d356d7c37d.gif"; 
img17_5_n=new Image(); img17_5_n.src = "typo3temp/menu/MENTIONSLEGALES_8749675f98.gif"; 
img17_5_h=new Image(); img17_5_h.src = "typo3temp/menu/MENTIONSLEGALES_6d3eb93a61.gif"; 
img16_6_n=new Image(); img16_6_n.src = "typo3temp/menu/CREDITSDECEMBER_02a8a8a572.gif"; 
img16_6_h=new Image(); img16_6_h.src = "typo3temp/menu/CREDITSDECEMBER_206824e455.gif";}

/*********** func_mouseOver **********************/
		// JS function for mouse-over
	function over(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_h.src");}
	}
		// JS function for mouse-out
	function out(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_n.src");}
	}



jQuery(document).ready(function () {
/*********** flash #tx-decstdcontent-flash-108 **********************/

		jQuery(document).ready(function () {
			if(jQuery("#tx-decstdcontent-flash-108").attr("id") == undefined) jQuery("#tx-decstdcontent-flash-108").attr("id", "flash-replace-108");
			jQuery("#tx-decstdcontent-flash-108").flash(
				{
					src: "uploads/media/slideshow_01.swf",
					width: 743,
					height: 455,
					allowFullScreen:true,
					quality: "high",
					wmode:"transparent",
					flashvars: eval('({"xmlData":"?type=556"})')
				},
				{
					version: 9,
					update: false
				}
			).css("visibility", "visible");
		});

/*********** flash #navigation **********************/

		jQuery(document).ready(function () {
			if(jQuery("#navigation").attr("id") == undefined) jQuery("#navigation").attr("id", "flash-replace-");
			jQuery("#navigation").flash(
				{
					src: "fileadmin/templates/flash/menu.swf",
					width: 235,
					height: 300,
					allowFullScreen:true,
					quality: "high",
					wmode:"transparent",
					flashvars: eval('({"xmlMenu":"menu.xml","currentPage":"1"})')
				},
				{
					version: 8,
					update: false
				}
			).css("visibility", "visible");
		});

/*********** tx_decstdcontent_hideFileTypeDescrByDefault **********************/
//this file is inserted in global js file via lib.stdcontent_headerData.51
jQuery(".dsc-file-type-description").hide();
jQuery(".dsc-file-type-description-header").after('<p class="dsc-file-type-description-header"><a href="#" class="dsc-file-type-description-header-link">' + jQuery(".dsc-file-type-description-header").text() + "</a></p>").remove();
jQuery(".dsc-file-type-description-header-link").click(function(){ jQuery(this).parents(".dsc-uploads-file").find(".dsc-file-type-description").toggle(); return false;});


});
