

<!--
/******************************************
    PERSO
******************************************/

var fontsize;
var isPC;
var InternetExplorer= navigator.appName.indexOf ("Microsoft") !=-1; // verif du navigateur
var Version = parseInt(navigator.appVersion);
//var thewinFiche = null;

if(navigator.userAgent.indexOf('Win') != -1) {// verif de la plateforme
	var isPC=1;
    var fontsize=0;     
     }// PC
else if ((navigator.userAgent.indexOf('Mac') != -1) && InternetExplorer) {// MAc IE
    var isPC=0; 
    var fontsize=0;
     }
else if ((navigator.userAgent.indexOf('Mac') != -1) && !InternetExplorer) {//MAc NETSCAPE
	 var isPC=0; 
     var fontsize=1;
     }
else {// on sait pas
	var isPC=1; 
	var fontsize=0;
	}

function clock_() {
	var time_, date_;
    today = new Date();
        /*
        hours = today.getHours();
        minutes = today.getMinutes();
        seconds = today.getSeconds();
        time_ = "" + hours;
        time_ += ((minutes < 10) ? ":0" : ":") + minutes;
        time_ += ((seconds < 10) ? ":0" : ":") + seconds;
        */
    date= today.getDate();
    month= today.getMonth()+1;
    year= today.getYear();
    date_= "" + month;
    date_+= ((date<10) ? "/0" : "/") + date;
    date_+= "/" + year;
	info="Printed the "+date_;  //+" at "+time_
	return(info);
}

function typoTitle(theTexte) {
	newFontSize=fontsize+1;
	document.write('<font size='+newFontSize+' face="Arial, Helvetica, sans-serif"><b>'+ theTexte +'</b></font>');
}

function typo(theTexte) {
	newFontSize=fontsize+1;
	document.write('<font size='+newFontSize+' face="Arial, Helvetica, sans-serif">'+ theTexte +'</font>');
}

function typoSizeSearch(theTexte,thesize) {
	newFontSize=fontsize+1;
	newFontSize=newFontSize+thesize;
	document.write('<font size='+newFontSize+' face="Arial, Helvetica, sans-serif">'+ theTexte +'</font>');
}

function typoSize() {
	if(isPC) // verif de la plateforme
	    { document.write("<span style='font-size:8.0pt;font-family:Arial'>"); } // PC
	else if ((!isPC) && InternetExplorer) // MAc IE
	    { document.write("<span style='font-size:7.5pt;font-family:Arial'>"); }
	else if ((!isPC) && !InternetExplorer) // MAc NETSCAPE
	    { document.write("<span style='font-size:10.0pt;font-family:Arial'>"); }
	else { document.write("<span style='font-size:10.0pt;font-family:Arial'>"); }// on sait pas
}


function MM_swapImgRestore() { //v2.0
  if (document.MM_swapImgData != null)
    for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)
      document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];
}

function MM_preloadImages() { //v2.0
  if (document.images) {
    var imgFiles = MM_preloadImages.arguments;
    if (document.preloadArray==null) document.preloadArray = new Array();
    var i = document.preloadArray.length;
    with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){
      preloadArray[i] = new Image;
      preloadArray[i++].src = imgFiles[j];
  } }
}

function MM_swapImage() { //v2.0
  var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;
  for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {
    objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];
    if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||
        (objStr.indexOf('document.all[')   ==0 && document.all   ==null))
      objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);
    obj = eval(objStr);
    if (obj != null) {
      swapArray[j++] = obj;
      swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];
      obj.src = MM_swapImage.arguments[i+2];
  } }
  document.MM_swapImgData = swapArray; //used for restore
}

function launchFiche(theurl)
{
	//var InternetExplorer= navigator.appName.indexOf ("Microsoft") !=-1; // verif du navigateur
	if (isPC) {// PC
		if (InternetExplorer){
			var theHeight=495;
			var theWidth=593;
			var theToolBar=0;
		}else{
			var theHeight=515;
			var theWidth=600;
			var theToolBar=0;
		}
	}else{// MAC
		if (InternetExplorer){
			var theHeight=500;
			var theWidth=577;
			var theToolBar=1;
		}else{
			var theHeight=505;
			var theWidth=592;
			var theToolBar=0;
		}
	}
	var winname="fiche";	
	winfeatures="height="+theHeight+",width="+theWidth+",status=0,toolbar="+theToolBar+",scrollbars=1,top=0,left=0,screenX=0,screenY=0,resizable=0";
	thewinFiche = window.open(theurl,winname,winfeatures);
	if( thewinFiche != null ) thewinFiche.focus();
}

