var iSSactu=1;
//
function fnOpenSS(iNum)
{
	var oSS,oImg;
	//
	if(iNum>iMaxSs) iNum=1;
	if(iNum<1) iNum=iMaxSs;
	//
	iSSactu=iNum;
	//
	// on display block le fond noir transparent
	document.getElementById('fond_transparent').style.display='block';
	// on détruit l'image du SS
	oSS=document.getElementById('screenshot_actu');
	fnPurgeContent(oSS);
	/////////// On rempli les infos /////////////

	// titre
	document.getElementById('titre_ss_actu').innerHTML=aTitre[iNum-1];
	// description
	document.getElementById('desc_ss_actu').innerHTML=aDescrip[iNum-1];
	// "capture d'écran x/9"
	document.getElementById('number_ss_actu').innerHTML=iNum;
	// image du SS
	oImg=document.createElement('img');
	oSS.appendChild(oImg);
	oImg.src='locales/images_locales/capture_ecran/screenshot_'+iNum+'.jpg';
	addEvent(oImg,"mouseup",fnCloseSS);
	addEvent(oImg,"mouseover",fnChangeCursorPointer);
	addEvent(oImg,"mouseout",fnChangeCursorDefault);
	//
	document.getElementById('screenshot_open_div').style.display='block';

}
function fnCloseSS()
{
	document.getElementById('fond_transparent').style.display='none';
	//
	document.getElementById('screenshot_open_div').style.display='none';
}
function fnChangeSS(iDecal)
{
	iSSactu=iSSactu-0+iDecal;
	fnOpenSS(iSSactu);
}