function openwin(url) {
	//url=url+'?opnerform='+opnerform+'&champ='+champ;
 opwin=window.open(url,'Calendrier','width=550,height=500,status=yes,scrollbars=yes');
 opwin.moveTo(((screen.availWidth/2)-(550/2)),((screen.availHeight/2)-(450/2)));
}

function openwinimage(url1) {
	//url=url+'?opnerform='+opnerform+'&champ='+champ;
 opwin=window.open(url1,'Calendrier','width=550,height=450,status=yes,scrollbars=yes,resizable=yes');
 opwin.moveTo(((screen.availWidth/2)-(550/2)),((screen.availHeight/2)-(450/2)));
}
function confirmsupp(pagesupp)
{
	if(confirm('Confirmer la suppression ?')){
	document.location =(pagesupp);
	}
}
function confirmacif(pageact)
{
	if(confirm('Confirmer l\'activation ?')){
	document.location =(pageact);
	}
}

function confirmdacif(pagedact)
{
	if(confirm('Confirmer la désactivation ?')){
	document.location =(pagedact);
	}
}


function ChangeProp(UrlPage,source,dist)
{
	if(confirm('Confirmer l\'Operation ?')){
	document.location =(UrlPage+'&source='+source+'&dist='+dist);
	}
}
function openwinp(urlp) {
	//url=url+'?opnerform='+opnerform+'&champ='+champ;
 opwin=window.open(urlp,'Calendrier','width=450,height=350,status=yes,scrollbars=yes');
 opwin.moveTo(((screen.availWidth/2)-(450/2)),((screen.availHeight/2)-(350/2)));
}
function openwint(urlt) {
	//url=url+'?opnerform='+opnerform+'&champ='+champ;
 opwin=window.open(urlt,'Calendrier','width=500,height=400,status=yes,scrollbars=yes,resizable=yes');
 opwin.moveTo(((screen.availWidth/2)-(500/2)),((screen.availHeight/2)-(400/2)));
}
function openimage(url,opnerform,champ,plus) {
	url=url+'?opnerform='+opnerform+'&champ='+champ+'&'+plus;
 //window.open(url,'Calendrier','width=650,height=500,scrollbars=yes,resizable=yes');
 opwin=window.open(url,'Calendrier','width=700,height=500,resizable=yes,status=yes');
 opwin.moveTo(((screen.availWidth/2)-(700/2)),((screen.availHeight/2)-(500/2)));
}