function fotografie(i)
{
var txt;

txt = "<HTML> \n";
txt += "<HEAD> \n";
txt += "<TITLE>Dopravní letadla</TITLE> \n";
txt += "<META http-equiv='content-type' content='text/html; charset=iso-8859-2'> \n";
txt += "<LINK href='../../etc/mv.css' type=text/css rel=STYLESHEET> \n\n";
txt += "<link rel='shortcut icon' href='http://www.martinvalek.net/favicon.ico' /> \n";
txt += "<sc" + "ript language='JavaScript'> \n";
txt += "<!-- \n";
// Celkový poèet fotek
txt += "pocet_obrazku = 102; \n"; 
txt += "show = false; \n"; 
// jména suborù
txt += "images = new Array (); \n";
txt += "images[1] = 'fotky/2007-08-0020.jpg'; \n";
txt += "images[2] = 'fotky/2007-08-0195.jpg'; \n";
txt += "images[3] = 'fotky/2007-08-0201.jpg'; \n";
txt += "images[4] = 'fotky/2007-08-0259.jpg'; \n";
txt += "images[5] = 'fotky/2007-08-0264.jpg'; \n";
txt += "images[6] = 'fotky/2008-04-0510.jpg'; \n";
txt += "images[7] = 'fotky/2008-04-0556.jpg'; \n";
txt += "images[8] = 'fotky/2008-04-0673.jpg'; \n";
txt += "images[9] = 'fotky/2008-04-0745.jpg'; \n";
txt += "images[10] = 'fotky/2008-04-0821.jpg'; \n";
txt += "images[11] = 'fotky/2008-04-0940.jpg'; \n";
txt += "images[12] = 'fotky/2008-04-0975.jpg'; \n";
txt += "images[13] = 'fotky/2008-07-0546.jpg'; \n";
txt += "images[14] = 'fotky/2008-07-0783.jpg'; \n";
txt += "images[15] = 'fotky/2008-07-0792.jpg'; \n";
txt += "images[16] = 'fotky/2008-07-0915.jpg'; \n";
txt += "images[17] = 'fotky/2008-07-0951.jpg'; \n";
txt += "images[18] = 'fotky/2008-07-0958.jpg'; \n";
txt += "images[19] = 'fotky/2008-07-0965.jpg'; \n";
txt += "images[20] = 'fotky/2008-07-1722.jpg'; \n";
txt += "images[21] = 'fotky/2008-07-2124.jpg'; \n";
txt += "images[22] = 'fotky/2008-07-2186.jpg'; \n";
txt += "images[23] = 'fotky/2008-07-2275.jpg'; \n";
txt += "images[24] = 'fotky/2008-07-2292.jpg'; \n";
txt += "images[25] = 'fotky/2008-07-2338.jpg'; \n";
txt += "images[26] = 'fotky/2008-07-2396.jpg'; \n";
txt += "images[27] = 'fotky/2008-07-2443.jpg'; \n";
txt += "images[28] = 'fotky/2008-07-2697.jpg'; \n";
txt += "images[29] = 'fotky/2008-07-2714.jpg'; \n";
txt += "images[30] = 'fotky/2008-08-0250.jpg'; \n";
txt += "images[31] = 'fotky/2008-08-0321.jpg'; \n";
txt += "images[32] = 'fotky/2008-08-0402.jpg'; \n";
txt += "images[33] = 'fotky/2008-08-0510.jpg'; \n";
txt += "images[34] = 'fotky/2008-08-0525.jpg'; \n";
txt += "images[35] = 'fotky/2008-08-0568.jpg'; \n";
txt += "images[36] = 'fotky/2008-08-0531.jpg'; \n";
txt += "images[37] = 'fotky/2008-08-0551.jpg'; \n";
txt += "images[38] = 'fotky/2008-08-0583.jpg'; \n";
txt += "images[39] = 'fotky/2008-08-0614.jpg'; \n";
txt += "images[40] = 'fotky/2008-08-0825.jpg'; \n";
txt += "images[41] = 'fotky/2008-08-0777.jpg'; \n";
txt += "images[42] = 'fotky/2008-08-0847.jpg'; \n";
txt += "images[43] = 'fotky/2008-08-0662.jpg'; \n";
txt += "images[44] = 'fotky/2008-08-1252.jpg'; \n";
txt += "images[45] = 'fotky/2008-08-1183.jpg'; \n";
txt += "images[46] = 'fotky/2008-08-1316.jpg'; \n";
txt += "images[47] = 'fotky/2008-08-1367.jpg'; \n";
txt += "images[48] = 'fotky/2008-10-1127.jpg'; \n";
txt += "images[49] = 'fotky/2009-04-0283.jpg'; \n";
txt += "images[50] = 'fotky/2009-04-0461.jpg'; \n";
txt += "images[51] = 'fotky/2009-04-0808.jpg'; \n";
txt += "images[52] = 'fotky/2009-04-0628.jpg'; \n";
txt += "images[53] = 'fotky/2009-05-0701.jpg'; \n";
txt += "images[54] = 'fotky/2009-05-1211.jpg'; \n";
txt += "images[55] = 'fotky/2009-05-1249.jpg'; \n";
txt += "images[56] = 'fotky/2009-05-1291.jpg'; \n";
txt += "images[57] = 'fotky/2009-05-1345.jpg'; \n";
txt += "images[58] = 'fotky/2009-05-1402.jpg'; \n";
txt += "images[59] = 'fotky/2009-06-0174.jpg'; \n";
txt += "images[60] = 'fotky/2009-06-0199.jpg'; \n";
txt += "images[61] = 'fotky/2009-06-0298.jpg'; \n";
txt += "images[62] = 'fotky/2009-06-0360.jpg'; \n";
txt += "images[63] = 'fotky/2009-06-0581.jpg'; \n";
txt += "images[64] = 'fotky/2009-05-0507.jpg'; \n";
txt += "images[65] = 'fotky/2009-07-0416.jpg'; \n";
txt += "images[66] = 'fotky/2009-07-0310.jpg'; \n";
txt += "images[67] = 'fotky/2009-07-0340.jpg'; \n";
txt += "images[68] = 'fotky/2009-07-0463.jpg'; \n";
txt += "images[69] = 'fotky/2009-07-0483.jpg'; \n";
txt += "images[70] = 'fotky/2009-07-0515.jpg'; \n";
txt += "images[71] = 'fotky/2010-05-0120.jpg'; \n";
txt += "images[72] = 'fotky/2010-05-0173.jpg'; \n";
txt += "images[73] = 'fotky/2010-05-0264.jpg'; \n";
txt += "images[74] = 'fotky/2010-05-0376.jpg'; \n";
txt += "images[75] = 'fotky/2010-05-0530.jpg'; \n";
txt += "images[76] = 'fotky/2010-05-0812.jpg'; \n";
txt += "images[77] = 'fotky/2010-08-0232.jpg'; \n";
txt += "images[78] = 'fotky/2010-08-0326.jpg'; \n";
txt += "images[79] = 'fotky/2010-08-0361.jpg'; \n";
txt += "images[80] = 'fotky/2010-08-0542.jpg'; \n";
txt += "images[81] = 'fotky/2010-08-0569.jpg'; \n";
txt += "images[82] = 'fotky/2010-08-1569.jpg'; \n";
txt += "images[83] = 'fotky/2010-08-1651.jpg'; \n";
txt += "images[84] = 'fotky/2010-08-1700.jpg'; \n";
txt += "images[85] = 'fotky/2010-08-2119.jpg'; \n";
txt += "images[86] = 'fotky/2011-04-0615.jpg'; \n";
txt += "images[87] = 'fotky/2011-04-0818.jpg'; \n";
txt += "images[88] = 'fotky/2011-04-0865.jpg'; \n";
txt += "images[89] = 'fotky/2011-04-0940.jpg'; \n";
txt += "images[90] = 'fotky/2011-04-1081.jpg'; \n";
txt += "images[91] = 'fotky/2011-04-1138.jpg'; \n";
txt += "images[92] = 'fotky/2011-04-1147.jpg'; \n";
txt += "images[93] = 'fotky/2011-04-1168.jpg'; \n";
txt += "images[94] = 'fotky/2011-04-1238.jpg'; \n";
txt += "images[95] = 'fotky/2011-04-1328.jpg'; \n";
txt += "images[96] = 'fotky/2011-04-1429.jpg'; \n";
txt += "images[97] = 'fotky/2011-04-1689.jpg'; \n";
txt += "images[98] = 'fotky/2011-04-1720.jpg'; \n";
txt += "images[99] = 'fotky/2011-04-1748.jpg'; \n";
txt += "images[100] = 'fotky/2011-04-1766.jpg'; \n";
txt += "images[101] = 'fotky/2011-04-1923.jpg'; \n";
txt += "images[102] = 'fotky/2011-04-1930.jpg'; \n";
// Komentáøe fotografií
txt += "comment = new Array () \n";
txt += "comment[1] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-XGE, Praha - Ruzynì'; \n";
txt += "comment[2] = 'De Havilland DHC-8-402Q, Austrian Arrows, OE-LGH, Praha - Ruzynì'; \n";
txt += "comment[3] = 'De Havilland DHC-8-402Q, Austrian Arrows, OE-LGH, Praha - Ruzynì'; \n";
txt += "comment[4] = 'McDonnell-Douglas MD-82, Alitalia, I-DANW, Praha - Ruzynì'; \n";
txt += "comment[5] = 'McDonnell-Douglas MD-82, Alitalia, I-DANW, Praha - Ruzynì'; \n";
txt += "comment[6] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-CGK, Praha - Ruzynì'; \n";
txt += "comment[7] = 'Airbus A319-112, Swiss, HB-IPU, Praha - Ruzynì'; \n";
txt += "comment[8] = 'Airbus A319-111, easyJet, G-EZIL, Praha - Ruzynì'; \n";   
txt += "comment[9] = 'Airbus A320-214, ÈSA Czech Airlines, OK-GEB, Praha - Ruzynì'; \n";
txt += "comment[10] = 'Airbus A319-112, ÈSA Czech Airlines, OK-NEN, Praha - Ruzynì'; \n";   
txt += "comment[11] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-CGK, Praha - Ruzynì'; \n";
txt += "comment[12] = 'Airbus A320-231, Windjet, I-LINH, Praha - Ruzynì'; \n";
txt += "comment[13] = 'Airbus A321-231, British Airways, G-EUXC, Praha - Ruzynì'; \n";
txt += "comment[14] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-CGJ, Praha - Ruzynì'; \n";
txt += "comment[15] = 'ATR 42-512, ÈSA Czech Airlines, OK-KFP, Praha - Ruzynì'; \n";
txt += "comment[16] = 'Airbus A318-111, Air France, F-GUGQ, Praha - Ruzynì'; \n";
txt += "comment[17] = 'Airbus A320-214, ÈSA Czech Airlines, OK-GEA, Praha - Ruzynì'; \n";
txt += "comment[18] = 'Airbus A320-214, ÈSA Czech Airlines, OK-GEA, Praha - Ruzynì'; \n";
txt += "comment[19] = 'Airbus A320-214, ÈSA Czech Airlines, OK-GEA, Praha - Ruzynì'; \n";
txt += "comment[20] = 'Airbus A319-112, Swiss, HB-IPS, Praha - Ruzynì'; \n";
txt += "comment[21] = 'Airbus A320-214, Iberia, EC-IEF, Praha - Ruzynì'; \n";
txt += "comment[22] = 'Boeing 737-5L9, Sterling, OY-MAA, Praha - Ruzynì'; \n";
txt += "comment[23] = 'Embraer EMB170-100LR, Alitalia Express, EI-DFL, Praha - Ruzynì, '; \n";
txt += "comment[24] = 'Boeing 777-268ER, Saudi Arabian Airlines, HZ-AKF, Praha - Ruzynì'; \n";   
txt += "comment[25] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-CGJ, Praha - Ruzynì'; \n";
txt += "comment[26] = 'Airbus A320-214, Aer Lingus, EI-CVD, Praha - Ruzynì'; \n";   
txt += "comment[27] = 'Airbus A320-214, ÈSA Czech Airlines, OK-MEJ, Praha - Ruzynì'; \n";   
txt += "comment[28] = 'Airbus A330-323X, Korean Air, HL7587, Praha - Ruzynì'; \n";   
txt += "comment[29] = 'Boeing 737-76N, SkyEurope, OM-NGD, Praha - Ruzynì'; \n"; 
txt += "comment[30] = 'Airbus A319-112, ÈSA Czech Airlines, OK-MEL, Praha - Ruzynì'; \n";
txt += "comment[31] = 'Airbus A330-323X, Korean Air, HL7585, Praha - Ruzynì'; \n";   
txt += "comment[32] = 'Canadair Regional Jet 200ER, Eurowings, D-ACRI, Praha - Ruzynì'; \n";
txt += "comment[33] = 'Airbus A320-214, Aeroflot, VP-BQV, Praha - Ruzynì'; \n";   
txt += "comment[34] = 'Boeing 737-45S, ÈSA Czech Airlines, OK-EGP, Praha - Ruzynì'; \n"; 
txt += "comment[35] = 'Boeing 737-8CX, Travel Service, OK-TVB, Praha - Ruzynì'; \n";  
txt += "comment[36] = 'Airbus A321-131, Lufthansa, D-AIRU, Praha - Ruzynì'; \n";   
txt += "comment[37] = 'Canadair Regional Jet 200ER, Eurowings, D-ACRI, Praha - Ruzynì'; \n";   
txt += "comment[38] = 'Fokker 100, Moldavian Airlines, ER-FZA, Praha - Ruzynì'; \n"; 
txt += "comment[39] = 'Boeing 737-8Q8/W, Travel Service, OK-TVH, Praha - Ruzynì'; \n";
txt += "comment[40] = 'Airbus A321-131, Lufthansa, D-AIRN, Praha - Ruzynì'; \n";   
txt += "comment[41] = 'Boeing 737-317, KD Avia, EI-CHH, Praha - Ruzynì'; \n";
txt += "comment[42] = 'Airbus A320-214, ÈSA Czech Airlines, OK-MEH, Praha - Ruzynì'; \n";   
txt += "comment[43] = 'Boeing 747-446, Japan Airlines, JA8075, Praha - Ruzynì'; \n"; 
txt += "comment[44] = 'Boeing 747-446, Japan Airlines, JA8075, Praha - Ruzynì'; \n";  
txt += "comment[45] = 'Boeing 737-45S, ÈSA Czech Airlines, OK-DGM, Praha - Ruzynì'; \n";   
txt += "comment[46] = 'Boeing 737-8Q8/W, Travel Service, OK-TVI, Praha - Ruzynì'; \n";   
txt += "comment[47] = 'Boeing 737-76N, SkyEurope, OM-NGG, Praha - Ruzynì'; \n"; 
txt += "comment[48] = 'Airbus A319-112, ÈSA Czech Airlines, OK-MEL, Praha - Ruzynì'; \n"; 
txt += "comment[49] = 'Airbus A320-214, ÈSA Czech Airlines, OK-MEJ, Praha - Ruzynì'; \n";  
txt += "comment[50] = 'Gulfstream 4 (Tp102A), Swedish Air Force, 102001, Praha - Ruzynì'; \n";   
txt += "comment[51] = 'Boeing 707-3K1C, Romavia, YR-ABB, Praha - Ruzynì'; \n";   
txt += "comment[52] = 'Airbus A320-211, TAP Portugal, CS-TNE, Praha - Ruzynì'; \n"; 
txt += "comment[53] = 'Boeing 767-383ER, Travel Service, TF-FIB, Praha - Ruzynì'; \n";
txt += "comment[54] = 'Airbus A319-112, ÈSA Czech Airlines, OK-NEM, Praha - Ruzynì'; \n";   
txt += "comment[55] = 'Boeing 737-330, Lufthansa, D-ABWH, Praha - Ruzynì'; \n";
txt += "comment[56] = 'Airbus A321-231, British Airways, G-EUXF, Praha - Ruzynì'; \n";   
txt += "comment[57] = 'Airbus A320-212, Travel Service, YL-LCF, Praha - Ruzynì'; \n"; 
txt += "comment[58] = 'Boeing 737-8Q8, Malév Hungarian Airlines, HA-LOK, Praha - Ruzynì'; \n";  
txt += "comment[59] = 'Airbus A319-115LR, Air France, F-GRXL, Praha - Ruzynì'; \n";   
txt += "comment[60] = 'Airbus A320-214, Aeroflot Russian Airlines, VP-BZO, Praha - Ruzynì'; \n";   
txt += "comment[61] = 'ATR 42-500, Air Dolomiti, I-ADLQ, Praha - Ruzynì'; \n"; 
txt += "comment[62] = 'Boeing 737-8FH, Travel Service, OK-TVF, Praha - Ruzynì'; \n";  
txt += "comment[63] = 'British Aerospace 146-200, Eurowings, D-AJET, Praha - Ruzynì'; \n";   
txt += "comment[64] = 'Boeing 777-2B5ER, Korean Air, HL7721, Praha - Ruzynì'; \n";   
txt += "comment[65] = 'Boeing 777-2B5ER, Korean Air, HL7598, Praha - Ruzynì'; \n"; 
txt += "comment[66] = 'Airbus A320-211, Travel Service, YL-LCE, Praha - Ruzynì'; \n";  
txt += "comment[67] = 'Airbus A321-231, British Airways, G-EUXF, Praha - Ruzynì'; \n";  
txt += "comment[68] = 'Boeing 737-45S, ÈSA Czech Airlines, OK-FGR, Praha - Ruzynì'; \n"; 
txt += "comment[69] = 'Boeing 737-45S, ÈSA Czech Airlines, OK-DGN, Praha - Ruzynì'; \n";  
txt += "comment[70] = 'Fokker 100, Helvetic Airways, HB-JVG, Praha - Ruzynì'; \n"; 
txt += "comment[71] = 'Avro 146, Brussels Airlines, OO-DJP, Praha - Ruzynì'; \n";  
txt += "comment[72] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-CGH, Praha - Ruzynì'; \n";   
txt += "comment[73] = 'Boeing 737-528, Yamal, VP-BRV, Praha - Ruzynì'; \n";   
txt += "comment[74] = 'ATR 42-512, ÈSA Czech Airlines, OK-JFJ, Praha - Ruzynì'; \n"; 
txt += "comment[75] = 'Fokker 70, KLM Cityhopper, PH-KZM, Praha - Ruzynì'; \n";  
txt += "comment[76] = 'Airbus A320-232, Wizz Air, HA-LPY, Praha - Ruzynì'; \n";  
txt += "comment[77] = 'Airbus A319-112, ÈSA Czech Airlines, OK-NEM, Praha - Ruzynì'; \n"; 
txt += "comment[78] = 'Boeing 737-8CX, Travel Service, OK-TVO, Praha - Ruzynì'; \n";  
txt += "comment[79] = 'Boeing 777-258ER, EL AL Israel Airlines, 4X-ECF, Praha - Ruzynì'; \n"; 
txt += "comment[80] = 'Boeing 737-322, Smart Wings, OK-SVU, Praha - Ruzynì'; \n";  
txt += "comment[81] = 'Airbus A320-214, ÈSA Czech Airlines, OK-GEB, Praha - Ruzynì'; \n";   
txt += "comment[82] = 'Boeing 737-330, Lufthansa, D-ABXN, Praha - Ruzynì'; \n";   
txt += "comment[83] = 'Airbus A319-112, ÈSA Czech Airlines, OK-NEM, Praha - Ruzynì'; \n"; 
txt += "comment[84] = 'Airbus A320-232, Wizz Air, HA-LWC, Praha - Ruzynì'; \n";  
txt += "comment[85] = 'ATR 42-512, ÈSA Czech Airlines, OK-JFL, Praha - Ruzynì'; \n";  
txt += "comment[86] = 'Boeing 737-883, SAS Scandinavian Airlines, LN-RCN, Praha - Ruzynì'; \n";   
txt += "comment[87] = 'McDonnell Douglas MD-87, City Airline, SE-DIU, Praha - Ruzynì'; \n"; 
txt += "comment[88] = 'Boeing 747-409F, China Airlines, B-18719, Praha - Ruzynì'; \n";  
txt += "comment[89] = 'Boeing 737-86N, Enter Air, SP-ENY, Praha - Ruzynì'; \n";  
txt += "comment[90] = 'Boeing 737-448, Aerosvit Airlines, UR-VVL, Praha - Ruzynì'; \n"; 
txt += "comment[91] = 'Bombardier CRJ-701ER, Lufthansa Cityline, D-ACPF, Praha - Ruzynì'; \n";  
txt += "comment[92] = 'Airbus A330-243, Emirates, A6-EAK, Praha - Ruzynì'; \n"; 
txt += "comment[93] = 'Airbus A330-243, Emirates, A6-EAK, Praha - Ruzynì'; \n";  
txt += "comment[94] = 'ATR 72-202, ÈSA Czech Airlines, OK-XFA, Praha - Ruzynì'; \n";   
txt += "comment[95] = 'Boeing 747-481BDSF, Yangtze River Express, B-2435, Praha - Ruzynì'; \n";   
txt += "comment[96] = 'Avro 146, Lufthansa Cityline, D-AVRH, Praha - Ruzynì'; \n"; 
txt += "comment[97] = 'Boeing 737-55S, ÈSA Czech Airlines, OK-EGO, Praha - Ruzynì'; \n";  
txt += "comment[98] = 'Boeing 737-330, Lufthansa, D-ABXL, Praha - Ruzynì'; \n";  
txt += "comment[99] = 'ATR 72-202, ÈSA Czech Airlines, OK-XFB, Praha - Ruzynì'; \n"; 
txt += "comment[100] = 'Boeing 737-33A, Jet2.com, G-CELE, Praha - Ruzynì'; \n";  
txt += "comment[101] = 'Airbus A320-214, Iberia, EC-JSK, Praha - Ruzynì'; \n"; 
txt += "comment[102] = 'Airbus A320-214, Edelweiss, HB-IHZ, Praha - Ruzynì'; \n";  
// Data fotografií
txt += "date = new Array () \n";
txt += "date[1] = '4.8.2007'; \n";
txt += "date[2] = '4.8.2007'; \n";
txt += "date[3] = '4.8.2007'; \n";
txt += "date[4] = '4.8.2007'; \n";
txt += "date[5] = '4.8.2007'; \n";
txt += "date[6] = '13.4.2008'; \n";
txt += "date[7] = '14.4.2008'; \n";
txt += "date[8] = '14.4.2008'; \n";
txt += "date[9] = '14.4.2008'; \n";
txt += "date[10] = '14.4.2008'; \n";
txt += "date[11] = '14.4.2008'; \n";
txt += "date[12] = '14.4.2008'; \n";
txt += "date[13] = '22.7.2008'; \n";
txt += "date[14] = '22.7.2008'; \n";
txt += "date[15] = '22.7.2008'; \n";
txt += "date[16] = '22.7.2008'; \n";
txt += "date[17] = '22.7.2008'; \n";
txt += "date[18] = '22.7.2008'; \n";
txt += "date[19] = '22.7.2008'; \n";
txt += "date[20] = '27.7.2008'; \n";
txt += "date[21] = '27.7.2008'; \n";
txt += "date[22] = '27.7.2008'; \n";
txt += "date[23] = '27.7.2008'; \n";
txt += "date[24] = '27.7.2008'; \n";
txt += "date[25] = '27.7.2008'; \n";
txt += "date[26] = '27.7.2008'; \n";
txt += "date[27] = '27.7.2008'; \n";
txt += "date[28] = '29.7.2008'; \n";
txt += "date[29] = '29.7.2008'; \n";
txt += "date[30] = '4.8.2008'; \n";
txt += "date[31] = '4.8.2008'; \n";
txt += "date[32] = '4.8.2008'; \n";
txt += "date[33] = '4.8.2008'; \n";
txt += "date[34] = '4.8.2008'; \n";
txt += "date[35] = '4.8.2008'; \n";
txt += "date[36] = '4.8.2008'; \n";
txt += "date[37] = '4.8.2008'; \n";
txt += "date[38] = '4.8.2008'; \n";
txt += "date[39] = '8.8.2008'; \n";
txt += "date[40] = '8.8.2008'; \n";
txt += "date[41] = '8.8.2008'; \n";
txt += "date[42] = '8.8.2008'; \n";
txt += "date[43] = '8.8.2008'; \n";
txt += "date[44] = '13.8.2008'; \n";
txt += "date[45] = '13.8.2008'; \n";
txt += "date[46] = '13.8.2008'; \n";
txt += "date[47] = '13.8.2008'; \n";
txt += "date[48] = '25.10.2008'; \n";
txt += "date[49] = '2.4.2009'; \n";
txt += "date[50] = '4.4.2009'; \n";
txt += "date[51] = '5.4.2009'; \n";
txt += "date[52] = '4.4.2009'; \n";
txt += "date[53] = '12.5.2009'; \n";
txt += "date[54] = '12.5.2009'; \n";
txt += "date[55] = '12.5.2009'; \n";
txt += "date[56] = '12.5.2009'; \n";
txt += "date[57] = '12.5.2009'; \n";
txt += "date[58] = '12.5.2009'; \n";
txt += "date[59] = '7.6.2009'; \n";
txt += "date[60] = '7.6.2009'; \n";
txt += "date[61] = '12.6.2009'; \n";
txt += "date[62] = '12.6.2009'; \n";
txt += "date[63] = '20.6.2009'; \n";
txt += "date[64] = '9.5.2009'; \n";
txt += "date[65] = '20.7.2009'; \n";
txt += "date[66] = '20.7.2009'; \n";
txt += "date[67] = '20.7.2009'; \n";
txt += "date[68] = '20.7.2009'; \n";
txt += "date[69] = '20.7.2009'; \n";
txt += "date[70] = '20.7.2009'; \n";
txt += "date[71] = '22.5.2010'; \n";
txt += "date[72] = '22.5.2010'; \n";
txt += "date[73] = '22.5.2010'; \n";
txt += "date[74] = '22.5.2010'; \n";
txt += "date[75] = '22.5.2010'; \n";
txt += "date[76] = '22.5.2010'; \n";
txt += "date[77] = '10.8.2010'; \n";
txt += "date[78] = '10.8.2010'; \n";
txt += "date[79] = '10.8.2010'; \n";
txt += "date[80] = '14.8.2010'; \n";
txt += "date[81] = '14.8.2010'; \n";
txt += "date[82] = '25.8.2010'; \n";
txt += "date[83] = '25.8.2010'; \n";
txt += "date[84] = '25.8.2010'; \n";
txt += "date[85] = '25.8.2010'; \n";
txt += "date[86] = '10.4.2011'; \n";
txt += "date[87] = '10.4.2011'; \n";
txt += "date[88] = '10.4.2011'; \n";
txt += "date[89] = '10.4.2011'; \n";
txt += "date[90] = '10.4.2011'; \n";
txt += "date[91] = '10.4.2011'; \n";
txt += "date[92] = '10.4.2011'; \n";
txt += "date[93] = '10.4.2011'; \n";
txt += "date[94] = '10.4.2011'; \n";
txt += "date[95] = '10.4.2011'; \n";
txt += "date[96] = '10.4.2011'; \n";
txt += "date[97] = '10.4.2011'; \n";
txt += "date[98] = '10.4.2011'; \n";
txt += "date[99] = '10.4.2011'; \n";
txt += "date[100] = '10.4.2011'; \n";
txt += "date[101] = '10.4.2011'; \n";
txt += "date[102] = '10.4.2011'; \n";
// Èasovaè na automatické pøepínání fotek
txt += "var timer; \n";    
// Nastavení obrázku
txt += "function SetPic (){ \n";
txt += "document.images.imgprev.src = images[actpic];} \n";
// Nastavení komentáøe obrázku
txt += "function SetKom (){ \n";
txt += "function dominnerText(node, text) { \n";
txt += "while (node.hasChildNodes()) { \n";
txt += "node.removeChild(node.firstChild); \n";
txt += "} \n";
txt += "node.appendChild(document.createTextNode(text)); \n";
txt += "} \n";
txt += "dominnerText(document.getElementById('popis'), comment[actpic])}; \n";
// Nastavení data obrázku
txt += "function SetDat (){ \n";
txt += "function dominnerText(node, text) { \n";
txt += "while (node.hasChildNodes()) { \n";
txt += "node.removeChild(node.firstChild); \n";
txt += "} \n";
txt += "node.appendChild(document.createTextNode(text)); \n";
txt += "} \n";
txt += "dominnerText(document.getElementById('datum'), date[actpic])}; \n";
// Následující snímek
txt += "function NextPic (){ \n";
txt += "if (actpic == pocet_obrazku) actpic = pocet_obrazku; \n";
txt += "else actpic++; \n";
txt += "SetPic(); \n";
txt += "SetKom (); \n";
txt += "SetDat (); \n";
txt += "document.SetPic.previous.value='<<<'; \n";
txt += "if (actpic == pocet_obrazku){ \n";
txt += "document.SetPic.next.value='';  \n";
txt += "document.SetPic.slshow.value=''; \n";
txt += "if (show == true) {show = false; \n";
txt += "StopSlideShow ();} \n";
txt += "} \n";
txt += "} \n";
// Pøedchozí snímek
txt += "function PrevPic (){ \n";
txt += "if (actpic != 1) { \n";
txt += "actpic--; \n";
txt += "SetPic(); \n";
txt += "SetKom (); \n";
txt += "SetDat (); \n";
txt += "document.SetPic.next.value = '>>>'; } \n";
txt += "if (show == false) { \n";
txt += "document.SetPic.slshow.value='slideshow';} \n";
txt += "if (actpic == 1) { \n";
txt += "document.SetPic.previous.value=''; } \n";
txt += "} \n";
// Snímek volaný z galerie
txt += "function AktPic (){ \n";
//txt += "actpic = 1; \n";
txt += "actpic = " + i + "; \n";
txt += "SetPic(); \n";
txt += "SetKom (); \n";
txt += "SetDat (); \n";
txt += "if (actpic == 1){ \n";
txt += "document.SetPic.previous.value=''; } \n";
txt += "if (actpic == pocet_obrazku){ \n";
txt += "document.SetPic.next.value='';  \n";
txt += "document.SetPic.slshow.value=''; } \n";
txt += "} \n";
// Poslední snímek
txt += "function LastPic (){ \n";
txt += "actpic = pocet_obrazku; \n";
txt += "SetPic(); \n";
txt += "SetKom (); \n";
txt += "SetDat ();} \n";
// Spu¹tìní slideshow
txt += "function SlideShow (){ \n";
txt += "timer = setInterval ('NextPic();', 20000);} \n";
// Zastavení slideshow
txt += "function StopSlideShow (){ \n";
txt += "clearInterval (timer);} \n";
// Ovladac slideshow
txt += "function OvladacSlideShow () {  \n";
txt += "if (show == false && actpic != pocet_obrazku) { show = true; \n";
txt += "SlideShow (); \n";
txt += "document.SetPic.slshow.value='stop';} \n";
txt += "else \n";
txt += "{if (actpic != pocet_obrazku) { show = false; \n";
txt += "StopSlideShow (); \n";
txt += "document.SetPic.slshow.value='slideshow';} \n";
txt += "} \n";
txt += "} \n";
// Ovladac zmeny barvy tlacitek
txt += "function KurzorNadNahledy() { \n";
txt += "document.SetPic.nahledy.style.color = '#ffffff'; } \n";
txt += "function KurzorMimoNahledy() { \n";
txt += "document.SetPic.nahledy.style.color = '#3C3E35'; } \n";
txt += "function KurzorNadSlshow() { \n";
txt += "document.SetPic.slshow.style.color = '#ffffff'; } \n";
txt += "function KurzorMimoSlshow() { \n";
txt += "document.SetPic.slshow.style.color = '#3C3E35'; } \n";
txt += "function KurzorNadPredchozi() { \n";
txt += "document.SetPic.previous.style.color = '#ffffff'; } \n";
txt += "function KurzorMimoPredchozi() { \n";
txt += "document.SetPic.previous.style.color = '#3C3E35'; } \n";
txt += "function KurzorNadDalsi() { \n";
txt += "document.SetPic.next.style.color = '#ffffff'; } \n";
txt += "function KurzorMimoDalsi() { \n";
txt += "document.SetPic.next.style.color = '#3C3E35'; } \n";
txt += "// --> \n";
txt += "//--> </sc" + "ript> \n";

txt += "</HEAD> \n";
txt += "<BODY OnLoad='AktPic ();'> \n";
txt += "<table width=100% height=99%> \n";
txt += "<tr height=20><td> \n";
txt += "<form name='SetPic'> \n";
txt += "<input name='nahledy' onclick='history.go(-1);' class='galerie-navigace-foto' id='nahledy' type='button' width=50px style='cursor: pointer;' value='náhledy' onMouseOver='KurzorNadNahledy()' onMouseOut='KurzorMimoNahledy()'></td> \n";
txt += "<input name='slshow' onclick='OvladacSlideShow();' class='galerie-navigace-foto' id='slideshow' type='button' style='cursor: pointer;' value='slideshow' onMouseOver='KurzorNadSlshow()' onMouseOut='KurzorMimoSlshow()'></td> \n";
txt += "<input name='previous' onClick='PrevPic();' class='galerie-navigace-foto' id='zpet' type='button' style='cursor: pointer;' value='&lt;&lt;&lt;' onMouseOver='KurzorNadPredchozi()' onMouseOut='KurzorMimoPredchozi()'></td> \n";
txt += "<input name='next' onclick='NextPic();' class='galerie-navigace-foto' id='tam' type='button' style='cursor: pointer;' value='&gt;&gt;&gt;' onMouseOver='KurzorNadDalsi()' onMouseOut='KurzorMimoDalsi()'></td></tr></form> \n";
txt += "<tr align=center valign=middle> \n";
txt += "<td> \n";
txt += "<IMG Name='imgprev' title='' alt='Dopravní letadla'> \n";
txt += "<div class='popiska-text' id='popis'></div> \n";
txt += "<div class='datum-text' id='datum'></div></td></tr><table> \n";
txt += "</BODY> \n";
txt += "</HTML>";

	document.open(); 
	document.write(txt);
	document.close(); 
}	

