<!-- Begin
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Cat Arriola :: http://astrodiva.journalspace.com */

function fixImgs( maxW) {
var pix=document.getElementsByTagName('img');
  for (i=0; i<pix.length; i++) {
	if(pix[i].parentNode.parentNode.className.indexOf('pub')>=0){
		// do nothing
	}else if(pix[i].className.indexOf('pub')>=0){
		// do nothing
	}else{
		w=pix[i].width;
		h=pix[i].height;	
		s=pix[i].src;
		if (w > maxW ) {
		  f=1-((w - maxW) / w);
		  pix[i].width=w * f;
		  pix[i].height=h * f;
		}
	}
  }
}
function showBanner(){
	var oDivFrame=document.getElementById('Annonces');
	if(oDivFrame!=null)
	oDivFrame.innerHTML='<iframe marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no src="/banner.php" width=100% height="100" style="margin-top:9px;background-color:#333366" bgcolor="#333366"></iframe>';
}
//-->

