slideShowURL = 'SlideShow_assets/SlideShow.html';       // parameter from openSlideShowWindow.js
slideShowNS4URL = 'SlideShow_assets/SlideShowNS4.html'; // parameter from openSlideShowWindow.js

slides = new Array();
slides[0] = new Slide('../War_files/wartitle02.jpg', '205', '250', 'Heroes of the Revolution were popular on cigar boxes a century and a half after the last shot was fired because history books kept them alive. I haven’t seen this war pictured on boxes of the 1860 to 1880 early years of boxes, probably because the Civil War was on everyone’s minds.');
slides[1] = new Slide('../War_files/patriot44.jpg', '379', '570', 'Oddly designed box with a b/w label from the 1890’s\ndepicting the fantasy version of Revere’s ride. \nUnidentified Fact. 404, 3rd Dist. Mass.\n[2144]');
slides[2] = new Slide('../War_files/21patriot80.jpg', '582', '800', '1880’s style label on a box from 1916. Unidentified Fact. 456, 5th Dist. NC.  Lincoln is the only President to appear on more cigar boxes than George Washington. Made by American Tobacco as private house brand for Sears, Roebuck & Co. store.\n[2180]');
slides[3] = new Slide('../War_files/21patriot83.jpg', '476', '800', 'More crudely printed version from mid 1920’s. Cigars by JH.M. Bennett & Son, Fact. 49, \n21st Dist, Oneida, New York.\n[2183]');
slides[4] = new Slide('../War_files/14war26_2.jpg', '443', '536', 'Early style label on 1909 box picturing Baron von Steuben, for whom Steuben County, NY, was named. Cigars made by F.M. Kendrick & Co., \nFact. 5, 21st Dist., Utica, NY.\n[1427]');
slides[5] = new Slide('../War_files/14war25.jpg', '444', '540', 'Classic mid-Golden Age box with 4x4 end label, \nnail tag, and CMIU blue label.\n[1426]');
slides[6] = new Slide('../War_files/14war27.jpg', '444', '532', 'Revolutionary War General on late 1920’s box, in style typical for the period. Cigars made by John Herman & Co., Harrisburg, PA, Fact. 134.\nThe Napoleon front mark is a complement.\n[1428]');
slides[7] = new Slide('../War_files/5455fighter.jpg', '402', '593', 'Another Revolutionary War hero, this made in Manhattan by the Benito Rovira Co. in 1921.\nCompare the machine-age style of KNOX and LAFAYETTE labels with the Golden-Age style of COMMODORE and EL LIBRADOR. \n[5455]');
slides[8] = new Slide('../War_files/14war24.jpg', '384', '600', 'This beautiful label depicting Perry was used by Jacoby & Bookman, a 300 roller factory No. 366 on 38th St. in 3rd Dist. Manhattan in the 1880’s.\n[1425]');
slides[9] = new Slide('../War_files/14war30.jpg', '443', '559', 'Perry was interpreted 20 years later on this box by printed by American Litho for American Tobacco.\nFacto. 235, 3rd Dist, Westfield, Mass.\n[1431]');
slides[10] = new Slide('../War_files/men5448.jpg', '701', '800', 'You could collect signers of the Declaration of Independence such as Militia Captain Clark, as a goodly number of whom have been on boxes.\nUnknown cigar maker in Fact. 58, 1st PA, for \nJ.M. Doran & Co., Akron, Ohio, in 1938.\n[5448]');
slides[11] = new Slide('../War_files/men5452.jpg', '704', '800', 'Long time popular brand honors the Revolutionary diplomat and inventor in a colorful box used by \nHull, Grummond & Co., Fact. 227, 21st Dist., Binghamton, NY. 1921.  This box is both\nattractive and available.\n[5452]');
slides[12] = new Slide('../War_files/9539.jpg', '444', '486', 'American Tobacco Co. made this patriotic depiction of Washington in Fact. 117, SC, in 1939. The same design was used on CONTINENTAL CUBES \ncans of pipe tobacco.\n[9539]');
slides[13] = new Slide('../War_files/26missed4.jpg', '444', '590', 'American Tobacco Co. made this smaller version of the brand in their Philadelphia factory No. 1896\naround 1905. Made for Chicago retailer\nSteele-Wedeles Company.\n[2604]');
slides[14] = new Slide('../War_files/14war23.jpg', '505', '444', 'American Tobacco Co. made this box of 100 depicting the Lexington Minuteman in Factory 500 located in NYC’s 3rd Dist on East 52nd St.\nBack tag notes that bands “are good for valuable presents,” part of the Trust’s giveaway program.\n[1424]');
slides[15] = new Slide('../War_files/14war29.jpg', '409', '600', 'This lovely mid-1890’s accolade to the soldiers who fought for independence was used by S. Levy & Co., Fact. 401, 3rd NYC located on East 99th St.\nThe label is in the style of the 1880’s but ©1894.\n[1430]');
slides[16] = new Slide('../War_files/14war28.jpg', '444', '553', 'Snelling was a veteran of the War of 1812 who went on to have a long career establishing military forts on the edges of America and dealing with Indians. The 1920’s owner of Fact. 1096, 1st PA is unknown.\n[1429]');
slides[17] = new Slide('../War_files/wartitle03.jpg', '205', '250', 'The efforts to collect taxes to fight this War was responsible for the requirement that all cigars \nbe packed in boxes.');
slides[18] = new Slide('../War_files/14war3.jpg', '447', '444', 'Fabulous box with U.S. soldiers wearing distinctive uniform of the crack French-African troops. Brand was made in Cuba prior to Civil War; whether this is Cuban or U.S. is uncertain as it’s earlier than 1868 laws needed to identify maker. Some Spanglish suggests possible US origin.  [1404]');
slides[19] = new Slide('../War_files/14war10.jpg', '444', '560', 'Oshkosh, Wisconsin, cigar maker H. Derksen took advantage of local patriotism, naming his cigars after the local National Guard unit. Whether the uniforms are correct or it is a stock label is unknown.\nFact. 34, 3rd Dist. WI, 1879.\n[1411]');
slides[20] = new Slide('../War_files/14war8.jpg', '443', '571', 'Very early 1870’s style label with unadorned central square features Civil War vet smoking. Cigars made in Lichtenstein Bros, 1000 roller NYC factory No. 50.\nA curator’s favorite. \n[1409]');
slides[21] = new Slide('../War_files/14war6.jpg', '442', '451', 'Returning Civil War vet stopping for a cigar, being lit by a pretty woman. Brand name is a  play on words: MATCHLESS, referring to his contribution and lack of a light. Dark oscuro cigars by Houseal & Glattacker of Maytown, PA, Fact. 1078, 9th Dist. 1870’s style.\nA curator’s favorite. [1407]');
slides[22] = new Slide('../War_files/9152.jpg', '353', '600', 'Civil War ironclad sunk not long before. Box has two rare Lincoln death stamps. ID not required in 1865.\nA “top 10” box, one of most desirable known, rare and distinctive in many ways.\n[9152]');
slides[23] = new Slide('../War_files/14war20.jpg', '443', '468', 'This 1894-96 version of the brand was made by\nArthur L. Cook in Bluffton, Indiana. \nFact. 311, 6th Dist.\n[1421]');
slides[24] = new Slide('../War_files/14war18.jpg', '444', '576', 'Beautifully detailed portrayal of the battle of Harper’s Ferry. Unusual frontmark (“pushing up daisies”)?\nWas this a series of labels with other battles?\nFederal Cigar Co. in Lancaster Fact. 4, 9th Dist.,\nmade the cigars circa 1905.\nA curator’s favorite.  [1419]');
slides[25] = new Slide('../War_files/14war21.jpg', '444', '542', 'The concept of a company making only one brand was so unusual they printed that distinction right on the front of the box. Colorful label from the 1890’s depicts Civil War General James Abert. \nUnknown maker. Fact, 1009, 3rd Dist. NYC.\n[1422]');
slides[26] = new Slide('../War_files/14war13.jpg', '419', '599', 'Odd inner with early gold printing calls for peace on this 1872 box. Yaras are a distinctively strong cigar made from tobacco grown in Eastern Cuba. Cigars by James Daley, Fact. 1, 2nd Dist PA. \n[1414]');
slides[27] = new Slide('../War_files/14war14.jpg', '444', '512', 'End label of previous. Boxes calling for peace in any era are rare. Shows the North and South, one with a pipe one smoking cigars. A box of cigars and pack of tobacco is on the table. “That’s my Trade Mark.”\nOutstanding example of how not to repair a box. [1415]');
slides[28] = new Slide('../War_files/14war47.jpg', '429', '600', 'Aboard ships since age 12, Porter came out of retirement to command a gunboat patrolling the Cumberland and Mississippi Rivers. An armaments specialist, Porter improved incendiary shells. Cigars by J.A. Mayer & Bros, York, Fact. 445, 9th PA.\n[1448]');
slides[29] = new Slide('../War_files/14war17.jpg', '444', '519', 'Woman waves US flag at enemy troops marching with unidentifiable flag. Patriotic choice of inks on this two color mid 1880’s box. Cigars made for H.M. Mason on Milk St. in Boston, by unidentified PA Fact. 1005, in 1st District. \n[1418]');
slides[30] = new Slide('../War_files/9174.jpg', '444', '465', 'Honors the Grand Army of the Republic, Civil War veteran’s group which held frequent get-togethers.\nThis depicts 1861 battle and 1884 encampment. \nA curator’s favorite made by H. Frankenstine, a “Detrot” [sic] cigarmaker operating factory 504. \n[9174]');
slides[31] = new Slide('../War_files/1420.jpg', '497', '599', 'John Logan, former VP candidate under Blaine, headed the G.A.R. and was featured on this 1902 box used by Schrier Bros., Athens, PA. \nFact. 124, 12th PA.\n[1420]');
slides[32] = new Slide('../War_files/wartitle04.jpg', '205', '250', 'The cigar industry’s great expansion was between the Civil War and World War One, a time when Native Americans were gradually being forced from their lands. Indians became the symbol for tobacco and were frequently seen on cigar labels, but rarely depicted fighting back.');
slides[33] = new Slide('../War_files/1432.jpg', '559', '699', 'This box first appeared in stores within months of Custer’s demise. Brand was trade marked by Holzmann & Deutschbverger, a 250 roller factory in Manhattan. Fact. 976, 3rd Dist NYC.\nA curator’s favorite.  [1432]');
slides[34] = new Slide('../War_files/14war85_2.jpg', '374', '600', 'Indians were seldom depicted fiercely, here carrying off a woman after the Yellow Medicine of setting the cabin on fire. The war for the plains was still ongoing when this early 1880’s box appeared. Cigars by Frank Burg, Factory 14, New Ulm, Minnesota. \nA curator’s favorite. [1486]');
slides[35] = new Slide('../War_files/11633.jpg', '340', '600', 'Samuel Davis & Sons was one of Canada’s largest longest lived cigar makers. Their brands, tho sold in Canada, frequently has US themes. Captain Jack, Scarfaced Charley, Boston Charley, Bogus Charley, Schonchin and ShackNasty Jim are depicted in this California battle. A curator’s favorite. [11633]');
slides[36] = new Slide('../War_files/14war33.jpg', '444', '502', 'The  inner label of this Samuel Davis, Montreal, brand was trimmed to fit a 50/10 box. Cigars made in Fact. 6, IRD 17, Montreal in 1880’s. This company was responsible for many great boxes!\nA curator’s favorite. [1434]');
slides[37] = new Slide('../War_files/14war34.jpg', '443', '600', 'The Frontier of America is shown consisting of a demented looking army of Uncle Sams (how often do you see more than one at a time?) mowing down Indians.  The end label is trimmed differently, \ngiving another view of the battle.\n  A curator’s favorite.  [1435]');
slides[38] = new Slide('../War_files/14war37.jpg', '444', '555', 'Major Marcus A. Reno, one of Custer’s senior officers, escaped the carnage at the Little Big Horn and saved most of the troopers under his command from the Sioux. Cigars made in Raffl’s Cigar Factory No. 67, 8th District (Red Bud), Illinois. 1937. \n[1438]');
slides[39] = new Slide('../War_files/war37.jpg', '444', '561', 'Classic typical look of a Machine Age cigar box (1920’s and 1930’s). Cigars made by Mrs. Albert L. Raffl, Red Bud, Illinois, in Factory 67, 8th Dist.\n[1437]');
slides[40] = new Slide('../War_files/wartitle05.jpg', '205', '250', 'The most popular war in our history was lauded endlessly on cigar boxes, in no small measure because the U.S. took over Cuba, Puerto Rico and the Philippines, all cigar and tobacco producers.');
slides[41] = new Slide('../War_files/patriot53.jpg', '395', '496', 'Dramatic image of an S-A War soldier exemplifies the patriotic fervor sweeping the country. Cigars by Julia Fix, operator of Fact. 537, 9th PA, Dallastown.\n[2153]');
slides[42] = new Slide('../War_files/26missed90.jpg', '443', '497', 'Nifty basket-weave design is stamped into the wood of this attractive NWH 100/13 honoring the war time President McKinley. Cigars by unrecorded owner of Factory 1202 in Western (28th District), NY. 1899.\n[2690]');
slides[43] = new Slide('../War_files/men5445.jpg', '699', '800', 'Very displayable typical 1920’s box featuring “The Real American,” popular leader of the charge up San Jan Hill, and McKinley’s VP and successor.\nCigars by the Great Lakes Cigar Mfg. Co., Detroit, Factory 200, 1st tax Dist. of Michgan. early 1920’s.\n[5445]');
slides[44] = new Slide('../War_files/14war46.jpg', '444', '516', 'Commander of the 7th Army Corp. who took no part in actual operations despite the title of Defender accorded him on this label. “Fitz” Lee was military governor of Havana and Pinar del Rio in 1899, Cigars by Andrew Helwig, Fact. 1129, Silver Run, \nMaryland circa 1903.  [1447]');
slides[45] = new Slide('../War_files/14war42.jpg', '444', '567', 'Dewey and Sampson (later discredited), leaders of the Navy in the War, flanking Uncle Sam. Front mark Victorias a clever take-off on Victorious.\nCigars by G.B, Sprague Cigar Co, Fact. 105, Columbus (11th Dist), Ohio, 1899.\n[1443]');
slides[46] = new Slide('../War_files/14war49.jpg', '444', '529', 'Colorful 1904 label seems to have the General day dreaming about women while his men are getting slaughtered. Not, in my opinion, the best design.\nFact. 374, 21st Dist, NY is Charles Buck in Utica.\n[1450]');
slides[47] = new Slide('../War_files/war45.jpg', '444', '531', 'Another example of the colorful patriotic labels so typical of the Spanish-American War era, this depicting Miles & Schafter of the Army and Dewey & Schley of the Navy. Cigars by P.N. Jacobsen of Davenport, Iowa Fact. 203, 4th Dist, especially for\nThomas Wulf, Durant, Iowa, 1905.  [1445]');
slides[48] = new Slide('../War_files/14war43.jpg', '443', '531', 'Admiral Schley was the actual hero of battle of Santiago for which Sampson took credit \nand was later discredited. \nCigars by D. McG. Newcomer, Fact. 668, \n9th Dist. (Hanover), PA,  circa 1904.\n[1444]');
slides[49] = new Slide('../War_files/[81]lategold67.jpg', '444', '485', 'It’s surprising that vanity labels featuring military units are so rare. This great 1899 portrait is of the 1st South Dakota Volunteers. Cigars were made\nin Factory 190 in Nebraska.\n[8167]');
slides[50] = new Slide('../War_files/14war48.jpg', '444', '536', 'The excuse for the War was blaming the Spanish for the explosion of the Maine in Havana harbor. It was later discovered to be a design flaw, putting the boiler too close to armaments storage.\nCigars by F.D. Baker, Fact. 138, 4th Dist. \n(Hastings)  Michigan. [1449]');
slides[51] = new Slide('../War_files/patriot32.jpg', '395', '505', 'The Great White Fleet that sailed around the world in a show of US naval power makes it onto an early 20th century label used by Lindsay & Zimmer of Zanesville, OH. Fact. 128, 11th Dist. Ohio.\n[2132]');
slides[52] = new Slide('../War_files/14war40.jpg', '444', '509', 'The USS Minneapolis appeared on a box made during the War, in 1898.  Used by an unidentified cigar maker is factory 688, 1st Dist. PA.\n[1441]');
slides[53] = new Slide('../War_files/patriot20.jpg', '352', '570', 'The theme is clear, as Uncle Sam tosses the Spanish out of Cuba. Unidentified Wisconsin \nmaker, circa 1900.\n[2120]');
slides[54] = new Slide('../War_files/patriot19.jpg', '388', '570', 'Bulbous Uncle Sam, the result of adding Havana, Puerto Rico, Manilla & Santiago. Great play on words describes a new country and a new cigar offered by Boener Bros, Fact. 202 in Lawrence, KS.\nThe brand lasted longer than anticipated, \nmore than ten years. [2119]');
slides[55] = new Slide('../War_files/allsorts8710.jpg', '590', '444', 'London PUNCH magazine cartoon of U.S. soldier holding a large box of Philippine cigars, questioning the U.S. intentions for the acquisition. Caption:\n“COUSIN JONATHAN: These look very nice. \nWonder if they’ll be the better for keeping.”\n[8710]');
slides[56] = new Slide('../War_files/14war50.jpg', '444', '535', 'Lovely box depicting Gomez and Garcia, two revolutionaries, along side the new Cuban flag.\nVery rare 13/13 size box used, probably as a salesman’s sample, by G.B. Sprague Cigar Co., Fact. 105, Columbus (11th Dist.), Ohio, 1898.\n[1451]');
slides[57] = new Slide('../War_files/14war52.jpg', '444', '512', 'My idea of great design. Terrific integration of the new flag by Jesse Frysinger of Hanover,  PA, Factory 408, 9th Dist. PA, 1898. Proof, once again, that it doesn’t take a lot of gilded embossing to create an eye catching label.\nA curator’s favorite. [1453]');
slides[58] = new Slide('../War_files/yankeedrops.jpg', '320', '321', 'Example of the extremes some labels went. \nThis has never been found on a box.\nNot in the NCM collection.\n[w0000]');
slides[59] = new Slide('../War_files/wartitle06.jpg', '205', '250', '');
slides[60] = new Slide('../War_files/men5442.jpg', '649', '800', 'When a foreign leader or celebrity appears on a US cigar box, it’s usually one marketed in an ethnic neighborhood, perhaps the case here. Cigars made by George Holzmeister, Fact. 229, Salina, KS, 1899.\n[5442]');
slides[61] = new Slide('../War_files/9108.jpg', '444', '479', 'Simple but distinctive box honoring the troops. Our Sammies are Favoritas. World War theme still used in 1935. Cigars by Fred Kolbe, Factory 997 in \nLester Prairie, Minn. \n[9108]');
slides[62] = new Slide('../War_files/14war61.jpg', '444', '491', 'Small cardboard, formerly paper hinged box from the mid 1920’s. The NCM owns the printer’s progressive for this label. Cigars by unlisted maker \nin Factory 891, 3rd Dist. NYC.\nA Curator’s favorite.  [1462]');
slides[63] = new Slide('../War_files/14war59.jpg', '444', '534', 'Waterloo, Indiana, farm boy drawn in Fontaine Fox’s Toonerville Trolley style goes off to Europe. “How ya gonna keep em down on the farm after they’ve seen Paree?” became a prophetic pop song. Cigars by\nWaterloo Cigar Co. Fact 77, 6th Dist, 1917.\nA Curator’s favorite.   [1460]');
slides[64] = new Slide('../War_files/14war39.jpg', '444', '503', 'Attractive 1916 box depicting the Navy’s heritage.\nCigars by Louis Andrlik at the corner of Throop and 18th Place in Chicago. Fact. 1667, 1st Illinois.\n[1440]');
slides[65] = new Slide('../War_files/9107.jpg', '444', '501', 'In 1917 the Navy broke precedent enlisting women as clerks, radio electricians, chemists, accountants, phone operators and nurses. Cigars by Martin Neff & Sons on Broad St. in Red Lion, PA. \nFact. 313, 1st District, 1933.\nA Curator’s favorite.  [9107]');
slides[66] = new Slide('../War_files/war64.jpg', '600', '363', 'Junction City, Kansas, cigar maker advertises cigars by mail at $1 box postpaid, noting that they also sell at the Post Exchange (on-base military store).\nComic poem on the back is the Kaiser’s prayer for\nhelp against Edison’s anti-submarine technology.\n[1464]');
slides[67] = new Slide('../War_files/14war64.jpg', '600', '360', '“You know I got dem submarines, All Europe knows dot well; But dot Edison gat a patent now Vot blows dem all to hell. Now, Gott, if you will do dis, Den you I will always love; Und I will be Emperor of de earth, Und you be Emperor above.” If God refuses, he threatens to attack heaven with Zeppelins. [1465]');
slides[68] = new Slide('../War_files/14war65.jpg', '378', '600', 'The Belgian Soldiers’ Tobacco Fund was run by London’s  Over-Seas Club. They encouraged citizen donations of cigars and cigarettes for the boys in the trenches and included one of these post cards in each bundle, so the recipient could send a thanks.\n[1466]');
slides[69] = new Slide('../War_files/14war67.jpg', '375', '600', 'Mrs. Marguerite Wheeler of Brooklyn, NY, received this thank you written in French. September 1917.\n[1468]');
slides[70] = new Slide('../War_files/14war56.jpg', '438', '600', '1920 box made in Fact. 528 2nd Dist. Wisconsin portrays the WWI leaders of America, France, England, Italy, Greece and Belgium.\n[1457]');
slides[71] = new Slide('../War_files/14war57.jpg', '407', '600', 'Another Allies theme with eight flags and five portraits on an unused label.\n[1458]');
slides[72] = new Slide('../War_files/14war58.jpg', '378', '600', 'Another unused label with an allies theme, now reduced to four.\n[1459]');
slides[73] = new Slide('../War_files/11049.jpg', '533', '600', 'In this very different depiction the allies are a sailor, a soldier, and Uncle Sam labeled “You can’t Beat ‘em.”  Simple drawing on a newsprint-like paper does include the flags of four other nations.\nCigars from unidentified Fact. 1109, 1st PA in 1922.\n[11049]');
slides[74] = new Slide('../War_files/14war54.jpg', '484', '444', 'Slip top tin can used by William Ward & Sons, London, Ontario, Canada in the 1920’s. Portrait of Haig who had a long distinguished military career, but was best known for losing large numbers of troops in very costly WWI battles. \nFact. 11, Port 24E.  [1455]');
slides[75] = new Slide('../War_files/9842.jpg', '444', '500', 'The War in Europe had waged for years before the U.S. got involved after long and divided debate. This plea for peace on a 1915 box with a white dove and the slogan “Peace and Purity” fits the times well.\nWisconsin Factory number [223?] scratched out.\n[9842]');
slides[76] = new Slide('../War_files/9868.jpg', '444', '523', 'Late 1920’s box from a Polish cigar maker in Chicago honors Polish veterans of WWI “by permission of 1st Dist. S.W.A.P.” Fact. 1745 was owned by Victor Karczewski, 2704 W. Chicago St.\n[9868]');
slides[77] = new Slide('../War_files/14war66.jpg', '378', '600', 'Cigar box opening tool in the shape of a bullet.\n“Uncle Sam’s Niet Hammer.” \n[1467]');
slides[78] = new Slide('../War_files/14war62.jpg', '385', '600', '“U.S. soldiers in France. French nurses distributing cigarettes to the Sammies at the station in Austerlitz.” American and European cigarette makers donated hundreds of millions of free smokes to soldiers, affectively addicting a generation.\n[1463]');
slides[79] = new Slide('../War_files/patriot35.jpg', '395', '562', 'Celebrating the end of the War on an 1919 cigar box. Celestino Fernandez y Ca., Fact. 133 2nd District Wisconsin. Distributed in Milwaukee \nby D. Reik & Sons.\n[2135]');
slides[80] = new Slide('../War_files/9133.jpg', '444', '444', 'Happy sailors depicted on this charming and unusually designed box look like they’re celebrating the end of the war, but the box dates shortly before the U.S. entered. Cigars made in Factory 20, \n23rd Dist. PA, by Standard Cigar Co., Pittsburgh.\n[9133]');
slides[81] = new Slide('../War_files/14war38.jpg', '395', '569', 'Simple four-color label in classic 1920’s style depicts the highest medal given by the U.S. Government to its military. Cigars made in\nFact. 744, 1st PA by R.A. Smith Cigar Co., corner of Lindon & Madison Streets, Hanover, 1929.\n[1439]');
slides[82] = new Slide('../War_files/mixone2.jpg', '361', '600', 'This early 1920’s box depicts the French highest valor award, the Croix de Guerre. Cigars by an unlisted maker in Fact. 2254, 3rd Dist, Manhattan. Sold by “Thompson ___pa, Boston, Cigar Dept.”\n[2402]');
slides[83] = new Slide('../War_files/wartitle07.jpg', '205', '250', 'Cigar companies got behind the effort by\ncutting production for civilians and allocating\ncigars for the troops.');
slides[84] = new Slide('../War_files/10262.jpg', '679', '600', 'The greatest slogan of WWII made it onto a cigar box created by Peter Paul Kruszka, 1502 W. 18th in Chicago. Fact. 22, 1st Illinois, 1945. This very unusual abel depicts a submarine and a space ship the cigar maker is recommending for the military.\n[10262]');
slides[85] = new Slide('../War_files/10260.jpg', '291', '600', '“To preserve our freedom forever, these two military devices are invented exclusively for the Army and Navy, U.S.A.” \n[10260]');
slides[86] = new Slide('../War_files/10261.jpg', '220', '600', 'Not clear who’s donating this invention, but it’s right out of a pulp magazine of the 1940’s.\n[10261]');
slides[87] = new Slide('../War_files/14war71.jpg', '444', '576', 'An unusual box with a simple design, patriotic colors and great pair of slogans: “As good as the Name” and “Every puff a Jap rebuff.”  Fact. 195, Minn. was Magidson Cigar Co., 2233 University, St. Paul. The wartime frontmark of Wake Island is unique.\n[1472]');
slides[88] = new Slide('../War_files/14war70.jpg', '336', '600', 'Two 1945 cardboard packages used by Louis Aladro Cigar Co. of Tampa. Very simple two color label with a battle scene fits the war time economy and mood. Fact. 309, Florida.\n[1471]');
slides[89] = new Slide('../War_files/14war81.jpg', '444', '454', 'News article says cigar sales will be cut back on military bases here so overseas troops can have them. 750,000,000 cigars were allocated to the military. \n[1482]');
slides[90] = new Slide('../War_files/14war82.jpg', '507', '443', 'Indiana’s LA FENDRICH was one of the manufacturers providing war ration cigars. The company based a long ad campaign on the fact, explaining to smokers why their cigars \nwere in short supply.\n[1483]');
slides[91] = new Slide('../War_files/14war76_2.jpg', '444', '491', 'Limits due to rationing were a familiar sight on a few WWII brands involved in wartime production.\nJose Escalante’s Fact. 70 in Louisiana helped. \n[1477]');
slides[92] = new Slide('../War_files/14war79.jpg', '384', '600', 'Wartime self-addressed postcard sent to W.H. Bartlett of Toronto with thanks for the cigarettes from a happy smoker overseas...who appears to be Gunner L.J. Ramsay of the Canadian Army.\n[1480]');
slides[93] = new Slide('../War_files/14war80.jpg', '384', '600', '“This package of cigarettes is sent you through the Overseas League (Canada) Tobacco  and Hamper Fund, Toronto, Canada.” “If you appreciate this gift package of cigarettes won’t you drop a line on this card to the donor whose name appears on other side.”   [1481]');
slides[94] = new Slide('../War_files/14war72.jpg', '394', '600', 'Labeled as  a War Emergency Box because of its cardboard manufacture, very plain monochromatic box-wrapped box which uses only three sheets of paper on entire box. 1943 used by the Coony Bayer Cigar Co, 825 Edgewater Dr., Evansville, \nFact. 399, Indiana.  [1473]');
slides[95] = new Slide('../War_files/14war78.jpg', '444', '482', 'German children captured by an American combat photographer just after they found a lit cigar butt \nin the street.  1945\n[1479]');
slides[96] = new Slide('../War_files/9149.jpg', '438', '600', 'Wartime box honoring Reichsmarschall Hermann Goring made by Otto Boenicke, Berlin. Not many of these fragile wooden boxes survived the war and the disassociation with the Nazis that followed it.\n[9149]');
slides[97] = new Slide('../War_files/11693.jpg', '327', '600', 'Hermann Goring’s private brand custom made in these large wooden boxes by Gildemann of Berlin.\nSubstantial numbers of these were “liberated” full from humidors in Goring’s various homes.\n[11693]');
slides[98] = new Slide('../War_files/11694.jpg', '713', '600', 'Inside of previous. Not clearly visible is the embossed crest in the middle of the white flap \nwhich covers the contents. These are eagerly\nsought by collectors of German WWII items. \n[11694]');
isPureISOLatin1 = true;
contentEncodingConstant = 4;
feedbackURL = "TODO";
showFeedbackButton = false;
feedbackEnabled = true;

