function affiche_detail(nom, nb_points_c1c2, parties_c1c2, moy_c1c2, nb_points_ligue, parties_ligue, moy_ligue, nb_points_cumul, parties_cumul, moy_cumul){
	message  = nom + "\n\r";
	message += "C1C2  : ";
	message += nb_points_c1c2 + " quilles sur " + parties_c1c2 + " parties, moy = " + moy_c1c2 + "\n\r";
	message += "Ligue : ";
	message += nb_points_ligue + " quilles sur " + parties_ligue + " parties, moy = " + moy_ligue + "\n\r";	
	message += "Cumul : ";
	message += nb_points_cumul + " quilles sur " + parties_cumul + " parties, moy = " + moy_cumul	;
	alert(message);
}
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function PopupImage(img) {
	titre="F.F.B.S.Q Plan d'accès";
	w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=yes');	
	w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE>");
	w.document.write("<SC"+"RIPT language=java"+"script> function checksize()  { if (document.images['img'].complete) {  window.resizeTo(document.images[0].width+12,document.images[0].height+30); window.focus();} else { setTimeout('checksize()',250) } }</"+"SCRIPT></HEAD>");
	w.document.write("<BODY onload='checksize()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><IMG src='"+img+"' border=0 name='img'>");
	w.document.write("");
	w.document.write("</BODY></HTML>");
	w.document.close();
}
function PopupCentrer(page,largeur,hauteur,options) {
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	window.open(page,"new","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

<!--

var slideimages=new Array()
var slidelinks=new Array()
function slideshowimages(){
for (i=0;i<slideshowimages.arguments.length;i++){
slideimages[i]=new Image()
slideimages[i].src=slideshowimages.arguments[i]
}
}
function slideshowlinks(){
for (i=0;i<slideshowlinks.arguments.length;i++)
slidelinks[i]=slideshowlinks.arguments[i]
}

var slideimagesDisciplines=new Array()
var slidelinksDisciplines=new Array()
function slideshowimagesDisciplines(){
for (i=0;i<slideshowimagesDisciplines.arguments.length;i++){
slideimagesDisciplines[i]=new Image()
slideimagesDisciplines[i].src=slideshowimagesDisciplines.arguments[i]
}
}

function slideshowlinksDisciplines(){
for (i=0;i<slideshowlinksDisciplines.arguments.length;i++)
slidelinks[i]=slideshowlinksDisciplines.arguments[i]
}

var slideimagesEvenementiel=new Array()
var slidelinksEvenementiel=new Array()
function slideshowimagesEvenementiel(){
for (i=0;i<slideshowimagesEvenementiel.arguments.length;i++){
slideimagesEvenementiel[i]=new Image()
slideimagesEvenementiel[i].src=slideshowimagesEvenementiel.arguments[i]
}
}

function slideshowlinksEvenementiel(){
for (i=0;i<slideshowlinksEvenementiel.arguments.length;i++)
slidelinks[i]=slideshowlinksEvenementiel.arguments[i]
}

function gotoshow(){
if (!window.winslide||winslide.closed)
	if (slidelinks[whichlink]!="no_link")
		winslide=window.open(slidelinks[whichlink])
else
winslide.location=slidelinks[whichlink]
winslide.focus()
}
function gotoshowDisciplines(){
if (!window.winslideDisciplines||winslideDisciplines.closed)
	if (slidelinksDisciplines[whichlinkDisciplines]!="no_link")
		winslideDisciplines=window.open(slidelinksDisciplines[whichlinkDisciplines])
else
winslideDisciplines.location=slidelinksDisciplines[whichlinkDisciplines]
winslideDisciplines.focus()
}

function gotoshowEvenementiel(){
if (!window.winslideEvenementiel||winslideEvenementiel.closed)
	if (slidelinksEvenementiel[whichlinkEvenementiel]!="no_link")
		winslideEvenementiel=window.open(slidelinksEvenementiel[whichlinkEvenementiel])
else
winslideEvenementiel.location=slidelinksEvenementiel[whichlinkEvenementiel]
winslideEvenementiel.focus()
}

//-->
<!--
window.onload=montre;
function montre(id) {
var d = document.getElementById(id);
	for (var i = 1; i<=10; i++) {
		if (document.getElementById('smenu'+i)) {document.getElementById('smenu'+i).style.display='none';}
	}
if (d) {d.style.display='block';}
}
var marked_row = new Array;
function setPointer(theRow, theRowNum, theAction, theDefaultColor, thePointerColor, theMarkColor)
{
    var theCells = null;

    // 1. Pointer and mark feature are disabled or the browser can't get the
    //    row -> exits
    if ((thePointerColor == '' && theMarkColor == '')
        || typeof(theRow.style) == 'undefined') {
        return false;
    }

    // 2. Gets the current row and exits if the browser can't get it
    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    // 3. Gets the current color...
    var rowCellsCnt  = theCells.length;
    var domDetect    = null;
    var currentColor = null;
    var newColor     = null;
    // 3.1 ... with DOM compatible browsers except Opera that does not return
    //         valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        domDetect    = true;
    }
    // 3.2 ... with other browsers
    else {
        currentColor = theCells[0].style.backgroundColor;
        domDetect    = false;
    } // end 3

    // 4. Defines the new color
    // 4.1 Current color is the default one
    if (currentColor == null || currentColor == ''
        || currentColor.toLowerCase() == theDefaultColor.toLowerCase()) {
        if (theAction == 'over' && thePointerColor != '') {
            newColor              = thePointerColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
        }
    }
    // 4.1.2 Current color is the pointer one
    else if (currentColor.toLowerCase() == thePointerColor.toLowerCase()
             && (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])) {
        if (theAction == 'out') {
            newColor              = theDefaultColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
        }
    }
    // 4.1.3 Current color is the marker one
    else if (currentColor.toLowerCase() == theMarkColor.toLowerCase()) {
        if (theAction == 'click') {
            newColor              = (thePointerColor != '')
                                  ? thePointerColor
                                  : theDefaultColor;
            marked_row[theRowNum] = (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])
                                  ? true
                                  : null;
        }
    } // end 4

    // 5. Sets the new color...
    if (newColor) {
        var c = null;
        // 5.1 ... with DOM compatible browsers except Opera
        if (domDetect) {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].setAttribute('bgcolor', newColor, 0);
            } // end for
        }
        // 5.2 ... with other browsers
        else {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].style.backgroundColor = newColor;
            }
        }
    } // end 5

    return true;
} // end of the 'setPointer()' function

