var actif=0;
function Roll(rep,nom,num)
{
var rub=document.forms['drapeau'].rub.value;
var actif=rub;
if (nom != actif){document.images[nom].src= rep + nom + num + ".gif";}
}

function ChangeEtat(rep)
{
//var rub=document.forms['drapeau'].rub.value;
//var rubrique=rub;
//document.images[rub].src= rep + rub + "2.gif";

var rub=document.forms['drapeau'].rub.value;
var rubrique=rub;
window.document.getElementById(rubrique).className = 'menu_gauche_survol';
}

function MM_openBrWindow(theURL,winName,features)
{ //v2.0
  window.open(theURL,winName,features);
}


function ChangeCadre()
{

var PG= String ("");
var P;
var zone= String ("");

document.forms['drapeau'].toto.value = document.location;
P = document.forms['drapeau'].toto.value.lastIndexOf("francais");
if (P<=0)
	{
	return;
	}

PG=document.forms['drapeau'].toto.value;
S= "http://www.electroclass.co.uk/" + PG.substring(P+9,PG.length);
document.location = S;
}



function ChangeCadre2()
{

var PG= String ("");
var P;
var zone= String ("");

document.forms['drapeau'].toto.value = document.location;
P = document.forms['drapeau'].toto.value.lastIndexOf("anglais");
PG=document.forms['drapeau'].toto.value;
S= "http://www.electroclass.com/" + PG.substring(P+8,PG.length);
document.location = S;
}

function RollAcc(rep,nom,num)
{
document.images[nom].src= rep + nom + num + ".gif";
}

function open_proseg(URL,Nom,Attributs)
{
window.open('/animation/proseg_saisie.html','proseg_saisie','');
}

function open_induslyon2005(URL,Nom,Attributs)
{
window.open('/induslyon2005/induslyon2005_saisie.html','induslyon_saisie','');
}



function lien_scrolling()
{
//window.location='/formulaire_manut08.htm';
window.location='';
//window.open('http://www.electroclass.com/popup/formulaire_progilog.html','progilog_2007','');

//window.open('/animation/proseg.html','proseg','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=630,height=390');
}