var MINIMUM_FONT = "10";
var UNITS = "";

function elementFontSize(element)
{
    var fontSize = MINIMUM_FONT; 

    if (document.defaultView)
    {
        var computedStyle = document.defaultView.getComputedStyle(element, null);
        if (computedStyle)
        {
            fontSize = computedStyle.getPropertyValue("font-size");
        }
    }
    else if (element.currentStyle)
    {
        fontSize = element.currentStyle.fontSize;
    }

    if ((UNITS.length == 0) && (fontSize != MINIMUM_FONT))
    {
        UNITS = fontSize.substring(fontSize.length - 2, fontSize.length)
    }

    return parseFloat(fontSize);
}

function adjustFontSizeIfTooBig(idOfElement)
{
    var oTextBoxOuterDiv;
    var oTextBoxMiddleDiv;
    var oTextBoxInnerDiv;
    var oTextBoxOuterDiv = document.getElementById(idOfElement);
    
    if (oTextBoxOuterDiv)
    {
        oTextBoxMiddleDiv = getChildOfType(oTextBoxOuterDiv, "DIV", 0);
        if (oTextBoxMiddleDiv)
        {
            oTextBoxInnerDiv = getChildOfType(oTextBoxMiddleDiv, "DIV", 0);
            if (oTextBoxInnerDiv)
            {
                var offsetHeight = oTextBoxInnerDiv.offsetHeight;
                var specifiedHeight = offsetHeight;
                if (oTextBoxMiddleDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);
                }
                else if (oTextBoxOuterDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);
                }
                if (offsetHeight > specifiedHeight)
                {
                    var smallestFontSize = 200;
                    
                    var aParaChildren = getParaDescendants(oTextBoxInnerDiv);
                    var oneLine = false;
                    for (i = 0; i < aParaChildren.length; i++)
                    {
                        var oParagraphDiv = aParaChildren[i];
                        var lineHeight = elementLineHeight(oParagraphDiv);
                        oneLine = oneLine || (lineHeight * 1.5 >= specifiedHeight);
                        if (oParagraphDiv.nodeName == "DIV")
                        {
                            var fontSize = elementFontSize(oParagraphDiv);
                            smallestFontSize = Math.min( smallestFontSize, fontSize );
                            for (j = 0; j < oParagraphDiv.childNodes.length; j++)
                            {
                                var oSpan = oParagraphDiv.childNodes[j];
                                if ((oSpan.nodeName == "SPAN") || (oSpan.nodeName == "A"))
                                {
                                    fontSize = elementFontSize(oSpan);
                                    smallestFontSize = Math.min( smallestFontSize, fontSize );
                                }
                            }
                        }
                    }
                    var minimum = parseFloat(MINIMUM_FONT);
                    
                    var count = 0
                    while ((smallestFontSize > minimum) && (offsetHeight > specifiedHeight) && (count < 10))
                    {
                        ++ count;
                        if (oneLine)
                        {
                            var oldWidth = parseInt(oTextBoxOuterDiv.style.width);
                            oTextBoxInnerDiv.style.width =
                                "" + oldWidth * Math.pow(1.05, count) + "px";
                        }
                        else
                        {
                            var scale = Math.max(0.95, minimum / smallestFontSize);
                            
                            for (i = 0; i < aParaChildren.length; i++)
                            {
                                var oParagraphDiv = aParaChildren[i];
                                if (oParagraphDiv.nodeName == "DIV")
                                {
                                    var paraFontSize = elementFontSize(oParagraphDiv) * scale;
                                    var paraLineHeight = elementLineHeight(oParagraphDiv) * scale;
                                    for (j = 0; j < oParagraphDiv.childNodes.length; j++)
                                    {
                                        var oSpan = oParagraphDiv.childNodes[j];
                                        if ((oSpan.nodeName == "SPAN") || (oSpan.nodeName == "A"))
                                        {
                                            var spanFontSize = elementFontSize(oSpan) * scale;
                                            var spanLineHeight = elementLineHeight(oSpan) * scale;
                                            oSpan.style.fontSize = spanFontSize + UNITS;
                                            oSpan.style.lineHeight = spanLineHeight + UNITS;
                                            smallestFontSize = Math.min( smallestFontSize, spanFontSize );
                                        }
                                    }
                                    oParagraphDiv.style.fontSize = paraFontSize + UNITS;
                                    oParagraphDiv.style.lineHeight = paraLineHeight + UNITS;
                                    smallestFontSize = Math.min( smallestFontSize, paraFontSize );
                                }
                            }
                        }
                        
                        offsetHeight = oTextBoxInnerDiv.offsetHeight;
                    }
                }
            }
        }
    }
}