function checkWindowFiche() {
	alert(thewinFiche);
  if (thewinFiche != null && thewinFiche.open && !thewinFiche.closed) thewinFiche.close();
}

function launchHelp()
{
	var theurl="help.php3"
	//var InternetExplorer= navigator.appName.indexOf ("Microsoft") !=-1; // verif du navigateur
	if (isPC) {// PC
		if (InternetExplorer){
			var theHeight=475;
			var theWidth=436;
			var theToolBar=0;
		}else{
			var theHeight=465;
			var theWidth=435;
			var theToolBar=0;
		}
	}else{// MAC
		if (InternetExplorer){
			var theHeight=450;
			var theWidth=420;
			var theToolBar=0;
		}else{
			var theHeight=455;
			var theWidth=435;
			var theToolBar=0;
		}
	}
	var winname2="help";	
	winfeatures="height="+theHeight+",width="+theWidth+",status=0,toolbar="+theToolBar+",scrollbars=0,top=0,left=0,screenX=0,screenY=0,resizable=0";
	thewinHelp = window.open(theurl,winname2,winfeatures);
	if( thewinHelp != null ) thewinHelp.focus();
}

function launchActu()
{
	var aw = (screen.availWidth)/2;
    var ah = (screen.availHeight)/2;
   
    //window.moveTo(0, 0);
    //window.resizeTo(aw, ah);
    var posY = 0;
    
	var theurl="php/actu.php3"
	//var InternetExplorer= navigator.appName.indexOf ("Microsoft") !=-1; // verif du navigateur
	if (isPC) {// PC
		if (InternetExplorer){
			var theHeight=175;
			var theWidth=436;
			var theToolBar=0;
			
			var posX = (aw - (theWidth/2));
    		//var posY = (ah - (theHeight/2));
		}else{
			var theHeight=165;
			var theWidth=435;
			var theToolBar=0;
			
			var posX = (aw - (theWidth/2));
    		//var posY = (ah - (theHeight/2));
		}
	}else{// MAC
		if (InternetExplorer){
			var theHeight=150;
			var theWidth=420;
			var theToolBar=0;
			
			var posX = (aw - (theWidth/2));
    		//var posY = (ah - (theHeight/2));
		}else{
			var theHeight=155;
			var theWidth=435;
			var theToolBar=0;
			
			var posX = (aw - (theWidth/2));
    		//var posY = (ah - (theHeight/2));
		}
	}
	var winname2="actu";	
	winfeatures="height="+theHeight+",width="+theWidth+",status=0,toolbar="+theToolBar+",scrollbars=0,top="+posY+",left="+posX+",screenX="+posX+",screenY="+posY+",resizable=0";
	thewinActu = window.open(theurl,winname2,winfeatures);
	if( thewinActu != null ) thewinActu.focus();
}


function launchVideo(theurl){
	var winname3="Video";	
	winfeatures="height=256,width=320,status=0,toolbar=0,scrollbars=0,top=0,left=0,screenX=0,screenY=0,resizable=0";
	thewinVideo = window.open(theurl,winname3,winfeatures);
	if( thewinVideo != null ) thewinVideo.focus();
}

function PrintMe(newFile,where){
	eval(where + ".location='" + newFile +"'");
}

function LaunchPrint()
{  
		
	if ((Version <= 3) || (InternetExplorer && !isPC))
	{
		alert("Sorry, but with your brother use the Print button...");
		return false;
	}
	if (InternetExplorer)
	{
		WB.ExecWB(6,2);
	}
	else
	{
	self.print();
	}
	return true;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

var vis = new Array();

function swap_couche( couche ) {
	if (!(layer = MM_findObj( couche ))) return;
	if (vis[couche] == 'hide'){
		layer.style.display = 'block';
		vis[couche] = 'show';
	} else {
		layer.style.display = 'none';
		vis[couche] = 'hide';
	}
}

//-->

/*

<body bgcolor="#000000" text="#FFFFFF" link="#99CC33" vlink="#99CC33" alink="#666666" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="img/fond_bas.gif" onLoad="MM_preloadImages('img/bmodifieron.gif','img/bpoursuivreon.gif')">

<!-- IMPRESSION -->
<OBJECT ID="WB" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>
<!-- FIN D'IMPRESSION -->

*/