var w = new Array(500);
var h = new Array(500);
var t = new Array(500);
w[0] = 0;
h[0] = 0;
t[0] = "";

w[274] = 604;
h[274] = 453;
w[280] = 461;
h[280] = 615;
w[283] = 461;
h[283] = 615;
w[327] = 346;
h[327] = 461;

t[140]="On the Riddle ramp - the largest fleet of Skyhawks in the world";
t[141]="Beautiful view from 8500 feet";
t[142]="Ummm... so, who's flying the airplane?";
t[143]="Pit stop at Marathon";
t[144]="Our ride, Skyhawk N9963E";
t[145]="On downwind for Key West";
t[146]="Duval Street";
t[147]="Just what it says... the southernmost point in US";
t[148]="At the beach";
t[149]="Walking back to the airport";
t[150]="Island City Flying Service, the FBO @ KEYW";
t[151]="Me flying back";
t[152]="Sunset at 7500 feet... Reason #???? I love flying :-)";
t[153]="At Ponce Inlet with Daytona in the background";
t[154]="On the beach... look at all the seagulls";
t[155]="Justin, age 20, some kid, age: 10...";
t[156]="Three amigos";
t[157]="Group hug?";
t[158]="Justin serenading to Leo";
t[159]="Justin doing magic tricks with Lance Burton";
t[160] = "@PHX: So is it Cactus or USAir?";
t[161]="Downtown Salt Lake City on a 'bad' day";
t[162]="View from Dean's condo";
t[163]="A street I wouldn't mind living on";
t[164]="In front of Cucina";
t[165]="Gabe posing inside Cucina";
t[166]="Dean and his baby";
t[167]="Kim packing up those NetJets box lunches";
t[168]="Chef Rob";
t[169]="On the way up...";
t[170]="Driving up";
t[171]="Alta ski resort base";
t[172]="What a view from the base";
t[173]="Day 1: going up on a tow";
t[174]="Day 1: going down, trying not to fall (again)";
t[175]="Day 2: bring it on!";
t[176]="Part of one of the courses";
t[177]="Gabe posing in front of the base";
t[178]="Day 2: falling down in a foot of powder... again...";
t[179]="Going down";
t[180]="Mountains and the white things (they call them clouds...)";
t[181]="Seminole N953ER";
t[182]="KDAB, Daytona 500 racetrack, and Embry-Riddle";
t[183]="My apartment complext. I didn\'t know we have two pools...";
t[184]="Beautiful sunrise";
t[185]="Engine Two is out! Yeah, baby!";
t[186]="Sun-n-Fun crowd";
t[187]="Me with a Husky";
t[188]="In the mockup of SR-22 cockpit";
t[189]="Sumi and her umbrellas";
t[190]="Airshow part of the show";
t[191]="At the entrance to Kennedy Space Center, in front of the Garden of Rockets";
t[192]="My mom and dad in front of the spaceshuttle and the rocket booster mockup";
t[193]="Mom at the end of the Saturn V rocket";
t[194]="Me with the spaceshuttle launch site in the background";
t[195]="Me and spaceshuttle replica";
t[196]="Me in front of Fort Matanzas";
t[197]="Me on top of Fort Matanzas overlooking the Matanzas Inlet";
t[198]="Me on St. George street in St. Augustine or in a Ukrainian village - you decide";
t[199]="Me and mom in front of Castillo De San Marcos in St. Augustine";
t[200]="Mom and dad on top of Castillo De San Marcos in St. Augustine";
t[201]="jetBlue E190 cockpit, MCO-JFK";
t[202]="Andy and his dogs at breakfast";
t[203]="The beggars";
t[204]="Terminal 5... Or what\'s left of it";
t[205]="ANA Boeing 777";
t[206]="Beautiful Speedbird 747";
t[207]="Kennedy at it\'s best: one 747 landing and two taking off. Definitely do not want to be landing next: \'Caution wake turbulence, traffic is a 747 on short final. Additional traffic - TWO 747s departing parallel...\'";
t[208]="Japan 747";
t[209]="Emirates A340, official sponsors of the World Cup";
t[210]="Look! It\'s a Cirrus... at JFK... where\'s a 747 when you need one? ;-)";
t[211]="Nice shot of American landing behind the T5";
t[212]="Another mighty British Airways 747";
t[213]="Traffic is building up: Cathay Pacific A340 and Eurofly A330";
t[214]="jetBlue E190 taxiing to the gate";
t[215]="Heavy traffic in front of jetBlue terminal: American 757, United 777, and Lufthansa 747";
t[216]="jetBlue E190 watching Quantas 747 passing by";
t[217]="Yet another Speedbird, this time a 777";
t[218]="Speedbird 747... I love these birds";
t[219]="Virgin 747 flying over our heads";
t[220]="Virgin 747 flying over our heads";
t[221]="Virgin 747 flying over our heads";
t[222]="jetBlue A320 above us";
t[223]="ElAl 747 departing 31L";
t[224]="Beautiful New York parking job";
t[225]="Alpha Delta at Intrepid";
t[226]="Inside the submarine at Intrepid";
t[227]="Hmmm, a variety... I\'ll take a British passport, an ATP license, and a senator ID. Bulk discount?";
t[228]="Times Square 2006";
t[229]="Speedbird 747 touching down with two EOS and an Air Jamaica tail in the foreground";
t[230]="A live 272, whoohoo!";
t[231]="jetBlue E190 coming in";
t[232]="jetBlue E190 coming in";
t[233]="jetBlue E190 coming in";
t[234]="Convair 340... old school";
t[235]="It\'s a TWA??? I\'m getting the hell out!";
t[236]="Ahh, a 747 again... so what it\'s just a model :-)";
t[237]="747, A340, and a Concorde";
t[238]="Getting sucked into the engine. Help!";
t[239]="jetBlue A320 N535JB on the way back JFK-MCO";
t[240]="At a bar, watching Italy - Ukraine game with a buddy from work";
t[241]="At work, before Italy - Ukraine game";
t[242]="Group shot outside the Hospitality Center";
t[243]="Beer! (Hospitality Center)";
t[244]="\"Fusion\" show";
t[245]="\"Fusion\" show";
t[246]="Educational Experience about Quality... ie more beer!";
t[247]="Matt collecting traffic cones at the end of the night";
t[248]="Doug, me, and Josh back at the Hospitality Center";
t[249]="Brewmasters - notice the focal point of the picture :-)";
t[250]="Trying to fit into the picture";
t[251]="Watch out for drunk Albanians: Mirela, Josh, and Jorina";
t[252]="Sea lions show";
t[253]="Lots and lots of penguins";
t[254]="Doug and Mirela are getting wet";
t[255]="Mirela and Josh";
t[256]="Do not even ask...";
t[257]="The ladies";
t[258]="Second time at Brewmasters";
t[259]="The surf at Melbourne Beach";
t[260]="Tailgating at Seaworld";
t[261]="A dolphin posing on a rock";
t[262]="Clydesdale horses...";
t[263]="... and the Clydesdale cleanup crew";
t[264]="At the Brewmaster\'s with Doug, Katie, and Ross";
t[265]="A sea lion showing off";
t[266]="Last pool party of the summer at TNA house";
t[267]="Mug Night with Adam, Kelli, and Doug";
t[268]="At Gabe and Heather\'s wedding";
t[269]="Trying to keep my cool up on the attic";
t[270]="My dad with the blower";
t[271]="My sister, Doug, and our friend Nikki at Seaworld";
t[272]="The Whale Tail gang is back at it again... Thank you, Seaworld, indeed!";
t[273]="The baby killer whale";
t[274]="Hanging out at Red Tail (a bar owned by a 757 captain)";
t[275]="Get ready";
t[276]="Get set";
t[277]="Make a U-turn without falling down...";
t[278]="Friends\' dacha and sizzling shish kabobs";
t[279]="Kiev\'s town centre - Khreschatik Street and the Independence Square";
t[280]="Ukraina (Ukraine) monument at the Independence Square";
t[281]="My high school (Mathematics and Natural Sciences Liceum #145) and the tall building... well, it was not there at that time";
t[282]="The monument to one of the greatest, if not the greatest coach in the world - Valeriy Lobanovskiy";
t[283]="The building we have lived in - our flat is on seventh floor";
t[284]="Grilling the Brazilian style";
t[285]="Taking off the costumes";
t[286]="Time to... ummm.. move the furniture?";
t[287]="Picture with the veterans";
t[288]="Picture with swim club president and our captain";
t[289]="Chilling with the captain inside the Northwest Boeing 757-200 N417US";
t[290]="Getting some love from Queenzy";
t[291]="Adam getting lots of love";
t[292]="Doug, Ashley, and I with Coby the King Penguin";
t[293]="Coby, the king penguin";
t[294]="Rockhopper penguin";
t[295]="Me and my buddy rockhopper";
t[296]="Little kids";
t[297]="737WR at Flagler";
t[298]="View from across the road... that hole is not supposed to be there";
t[299]="View down the south side of the complex where my building is at";
t[300]="Leasing office";
t[301]="Apartments next to the leasing office";
t[302]="Apartments next to the leasing office, note no damage at all to the building right next to it";
t[303]="Yet another view of the apartments next to the leasing office";
t[304]="Simulation building";
t[305]="Poor Skyhawk on a lawn somewhere";
t[306]="THAT used to be a Seminole...";
t[307]="Riddle ramp";
t[308]="The hangar";
t[309]="Spruance Hall";
t[310]="Dad-Moroz and my sister";
t[311]="The other drunkies at the dinner table";
t[312]="Group shot in front of the museum";
t[313]="Dani and Masha cracking up";
t[314]="... still cracking up";
t[315]="Girls behaving... at last";
t[316]="Aleksey and I outside the museum";
t[317]="... still cracking up at Subway";
t[318]="Aleksey and I after finishing a bottle of tequila";
t[319]="Aleksey and I showing off our amazing beerpong skills";
t[320]="Beerpong losers drinking up";
t[321]="Me with Dani and Masha";
t[322]="Me, Dani, and her roommate Dan - I do not remember drinking anything dark...";
t[323]="Medieval Times";
t[324]="Me in the dangeon, sort of";
t[325]="Eddie and I by the candle making thing";
t[326]="The kings had to do it all themselves - making my own pottery... Take that, sis!";
t[327]="King Eddie trying to hold on to the sword";
t[328]="Bring it on!";
t[329]="Inside the castle";
t[330]="Eddie feasting on the chicken";
t[331]="Our knight accepting the challenge";
t[332]="Our knight going down";
t[333]="Sword fight";
t[334]="Another apartment building in the middle";
t[335]="What is left from the apartments next to the pool";
t[336]="Continental 737 landing on 26R";
t[337]="Departures at 26L";
t[338]="On the way to the beach";
t[339]="A cruise ship";
t[340]="A yacht anyone?";
t[341]="New Yorkers at the beach";
t[342]="Andy, me, Aleksey, and Rich - check out that water";
t[343]="Miami Beach, baby!";
t[344]="Aleksey overlooking Miami Beach";
t[345]="Getting some (lots of) sugar for the drive back";
t[346]="My ride - Skyhawk N5219T";
t[347]="My apartment complex from the above, still plenty of damage in the middle";
t[348]="At the controls wearing the foggles (simulating being in clouds)";
t[349]="New Smyrna Beach from 1600 feet";
t[350]="Daytona Beach from 2000 feet";
t[351]="Daytona Beach Shores";
t[352]="Ponce Inlet and the New Smyrna airport in the background";
t[353]="Flying over the Ponce Inlet jetti";
t[354]="Ponce Inlet and the lighthouse";
t[355]="My airport - New Smyrna Beach municipal";
t[356]="Jenia and I by the Raging Bull";
t[357]="Helping out";
t[358]="Statue of Liberty dude at Times Square";
t[359]="Jenia with the Statue of Liberty";
t[360]="The center of the world - Times Square 2007";
t[361]="JAL 747-400 just before touching down on 22R";
t[362]="Eva Air Cargo MD-11";
t[363]="Freezing and waiting...";
t[364]="Here comes the baby, \'Lufthansa 6840 Super\' Airbus A380-800";
t[365]="And it goes...";
t[366]="Touching down on 22L";
t[367]="A380 pushing back from the gate at T1";
t[368]="A380 and JetBlue A320";
t[369]="Two monsters - A380 and Air France Boeing 747-400 with couple JetBlue A320s in-between";
t[370]="Delta Boeing 777 taking off in front of JAL 747-400";
t[371]="Lufthansa Boeing 747-400 with the soccer ball nose";
t[372]="Tradewinds Cargo 747 taking off";
t[373]="Delta tails at the Worldport";
t[374]="Construction at Terminal 5";
t[375]="Quantas 747-400 taxing past the Aeroflot 767";
t[376]="Quad Cities airport";
t[377]="Mississippi river";
t[378]="Welcome to Iowa! Yey?";
t[379]="Welcome to Cedar Rapids... yey again?";
t[380]="Downtown Cedar Rapids";
t[381]="Downtown Cedar Rapids";
t[382]="Iowa wildlife";
t[383]="Downtown Cedar Rapids at night";
t[384]="My future home - The Pointe at Cedar Rapids";
t[385]="Driving back to the airport... Iowa... yey...";          
t[386]="Beginning of the hooding ceremony";
t[387]="The end of the hooding ceremony";
t[388]="Dr. Kornecki, me, Dr. Towhidnejad, and Dr. Hilburn";
t[389]="Family after hooding ceremony";
t[390]="Picture with my parents and the Wright Flyer";
t[391]="The family after graduation";
t[392]="Chris G and I after hooding ceremony";
t[393]="Matt and I after hooding ceremony";
t[394]="Dani and I after the hooding ceremony";
t[395]="Eddie and I after graduation";
t[396]="At the St. Thomas airport";
t[397]="St. Thomas";
t[398]="St. John from the ferry";
t[399]="At the villa";
t[400]="Cruz bay at sunset";
t[401]="One of the private beaches";
t[402]="Cinnamon Bay";
t[403]="Munching on some coconuts";
t[404]="Cinnamon bay";
t[405]="Chilling at the villa";
t[406]="Kayaking";
t[407]="Westin resort from the bay";
t[408]="Life is good indeed";
t[409]="The gang at the Beach bar";
t[410]="Umm... yeah... Mike, Scot, Tony, and I";
t[411]="St. John";
t[412]="On board Calypso";
t[413]="Captain Dima's first sailing lesson";
t[414]="Jost Van Dyke";
t[415]="Some shops at Jost";
t[416]="We\'ve made it!";
t[417]="So many choices";
t[418]="Chillaxing, life is definitely good";
t[419]="Drinking a Painkiller from a coconut at White beach";
t[420]="That looks like fun";
t[421]="Westin pool";
t[422]="Hicking the Cinnamon Bay trail";
t[423]="At the distillery";
t[424]="Distillery ruins";
t[425]="Cinnamon Bay beach";
t[426]="Chest deep in water and I can still see my feet";
t[427]="Anticipation";
t[428]="The bride";
t[429]="The wedding";
t[430]="Hellen bringing the rings";
t[431]="Mike is having second thoughts?";
t[432]="It is official now";
t[433]="Bride's family";
t[434]="Groom's family";
t[435]="The ladies";
t[436]="Enjoying Mohitos with Brandon";
t[437]="Cutting the cake";
t[438]="and everyone taking pictures";        
t[439]="Our party bus";
t[440]="Holly and I on the party bus";
t[441]="Diana, Megan, and I on the party bus";
t[442]="Hobby cats";
t[443]="Trunk Bay";
t[444]="Relaxing at the Trunk Bay";
t[445]="Cruz Bay";
t[446]="Cactuses for my mom :)";
t[447]="Towering cumulous... fun, fun";
t[448]="My kitchen";
t[449]="Bedroom";
t[450]="Bamboo bathroom";
t[451]="My office # 1 - one of the Cessna rigs";
t[452]="My office # 2 - downtown cube";
t[453]="My sister and I with a corn airplane... woohoo";
t[454]="Downtown Cedar Rapids - what you gonna do";
t[455]="My dad and I";
t[456]="At the library with my sister";
t[457]="Shish kabobs, yum yum";
t[458]="My apartment building from the front";
t[459]="My apartment building from the back";
t[460]="Garage...";
t[461]="Dining area with a new dining set";
t[462]="Somewhat empty living room";
t[463]="My BIG recliner";
t[464]="My little kitchen";
t[465]="Exciting hallway";
t[466]="Bedroom";
t[467]="My bed (just got the headboard :)";
t[468]="My other office :)";
t[469]="The office from outside - Challenger 604";
t[470]="Collins gang";
t[471]="Chilling inside";
t[472]="FAA guys upfront";
t[473]="Cool reflection";
t[474]="The gang after sushi and ice cream (Chris is to the left of me and Gabe is to the right)";
t[475]="Welcome to Seattle";
t[476]="Downtown";
t[477]="\'Greene\' 737s awaiting completion at Boeing Field (KBFI)";
t[478]="Harvesting blackberries";
t[479]="My new car - 2001 Nissan Altima GXE";
t[480]="At the party with Justin";
t[481]="Meig's field... There used to be an aiport there";
t[482]="Chicago skyline from the Sears tower";
t[483]="Chicago skyline from the Sears tower";
t[484]="Chicago skyline from the Sears tower";
t[485]="Justin and I somewhere downtown";
t[486]="Cool fountain";
t[487]="Chicago at night";
t[488]="Cool fountain";
t[489]="On the way home... yey for Iowa!";
t[490]="Dymka and I";
t[491]="Dymka being cute";
t[492]="Awww";
t[493]="Awww";
t[494]="We are so cute together :)";
t[495]="Amy and I getting ready";
t[496]="Woohoo!";
t[497]="Whoohoo!";
t[498]="And they are done!";
t[499]="Time for a refreshment";
t[500]="The rapids part in Cedar Rapids?";
t[501]="View from 3rd Ave bridge today";
t[502]="View from 3rd Ave bridge a year ago";
t[503]="3rd Ave bridge";
t[504]="3rd Ave bridge up close";
t[505]="Parking garage - full in a different way";
t[506]="Putting together sandbags by our office";
t[507]="Paramount theater is ready";
t[508]="3rd Street in downtown, three blocks away from the river";
t[509]="The only standing water we had on our side of town from the rain today";
t[510]="Parking lot and Smuelkoff furniture store on 1st Street, right next to the river";
t[511]="Another shot of the parking lot next to the river";
t[512]="And another shot of the parking lot on the 1st Street";
t[513]="Dymka performing the supplies inventory";
t[514]="Drinking water";
t[515]="The battleship and downtown on a normal day";
t[516]="The battleship is down! (copyright - The Gazette)";
t[517]="I380 and Quaker Oats plant (copyright - KCRG)";
t[518]="Downtown CR from I380 (copyright - KCRG)";
t[519]="Downtown CR from the air (copyright - The Gazette)";
t[520]="Another shot of the battleship (copyright - The Gazette)";
t[521]="Flooding shot from the inside (copyright - KCRG)";
t[522]="Copyright - Iowa DOT";
t[523]="Copyright - Iowa DOT";
t[524]="Copyright - Iowa DOT";
t[525]="Copyright - Iowa DOT";
t[526]="Copyright - Iowa DOT";
t[527]="The mighty Mississippi river - about four times wider than usual...";
t[528]="Paintball rules!";
t[529]="Flatirons and Boulder from the glider";
t[530]="Flatirons - we almost got to the top of the middle one";
t[531]="Coors brewery tour with Aleksey";
t[532]="One of the rivers around";
t[533]="Boulder falls";
t[534]="Cog rail on the way up - \'Lion's den\'";
t[535]="At the top of Pikes Peak with Aleksey";
t[536]="Bear attack";
t[537]="Getting lost in clouds on Pikes peak";
t[538]="My first glider ride";
t[539]="Our pimp mobile";
t[540]="It\'s a tough job - but someone\'s gotta do it :)";
t[541]="The office";
t[542]="Joined up at 14,000 feet";
t[543]="Breaking away";
t[544]="Joined up on approach - look at those sexy winglets";
t[545]="Low approach";
t[546]="On the go";
t[547]="Showing off in my new flight suit in front of Citation XLS+ N563XP";
t[548]="Smallest airpane in the world... yes, for real";
t[549]="Next to an NXT, ironically we ended up watching a movie about these later that day";
t[550]="The mighty Raptor";
t[551]="Some awesome formation flying";
t[552]="Some awesome slides at Noah\'s Ark";
t[553]="Group shot at the end";
t[554]="Siblings? Milwaukee Public Museum";
t[555]="Downtown Milwaukee";
t[556]="Rockbottom brewery downtown";
t[557]="Wedding";
t[558]="Geovani, Julie and me at the reception";
t[559]="Cheers pub with Sasha and Vika";
t[560]="USS Constitution";
t[561]="Charles river";
t[562]="Having some clam chowda at Quincy Market";
t[563]="Beautiful waterfall at the end of the hiking trail";
t[564]="Iron? What iron?";