function elementLineHeight(element)
{
    var lineHeight = MINIMUM_FONT; 
    
    if (document.defaultView)
    {
        var computedStyle = document.defaultView.getComputedStyle(element, null);
        if (computedStyle)
        {
            lineHeight = computedStyle.getPropertyValue("line-height");
        }
    }
    else if (element.currentStyle)
    {
        lineHeight = element.currentStyle.lineHeight;
    }
    
    if ((UNITS.length == 0) && (lineHeight != MINIMUM_FONT))
    {
        UNITS = lineHeight.substring(lineHeight.length - 2, lineHeight.length)
    }
    
    return parseFloat(lineHeight);
}

function adjustLineHeightIfTooBig(idOfElement)
{
    var oTextBoxOuterDiv;
    var oTextBoxMiddleDiv;
    var oTextBoxInnerDiv;
    var oTextBoxOuterDiv = document.getElementById(idOfElement);
    
    if (oTextBoxOuterDiv)
    {
        oTextBoxMiddleDiv = getChildOfType(oTextBoxOuterDiv, "DIV", 0);
        if (oTextBoxMiddleDiv)
        {
            oTextBoxInnerDiv = getChildOfType(oTextBoxMiddleDiv, "DIV", 0);
            if (oTextBoxInnerDiv)
            {
                var offsetHeight = oTextBoxInnerDiv.offsetHeight;
                var specifiedHeight = offsetHeight;
                if (oTextBoxMiddleDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxMiddleDiv.style.height);
                }
                else if (oTextBoxOuterDiv.style.height != "")
                {
                    specifiedHeight = parseFloat(oTextBoxOuterDiv.style.height);
                }
                if (offsetHeight > specifiedHeight)
                {
                    var adjusted = true;
                    var count = 0;
                    while ((adjusted) && (offsetHeight > specifiedHeight) && (count < 10))
                    {
                        adjusted = false;
                        ++ count;
                        
                        var aParaChildren = getParaDescendants(oTextBoxInnerDiv);
                        for (i = 0; i < aParaChildren.length; i++)
                        {
                            var oParagraphDiv = aParaChildren[i];
                            if (oParagraphDiv.nodeName == "DIV")
                            {
                                var fontSize = elementFontSize(oParagraphDiv);
                                var lineHeight = elementLineHeight(oParagraphDiv) * 0.95;
                                if (lineHeight >= (fontSize * 1.1))
                                {
                                    oParagraphDiv.style.lineHeight = lineHeight + UNITS;
                                    adjusted = true;
                                }
                                
                                
                                
                                for (j = 0; j < oParagraphDiv.childNodes.length; j++)
                                {
                                    var oSpan = oParagraphDiv.childNodes[j];
                                    if ((oSpan.nodeName == "SPAN") || (oSpan.nodeName == "A"))
                                    {
                                        var fontSize = elementFontSize(oSpan);
                                        var lineHeight = elementLineHeight(oSpan) * 0.95;
                                        if (lineHeight >= (fontSize * 1.1))
                                        {
                                            oSpan.style.lineHeight = lineHeight + UNITS;
                                            var adjusted = true;
                                        }
                                    }
                                }
                            }
                        }
                        
                        offsetHeight = oTextBoxInnerDiv.offsetHeight;
                    }
                }
            }
        }
    }
}

