function MettreAuCarre2(valeur) {
   var carre = valeur * valeur;
   return carre;
}



function show_props(obj,obj_name){
var result="";
for(var i in obj) result+= obj_name+"."+i+" = "+obj[i]+"\n";
return result;
}

function Semaine(){
this[0] = "Dimanche";
this[1] = "Lundi";
this[2] = "Mardi";
this[3] = "Mercredi";
this[4] = "Jeudi";
this[5] = "Vendredi";
this[6] = "Samedi";
}

function Mois(){
this[0] = "janvier";
this[1] = "f&eacute;vrier";
this[2] = "mars";
this[3] = "avril";
this[4] = "mai";
this[5] = "juin";
this[6] = "juillet";
this[7] = "ao&ucirc;t";
this[8] = "septembre";
this[9] = "octobre";
this[10] = "novembre";
this[11] = "d&eacute;cembre";
}

function jourcourant(){
var semaine = new Semaine();
var mois = new Mois();
var myDate = new Date();
document.writeln(semaine[myDate.getDay()]+" "+myDate.getDate()+" "+mois[myDate.getMonth()]+" "+myDate.getFullYear());
}
function MM_displayStatusMsg(msgStr) { //v2.0
status=msgStr;
document.MM_returnValue = true;
}
function MM_popupMsg(theMsg) { //v2.0
alert(theMsg);
}


function resizePopUp(monImage, monTitre)
    {
	w = window.open('','chargement','width=10,height=10');
	w.document.write( "<html><head><title>"+monTitre+"</title>\n" );
	w.document.write( "<script language='JavaScript'>\n");
	w.document.write( "IE5=NN4=NN6=false;\n");
	w.document.write( "if(document.all)IE5=true;\n");
	w.document.write( "else if(document.getElementById)NN6=true;\n");
	w.document.write( "else if(document.layers)NN4=true;\n");
	w.document.write( "function autoSize() {\n");
	w.document.write( "if(IE5) self.resizeTo(document.images[0].width+10,document.images[0].height+31);\n");
	w.document.write( "else if(NN6) self.sizeToContent();\n");
	w.document.write( "else window.resizeTo(document.images[0].width,document.images[0].height+20);\n");
	w.document.write( "self.focus();\n");
	w.document.write( "}\n</scri");
	w.document.write( "pt>\n");
	w.document.write( "</head><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 onLoad='javascript:autoSize();'>" );
	w.document.write( "<a href='javascript:window.close();'><img src='"+monImage+"' border=0 alt='Cliquez pour fermer la fenêtre'></a>" );
	w.document.write( "</body></html>" );
	w.document.close();
	}

function mettreEntete()
{
	document.write('<table border="0" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">');
	document.write('<tr>');
	document.write(' <td>');
	document.write('	<img border="0" src="Images/VCProfondeville_logo.jpg" width="135" height="89" align="middle"></td>');
	document.write('  <td>');
	document.write('    <p style="margin-top: 0; margin-bottom: 0"><b>');
	document.write('	<font size="4" face="Trebuchet MS">Bienvenue sur le site du Volley Club Profondeville</font></b></p>');
	document.write('    <p style="margin-top: 0; margin-bottom: 0"><b>');
	document.write('    <font face="Trebuchet MS" size="4">');
	document.write('    &nbsp;</font></b></td>');
	document.write('  </tr>');
	document.write(' </table>');
}

function ouvre_pagemin(page) 
{
       window.open(page,"test de ghghj","menubar=no, status=no, scrollbars=no, menubar=no, width=200, height=100");
   }