//t[479]="";
//w[] = ;
//h[] = ;
//t[] = "";

function newWin(href)
{
  window.open(href);
  return false;
}

function newWinNum(href, l, to)
{
  var wi;
  var he;
  var num = href.substr(href.length-8,4);
  num = num*1;
  
  if (w[num] == null)
  {
    wi = 615;
  }
  else
  {
    wi = w[num];
  }
  
  if (h[num] == null)
  {
    he = 461;
  }
  else
  {
    he = h[num];
  }
  
  var text = t[num];
  
  return newWinDim(href, wi, he, 'no', text, l, to);
  
}

function newWinDim(href,wi,he,s,c,l,to)
{ 

  wi += 30;
  he += 120;
  var parameters = 'height=' + he;
  parameters += ',width=' + wi;
  parameters += ',toolbar=no';
  parameters += ',menubar=no';
  parameters += ',status=no';
  parameters += ',resizable=yes';
  parameters += ',title=yes';
  parameters += ',location=no';
  if (l == undefined)
     l = Math.round((screen.width - wi) / 2);
  if (to == undefined)
     to = Math.round((screen.height - he) / 2);
  if (s == undefined)
     s = 'yes';
  parameters += ',left=' + l;
  parameters += ',top=' + to;
  parameters += ',scrollbars=' + s;
  
  var pictureWindow = window.open ("", "pictures", parameters);

  var contents = "<html>";
  contents += "<head>";
  contents += "<title>" + getTitle(href) + "</title>";
  contents += "<base href='http://www.dimayz.com/' />";
  contents += "<script type='text/javascript' language='javascript' src='utilities/windows.js'></script>";
  contents += "</head>";
  contents += "<body>"; // onResize='window.location.href = window.location.href;'>";
  contents += "<img src='" + href + "' id='image'/>";
  contents += "<p style='text-align:center;color: #b22222'>";
  contents += c + "<br /><br /></p>";
  contents += "<div style='width:30%;float:left;text-align:right'><a href='"+href+"' target='_blank' style='font-weight:600; font-size:9pt; font-family:Georgia; color:#718688; text-decoration:none' onclick='return previousPhoto(this.href);'><< previous</a></div>";
  contents += "<div style='width:40%;float:left;text-align:center'><a href='javascript:window.close()' style='font-weight:600; font-size:9pt; font-family:Georgia; color:#718688; text-decoration:none'>close window</a></div>";
  contents += "<div style='width:30%;float:left;text-align:left'><a href='"+href+"' target='_blank' style='font-weight:600; font-size:9pt; font-family:Georgia; color:#718688; text-decoration:none' onclick='return nextPhoto(this.href);'>next >></a></div>";
  contents += "</body>";
  contents += "</html>";

  pictureWindow.document.open();
  pictureWindow.document.write(contents);
  pictureWindow.document.close();

  pictureWindow.focus();
  return false;
}

