function t(j){
	// Описние массива.
	maxN=61;	s='/IMG/EXHIB/KOREAN_04/'; p='/FOTO/EXHIB/KOREAN_04/';
	if (j==1000) {
		j=1;
		document.write('<TABLE ALIGN="center">');
		while (j<=maxN) {
			if (j%4==1) {document.write('<TR CLASS="gr">')};
			document.write('<TD CLASS="gr"><A HREF="'+p+(j)+'.htm"><IMG SRC="'+s+(j)+'_s.jpg"></A></TD>');
			if (j%4==0) {document.write('</TR>')};
			j++;
		};
		document.write('</TABLE');
	}
	else {
		// Рисуем картинку.
		document.write('<TABLE WIDTH=100% BORDER=0>');
		document.write('<TR><TD ALIGN="center" VALIGN="top" WIDTH=70>');
		document.write('<BR><BR><BR>');
		if (j>1) {document.write('<A HREF="'+p+(j-1)+'.htm" TARGET="_top"><IMG SRC="/IMG/prev.gif" border=0></A> <BR><BR>');}
		else	 {document.write('<IMG SRC="/IMG/prev_inactive.gif"><BR><BR>');};
		if (j>1) {document.write('<A HREF="'+p+'1.htm" TARGET="_top"><B><IMG SRC="/IMG/first.gif" border=0></B></A> <BR>');}
		else	 {document.write('<IMG SRC="/IMG/first_inactive.gif"><BR>');};
		document.write('</TD><TD ALIGN="center" WIDTH=*>');
		if (j<maxN) {document.write('<A HREF="'+p+(j+1)+'.htm" TARGET="_top">');}
		else	    {document.write('<A HREF="'+p+'1.htm" TARGET="_top">');};
		document.write('<IMG SRC="'+s+(j)+'.jpg"></A>');
		document.write('</TD><TD ALIGN="center" VALIGN="top" WIDTH=70>');
		document.write('<BR><BR><BR>');
		if (j<maxN) {document.write('<A HREF="'+p+ (j+1)+'.htm" TARGET="_top"><IMG SRC="/IMG/next.gif" border=0></A><BR><BR>');}
		else	    {document.write('<IMG SRC="/IMG/next_inactive.gif"><BR><BR>');};
		if (j<maxN) {document.write('<A HREF="'+p+ (maxN)+'.htm" TARGET="_top"><IMG SRC="/IMG/last.gif" border=0></A><BR>');}
		else	    {document.write('<IMG SRC="/IMG/last_inactive.gif"><BR>');};
		document.write('</TD></TR></TABLE>');
	};
}
