	function suppMsg() {
		if (confirm("Etes vous sur de vouloir supprimer ce(s) message(s)? ")) {
			document.getElementById('msgdel').submit();
		}
	}
	
	function clearAllTrashbox() {
		if (confirm("Etes vous sur de vouloir vider votre boite de messages supprimées? ")) {
			//document.checkAll.checked = 'checked';
			//selCheckbox(document.checkAll);
			document.getElementById('msgdel').action = document.getElementById('msgdel').action+'&emptyTrashbox=true';
			document.getElementById('msgdel').submit();
		}
	}
	
	function selCheckbox(me) {
		
		//chk = document.msgdel.elements['msgsupp[]'];
		
		chk = document.getElementsByName('msgsupp[]');
		//alert(document.getElementsByName('msgsupp[]').name);
		
		if (me.checked) {
			for (i = 0; i < chk.length; i++) {
				chk[i].checked = true;
			}
		}
		else {
			for (i = 0; i < chk.length; i++) {
				chk[i].checked = false;
			}
		}
	}
	
	Shadowbox.init({
		language: 'fr',
		players:  ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
	});
	

	
	$(document).ready(function(){
							   
		$(".delete").click(function(){
			$(this).parents("#successError").animate({ opacity: 'hide' }, "slow");
		});
	
	});
	
	OAS_url = 'http://oas.love.lu/RealMedia/ads/';
	OAS_sitepage = 'www.love.lu';
	OAS_listpos = 'Middle,Right,Right1,Top,Top2';
	OAS_query = '';
	OAS_target = '_top';
						
	//end of configuration
	OAS_version = 10;
	OAS_rn = '001234567890'; OAS_rns = '1234567890';
	OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
		
	function OAS_NORMAL(pos) {
		document.write('<a href="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" target=' + OAS_target + '>'); 
		document.write('<img src="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" border="0" alt="banniere" /></a>'); 
	}
	
	OAS_version = 11;   
	if ((navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1))  
		OAS_version = 10; 
		 
	if (OAS_version >= 11) 
		document.write('<SCR' + 'IPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + OAS_query + '"><\/SCRIPT>');
	
	document.write('');  
	
	function OAS_AD(pos) {  
		if (OAS_version >= 11)  
			OAS_RICH(pos);  
		else 
			OAS_NORMAL(pos);  
	}  
