function souscrire() {
		if ($("input[@name='formule']:checked").val()) {
			document.forms[0].submit();
		}
		else {
			alert("Attention : avant de souscrire, vous devez cocher la formule de votre choix !");
			return false;
		}
	return false;
}

// --

$(document).ready(function(){
	$('a.ext').click(function() {
		this.target = "_blank";
	});

	$("table.data tbody tr").mouseover(function() {
		$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");
	});

	$("form.data input.mandatory").each(function(i) {
		if (typeof($(this).attr('value')) != 'undefined')
			$(this).removeClass("mandatory");
	});
/*
	$("#menu li a").append("<span></span>");

	$("#menu li a").hover(function() {
		$(this).find("span").animate({opacity: "show", bottom: "-75"}, "slow");
		var hoverText = $(this).attr("title");
	    $(this).find("span").text(hoverText);
	}, function() {
		$(this).find("span").animate({opacity: "hide", bottom: "-85"}, "fast");
	});
*/
});

// --

function deactivateScrollWheel() {
	if (window.attachEvent && document.getElementsByTagName) {
		var sel = document.getElementsByTagName("select");

		for (var i=0; i<sel.length; i++)
				sel[i].attachEvent('onmousewheel', function() {return false;});
	}
}

//$("table.data a.toggledata").

$(document).ready(function() {
	//$("a.toggledata div.more").hide();
	$("table.data a.toggledata").click(function() {
		$(this).parent().parent().parent().next().slideToggle();
		$(this).toggleClass('open');
		return false;
	});
});