
// Ouvre une popup calendrier
// Paramètres :
//			- chpj,chpm,chpa	:	noms des champs jour,mois,année à modifier
//			- valj,valm,vala	:	valeur des champs jour,mois,annee en strings --> date sélectionnée actuellement
//			- mois				:	valeur du mois en int --> initialisation de l'ouverture
function ouvre_popup(chpj,chpm,chpa,valj,valm,vala,mois)
{
	window.open("../calend/index.php?annee=20" + vala + "&mois=" + mois + "&jform=" + valj + "&mform=" + valm + "&aform=20" + vala + "&chpj=" + chpj + "&chpm=" + chpm + "&chpa=" + chpa, "Calendrier", "toolbar=no, location=no, directories=no, scrollbars=no, resizable=yes, copyhistory=no, menu=no, width=200, height=160, top=200, left=400");
}


function ouvre_popup_chem(chpj,chpm,chpa,valj,valm,vala,mois,chem)
{
	window.open(chem+"../calend/index.php?annee=20" + vala + "&mois=" + mois + "&jform=" + valj + "&mform=" + valm + "&aform=20" + vala + "&chpj=" + chpj + "&chpm=" + chpm + "&chpa=" + chpa, "Calendrier", "toolbar=no, location=no, directories=no, scrollbars=no, resizable=yes, copyhistory=no, menu=no, width=200, height=160, top=200, left=400");
}

function ouvre_popup_mrel(chpj,chpm,chpa,valj,valm,vala,mois,mrel)
{
	window.open(mrel+"/calend/index.php?annee=20" + vala + "&mois=" + mois + "&jform=" + valj + "&mform=" + valm + "&aform=20" + vala + "&chpj=" + chpj + "&chpm=" + chpm + "&chpa=" + chpa, "Calendrier", "toolbar=no, location=no, directories=no, scrollbars=no, resizable=yes, copyhistory=no, menu=no, width=200, height=160, top=200, left=400");
}


