var defVal = "Cercle de Généalogie de Seneffe";

/*****************************************************************/
/*** titre () : affiche l'image correspondant au titre du site ***/
/*****************************************************************/

function titre(){

	var imgTitre = "http://users.belgacom.net/cgs/img/titre.gif";

	document.write('<img src=' + imgTitre + '>');

}


/***********************************************************/
/*** barreStatus() : message dans barre de status        ***/
/***********************************************************/


function barreStatus (defVal, newVal) {
	window.defaultStatus = defVal;
	window.status = newVal;
	}
	

/*****************************************************************/
/*** copyRight() - Affiche le bas de page copy@right           ***/
/*****************************************************************/
function copyRight(){
	document.write('<table id="pointille" width="100%" align="center" border="0" style="font-size:10px;font-family:arial">');
	document.write('<tr>');
	document.write('<td align="left"> Cercle de Généalogie de Seneffe </td>');
	document.write('<td align="center"> 17, place d\'Agenais - 7180 SENEFFE - Tél.064/559454 </td>');
	document.write('<td align="right"> CopyRight © 2000 - 2004 </td>');
	document.write('</tr>');
	document.write('</table>');
	
}



/*****************************************************************/
/*** lienHautPage() - Lien qui permet d'aller en haut de page  ***/
/*****************************************************************/
function lienHautPage() {
	document.write(' <div align="center" style="font-size:14px\;"> ');
	document.write(' <br /> ');
	document.write(' <br /> ');
	document.write(' <a 	href="#" ');
	document.write(' title="haut de page" ');
	document.write(' onMouseOver = "barreStatus(defVal,\'Haut de page\')\;return true\;" ');
	document.write(' onClick	    = "barreStatus(defVal,\'Haut de page\')\;return true\;"> ');
	document.write(' ...haut page... ');
	document.write(' </a> ');
	document.write(' </div> ');
}

/*****************************************************************/
/*** tableauCourbeHaut() - partie 1/2 du tableau coins courbes ***/
/*****************************************************************/
function tableauCourbeHaut(){
	document.write('<table width=100% cellspacing=0px cellpadding=0px>');
	document.write('<tr>');
	document.write('<td id=hg width="17px" height="17px"> </td >');
	document.write('<td id=tableHaut width="*" height="17px"> </td>');
	document.write('<td id=hd width="17px" height="17px"> </td>');
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td id=tableGauche width="17px" height="*">  </td>');
	document.write('<td>');
}

/*****************************************************************/
/*** tableauCourbeBas() - partie 2/2 du tableau coins courbes ***/
/*****************************************************************/
function tableauCourbeBas(){
	document.write('</td>');
	document.write('<td id=tableDroite width="17px" height="*"></td>'); 
	document.write('</tr>');
	document.write('<tr>');
	document.write('<td id=bg 	width="17px" 	height="17px"> </td>');
	document.write('<td id=tableBas width="*"		height="17px"> </td>');
	document.write('<td id=bd 	width="17px" 	height="17px"> </td>');
	document.write('</tr>');
	document.write('</table>');
}

/*****************************************************************/
/*** compteurVisite() - code www.sitemeter.com                 ***/
/*****************************************************************/
function compteurVisite(){
	//<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
	document.write('<a href="http://sm2.sitemeter.com/stats.asp?site=sm2thierry" target="new">');
	document.write('<img src="http://sm2.sitemeter.com/meter.asp?site=sm2thierry" alt="Site Meter" border="0"/></a>');
	//<!--WEBBOT bot="HTMLMarkup" Endspan -->

	// <!--	<script language="javascript" src="http://www.swisstools.net/counter.asp?id=82230&type=2&digits=4&cache=no"></script>
	// <br /><script language="javascript" src="http://www.swisstools.net/counter_logo.asp?id=82230"></script>-->

}


/*****************************************************************/
/*** infoTable() - lien sur info activex		       ***/
/*****************************************************************/

function infoTable(){

	document.write('<a href="#" ');
	document.write(' title="info table" ');
	document.write(' onMouseOver 	= "barreStatus(defVal,\'info table\')\;return true\;" ');
	document.write(' onClick	= "infoTable2()\;"> ');
	document.write('info table');
	document.write('</a>');
}

/*****************************************************************/
/*** infoTable2() - fenêtre info activex		       ***/
/*****************************************************************/

function infoTable2(){
	var fenetre = window.open('','','toolbar="yes",scrollbars="yes",width=640,height=480');
	var texte =
	"<u><b>Informations</b> :</u>"+
	"<ul type=square>"+
	"<li> technique utilisée : recherche de données, à partir d'une source de données externe.</li>"+
	"<li> La recherche de données est basée sur un Activex Microsoft.</li>"+
	"<li> La liaison de fichier de façon dynamique nécessite le navigateur Internet Explorer v4 et plus.</li>"+
	"<br><br><li> La recherche de noms s'effectue sur des fichiers tables (naissances, mariages, décès, domiciliés).</li>"+
	"<li> Une recherche correcte nécessite au minimum trois caractères.</li>"+
	"<li> Plus le nombre de caractères sera grand, plus la recherche sera efficace.</li>"+
	"<li> Le tableau affiche 100 lignes simultanément.</li>"+
	"<li> La navigation au travers de requêtes > à 100 lignes de réponses se fait par boutons :</li>"+
	"<table>"+
	"	<tr> <td width=50px> <b> << </b> </td> 	<td width=200px> début 	   </td> </tr>"+
	"	<tr> <td width=50px> <b> >> </b> </td>	<td width=200px> fin   	   </td> </tr>"+
	"	<tr> <td width=50px> <b> <  </b> </td> 	<td width=200px> précédent </td> </tr>"+
	"	<tr> <td width=50px> <b> >  </b> </td>  <td width=200px> suivant   </td> </tr>"+
	"</table>"+
	"<li> Il est possible de trier les données (ordre croissant/décroissant) par click sur le libellé d'une colonne.</li>"+
	"</ul>";



	fenetre.document.open("text/html","replace");
	fenetre.document.write("<P align=justify>" + texte + "</P>");
	fenetre.document.write(
	"<P align=center>"+
	"<a href=\"#\" onClick=\"window.close()\" "+
	">Fermer</a></P>");
	fenetre.document.body.style.backgroundImage="url(http://users.belgacom.net/cgs/img/petitArrierePlan.gif)";
	fenetre.document.close();
	return true;

}

function ouvreImage(lien){
	var fenetre = window.open('','','toolbar="yes",scrollbars="yes",width=800,height=600');
	

	fenetre.document.open("text/html","replace");
	fenetre.document.write("<div align=center><img src="+lien+" width=640></div>");
	fenetre.document.write(
	"<P align=center>"+
	"<a href=\"#\" onClick=\"window.close()\" "+
	">Fermer</a></P>");
	fenetre.document.body.style.backgroundImage="url(http://users.belgacom.net/cgs/img/petitArrierePlan.gif)";
	fenetre.document.close();
	return true;

}



function PopupImage(img) { 
	titre="Agrandissement"; 
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no'); 
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>"); 
	w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width+10,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT>"); 
	w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
	w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
	w.document.write("<TD valign='middle' align='center'><IMG src='"+img+"' border=0 alt='cliquer pour fermer'>"); 
	w.document.write("</TD></TR></TABLE>");
	w.document.write("</BODY></HTML>"); 
	w.document.close(); 
} 
