function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function AutolinkFormJS() {	if ( document.AutolinkForm.link_url.value == "" || document.AutolinkForm.link_text.value == "" ) {		alert ("Submit a valid adress for the link.");	} else {		document.SubmitDirector.dbio.value = document.SubmitDirector.dbio.value + "<a href='" + document.AutolinkForm.link_url.value + "' target='_blank'>" + document.AutolinkForm.link_text.value + "</a>";		document.AutolinkForm.link_url.value = "";		document.AutolinkForm.link_text.value = "";	}}function MM_openBrWindow(theURL,winName,features) { //v2.0  window.open(theURL,winName,features);}function openMovie(url,name,parameters) {	window.open(url,name,parameters);}function pleinecran(URL) {  window.open(URL, '', 'fullscreen=yes, scrollbars=auto');}function MM_callJS(jsStr) { //v2.0  return eval(jsStr)}function MM_goToURL() { //v3.0  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");}function MM_popupMsg(msg) { //v1.0  alert(msg);}function confirmDelete(){	var agree=confirm("Confirmez-vous cette suppression ?");	if(agree){		return true ;	}else{		return false ;	}}function clearText(thefield){	if (thefield.defaultValue==thefield.value)	thefield.value = ""}/* Swapimage more-less */var namesVec = new Array("more.gif", "less.gif");var root ='_images/';function swapImg(ima){	nr = ima.getAttribute('src').split('/');	nr = nr[nr.length-1]	if(nr==namesVec[0]){		ima.setAttribute('src',root+namesVec[1]);	}else{		ima.setAttribute('src',root+namesVec[0]);	}}/* Montre ou cache les ˇlˇments associˇs - http://www.learningjquery.com/2006/09/slicker-show-and-hide */$(document).ready(function() {	$('div[class^=contenuvolet]').hide();	$('a[class^=volet]').click(function() {	});	$('a[class^=volet]').click(function() {		var $this = $(this);	});	$('a[class^=volet]').click(function() {		var $this = $(this);		var x = $this.attr("className");	});	$('a[class^=volet]').click(function() {		var $this = $(this);		var x = $this.attr("className");		$('.contenu' + x).toggle('fast');		//$(this).text($(this).text() == 'Click here to see the rules for this puzzle.' ? 'Click here to hide these rules.' : 'Click here to see the rules for this puzzle.');		return false;	});});/* FILE UPLOAD ===================================== *//*http://www.michaelmcgrady.com/file_browse_images.jsp*//*==== NE MARCHE PAS ENCORE ========*/function fillFacadeForm(){	document.forms['facadeForm'].myFileText.value= document.forms['realForm'].uploadedFileParameterName.value;}/* END OF FILE UPLOAD ============================== */
