nv=new Array('bts2012_ins.jpg','inp2.jpg','6e.jpg','bts2011.jpg','inp.jpg','sup.jpg','uiba.gif','emploi.jpg','emag.jpg','emag.jpg','emag.jpg','eva.gif');
lk=new Array('http://www.grandes-ecoles.net/actualite.php?id=838','http://www.decoes.net/resultat_inp.php#_blank','http://www.education.gouv.ci/cno.html#_blank','http://www.decoes.net/resultat_reclam.php#_blank','web.php?action=dwl&url=fichiers/concours_INPHB_2011.pdf','web.php?action=dwl&url=fichiers/arrete_ets_fermes_sept2011.pdf','uiba/','http://www.jeunesse.gouv.ci/emploi/inscription/etape1.php#_blank','web.php?action=dwl&url=fichiers/guidebachelier_juin2011.pdf','web.php?action=dwl&url=fichiers/guidebachelier_mai2011.pdf','web.php?action=dwl&url=fichiers/guidebachelier_avril2011.pdf','evaluation.php');
tx=new Array('<b>Inscriptions</b> BTS session 2012','Resultats du concours <br><b>disponible</b>','<b>Affectation en 6è</b> : Resultats pour la rentrée 2011-2012 ','Resultats du BTS <br><b>session 2011</b> disponibles','Concours <br><b>INP-HB 2011</b>','Enseignement supérieur,<br> liste établissement <b>fermés</b>','Rentrée scolaire 2011-2012 avec <b>UIBA</b>','<B>Emploi jeunes</B> - <br>Le gouvernement recrute','Le guide du bachelier - <br><B class="mar">Juin 2011</B>','Le guide du bachelier - <br><B class="mar">Mai 2011</B>','Le guide du bachelier - <br><B class="mar">Avril 2011</B>','Evaluation des grandes écoles');

/*Nouveautés
nv=nv.reverse();
lk=lk.reverse();
tx=tx.reverse();*/
function view_nv(id)
{
	nbitem=3;
	nbTitem=4;
	ext="nv";
	id=parseInt(id);
	dsize=parseInt(nbTitem);
	idv=id;
	if(id<=(dsize-1) && id>0){dlgo=id+1;dlbk=id-1;}
	else{
		if(id>(dsize-1)){id=0;idv=id;dlgo=1;dlbk=(dsize-1);}
		else{dlgo=id+1;dlbk=(dsize-1);}
	}
	var start=id*3;
	var limit=start+2;
	document.getElementById(ext+"_bk").href='javascript:view_'+ext+'('+"'"+dlbk+"'"+');';
	document.getElementById(ext+"_go").href='javascript:view_'+ext+'('+"'"+dlgo+"'"+');';
	document.getElementById(ext+"_cpt").innerHTML=(dlgo)+"|"+nbTitem;
	//Load items
	var toshow='<table cellpadding="0" cellspacing="0" border="0" align="center">';
	var sep='<td width="25"></td>';
	var i=start;
	while(i<=limit)
	{
		if(i==limit){sep='';}
		if(nv[i] && nv[i]!="")
		{
			var link_target="";
			link_target=lk[i].split("#");
			if(!link_target[1]){link_target[1]='';}
			toshow+='<td width="140" align="center" valign="top"><a href="'+link_target[0]+'" target="'+link_target[1]+'" class="bluef11"><div style="margin-bottom:3px;"><img src="nouveautes/'+nv[i]+'" width="140" height="70" border="0"></div>'+tx[i]+'</a></td>'+sep;
		}
		else
		{
			toshow+='<td width="140" height="70" align="center" valign="middle"> <span style="color:#666666;font-size:11px;">Nous contacter ...</span></td>'+sep;
		}
		i++;
	}toshow+='</table>';
	document.getElementById("nv_show").innerHTML=toshow;
}
