// JavaScript Document
var CoefficientLargeur=0;
var CoefficentPolice=0;
var variableWidth1680=1680;
var variableHeigth1680=1050;
var variableWidth=0;
var variableHeight=0;
var Musique=1;
function AdapterFormatAffichage()
{

BoutonVol();
variableCoefficient();

 var e =document.getElementById("Ecran");

e.style.width=Math.round(e.offsetWidth*screen.width /variableWidth1680) +"px";
e.style.height=Math.round(e.offsetHeight* screen.height/ variableHeigth1680) +"px";



e.style.fontSize=11*variableWidth+"pt";

var e = document.getElementById("VideosBloc4");
e.style.width=e.offsetWidth*variableWidth +"px";
e.Style.height = e.offsetHeight * variableHeight +"px";

var e = document.getElementById("VideosImage6");
e.style.width=e.offsetWidth*variableWidth +"px";
e.Style.height = e.offsetHeight * variableHeight +"px";

 //Commande();//donne acces au redimensionnement de l'‚cran via la page cursor.js


}


function AdapterFormatAffichage1()
{



 var e =document.getElementById("Ecran");

e.style.width=Math.round(e.offsetWidth*screen.width /variableWidth1680) +"px";
e.style.height=Math.round(e.offsetHeight* screen.height/ variableHeigth1680) +"px";
}


function variableCoefficient()
{

variableWidth=window.screen.width/1680;

variableHeight=window.screen.height/1050;
}

/*  programe vidéo  */



var plugin="";

var theme="";



function BoutonVol()
{

var e=document.getElementById("Bouton");
var z = document.getElementsByTagName("title")[0].text;
e.onmouseover=vol;
e.onmouseout=vol1;


}

function vol()
{

var e=document.getElementById("Bouton");
var z = document.getElementsByTagName("title")[0].text;
e.setAttribute("src","Images/Commun/BoutonCommun.gif");
}




function vol1()
{
var e=document.getElementById("Bouton");
var z = document.getElementsByTagName("title")[0].text;
if(z=="Tall")
{
e.setAttribute("src","Images/Commun/BE31.gif");
}
else
{

e.setAttribute("src","Images/Commun/BE2.gif");
}
}
function Musique()
{

}

function disparaitre()
{
var e =document.getElementById("ImageMasquable");
e.style.visibility="hidden";


}

