var newWin;
var is_opera = (navigator.userAgent.indexOf("Opera")!=-1);
var t = "resizable=yes,scrollbars=yes,height=600,width=700";

function winopen(img,n){
var url = "img/" + img + ".jpg";
var str = '<html><head><title>The exhibition «Along the Banks of the Volga River» at the National Library of Russia</title><LINK href="styles.css" type="text/css" rel="stylesheet"></head><body style="background-image: url(images/fon_page.jpg)" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0"><p class="center"><img src="' + url + '" vspace=10><br><br>' + text[n] + "</p><table width=100% border=0 cellspacing=0 cellpadding=0><TR><TD class=\"fon_bot\"><IMG SRC=\"/img/pix.gif\" WIDTH=\"1\" HEIGHT=\"33\" BORDER=0 ALT=\"_\"></TD></TR></table><div class='close_win'><A HREF='javascript:this.close()'>Close the window</A></div></body></html>";

	if(!newWin || newWin.closed || is_opera){
    newWin= window.open("","new", t);
	newWin.document.open();
    newWin.document.write(str);
	newWin.document.close();
	if(newWin.focus) newWin.focus();
    }
	else {
   	newWin.document.open();
    newWin.document.write(str);
	newWin.document.close();
	if(newWin.focus) newWin.focus();
    }
}
var text = new Array();
text[0]= "Mikhail Bukar<BR> The Kyrgyz People. 1872";
text[1]= "Mikhail Bukar<BR>The Mordvins. 1872";
text[2]= "Mikhail Bukar<BR>A Tatar Man. 1872";
text[3]= "Mikhail Bukar<BR>The Bashkirs. 1872";
text[4]= "Mikhail Bukar<BR>The Kalmyks. 1872";
text[5]= "Andrey Karelin.<BR>Nizhny Novgorod. View over the St. Alexander Nevsky's Cathedral. 1880s";
text[6]= "Andrey Karelin.<BR>Nizhny Novgorod. Sobolevsky Slope. 1880s";
text[7]= "Andrey Karelin.<BR>On the Outskirts of Nizhny Novgorod. 1880s";
text[8]= "Andrey Karelin.<BR>View over the Church of St. Elijah the Prophet. 1880s";
text[9]= "Vasiliy (William) Carrick.<BR>A Woman at the Window. 1870s";
text[10]= "Vasiliy (William) Carrick.<BR>Girls By a Wood Hut. 1870s";
text[11]= "Vasiliy (William) Carrick.<BR>A Russian Beauty. 1870s";
text[12]= "Vasiliy (William) Carrick.<BR>A Mordvin Man from Simbirsk Province. 1870s";
text[13]= "Vasiliy (William) Carrick.<BR>A Girl and a Woman from the Village of Poretskoye of Simbirsk Province. 1870s";
text[14]= "Vasiliy (William) Carrick.<BR>Peasant Woman from Tver Province. 1870s";
text[15]= "Vasiliy (William) Carrick.<BR>Peasant Children at the Water Carrier Barrel. 1870s";
text[16]= "Ivan (Jean) Raoult.<BR>Kazan Province. A Tatar Man. 1870s";
text[17]= "Ivan (Jean) Raoult.<BR>Nizhny Novgorod Province.<BR>At the Laid Table. 1870s";
text[18]= "Ivan (Jean) Raoult.<BR>Kazan Province. A Tatar Man Wearing a Fox Hat. 1870s";
text[19]= "Ivan (Jean) Raoult.<BR>Kazan Province. A Tatar Couple. 1870s";
text[20]= "Ivan (Jean) Raoult.<BR>Nizhny Novgorod Province.<BR>Tea-Drinking. 1870s";
text[21]= "The \"Vishnevsky's Photography\" studio, Astrakhan.<BR>Varvartsiev Canal in Astrakhan. Early 1870s";
text[22]= "The \"Vishnevsky's Photography\" studio, Astrakhan.<BR>Kalmyk Women Dancing. Early 1870s";
text[23]= "The \"Vishnevsky's Photography\" studio, Astrakhan.<BR>A Camel and a Kyrgyz Man. Early 1870s";
text[24]= "The \"Vishnevsky's Photography\" studio, Astrakhan.<BR>The Kalmyk Fighting. Early 1870s";
text[25]= "Mikhail Nastyukov.<BR>The Settlement of Kimri, Tver Province. 1867";
text[26]= "Mikhail Nastyukov.<BR>The Holy Trinity Monastery in Kalyazin.  1867";
text[27]= "Mikhail Nastyukov.<BR>Nizhny Novgorod. View from the Fair. 1867";
text[28]= "The \"Lopatin's Photography\" shop, Yaroslavl<BR>The Tolga Monastery near Yaroslavl. 1880s";
text[29]= "Ivan Barshchevsky.<BR>Yaroslavl. The Cross of the Christmas Church. 1880s";
text[30]= "Maxim Dmitriyev.<BR>The Cheremis Monastery near Vasil'sursk. 1890s";
text[31]= "Maxim Dmitriyev.<BR>The Empty Bast Sandal Cliff. 1890s";
text[32]= "Maxim Dmitriyev.<BR>The Churkin Monastery near Astrakhan. 1890s";
text[33]= "Maxim Dmitriyev.<BR>Stepan Razin's Cliff. 1890s";
text[34]= "Maxim Dmitriyev.<BR>The Mouth of the Saratna. 1890s";
text[35]= "Maxim Dmitriyev.<BR>The Grain Pier at Rovnoye. 1890s";
text[36]= "Maxim Dmitriyev.<BR>A Kalmyk <I>Khurul</I> (Buddhist Temple) near Astrakhan. 1890s";
text[37]= "Maxim Dmitriyev.<BR>Public Canteen in the Settlement of Chernovskoye, Sergach District. 1892";
text[38]= "Maxim Dmitriyev.<BR>Public Canteen in the Settlement of Chernovskoye, Sergach District. 1892";
text[39]= "Maxim Dmitriyev.<BR>Ice Drifting. The Caravan Wreck at the Sibirskaya Pier in Nizhny Novgorod. 1893";
text[40]= "Evgeny Vishnyakov.<BR>The Chapel over the Spring Known as<BR>the Source of the Volga. 1892";
text[41]= "Evgeny Vishnyakov.<BR>The First High Bank of the Volga. 1892";
text[42]= "Evgeny Vishnyakov.<BR>The Spring Flood of the Volga over the Meadows<BR>of the Village of Alekseevka. 1892";
text[43]= "Evgeny Vishnyakov.<BR>Fish Garth where the Volga Flows<BR>into the Lake of Sterzh. 1892";
text[44]= "Evgeny Vishnyakov.<BR>The Peno Lakeshore near the Village of Grishino. 1892";
text[45]= "Evgeny Vishnyakov.<BR>The Lake of Sterzh. 1892";
text[46]= "Evgeny Vishnyakov.<BR>A Mill on the Spring. 1892";
text[47]= "Evgeny Vishnyakov<BR>The Volga River near Rzhev. 1892";
text[48]= "Semen Felzer<BR>The Steamer <I>Vostok</I>. 1886";