//Actionner vers la suite des titres d'articles
function displaypagearticle(numpage,pATraversISAPIRewrite){
	
	document.postertexte.PageArticle.value = numpage;
	if (pATraversISAPIRewrite>0)
	{
		tURLComplet=document.URL.split('/');
		docURL=tURLComplet[tURLComplet.length-1];
		if (docURL.indexOf('-')==-1)
		{
			tURL=docURL.split('.');
			vPage=tURL[0] + '-' + numpage + '.html';
		}
		else
		{
			tURL=docURL.split('-');
			vPage=tURL[0] + '-' + numpage + '.html';
		}
		document.postertexte.action=vPage;
	}
	
	document.postertexte.submit();
}

//Actionner vers la page article
function gototextearticle(idart,pTitreUrl,pATraversISAPIRewrite){
	document.frmarticle.IdArticle.value = idart;
	if (pATraversISAPIRewrite>0)
		document.frmarticle.action=pTitreUrl+'article-'+idart+'.html';
		
	document.frmarticle.submit();
}

