function Mover(item, photonom, titre) {
	item.className='TDON';
	if(document.all) {
		item.style.cursor='hand';
	}
	else {
		item.style.cursor='pointer';
	}	

	if (titre.value == "") titre = "Apercu";
		
	if (photonom.value != "")
		return overlib('<center><img align=middle src=' + photonom + ' border=0 ></center>', CAPTION, '<center><b>' + titre + '</b></center>', CENTER, BGCOLOR, '#530029', FGCOLOR, '#530029', WIDTH, 30, OFFSETX, 50, OFFSETY, 0);
	else
		return true;
}

function Mout(item) {
	item.className='TDOFF';
	return nd();
}

function ClickSalle (salle_id) {
	document.location='fiche.asp?IDSalle=' + salle_id;
}

function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function PopupCentrer(page,largeur,hauteur,options) {
  var top=(screen.height-hauteur)/2;
  var left=(screen.width-largeur)/2;
  window.open(page,"","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function printWindow() {
bV = parseInt(navigator.appVersion);
if (bV >= 4) window.print();
}


function PopupImage(img, titre) {  
w=open("",'image','width=400,height=400,toolbar=no,scrollbars=no,resizable=no'); 
w.document.write("<HTML><HEAD><TITLE>"+titre+"</TITLE></HEAD>"); 
w.document.write("<SCRIPT language=javascript>function checksize() { if (document.images[0].complete) { window.resizeTo(document.images[0].width,document.images[0].height+80); window.focus();  window.moveTo((screen.width-document.images[0].width+50)/2,(screen.height-document.images[0].height)/2);} else { setTimeout('checksize()',250) } } </"+"SCRIPT>"); 
w.document.write("<BODY onload='checksize()' onblur='window.close()' onclick='window.close()' leftMargin=0 topMargin=0 marginwidth=0 marginheight=0>");
w.document.write("<TABLE width='100%' border='0' cellspacing='0' cellpadding='0' height='100%'><TR>");
w.document.write("<TD valign='middle' align='center'><IMG src='"+img+"' border=0 alt=''>"); 
w.document.write("</TD></TR></TABLE>");
w.document.write("</BODY></HTML>"); 
w.document.close();
} 



function favoris(URL, NOM) {
if ( navigator.appName != 'Microsoft Internet Explorer' ) {
window.sidebar.addPanel(NOM, URL ,"");
} else {
window.external.AddFavorite(URL,NOM);
}
} 