/***********************************************
* Ultimate Fade-In Slideshow (v1.5): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["img/disciplines/100_CNBowling.jpg", "", ""]
fadeimages[1]=["img/disciplines/100_ninepin_bowling_classic.gif", "http://www.quillesclassic67.org/", "_blank"]
fadeimages[2]=["img/disciplines/100_ninepin_bowling_schere.gif", "", ""]
fadeimages[3]=["img/disciplines/100_quille_6.gif", "", ""]
fadeimages[4]=["img/disciplines/100_quille_8.gif", "http://www.quillesdehuit.org/", "_blank"]
fadeimages[5]=["img/disciplines/100_quille_9.gif", "http://www.quilles.net/", "_blank"]
fadeimages[6]=["img/disciplines/100_quilles_maillet.gif", "http://www.quilles-au-maillet.com/", "_blank"]
fadeimages[7]=["img/disciplines/100_saint_gaal.gif", "http://quilles-st-gall.chez-alice.fr/", "_blank"]

var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["img/partenaires/hertz.jpg", "http://www.hertz.fr/", "_blank"] ;
fadeimages2[1]=["img/partenaires/airfrance.jpg", "http://www.airfrance.fr/", "_blank"] ;
fadeimages2[2]=["img/partenaires/ministere.jpg", "http://www.jeunesse-sports.gouv.fr/", "_blank"] ;
fadeimages2[3]=["img/partenaires/valcke.gif", "http://www.valcke-bowling.com/", "_blank"] ;
fadeimages2[4]=["img/partenaires/amf.jpg", "http://www.amfbowling.fr/", "_blank"] ;
fadeimages2[5]=["img/partenaires/cnosf.jpg", "http://www.comite-olympique.asso.fr/", "_blank"] ;
fadeimages2[6]=["img/partenaires/CoupSport_ANCV.jpg", "http://www.ancv.com/index.php?cs", "_blank"] ;
fadeimages2[7]=["img/partenaires/FR_Affiche_2006_FondBleu.jpg", "http://jeffdebrugesbowling.free.fr/", "_blank"] ;

var fadeimages3=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages3[0]=["img/evenementiel/image01.jpg", "http://www.ffbsq.org/img/evenementiel/image01_large.jpg", "_blank"] ;
fadeimages3[1]=["img/evenementiel/image02.jpg", "http://www.ffbsq.org/img/evenementiel/image02_large.jpg", "_blank"] ;
fadeimages3[2]=["img/evenementiel/image03.jpg", "http://www.ffbsq.org/img/evenementiel/image03_large.jpg", "_blank"] ;
fadeimages3[3]=["img/evenementiel/image04.jpg", "http://www.ffbsq.org/img/evenementiel/image04_large.jpg", "_blank"] ;
fadeimages3[4]=["img/evenementiel/image05.jpg", "http://www.ffbsq.org/img/evenementiel/image05_large.jpg", "_blank"] ;
fadeimages3[5]=["img/evenementiel/image06.jpg", "http://www.ffbsq.org/img/evenementiel/image06_large.jpg", "_blank"] ;
fadeimages3[6]=["img/evenementiel/image07.jpg", "http://www.ffbsq.org/img/evenementiel/image07_large.jpg", "_blank"] ;
fadeimages3[7]=["img/evenementiel/image08.jpg", "http://www.ffbsq.org/img/evenementiel/image08_large.jpg", "_blank"] ;
fadeimages3[8]=["img/evenementiel/image09.jpg", "http://www.ffbsq.org/img/evenementiel/image09_large.jpg", "_blank"] ;
fadeimages3[9]=["img/evenementiel/image10.jpg", "http://www.ffbsq.org/img/evenementiel/image10_large.jpg", "_blank"] ;
fadeimages3[10]=["img/evenementiel/image11.jpg", "http://www.ffbsq.org/img/evenementiel/image11_large.jpg", "_blank"] ;
fadeimages3[11]=["img/evenementiel/image12.jpg", "http://www.ffbsq.org/img/evenementiel/image12_large.jpg", "_blank"] ;
fadeimages3[12]=["img/evenementiel/image13.jpg", "http://www.ffbsq.org/img/evenementiel/image13_large.jpg", "_blank"] ;
fadeimages3[13]=["img/evenementiel/image14.jpg", "http://www.ffbsq.org/img/evenementiel/image14_large.jpg", "_blank"] ;
fadeimages3[14]=["img/evenementiel/image15.jpg", "http://www.ffbsq.org/img/evenementiel/image15_large.jpg", "_blank"] ;
fadeimages3[15]=["img/evenementiel/image16.jpg", "http://www.ffbsq.org/img/evenementiel/image16_large.jpg", "_blank"] ;
fadeimages3[16]=["img/evenementiel/image17.jpg", "http://www.ffbsq.org/img/evenementiel/image17_large.jpg", "_blank"] ;
fadeimages3[17]=["img/evenementiel/image18.jpg", "http://www.ffbsq.org/img/evenementiel/image18_large.jpg", "_blank"] ;
fadeimages3[18]=["img/evenementiel/image19.jpg", "http://www.ffbsq.org/img/evenementiel/image19_large.jpg", "_blank"] ;
fadeimages3[19]=["img/evenementiel/image20.jpg", "http://www.ffbsq.org/img/evenementiel/image20_large.jpg", "_blank"] ;
fadeimages3[20]=["img/evenementiel/image21.jpg", "http://www.ffbsq.org/img/evenementiel/image21_large.jpg", "_blank"] ;

var fadebgcolor="#FFFFEE"

////NO need to edit beyond here/////////////

var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers

var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all

function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}

var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2

if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="background-color: #FFFFFF ;position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')

if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}

fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}


fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}

fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}


fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}
-->