Event.observe(window, 'load', function() {	
	
	var employees = {
		"albert"   : { 		"name" : "Albert",
					"dept" : "Founder",
					"smallImage" : "albert-95x115.jpg",
					"largeImage" : "albert-181x142.jpg",

					"firstJobAtTM" : "Cofounding the Company",
					"doAnything" : "Find a way to stimulate global peace, love and goodwill",
					"iPodFullOf" : "Classical Musical - but not so much stuffy stuff",
					"perfectDay" : "Writing, playing the piano, sharing a nice meal and wine with family and friends",
					"firstJob" : "Playing the piano and organ for weddings and funerals",
					"learnedThisYear" : "Don't ever count those chickens until they are fully feathered!",
					"threeWords" : "Respectful, optimistic, energetic",
					"dreamVacation" : "Six months paid sabbatical traveling around the world (skipping the places I've already been)",
					"mostMemorable" : "Shaking hands at IOC headquarters in Lausanne, Switzerland on Ticketmaster's first Olympic Games contract (Athens 2004)",
					"lastPurchase" : "A proper coffee grinder - enough of the blade!",
					"lookUpTo" : "Anyone who has truly found happiness and can share their formula",
					"threePeopleDinner" : "Franklin Delano Roosevelt, Winston Churchill and William Shakespeare",
					"lifeIs" : "well-lived (and I know I look it!) but still with room for many more adventures",
					"mostEmbarassing" : "Dropping my new Blackberry Bold in the backyard swimming pool - honestly, the swimming pool, not another spot also containing water...",
					"anotherJob" : "Are you kidding? It doesn't get any better!" 
		},
		"arshed"   : { 		"name" : "Arshed",
					"dept" : "Technology",
					"smallImage" : "arshed-95x115.jpg",
					"largeImage" : "arshed-181x142.jpg",

					"firstJobAtTM" : "QA Engineer",
					"doAnything" : "Learn how to fly",
					"iPodFullOf" : "don't have one",
					"perfectDay" : "playing with my baby son, which is every day.",
					"firstJob" : "Post Office cashier ",
					"learnedThisYear" : "Setting up web server on linux machine",
					"threeWords" : "",
					"dreamVacation" : "",
					"mostMemorable" : "",
					"lastPurchase" : "",
					"lookUpTo" : "",
					"threePeopleDinner" : "",
					"lifeIs" : "Very good ",
					"mostEmbarassing" : "",
					"anotherJob" : "" 
		},
		"bill" : { 		"name" : "Bill",
					"dept" : "Artist Services",
					"smallImage" : "bill-95x115.jpg",
					"largeImage" : "bill-181x142.jpg",

					"firstJobAtTM" : "Northeast Sales Rep, TicketWeb",
					"doAnything" : "be a successful lottery prognosticator.  Own a beach bar in Central America",
					"iPodFullOf" : "pretty much any genre or style of music you can think of.",
					"perfectDay" : "my wife, my camera, good food and fresh air",
					"firstJob" : "paperboy",
					"learnedThisYear" : "optimism in american politics is not naïve.",
					"threeWords" : "",
					"dreamVacation" : "where is the most remote beach?",
					"mostMemorable" : "",
					"lastPurchase" : "Two tickets to Leonard Cohen @ The Beacon Theater in NYC.  His first US show in 15 years!",
					"lookUpTo" : "anyone taller than me.",
					"threePeopleDinner" : "",
					"lifeIs" : "blessed.  I'm very fortunate to share it with some wonderful people.",
					"mostEmbarassing" : "",
					"anotherJob" : "I'm right where I want to be.  I love my job.  Sometimes I can't believe I get paid to do this.....sometimes." 
		},
		"bridget"  : { 		"name" : "Bridget ",
					"dept" : "Creative",
					"smallImage" : "bridget-95x115.jpg",
					"largeImage" : "bridget-181x142.jpg",

					"firstJobAtTM" : "Western Regional Designer ",
					"doAnything" : "Paint - fine art not houses :)",
					"iPodFullOf" : "World music, and every genre except country",
					"perfectDay" : "Backpacking to a high mountain lake.",
					"firstJob" : "Subway Sandwich Artist ",
					"learnedThisYear" : "That I like to cross country ski",
					"threeWords" : "Helpful, easygoing and innovative",
					"dreamVacation" : "Spain, I'm a sucker for tapas",
					"mostMemorable" : "Doing hot laps around the 3rd floor on the creative team's tricycle.",
					"lastPurchase" : "Food - I like to eat",
					"lookUpTo" : "Chuck Close, Ani DiFranco, Steve Jobs and anyone taller than 5'7&quot;",
					"threePeopleDinner" : "Jon Stewart, Warren Buffett and Bobby Flay (someone's got to cook)",
					"lifeIs" : "organized chaos.",
					"mostEmbarassing" : "Attempting to sit in my chair that I swore was right behind me, falling flat on the floor.",
					"anotherJob" : "To be part of the team working on the next Olympics." 
		},
		"cheryl"   : { 		"name" : "Cheryl",
					"dept" : "Retail Operations",
					"smallImage" : "cheryl-95x115.jpg",
					"largeImage" : "cheryl-181x142.jpg",

					"firstJobAtTM" : "part time sales agent in the Columbus, Ohio contact center. ",
					"doAnything" : "Sing in a band, after I complete voice lessons as I can not carry a tune even in a bucket.  ",
					"iPodFullOf" : "tunes that soothes my soul and tunes that give me happy dancing feet.",
					"perfectDay" : "spending afternoon at Barnes/Noble checking out all the books on my &quot;to read list&quot; to see if I want to move them to my &quot;to buy list&quot;. ",
					"firstJob" : "flipping hamburgers at McDonald's.  I was 15.",
					"learnedThisYear" : "that empty nest syndrome is real and painful and then it gets better.",
					"threeWords" : "caring, passionate, dedicated",
					"dreamVacation" : "any island in the South Pacific.",
					"mostMemorable" : "the day I stopped a 24 year smoking habit and the support I received from my co-workers.",
					"lastPurchase" : "a mandolin for my Husband for Christmas.",
					"lookUpTo" : "our service men and women who have fought, are fighting and will fight in the future.  They are the real heroes. ",
					"threePeopleDinner" : "Diane Sawyer (she is smart and real), Ellen DeGeneres (she is funny and real) and Jennifer Hudson (she is brave and real).",
					"lifeIs" : "journey filled with love, pain, hope, and faith.",
					"mostEmbarassing" : "sitting in a broken chair on the floor looking up at my waiter during a TM conference dinner. :(",
					"anotherJob" : "in the HR field." 
		},
		"chris"    : { 		"name" : "Chris",
					"dept" : "Legal",
					"smallImage" : "chris-95x115.jpg",
					"largeImage" : "chris-181x142.jpg",

					"firstJobAtTM" : "Senior Director, Legal Affairs",
					"doAnything" : "Be a professional golfer",
					"iPodFullOf" : "80's and 90's music, NPR podcasts put on there by my wife",
					"perfectDay" : "A morning run at the beach, 18 holes of golf, time spent with my family and a quiet dinner",
					"firstJob" : "Waiting tables at the Officers' Club at Offutt AFB in Bellevue, Nebraska",
					"learnedThisYear" : "What it's like to be two years old again",
					"threeWords" : "still figuring it out (that's 4, and I'm sure you were looking for 3 adjectives, but that's the best I can do)",
					"dreamVacation" : "An African safari",
					"mostMemorable" : "Meeting my new colleagues on the first day",
					"lastPurchase" : "The Brief Wondrous Life of Oscar Wao by Junot Diaz",
					"lookUpTo" : "Anyone who is passionate about what they do",
					"threePeopleDinner" : "Barack Obama, Paul McCartney and Ricky Gervais",
					"lifeIs" : "Fine, thank you",
					"mostEmbarassing" : "Haven't had one yet, but I'm sure it won't be long",
					"anotherJob" : "Is there a position that would allow me to attend concerts every night?" 
		},
		"david"    : { 		"name" : "David",
					"dept" : "Human Resources",
					"smallImage" : "david-95x115.jpg",
					"largeImage" : "david-181x142.jpg",

					"firstJobAtTM" : "Learning and Development Advisor",
					"doAnything" : "Win the Lotto",
					"iPodFullOf" : "Music",
					"perfectDay" : "A cooked Breakfast and a day of shopping",
					"firstJob" : "Sweeping the floor in my dad's factory",
					"learnedThisYear" : "That exams are not my favourite thing!!!!",
					"threeWords" : "Irish, Fun, Committed",
					"dreamVacation" : "Anywhere HOT!!!! (Raining when I wrote this)",
					"mostMemorable" : "Being offered the job",
					"lastPurchase" : "Our Iceberg is Melting",
					"lookUpTo" : "My Dad.",
					"threePeopleDinner" : "Only 3!!!!!!!!! God, Mohammad, Buddha,.....or is that ONE!!!!",
					"lifeIs" : "Full",
					"mostEmbarassing" : "When Lucy caught me by reception and chastised me into filling this in ;-)",
					"anotherJob" : "HR VP!!!! Only kidding Lauren" 
		},
		"debbie"   : { 		"name" : "Debbie",
					"dept" : "Administration",
					"smallImage" : "debbie-95x115.jpg",
					"largeImage" : "debbie-181x142.jpg",

					"firstJobAtTM" : "Exec Assistant to Managing Director &amp; SVP  Product &amp; Technology",
					"doAnything" : "set up a wildlife sanctuary in the country looking after any animals that had become injured",
					"iPodFullOf" : "80's music - Duran Duran being my all time favourite!",
					"perfectDay" : "No hassles, no stress, just fun!",
					"firstJob" : "Import Administrator working for a Company importing timber doors from the Far East into the UK",
					"learnedThisYear" : "There are a lot of Rock &amp; Pop acts that I have never heard of - note to self: must get out of the 80's time warp I am stuck in.....",
					"threeWords" : "bubbly, sensitive and thoughtful",
					"dreamVacation" : "Antarctica",
					"mostMemorable" : "taking part in the Dragon Boat Race (luckily in the boat that didn't sink!)",
					"lastPurchase" : "Il Divo CD (was on my &quot;wish list&quot; for Xmas but no one brought for me!)",
					"lookUpTo" : "People who work in animal welfare across the World",
					"threePeopleDinner" : "Simon le Bon (to talk 80's music), Virginia McKenna (to talk about her amazing charity ‘Born Free') and Al Murray as he would make me laugh.",
					"lifeIs" : "Full and fun - life is too short, don't put off tomorrow what you can do today",
					"mostEmbarassing" : "anytime anyone speaks to me about football as apart from knowing it's played on a pitch with a round ball - that's about all I really know!",
					"anotherJob" : "perhaps the same job but in a different country where there is sunshine!" 
		},
		"jennifer" : { 		"name" : "Jennifer",
					"dept" : "Client Services",
					"smallImage" : "jennifer-95x115.jpg",
					"largeImage" : "jennifer-181x142.jpg",

					"firstJobAtTM" : "Customer Service Supervisor - Charleston Contact Center",
					"doAnything" : "Travel more.  With a toddler and an infant at home, traveling is rare these days!",
					"iPodFullOf" : "I feel so out of touch...I don't own an iPod!  Heck, I still have a walkman at home somewhere I think!",
					"perfectDay" : "Sleeping in, eating a big breakfast with the family, and sitting on the floor with my girls doing nothing but playing all day.",
					"firstJob" : "A retail sales clerk at a gift shop called The Front Porch in Lexington, KY.",
					"learnedThisYear" : "That I need to be less stressed.  Everything doesn't have to be done in one day.",
					"threeWords" : "Energetic, dedicated, and loyal",
					"dreamVacation" : "Australia or Maui",
					"mostMemorable" : "Conducting baseball practice (throwing lessons) outside of my boss, Scott Powell's window with Megan Loyd, my co-worker, in preparation for the dunking booth to raise money for the &quot;Race for the Cure&quot;. We're already practicing in preparation for next year!",
					"lastPurchase" : "Baby clothes at Sams club...bargain shopper, what can I say?",
					"lookUpTo" : "My Dad.",
					"threePeopleDinner" : "Obama, Oprah, Britney Spears...I think the conversation between the three of these people would be quite interesting to hear.",
					"lifeIs" : "very busy, but absolutely wonderful. ",
					"mostEmbarassing" : "Coming back to work from maternity leave and forgetting EVERYTHING at home...my daily planner, notes I had taken, lunch...everything.  I blame it on post-partum confusion!",
					"anotherJob" : "Public Relations or Marketing" 
		},
		"kasia"    : { 		"name" : "Kasia",
					"dept" : "Development",
					"smallImage" : "kasia-95x115.jpg",
					"largeImage" : "kasia-181x142.jpg",

					"firstJobAtTM" : "Director of Corporate Development, focused on Europe",
					"doAnything" : "be a professional triathlete.  Or a DJ. Or a fashion designer. I need more than one life it seems.",
					"iPodFullOf" : "upbeat music I use for running (techno, break beat, drum &amp; bass, rock, pop, everything!)",
					"perfectDay" : "the right balance of sport, good food and wine and company of friends",
					"firstJob" : "shelving books in a university library when I was a student",
					"learnedThisYear" : "to swim proper front crawl and I am now totally mad on swimming",
					"threeWords" : "chatty, happy and sportive",
					"dreamVacation" : "mountains with lots of snow and sunshine",
					"mostMemorable" : "too early for highlights...",
					"lastPurchase" : "A summer dress from GAS.  I want to be all girly this summer.",
					"lookUpTo" : "people who have inner peace",
					"threePeopleDinner" : "my best friends; but who would invite only 3 people anyway?",
					"lifeIs" : "the best",
					"mostEmbarassing" : "I cannot really think of one",
					"anotherJob" : "Hmmm, not sure really..." 
		},
		"matthew"  : { 		"name" : "Matthew",
					"dept" : "Management",
					"smallImage" : "matthew-95x115.jpg",
					"largeImage" : "matthew-181x142.jpg",

					"firstJobAtTM" : "Call Centre Operator, London",
					"doAnything" : "Be a professional golfer by day, lounge club singer by night.",
					"iPodFullOf" : "Guitar bands: My Morning Jacket, Black Kids, Bloc Party, Rogue Wave, Foreign Born, but I always, always, always keep some Al Green.",
					"perfectDay" : "Brunch at Porto's Bakery, followed by a round of golf and beers with friends in Los Feliz.",
					"firstJob" : "Selling newspaper and magazine subscriptions door to door, had a lot of slammed doors...",
					"learnedThisYear" : "My first words of Mandarin.",
					"threeWords" : "Self-deprecating, adaptable, easy-going... wait ,is that 5 words?",
					"dreamVacation" : "Driving a convertible from the southernmost tip of Italy, along the South of France and down the coast of Spain, ending in Andalucia.",
					"mostMemorable" : "the first day of sales on the Ticketmaster Ireland website. It was the first website I built and seeing the site go live and people buying tickets within minutes was a great feeling.",
					"lastPurchase" : "A new camera, I love taking photos.",
					"lookUpTo" : "Different people for different things, I have been inspired in my life by various people; family members, work colleagues, friends...",
					"threePeopleDinner" : "Quentin Tarantino, Keith Richards, John Cleese.",
					"lifeIs" : "A whirlwind.",
					"mostEmbarassing" : "I'd like to keep my dignity intact (and my embarrassments tucked away)",
					"anotherJob" : "General Manager, Hawaii" 
		},								 
		"phil"     : { 		"name" : "Phil",
					"dept" : "Client Services",
					"smallImage" : "phil-95x115.jpg",
					"largeImage" : "phil-181x142.jpg",

					"firstJobAtTM" : "General Manager for Las Vegas",
					"doAnything" : "Being a professional athlete or a member of the special forces in the military were always two of my biggest childhood dreams.",
					"iPodFullOf" : "Classic Rock and Pop with a few oldies sprinkled in.",
					"perfectDay" : "Watching the Bears win the Superbowl again.",
					"firstJob" : "My first job out of college was being an accountant for Amoco Oil in downtown Chicago.",
					"learnedThisYear" : "Many things that we take for granted are the most important.  The health and happiness of our children being at the top of that list.",
					"threeWords" : "Competitive, optimistic, fair",
					"dreamVacation" : "I had a job that sent me to destinations all over the US and all over the world but I have never been to Greece or Italy so those are two places that I aspire to travel to someday.",
					"mostMemorable" : "Finally signing the MGM Mirage to a contract.  They are the biggest client in Las Vegas and can be the most challenging and the most rewarding client as well.",
					"lastPurchase" : "Probably toys (I have three kids under the age of 10)",
					"lookUpTo" : "My Father, he is a very hard worker and provided me with a great start in life.",
					"threePeopleDinner" : "Mike Ditka, Michael Jordan, and Halle Berry ",
					"lifeIs" : "An amazing gift.  I truly believe that I am living in the greatest country in the world at the greatest time in the history of mankind.",
					"mostEmbarassing" : "Nothing sticks out right now and I am not sure I would list it here if I could think of something.",
					"anotherJob" : "Probably something in Business Development or working with our biggest clients." 
		},
		"selina"   : { 		"name" : "Selina",
					"dept" : "Technology",
					"smallImage" : "selina-95x115.jpg",
					"largeImage" : "selina-181x142.jpg",

					"firstJobAtTM" : "Building and running the CRM Team.",
					"doAnything" : "Run a non-profit that was self-funding helping children with education -- (I will do this, it's a matter of when!). ",
					"iPodFullOf" : "all types of music with a slight excess of Bruce Springsteen, U2 and Billy Joel. ",
					"perfectDay" : "Going for a beautiful hike with a view of the ocean, having a fantastic dinner, and then going to a U2 show",
					"firstJob" : "at 14 years old converting the school curriculum from DOS to Apple",
					"learnedThisYear" : "despite a recession English people will still spend millions of pounds on crappy throwback bands",
					"threeWords" : "clumsy, vivacious, persistent ",
					"dreamVacation" : "The BBC top 40 places to visit -- I'm through just over 20 !",
					"mostMemorable" : "Eamonn holding up signs for a taxi during the SAP presentation in Chicago.",
					"lastPurchase" : "a scarf for Chris (my husband) -- only because I lost the last one on our train to Bruges. ",
					"lookUpTo" : "My parents.  They came to this country with almost nothing and provided us with every opportunity you could imagine.   ",
					"threePeopleDinner" : "Maya Angelou, Albert Einstein, Mahatma Gandhi",
					"lifeIs" : "always filled with new adventures",
					"mostEmbarassing" : "when my team told me i had to go shopping before the next corporate conference",
					"anotherJob" : "I believe Tommy and I have the best jobs in the company." 
 		},								 
		"sherlyn"  : { 		"name" : "Sherlyn",
					"dept" : "Administration",
					"smallImage" : "sherlyn-95x115.jpg",
					"largeImage" : "sherlyn-181x142.jpg",

					"firstJobAtTM" : "Executive Assistant to Chris Riley, Alex Mirza &amp; Debbie Shon",
					"doAnything" : "Travel the world and have a vacation home in my native Country of Belize.",
					"iPodFullOf" : "Reggae &amp; R&amp;B Music.",
					"perfectDay" : "Learning something new and completing all task on my to-do list.",
					"firstJob" : "Sales Person at Champ Sports.",
					"learnedThisYear" : "Turning 30 is not so bad! Also, life will make un-expected U Turns and when it does, it's important to remain positive (like me finding a new job at TM!)...",
					"threeWords" : "Intelligent, fun and caring.",
					"dreamVacation" : "Traveling to Paris!",
					"mostMemorable" : "Meeting Oany Ravelo (we started on the same date)",
					"lastPurchase" : "Dress at Nordstrom for myself.",
					"lookUpTo" : "My mother-in law &amp; Michelle Obama ",
					"threePeopleDinner" : "President Obama, Oprah and Angelina Jolie",
					"lifeIs" : "Happy, stable and hectic all in one  ",
					"mostEmbarassing" : "Nothing I can disclose as of yet, haha",
					"anotherJob" : "So far, there's nothing else I'd rather do... It's been lots of fun so far working with my assigned Executives." 
		},							 
		"stacey"   : { 		"name" : "Stacey",
					"dept" : "Client Services",
					"smallImage" : "stacey-95x115.jpg",
					"largeImage" : "stacey-181x142.jpg",

					"firstJobAtTM" : "Receptionist - Dublin, Ireland",
					"doAnything" : "Live in San Francisco",
					"iPodFullOf" : "Pixies, Bjork, Bob Dylan, David Bowie, Dinosaur Jr, Elliott Smith, Guided by Voices, Jon Spencer Blues Explosion, Jane's Addiction to name but a few.",
					"perfectDay" : "Spending quality time with family and friends.",
					"firstJob" : "Working in a local Newsagents",
					"learnedThisYear" : "Some Chinese",
					"threeWords" : "Random, outgoing and a good listener (ok that's 2 words in one)",
					"dreamVacation" : "At the moment India",
					"mostMemorable" : "Working at the Paralympics in Beijing and seeing The Nest (The National Stadium) for the first time.",
					"lastPurchase" : "A hazelnut latte from Starbucks",
					"lookUpTo" : "My parents",
					"threePeopleDinner" : "Elliott Smith, The Dalai Lama and Elvis (2 of these are dead unfortunately!)",
					"lifeIs" : "Busy, exciting and full!",
					"mostEmbarassing" : "When we were boat racing for charity and capsized into the Thames River, it was fun though.",
					"anotherJob" : "Event Operation Support" 
		},
		"stephen"  : { 		"name" : "Stephen",
					"dept" : "Product",
					"smallImage" : "stephen-95x115.jpg",
					"largeImage" : "stephen-181x142.jpg",

					"firstJobAtTM" : "Web Developer",
					"doAnything" : "If I could do anything I would: Be a Formula 1 driver, you only work 18 weekends a year and earn &pound;20m +",
					"iPodFullOf" : "anything from 80's to present",
					"perfectDay" : "Waking up and realising it's a Saturday",
					"firstJob" : "Shelf Stacking at Gateway supermarket",
					"learnedThisYear" : "That Wolves are now Premier league",
					"threeWords" : "always doing something",
					"dreamVacation" : "Monaco Grand Prix weekend with unlimited money.",
					"mostMemorable" : "To early to say just yet.",
					"lastPurchase" : "10 Gallon of Diesel",
					"lookUpTo" : "anyone over 5'10&quot;",
					"threePeopleDinner" : "Gordan Ramsey, Lionel Messi, Jim Carrey",
					"lifeIs" : "like a box of chocolates",
					"mostEmbarassing" : "Trying to get seated on the massage bench during the Stoke massage day.",
					"anotherJob" : "to early to say just yet." 
		},
		"teresa"   : { 		"name" : "Teresa",
					"dept" : "Client Services",
					"smallImage" : "teresa-95x115.jpg",
					"largeImage" : "teresa-181x142.jpg",

					"firstJobAtTM" : "Call Center",
					"doAnything" : "Paddle all the rivers in the world.",
					"iPodFullOf" : "music and &quot;Scrubs&quot;",
					"perfectDay" : "a smile from a perfect stranger",
					"firstJob" : "way too long ago",
					"learnedThisYear" : "that opening the lid to Pandoras Box was a bad idea...(Renovating my apartment)",
					"threeWords" : "smiling, easy to talk to, tall! ",
					"dreamVacation" : "Antartica",
					"mostMemorable" : "The Beijing Olympics",
					"lastPurchase" : "woolen socks.",
					"lookUpTo" : "People who stay true to themselves, and care for others regardless. ",
					"threePeopleDinner" : "Ghandi, David Attenborough and Joan of Arc",
					"lifeIs" : "what I make it.",
					"mostEmbarassing" : "I rarely get embarrassed... That happens to people who a not afraid to laugh at themselves once in a while.",
					"anotherJob" : "involving more out of the office hours and travel." 
		},
		"tim"      : { 		"name" : "Tim",
					"dept" : "Technology",
					"smallImage" : "tim-95x115.jpg",
					"largeImage" : "tim-181x142.jpg",

					"firstJobAtTM" : "I.S. Desktop Lead",
					"doAnything" : "Eradicate world poverty",
					"iPodFullOf" : "Music - everything good by anyone good",
					"perfectDay" : "Sleeping til midday, record shopping in the afternoon followed by a City match then night on the town with my mates.",
					"firstJob" : "Rubbish",
					"learnedThisYear" : "There is no such thing as death",
					"threeWords" : "White Single Man",
					"dreamVacation" : "Canada",
					"mostMemorable" : "Going to the Chicago office",
					"lastPurchase" : "A can of diet cherry Coke and a packet of Fruitella",
					"lookUpTo" : "Ma and Pops",
					"threePeopleDinner" : "Mohammed Ali, Darth Vader, David Icke",
					"lifeIs" : "Fine thanks.",
					"mostEmbarassing" : "No comment",
					"anotherJob" : "COO" 
		},
		"torval"   : { 		"name" : "Torval",
					"dept" : "Product",
					"smallImage" : "torval-95x115.jpg",
					"largeImage" : "torval-181x142.jpg",

					"firstJobAtTM" : "As an Advanced Product Trainer for Europe.  I had worked for a licensee of Ticketmaster in Canada and wanted to have more exposure to different languages and cultures.  I also wanted to eat lots of good cheese.  ",
					"doAnything" : "I'm doing it!  I am trying to learn 7 languages in ten years and this job with the ability to work in so many different countries has offered me the ability to pursue this goal.  Besides that, I'd like to get involved in helping others in fulfilling their dreams as well.",
					"iPodFullOf" : "I don't believe in iPods.  But I do have an MP3 player!  And it's filled with music that moves the body and soul.  It also has some crap on it from the 80s.  But hey, we all have our dark secrets, right?",
					"perfectDay" : "Coffee and Baileys! Oooooh ya...",
					"firstJob" : "Working in a traveling petting farm where I was the ‘gate keeper' and let people in and out of the cage to pet the animals.  Later I moonlighted as a clown for birthday parties.  Once in the entertainment industry, always in the entertainment industry!",
					"learnedThisYear" : "How to use the public transit in Quebec, Denmark, London, Netherlands, Finland, Norway, Sweden, and Spain.  I learned how to speak a little Danish, a few words in Finnish and Spanish (though mostly about ticketing).  I started teaching myself to play the guitar.  That Spain was a dictatorship until 1975.  Denmark has bike lanes absolutely everywhere.  Beer is so expensive in Norway *cough!* Finnish language is so beautiful.  It's difficult to find a place to recycle cans in London.  Stroopvaffles in Netherlands are delicious.  And there sure are a lot of blondes in Sweden.  Visas take a long time to get sometimes.  Viking heritage is (in my mind) totally awesome heritage.  So much about myself.  ",
					"threeWords" : "Laugh, Learn, Love",
					"dreamVacation" : "I don't believe in dream vacations, if I want it, it'll happen!  However if you're looking for a completely unrealistic vacation then I would say the moon.  I hear they have good cheese there.",
					"mostMemorable" : "Please refer to most embarrassing moment...",
					"lastPurchase" : "Coat hangers from the coat hanger store in Barcelona.  Seriously, if you find a store that JUST sells coat hangers, how can you possibly pass it up!!!  ",
					"lookUpTo" : "People that are taller than 5'11&quot;.  ",
					"threePeopleDinner" : "Skilled in eating, cleaning and carrying bottles of wine.",
					"lifeIs" : "Full of vibrance, balance, beauty, opportunities and challenge.  ",
					"mostEmbarassing" : "When I was asking a coworker if she was joining us for supper.  I was very new to speaking Spanish and 'Estas salida' was not the correct thing to ask!! OH MY!",
					"anotherJob" : "Located in Scandinavia, the motherland!  Or as a hybrid between the software side and the artist side." 
		}								 
	}; // end of employees
	
	//Declare global variables
	//var imagePath = "TEMP/photos/";
	var employeePhotos = imagePath + "/photos/";
	var employeesHash = $H(employees);
	
	// Sample get length
	//var employeeCount = employeesHash.keys().length;
	//console.log("There are " + employeeCount + " employees.");
	
	
	//init
	// THIS IS HOW YOU REMOVE FROM DATABASE
	removeFromData("arshed");
	removeFromData("matthew");
	removeFromData("selina");
	
	setFeatured(grabFromData("albert"));
	//setFeatured(randomPick());
	setSlot(1,randomPick());
	setSlot(2,randomPick());
	setSlot(3,randomPick());
	
	
	// ////////////////// FUNCTIONS //////////////////// ///
	
	// generate featured slot
	function setFeatured(personH){	
		var newBadge = document.createElement("div");
		newBadge.className = "id-slot";
		newBadge.style.backgroundImage = "url('"+ employeePhotos + personH.largeImage + "')";
		newBadge.style.backgroundRepeat = "no-repeat";
		newBadge.style.backgroundPosition = "78px 65px";
		
		var badgeName = document.createElement("h3");
		badgeName.innerHTML = personH.name;
		newBadge.appendChild(badgeName);
		
		var badgeDetails = document.createElement("div");
		badgeDetails.innerHTML = "<strong>My first job at Ticketmaster was:</strong> " + personH.firstJobAtTM + "<br />";
		badgeDetails.innerHTML += "<strong>If I could do anything I'd:</strong> " + personH.doAnything + "<br />";
		badgeDetails.innerHTML += '<a href="javascript:void(0);" id="featured">Read More</a>';
		newBadge.appendChild(badgeDetails);

		//generate lightbox data
		$("photo-id-container").appendChild(newBadge);	
		$("featured-badge").style.backgroundImage = "url('"+ employeePhotos + personH.smallImage + "')";
		$("featured-badge").style.backgroundRepeat = "no-repeat";
		
		var lightboxBadgeName = document.createElement("div");
		lightboxBadgeName.className = "name";
		lightboxBadgeName.innerHTML = personH.name;
		$("featured-badge").appendChild(lightboxBadgeName);
		
		var lightboxBadgePosition = document.createElement("div");
		lightboxBadgePosition.className = "position";
		lightboxBadgePosition.innerHTML = personH.dept;
		$("featured-badge").appendChild(lightboxBadgePosition);
		
		var listOfAnswers = [ personH.firstJobAtTM, personH.doAnything, personH.iPodFullOf, personH.perfectDay, personH.firstJob, personH.learnedThisYear, personH.threeWords, personH.dreamVacation, personH.mostMemorable,  personH.lookUpTo, personH.threePeopleDinner, personH.lifeIs, personH.mostEmbarassing, personH.anotherJob  ];
		
		for(var x=0; x<listOfAnswers.length; x++){
			var currAnswer = listOfAnswers[x];
			if (currAnswer != "") {
				$("featured-Q"+(x+1)).innerHTML = currAnswer;
			}
			else {
				$("featured-Q"+(x+1)).up(0).hide();
			}
		}
		
	}
	// generate non-featured slot
	function setSlot(slotNumber, personH) {
		var slotPlace = "slot"+slotNumber;
	  var lightboxSlotPlace = "lightbox-slot"+slotNumber;
		
		var newImg = document.createElement("img");
		newImg.src = employeePhotos + personH.smallImage;
		newImg.alt = personH.name;
		$(slotPlace).appendChild(newImg);
	
		var slotDetails = document.createElement("div");
		slotDetails.innerHTML = "<p><strong>My name is:</strong> " + personH.name + "</p>";
		slotDetails.innerHTML += "<p><strong>My iPod is full of:</strong> " +personH.iPodFullOf + "</p>";
		slotDetails.innerHTML += '<p><a href="javascript:void(0);" id="slotLink' + slotNumber + '">Read More</a></p>';
	
		$(slotPlace).appendChild(slotDetails);
		
		//generate lightbox data
		
		var lightboxBadgePlace = slotPlace + "-badge";
		$(lightboxBadgePlace).style.backgroundImage = "url('"+ employeePhotos + personH.smallImage + "')";
		$(lightboxBadgePlace).style.backgroundRepeat = "no-repeat";
		
		var lightboxBadgeName = document.createElement("div");
		lightboxBadgeName.className = "name";
		lightboxBadgeName.innerHTML = personH.name;
		$(lightboxBadgePlace).appendChild(lightboxBadgeName);
		
		var lightboxBadgePosition = document.createElement("div");
		lightboxBadgePosition.className = "position";
		lightboxBadgePosition.innerHTML = personH.dept;
		$(lightboxBadgePlace).appendChild(lightboxBadgePosition);
		
		var listOfAnswers = [ personH.firstJobAtTM, personH.doAnything, personH.iPodFullOf, personH.perfectDay, personH.firstJob, personH.learnedThisYear, personH.threeWords, personH.dreamVacation, personH.mostMemorable, personH.lookUpTo, personH.threePeopleDinner, personH.lifeIs, personH.mostEmbarassing, personH.anotherJob  ];
		
		for(var x=0; x<listOfAnswers.length; x++){
			var currAnswer = listOfAnswers[x];
			if (currAnswer != "") {
				$(slotPlace+"-Q"+(x+1)).innerHTML = currAnswer;
			}
			else {
				$(slotPlace+"-Q"+(x+1)).up(0).hide();
			}
		}		
	
	}
	
	// pick one from the employees list in random
	function randomPick() {		
		var arrayList = employeesHash.keys();
		var selectedNum = randomNum();
		var pickedOne = arrayList.splice(selectedNum,1);
		current = grabFromData(pickedOne);
		
		//debugIt();	
		return current;
		
		function randomNum() { return Math.floor(Math.random()*arrayList.length); }
	
		function debugIt() {		
			console.log("Employee list: " + employeesHash.keys());
			console.log("current: " + current.name);
			
		}
	}
	// voluntary pick one from the employees list
	function grabFromData(person) {
		var current;
		var arrayList = employeesHash.keys();
		arrayList.each(function(n){
			if(n == person)	{ 
				current = employeesHash.get(person);
				employeesHash.unset(person);	
			}
		});
	
		if(current != null) {
			//debugIt();
			return current;
		}
			
		function debugIt() {
			console.log("Employee list: " + employeesHash.keys());
			console.log("current: " + current.name);
		}
	
	}
	
	function removeFromData(person) { employeesHash.unset(person); }

	// Lightbox calls
	new Popup( 'lightbox-featured', {
		lightbox: { opacity: 0.6 },
		close_id: "featured-close",
		links: [{
			 link_id: 'featured',
			 popup_align: {
				 x: "center",
				 y: "center"
			 }
		 }]
	});
	new Popup( 'lightbox-slot1', {
		lightbox: { opacity: 0.6 },
		close_id: "slot1-close",
		links: [{
			 link_id: 'slotLink1',
			 popup_align: {
				 x: "center",
				 y: "center"
			 }
		 }]
	});
	
	new Popup( 'lightbox-slot2', {
		lightbox: { opacity: 0.6 },
		close_id: "slot2-close",
		links: [{
			 link_id: 'slotLink2',
			 popup_align: {
				 x: "center",
				 y: "center"
			 }
		 }]
	});
	
	new Popup( 'lightbox-slot3', {
		lightbox: { opacity: 0.6 },
		close_id: "slot3-close",
		links: [{
			 link_id: 'slotLink3',
			 popup_align: {
				 x: "center",
				 y: "center"
			 }
		 }]
	});

  // Flash calls
	//var so = new SWFObject("TEMP/tmCareers_worldmap4.swf", "flashMap", "926", "386", "8", "#000000");
	var flashPath = imagePath + "tmCareers_worldmap4.swf";
	var so = new SWFObject(flashPath, "flashMap", "926", "386", "8", "#000000");
	so.addParam("wmode", "opaque");
	so.write("fo");
}); // end of onload event