var smallTransparentGif = "";
function fixupIEPNG(strImageID, transparentGif) 
{
    smallTransparentGif = transparentGif;
    if (windowsInternetExplorer && (browserVersion < 7))
    {
        var img = document.getElementById(strImageID);
        if (img)
        {
            var src = img.src;
            img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')";
            img.src = transparentGif;
            img.attachEvent("onpropertychange", imgPropertyChanged);
        }
    }
}

function fixupIEPNGBG(oBlock) 
{
    if (oBlock)
    {
        var currentBGImage = oBlock.currentStyle.backgroundImage;
        var currentBGRepeat = oBlock.currentStyle.backgroundRepeat;
        var urlStart = currentBGImage.indexOf('url(');
        var urlEnd = currentBGImage.indexOf(')', urlStart);
        var imageURL = currentBGImage.substring(urlStart + 4, urlEnd);

        if (imageURL.charAt(0) == '"')
        {
            imageURL = imageURL.substring(1);
        }
        
        if (imageURL.charAt(imageURL.length - 1) == '"')
        {
            imageURL = imageURL.substring(0, imageURL.length - 1);
        }

        var overrideRepeat = false;

        var filterStyle =
            "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
            imageURL +
            "', sizingMethod='crop');";

        if (RegExp("/C[0-9A-F]{8}.png$").exec(imageURL) != null)
        {
            filterStyle =
                "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
                imageURL +
                "', sizingMethod='scale');";

            overrideRepeat = true;
        }

        var backgroundImage = new Image();
        backgroundImage.src = imageURL;
        var tileWidth = backgroundImage.width;
        var tileHeight = backgroundImage.height; 
        
        var blockWidth = 0;
        var blockHeight = 0;
        if (oBlock.style.width)
        {
            blockWidth = parseInt(oBlock.style.width);
        }
        else
        {
            blockWidth = oBlock.offsetWidth;
        }
        if (oBlock.style.height)
        {
            blockHeight = parseInt(oBlock.style.height);
        }
        else
        {
            blockHeight = oBlock.offsetHeight;
        }

        if ((blockWidth == 0) || (blockHeight == 0))
        {
            return;
        }
        
        var wholeRows = 1;
        var wholeCols = 1;
        var extraHeight = 0;
        var extraWidth = 0;
        
        if ((currentBGRepeat.indexOf("no-repeat") != -1) ||
              ((tileWidth == 0) && (tileHeight == 0)) ||
              overrideRepeat)
        {
            tileWidth = blockWidth;
            tileHeight = blockHeight;

        }
        else if ((currentBGRepeat.indexOf("repeat-x") != -1) ||
              (tileHeight == 0))
        {
            wholeCols = Math.floor(blockWidth / tileWidth);
            extraWidth = blockWidth - (tileWidth * wholeCols);
            tileHeight = blockHeight;

        }
        else if (currentBGRepeat.indexOf("repeat-y") != -1)
        {
            wholeRows = Math.floor(blockHeight / tileHeight);
            extraHeight = blockHeight - (tileHeight * wholeRows);
            tileWidth = blockWidth;

        }
        else
        {
            wholeCols = Math.floor(blockWidth / tileWidth);
            wholeRows = Math.floor(blockHeight / tileHeight);
            extraWidth = blockWidth - (tileWidth * wholeCols);
            extraHeight = blockHeight - (tileHeight * wholeRows);
        }
        
        var wrappedContent = document.createElement("div");
        wrappedContent.style.position = "relative";
        wrappedContent.style.zIndex = "1";
        wrappedContent.style.left = "0px";
        wrappedContent.style.top = "0px";
        if (!isNaN(parseInt(oBlock.style.width)))
        {
            wrappedContent.style.width = "" + blockWidth + "px";
        }
        if (!isNaN(parseInt(oBlock.style.height)))
        {
            wrappedContent.style.height = "" + blockHeight + "px";
        }
        var pngBGFixIsWrappedContentEmpty = true;
        while (oBlock.hasChildNodes())
        {
            if (oBlock.firstChild.nodeType == 3)
            {
                if (RegExp("^ *$").exec(oBlock.firstChild.data) == null)
                {
                    pngBGFixIsWrappedContentEmpty = false;
                }
            }
            else
            {
                pngBGFixIsWrappedContentEmpty = false;
            }
            wrappedContent.appendChild(oBlock.firstChild);
        }
        if (pngBGFixIsWrappedContentEmpty)
        {
            wrappedContent.style.lineHeight = "0px";
        }
        
        var newMarkup = "";
        for (var currentRow = 0; 
             currentRow < wholeRows; 
             currentRow++)
        {
            for (currentCol = 0; 
                 currentCol < wholeCols; 
                 currentCol++)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + tileWidth + "px; " +
                        "height: " + tileHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
            
            if (extraWidth != 0)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + extraWidth + "px; " +
                        "height: " + tileHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
        }
        
        if (extraHeight != 0)
        {
            for (currentCol = 0; 
                 currentCol < wholeCols; 
                 currentCol++)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + tileWidth + "px; " +
                        "height: " + extraHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
            
            if (extraWidth != 0)
            {
                newMarkup += "<div style=" +
                        "\"position: absolute; line-height: 0px; " +
                        "width: " + extraWidth + "px; " +
                        "height: " + extraHeight + "px; " +
                        "left:" + currentCol *  tileWidth + "px; " +
                        "top:" + currentRow *  tileHeight + "px; " +
                        "filter:" + filterStyle + 
                        "\" > </div>";
            }
        }
        oBlock.innerHTML = newMarkup;

        oBlock.appendChild(wrappedContent);
        oBlock.style.background= "";
    }
}

