function change(n) {
	if(n=="architecture"){
		document.getElementById("photo").src="archit_0977.jpg";
		return;
		}
	if(n=="plants"){
		document.getElementById("photo").src="pl_f2.jpg";
		return;
		}
	if(n=="sculpture"){
		document.getElementById("photo").src="sculpt_3090.jpg";
		return;
		}
	if(n=="gaypride"){
		document.getElementById("photo").src="gay_11_18za.jpg";
		return;
		}
return;
}

var active="";

function show(n){
	if(active!="") document.getElementById(active).className="";	
	document.getElementById(n).className="active";
	active=n;
	if(n=="architecture"){
		change(n);
		var text="<h2>Architectural Textures</h2>\n";
		text +="<p>I was always fascinated by modern architecture which allows";
		text +=" for an incredible range of structures, colors and forms. ";
		text +="Especially when observed in its fragments it very easily ";
		text +="transforms itself into something abstract. </p>";
		text +="<p>In this collection of photos I tried to show these impressions.</p>";
		var panel=document.getElementById('info');
		panel.innerHTML = text;
		panel.onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		document.getElementById('photo').onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		return;
	}
	if(n=="plants"){
		change(n);
		var text="<h2>Geometry of Plants</h2>\n";
		text +="<p>Plants, when examined from very close, cease to ";
		text +="take their familiar form and get a new reality. ";
		text +="Some become more geometrical, others seem to be parts ";
		text +="of an imaginary landscape. </p>";
		text +="<p>Paradoxically, for me, there is much in common with the architectural textures exhibition.</p>";
		var panel=document.getElementById('info');
		panel.innerHTML = text;
		panel.onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		document.getElementById('photo').onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		return;
	}
	if(n=="sculpture"){
		change(n);
		var text="<h2>Private life of sculptures</h2>\n";
		text +="<p>In this colection I wanted to look at various sculptures ";
		text +="as if they were portraits of people, caught by the photographic ";
		text +="shutter right in the course of ";
		text +="doing something. I tried looking at them as full of emotions, ";
		text +="dynamic and alive. </p>";
		var panel=document.getElementById('info');
		panel.innerHTML = text;
		panel.onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		document.getElementById('photo').onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		return;
	}
	if(n=="gaypride"){
		change(n);
		var text="<h2>Gay Pride (square version)</h2>\n";
		text +="<p>This collection is rather documentary. It shows ";
		text +="snapshots of Gay Pride parades in Paris. This part ";
		text +="uses a square format for all photos. A second part will ";
		text +="be composed of 2x3 photographs. </p>";
		var panel=document.getElementById('info');
		panel.innerHTML = text;
		panel.onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		document.getElementById('photo').onclick=function() { window.location='expo.php?page='+n+'&lang=eng'; };
		return;
	}

}