function nextPhoto(href)
{
  var num = href.substr(href.length-8,4);
  num = num*1+1;
  if (t[num] != null)
  {
    href = href.substring(0,href.length-8) + "0" + num + ".jpg";
  }
  return newWinNum(href);
}

function previousPhoto(href)
{ 
  var num = href.substr(href.length-8,4);
  num = num*1-1;
  if (t[num] != null)
  {
    href = href.substring(0,href.length-8) + "0" + num + ".jpg";
  }
  return newWinNum(href);
}

function getTitle(href)
{
  var title;
  var num = href.substr(href.length-8,4);
  num = num*1;
  if (num == 564) title = "Labor Day Weekend";
  else if (num >= 559) title = "A weekend in Boston";
  else if (num >= 554) title = "Wedding in Milwaukee";
  else if (num >= 548) title = "World\'s Largest Trip";
  else if (num == 547) title = "Citation XLS+ flight testing";
  else if (num >= 542) title = "Citation X formation flight";
  else if (num >= 540) title = "More Flight Testing";
  else if (num >= 529) title = "Colorado Trip";
  else if (num == 528) title = "Paintball";
  else if (num == 527) title = "First CAP mission";
  else if (num >= 522) title = "Flood day 4";
  else if (num >= 515) title = "Flood day 3: The battleship is down";
  else if (num >= 508) title = "Flood day 2";
  else if (num >= 501) title = "Flood day";
  else if (num >= 500) title = "Memorial day weekend";
  else if (num >= 495) title = "Labor Day weekend";
  else if (num >= 479) title = "New car, new pet, new city";
  else if (num >= 474) title = "Seattle poker tour";
  else if (num >= 468) title = "Flight test";
  else if (num >= 458) title = "More apartment pics";
  else if (num >= 448) title = "Happy Birthday!";
  else if (num == 447) title = "St. John - Day 8: Leaving the paradise";
  else if (num >= 442) title = "St. John - Day 7: Sailing lessons and Trunk Bay";
  else if (num >= 427) title = "St. John - Day 6: Wedding";
  else if (num >= 422) title = "St. John - Day 6: Cinnamon Bay";
  else if (num == 421) title = "St. John - Day 5: Back at Westin";
  else if (num >= 411) title = "St. John - Day 4: Calypso and BVI";
  else if (num >= 406) title = "St. John - Day 3: Westin resort";
  else if (num >= 401) title = "St. John - Day 2: Cinnamon Bay";
  else if (num >= 396) title = "St. John - Day 1: Getting there";
  else if (num >= 386) title = "Graduation!";
  else if (num >= 376) title = "Apartment hunting (spring break, part 4)";
  else if (num >= 361) title = "A380 (spring break, part 3)";
  else if (num >= 356) title = "Spring break, part 2";
  else if (num >= 351) title = "Flying around, part 2"
  else if (num >= 346) title = "Flying around";
  else if (num >= 336) title = "Miami trip";
  else if (num >= 334) title = "Tornado damage two months later";
  else if (num >= 323) title = "Medieval Times";
  else if (num >= 312) title = "Dali museum trip";
  else title = "Picture";
  
  return title;
}