function fixupAllIEPNGBGs()
{
    if (windowsInternetExplorer && (browserVersion < 7))
    {
        try
        {
            var oDivNodes = document.getElementsByTagName('DIV');
            for (var iIndex=0; iIndex<oDivNodes.length; iIndex++)
            {
                var oNode = oDivNodes.item(iIndex);
                if (oNode.currentStyle &&
                    oNode.currentStyle.backgroundImage &&
                    (oNode.currentStyle.backgroundImage.indexOf('url(') != -1) &&
                    (oNode.currentStyle.backgroundImage.indexOf('.png")') != -1))
                {
                    fixupIEPNGBG(oNode);
                }
            }
        }
        catch (e)
        {
        }
    }
}

function getChildOfType(oParent, sNodeName, requestedIndex)
{
    var childrenOfType = oParent.getElementsByTagName(sNodeName);
    return (requestedIndex < childrenOfType.length) ?
           childrenOfType.item(requestedIndex) : null;
}

function getParaDescendants(oAncestor)
{
    var oParaDescendants = new Array();
    var oPotentialParagraphs = oAncestor.getElementsByTagName('DIV');
    for (var iIndex=0; iIndex<oPotentialParagraphs.length; iIndex++)
    {
        var oNode = oPotentialParagraphs.item(iIndex);
        if (oNode.className.lastIndexOf('paragraph') != -1)
        {
            oParaDescendants.push(oNode);
        }
    }
    return oParaDescendants;
}

