jQuery.noConflict();
jQuery(document).ready(function () {  
	jQuery("#loading").fadeOut("slow");
    jQuery("#wrap").fadeIn("slow");

});

function noclic(clic) {
	var mess="Droits de reproduction et de diffusion réservés\n© 2006 Press-CMS"; 
	if ((navigator.appName == 'Netscape' && clic.which==3) || (navigator.appName == 'Microsoft Internet Explorer' && event.button==2)) {
		alert(mess);
	}
}
function getconfirm() {
	if(confirm("Confirmez-vous l'effacement ?")) {
		return true;
	} else {
		return false;
	}
}
function popup_alert(msg) 
{
 alert(msg);
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function JumpMenu(targ,selObj,restore, url1, url2){ //v3.0
  eval(targ+".location='"+url1+selObj.options[selObj.selectedIndex].value+"'"+url2);
  if (restore) selObj.selectedIndex=0;
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function Compteur_Texte(nTexte, nCompteur, nLimite) 
{
if (nTexte.value.length > nLimite) { nTexte.value = nTexte.value.substring(0, nLimite); alert('Vous ne pouvez insérer que '+nLimite+ ' caractères maximum');}
else{nCompteur.value = nLimite - nTexte.value.length;}
}
function print_popup(sUrl) {
window.open(sUrl,"","top=20,left=20,width=600,height=600,status=no,toolbar=no,menubar=yes,location=no,resizable=no,titlebar=no,scrollbars=yes");
}
function send_popup(sUrl) {
window.open(sUrl,"","top=20,left=20,width=500,height=400,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no");
}
function popup_window(sUrl) {
window.open(sUrl,"","top=0,left=0,width=400,height=400,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no,scrollbars=no");
}
function mypopup(url, width, height)
{
window.open(url, 'crop', 'resizable=no, location=no, width='
			+width+', height='+height+', menubar=no, status=no, scrollbars=no, menubar=no');
}

function img_popup(fichier,w,h) {		
	ff=window.open(fichier,"galerie","left=10,top=10");			
	if(ff) {
		ff.focus() ;
		ff.resizeTo(w,h);
		}
	} 
// Formatage d'un champs mail
// <input type="text" name="nom" onKeypress="return valid_mail(event);">
function valid_mail(evt) {
	var keyCode = evt.which ? evt.which : evt.keyCode;
	var interdit = 'àâäãçéèêëìîïòôöõùûüñ &*?!:;,\t#~"^¨%$£?²¤§%*()[]{}<>|\\/`\'';
	if (interdit.indexOf(String.fromCharCode(keyCode)) >= 0) {
		return false;
	}
}
// Validation du formulaire de sondage
function valid_sondage() {
	var CBSelected;

	for (count=0; count<document.sondage.length; count++) {
		if (document.sondage[count].type == 'radio') {
			if (document.sondage[count].checked)	{
				CBSelected = true;
			} 
		}
	}
	if (CBSelected != true){
		alert("Vous devez choisir une réponse avant de voter.");
		return false;
	} 
	return true;
	}

var pas=1;  // pas de défilement : 
var h_fen= "220px" ; // hauteur de la partie visible 

function scrollmrq(){ 
if ( parseInt (mrq.style.top) > -h_mrq ) 
mrq.style.top = parseInt (mrq.style.top)-pas+ "px" 
else 
mrq.style.top= parseInt (h_fen)+ "px" 
} 

function init_mrq(){ 
mrq= document . getElementById ( "marquee" ); 
//fen= document . getElementById ( "fenetre" ); 
//fen.onmouseover= function (){stoc=pas;pas=0}; 
//fen.onmouseout= function (){pas=stoc};fen.style.height=h_fen; 
//h_mrq=mrq.offsetHeight; 
//with (mrq.style){position= "absolute" ;top=h_fen;} 
//setInterval ( "scrollmrq()" ,40); 
} 
window.onload=init_mrq 
//--> 
