function fsButton(n,y){

	if (typeof( window[ 'imageBackgroundTimer' ]) != "undefined") {

	 	window.clearTimeout(imageBackgroundTimer);

	 }

     if (document.getElementById) {

          var button = document.getElementById(n);

          button.style.backgroundPosition="0px "+y+"px"

     }

}



function popUp(strURL,strType,strHeight,strWidth) {

    var strOptions=""; 

  

    switch(strType) {

        case "console":

            strOptions="resizable,scrollbars,height="+strHeight+",width=790";

            break;

        

        case "fixed":

            strOptions="status,height="+strHeight+",width="+strWidth;

            break;

            

        case "elastic":

            strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;

            break;

    }

  

    fenetre = window.open(strURL, 'newWin', strOptions);

    fenetre.focus();

}



function popUp2(strURL,strType,strHeight,strWidth) {

    var strOptions=""; 

  

    switch(strType) {

        case "console":

            strOptions="resizable,scrollbars,height="+strHeight+",width=790";

            break;

        

        case "fixed":

            strOptions="status,height="+strHeight+",width="+strWidth;

            break;

            

        case "elastic":

            strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;

            break;

    }

  

    fenetre = window.open(strURL, 'newWin2', strOptions);

    fenetre.focus();

}