function onPageLoad()
{
    detectBrowser();
    adjustLineHeightIfTooBig("id1");
    adjustFontSizeIfTooBig("id1");
    adjustLineHeightIfTooBig("id2");
    adjustFontSizeIfTooBig("id2");
    adjustLineHeightIfTooBig("id3");
    adjustFontSizeIfTooBig("id3");
    adjustLineHeightIfTooBig("id4");
    adjustFontSizeIfTooBig("id4");
    adjustLineHeightIfTooBig("id5");
    adjustFontSizeIfTooBig("id5");
    adjustLineHeightIfTooBig("id6");
    adjustFontSizeIfTooBig("id6");
    fixupAllIEPNGBGs();
    fixupIEPNG("id7", "War_files/transparent.gif");
    return true;
}

function NBmouseover(index)
{
    var normal = document.getElementById("navbar_"+index+"_normal");
    var rollover = document.getElementById("navbar_"+index+"_rollover");
    if (normal && rollover)
    {
        normal.style.visibility = "hidden";
        rollover.style.visibility = "visible";
    }
    return true;
}

function NBmouseout(index)
{
    var normal = document.getElementById("navbar_"+index+"_normal");
    var rollover = document.getElementById("navbar_"+index+"_rollover");
    if (normal && rollover)
    {
        normal.style.visibility = "visible";
        rollover.style.visibility = "hidden";
    }
    return true;
}

var windowsInternetExplorer = false;
var browserVersion = 0;
function detectBrowser()
{
    windowsInternetExplorer = false;
    var appVersion = navigator.appVersion;
    if ((appVersion.indexOf("MSIE") != -1) &&
        (appVersion.indexOf("Macintosh") == -1))
    {
        var temp = appVersion.split("MSIE");
        browserVersion = parseFloat(temp[1]);
        windowsInternetExplorer = true;
    }
}

var inImgPropertyChanged = false;
function imgPropertyChanged()
{
    if ((window.event.propertyName == "src") && (! inImgPropertyChanged))
    {
        inImgPropertyChanged = true;
        var el = window.event.srcElement;
        if (el.src != smallTransparentGif)
        {
            el.filters.item(0).src = el.src;
            el.src = smallTransparentGif;
        }
        inImgPropertyChanged = false;
    }
}

