// © copyright i (france) - tous droits réservés

var cvy = 330 // position verticale
var wtb = 350 // largeur du calque
var incc = 20 // incrément de déplacement
var trmc = 52 // position finale
var defc = 220 // position du calque par défaut
var origc = trmc+(incc*20)
var rap = 1
var depcq


recht = new Array()

function centr(identr,txentr)
{
	this.identr = identr
	this.txentr = txentr
}

fn = 0

/* UN DIRECTEUR DE CLIENTELE - UN RESPONSABLE MARKETING OPERATIONNEL - UN ADJOINT A LA DIRECTION DE LA COM
- WEB DESIGNER : FRANCE - ESPAGNE - ITALIE - DIRECTEUR DE DEVELOPPEMENT - DIRECTEUR DES OPERATIONS - RESPONSABLE ADMINISTRATIF ET FINANCIER */

recht[fn++] = new centr('dircl','MARKETING / COMMERCIAL')
recht[fn++] = new centr('rsmarop','MARKETING / COMMERCIAL')
recht[fn++] = new centr('adircom','MARKETING / COMMERCIAL')
recht[fn++] = new centr('grama','PRODUCTION')
recht[fn++] = new centr('ddev','MANAGEMENT')
recht[fn++] = new centr('ddop','MANAGEMENT')
recht[fn++] = new centr('raf','MANAGEMENT')
recht[fn++] = new centr('0','')

	if(wtb == '')
	{
		larg = ''
		lsom = ''
	}
	else
	{
		larg = ' width="'+wtb+'"'
		lsom = ' width: '+wtb+'px'
	}

function wrcalq()
{
	document.write('<div id="somm" style="position: absolute;'+lsom+'"></div>')
}

function affcont(fonct)
{
	montr('somm','',0)
	if(depcq) clearInterval(depcq)
	for(y=0; y<recht.length; y++)
	{
		if(recht[y].identr == fonct)
		{
			contn = recht[y].txentr
		}
	}
	if(fonct != 0)
	{
		clstex = 'termcq'
	}
	else
	{
		clstex = 'grismed'
	}
	if(ie4)
	{
		somm.innerHTML='<table cellspacing="0" cellpadding="0" border="0"'+larg+'><tr><td class="'+clstex+'">'+contn+'</td></tr></table>'
	}
	if(nn4)
	{
		document.somm.document.open()
		document.somm.document.write('<table cellspacing="0" cellpadding="0" border="0"'+larg+'><tr><td class="'+clstex+'">'+contn+'</td></tr></table>')
		document.somm.document.close()
	}
	if(fonct != '0')
	{
		fc = origc
	}
	else
	{
		fc = defc
	}
	depclq()
	montr('somm','',1)
	if(fonct != '0')
	{
		depcq = setInterval("depclq()",rap)
	}
}

function depclq()
{
	if(fc>=trmc)
	{
		if(fc != origc)
		{
			wempl('somm','',fc,cvy)
		}
		fc-=incc
		return
	}
	else
	{
		fc=origc
		clearInterval(depcq)
		return
	}
}

function ininn()
{
	document.captureEvents(Event.DBLCLICK)
	document.ondblclick = camlf
}

function camlf()
{
	montr('somm','',0)
	affcont('0')
	montr('somm','',1)
}