function show(href, width, height)
		{
		window.open(href,'parent','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+width+',height='+height+',left=10,top=50');
		return false;
		}
		
function file(fichier)
{
     if(window.XMLHttpRequest) // FIREFOX
          xhr = new XMLHttpRequest();
     else if(window.ActiveXObject) // IE
          xhr = new ActiveXObject("Microsoft.XMLHTTP");
     else
          return(false);
		//document.getElementById('chargzone').innerHTML = '<img src="images/ajax.gif"/> Chargement en cours ...'
	try{
		 xhr.open("GET", fichier, false);
		 xhr.send(null);
		 if(xhr.readyState == 4){
		 	//document.getElementById('chargzone').innerHTML = '';
			return(xhr.responseText);
		 }
	}
	catch( e ) {
    	//document.getElementById('chargzone').innerHTML = 'Erreur pendant le chargement'
	}
}

function f_zoomphoto(root, nom, tailles){
	tailles = tailles.split('|') ;
	x = eval(tailles[1]) + 20;
	y = eval(tailles[2]) + 20;
	window.open(root+nom,'_blank','toolbar=0, location=0, directories=0, status=1, scrollbars=0, resizable=1, copyhistory=0, menuBar=0, width='+x+', height='+y+', left=250, top=250') ;
}
