﻿   function tourPop() {
      window.open("tour/tour.html","tourpop","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=760,height=520");
   }

 function camPop(camName) {
window.open("media/" + camName + ".html",camName,"toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=372,height=308");
   }

 function camPopBig(camName) {
window.open("media/" + camName + ".html",camName,"toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,width=660,height=500");
   }

      var polaroid=new Array();      

      polaroid[0]="andrew";
      polaroid[1]="esther";
      polaroid[2]="jackie";
      polaroid[3]="jessica";
      polaroid[4]="josh";
      polaroid[5]="julia";
      polaroid[6]="kate";
      polaroid[7]="laura";
      polaroid[8]="lauren";
      polaroid[9]="mandy";
      polaroid[10]="tabitha";
      polaroid[11]="tanmay";
	  polaroid[12]="brian";
	  polaroid[13]="dominique";
	  polaroid[14]="laurenb";
	  polaroid[15]="peter";
	  polaroid[16]="saznin";
	  polaroid[17]="wafa";
           
      var whichPolar = Math.round(Math.random() * 17);
      var polar = polaroid[whichPolar];

   
   var factarray=new Array();      
 
    factarray[0]="The 2005 Schools That Rock: The Rolling Stone College Guide rated Johns Hopkins in the top 50. The guide also named Baltimore one of the country's coolest college towns.";
    factarray[1]="Why is there an extra &quot;s&quot; on Johns? Simple&#151;our founder, Johns Hopkins, was given his great-grandmother's maiden name as his first name.";
    factarray[2]="Horror film director Wes Craven, U.S. President Woodrow Wilson, and current New York City Mayor Michael Bloomberg all earned Johns Hopkins degrees.";
    factarray[3]="Spring Fair, an annual Johns Hopkins event, is the largest of its kind held on a college campus in the nation. It's a celebration of music, food, carnival rides, crafts, and community held over a weekend in April.";
    factarray[4]="The Johns Hopkins archaeological collection features its own Egyptian mummy, long nicknamed Boris until CT scans revealed the body to have belonged to a woman. She's now proudly called Lotus.";
    factarray[5]="The Johns Hopkins Homewood campus has made an appearance in a number of motion pictures. Most recently, scenes from the 2007 Nicole Kidman and Daniel Craig film The Invasion were filmed in a Mudd Hall laboratory.";
    factarray[6]="Ground control for the Hubble Space Telescope is located on campus at the Space Telescope Science Institute.";
    factarray[7]="Spring Fair, a non-profit, student-run event, brings a different performance to Johns Hopkins every year. Recent performances have included Brand New and Guster.";
    factarray[8]="During the three-week Intersession between fall and spring semesters, students can participate in travel opportunities that take them to Florence, the Galapagos Islands, and even Cuba!";
    factarray[9]="Our defending NCAA Division I national champion men's lacrosse team will have a minimum of nine of their 12 regular season spring 2006 games televised on ESPN and ESPNU.";
    factarray[10]="The Octopodes, a co-ed a cappella group, has twice had a song included in the Best of College A Cappella collection. In 2005 it was No Doubt's &quot;Tragic Kingdom.&quot;";
    factarray[11]="In 2005, the Johns Hopkins Woodrow Wilson Debate Council (named after a former member of the team) was selected Team of the Year in the American Parliamentary Debate Association. Johns Hopkins finished the year with four of the nation's top 15 debate squads.";
    factarray[12]="Our defending NCAA Division I national champion men's lacrosse team completed the 2005 season with a perfect record by defeating the Duke Blue Devils in Philadelphia. A rematch will be held on April 8, 2006.";
    factarray[13]="The university is named for its initial benefactor, Baltimore merchant Johns Hopkins, whose $7 million bequest&#151;the largest U.S. philanthropic gift ever at that time&#151;was divided evenly to finance the establishment of both Johns Hopkins University and Johns Hopkins Hospital.";
    factarray[14]="In 1884, the Glee Club performed its first concert; Woodrow Wilson (later the 28th U.S. President) sang first tenor.";
    factarray[15]="The ashes of former chemistry professor and university president Ira Remsen (the co-founder of the artificial sweetener saccharine) are interred behind a plaque in Remsen Hall. Chemistry students rub the plaque for good luck on exams.";
    factarray[16]="Every Friday night, the observatory on the top floor of Bloomberg Hall is open to the public free of charge, providing the weather is clear. Johns Hopkins physics and astronomy professors let students use their high-powered telescopes to watch all of the celestial happenings.";
    factarray[17]="Johns Hopkins was the home team in the first intercollegiate ice hockey game ever, tying Yale 2-2 on February 1, 1896.";
    factarray[18]="The Milton S. Eisenhower Library, which now contains more than 2.6 million volumes, was built largely underground so as not to dwarf the other buildings on campus.";
    factarray[19]="Every year during the week before Orientation activities begin, the Outdoors Club invites all freshmen to participate in Pre-Orientation programs, nicknamed Pre-O. Pre-O includes a week of outdoor activities ranging from white water rafting and canoeing to rock climbing and hiking on the Appalachian Trail. Participants all agree it's a great way to bond with new classmates.";
    factarray[20]="Wolman Hall, now a residence hall for freshmen and sophomores, used to be an apartment building. Its claim to fame is that F. Scott and Zelda Fitzgerald lived there for a time.";
    factarray[21]="The Baltimore Museum of Art is only a short walk away on the edge of campus; Johns Hopkins students gain free admission to its exhibitions, and some classes are even taught there.";
    factarray[22]="It's said that Woodrow Wilson, the 28th U.S president., may have engraved his initials on the table in the History Department seminar room; Wilson earned his doctorate at Johns Hopkins in 1886, and remains the only president to have ever held the Ph.D.";
    factarray[23]="The Johns Hopkins Blue Jays have won more lacrosse national championships than any other institution. For that reason, the National Lacrosse Hall of Fame is located on campus adjacent to Homewood Field.";
    factarray[24]="Thirty-two Nobel Prize winners have been or are associated with Johns Hopkins. The most recent was Andrew Fire, an adjunct professor of biology who won for medicine in 2006.";
    factarray[25]="Johns Hopkins boasts a rich athletic tradition. The men's lacrosse team has twice won gold for the U.S. at the Olympic Games and won 44 national championships—including the 2005 and 2007 NCAA Division I championships.";
    factarray[26]="John Astin, who played Gomez Addams on The Addams Family, is a professor at Johns Hopkins and head of the theater program. Today's generation knows John Astin as the father of Sean Astin, famous actor in such movies as Rudy, 50 First Dates, and The Lord of the Rings trilogy.";
    factarray[27]="Charles Garland, a former member of the board of trustees, was also a member of the first American doubles team to win at Wimbledon.";
    factarray[28]="The Johns Hopkins University Press is the oldest continuously operating university press in the country; it was established in 1878.";
    factarray[29]="The Johns Hopkins Division III baseball team has not only produced 16 players who have earned All-American honors during their careers, it has had six players drafted to major league teams.";
    factarray[30]="The term &quot;political science&quot; is generally held to have been coined by the distinguished historian Herbert Baxter Adams, who served on the Johns Hopkins faculty from 1876 to 1901.";
    factarray[31]="Internationally respected ecologist and author Rachel Carson earned her master's degree at Johns Hopkins. Her books, The Sea around Us (1951) and Silent Spring (1962), are credited with being a catalyst to start the modern environmental movement.";
    factarray[32]="The Dead Sea Scrolls had their age authenticated at Johns Hopkins by Professor William Foxwell Albright in 1948; today Professor P. Kyle McCarter is one of the world's top experts on the ancient documents.";
    factarray[33]="Each January, Professor Betsy Bryan leads an archaeological dig in Luxor, Egypt. She often takes undergraduates along! <a href=http://www.jhu.edu/egypttoday/ class=orangelink>Check out pictures of the team's work at the Temple of the Goddess Mut.</a>";
    factarray[34]="Recently, Johns Hopkins was selected to create a research center to study and improve electronic voting. Members of the Computer Science Department are considered tops in this field and were able to detect vulnerabilities in the voting system that could result in tampered election results.";
    factarray[35]="In 2006, Popular Science chose two Johns Hopkins professors as part of their “brilliant 10”; in 2007 a third was recognized. The “brilliant 10” have shown that they are extraordinary scientists and promising young researchers.";
    factarray[36]="In Tom Clancy novels, character Jack Ryan's wife, Cathy Ryan, is a doctor at the Johns Hopkins Wilmer Eye Institute.";
    factarray[37]="During any given year, more than 100 Johns Hopkins students study abroad in nearly 30 countries around the world. The university operates its own centers and campuses in Bologna, Italy, and Nanjing, China.";
    factarray[38]="The family doctor in The Simpsons, Dr. Julius Hibbert, is a fictional graduate of the Johns Hopkins School of Medicine.";
    factarray[39]="Johns Hopkins has been chosen by the Department of Homeland Security to lead 20 institutions in creating the Center for the Study of High Consequence Event Preparedness.";
    factarray[40]="The Milton S. Eisenhower Symposium is run entirely by undergraduates, who are in charge of bringing speakers to campus. In 2007 the symposium included David Simon, Martin O'Malley, Howard Dean, Danny Glover, and Bill Nye the Science Guy.";
    factarray[41]="Homewood Museum, the building from which the Homewood campus gets its name, was built by Charles Carroll Jr., whose father, Charles Carroll of Carrollton, was a signer of the Declaration of Independence. It's one of the finest examples of Federal-period architecture in the nation.";
    factarray[42]="Last summer 48 undergraduates spent 10 weeks working with a mentor on independent research projects through the Howard Hughes Research Fellowship.";
    factarray[43]="The Ski and Snowboard club travels every Wednesday in February to nearby Liberty Mountain&#151;and pays for your rentals and lift tickets!";
    factarray[44]="The Johns Hopkins News-Letter is one of the oldest student papers in the country (published since 1896). It's where Pulitzer Prize-winning journalist Russell Baker got his start.";
   
   var whichFact = Math.round(Math.random() * 44);
   var randomfact = factarray[whichFact];
