// JScript source code
function disp_reso() {
    document.getElementById("MainTab").height=screen.height-300;
}

function objet() {
this.length = objet.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet.arguments[i]
}
var nom = new objet ("3.jpg", "2.jpg", "4.jpg", "1.jpg", "5.jpg");
var numero = 1;
function changer() {
document.image.src = "img/photos/metier/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
setTimeout("changer()", 3000);
}

function objet2() {
this.length = objet.arguments.length
for (var i = 0; i < this.length; i++) this[i+1] = objet.arguments[i]
}
var nom = new objet ("3.jpg", "2.jpg", "4.jpg", "1.jpg", "5.jpg");
var numero = 1;
function changer2() {
document.image2.src = "img/photos/accueil/"+nom[numero];
numero += 1;
if (numero == nom.length + 1) numero = 1;
setTimeout("changer2()", 3000);
}

function RunSWFIntro()
{
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1000" height="600" id="main" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="img/photos/intro/intro.swf" />\n');
    document.write('<param name="quality" value="best" />\n');
    document.write('<embed src="img/photos/intro/intro.swf" quality="best" align="middle" width="1000" height="600" name="main" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}