
/* *** I N S T R U C T I O N S ***

To change image files and descriptions (title and client), edit data in brackets in the following format:
[ p + "File Path" , "Title, Client" ],
Title and Description are optional.
No Client format:
[ p + "File Path" , "Title" ],
No Title and Client:
[ p + "File Path" ],
When enetering Client, keep  &nbsp;&nbsp; between Title and Client, this creates a wider space between the words.

When adding lines, always make sure there is a comma at the end of each line EXCEPT the last one.

DO NOT TYPE OR EDIT OUTSIDE THE EDITABLE REGIONS!!

Checklist before upload:
1. Check that quotation marks around the new file path and description are in place.
2. Check File Path and Description are separated by a comma.
3. Check that there is a comma at the end of each line EXCEPT the last line of the editale region.

*** E N D   O F   I N S T R U C T I O N S ***/



function checkSize() {
  var myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
  }
  if (myHeight>705){
  varSubDir="large/";
  msg="Use keyboard arrows to navigate, X to close gallery.";
  }
  else if (myHeight>550){
  varSubDir="small/";
  msg="Use keyboard arrows to navigate.";
  }
  else {alert("\nYour window height is too small to view my portfolio.\n\nPlease increase your window size and refresh page.")}
}



function foodGallery()
{
varDir="img/portfolio/food/";
p = varDir + varSubDir;

Slimbox.open([
//*** D O  N O T  E D I T  A B O V E  T H I S L I N E !!! ***
			  
//*** F O O D   G A L L E R Y  EDITABLE REGION  S T A R T ***			  
	 [ p + "coconut_27.jpg" , "Coconut, Alinea" ],
	 [ p + "cucumber_spiral07.jpg" , "Cucumber Spiral, Alinea" ],
	 [ p + "granola02.jpg" , "Granola, Alinea" ],
	 [ p + "candycap_12.jpg" , "Candycap, Alinea" ],
	 [ p + "dryshot2_pouring_035.jpg" , "Dry Shot, Alinea" ],
	 [ p + "monkfish_007.jpg" , "Monkfish, Alinea" ],
	 [ p + "octopus_062.jpg" , "Octopus, Alinea" ],
	 [ p + "sweetpotato_001.jpg" , "Sweet Potato, Alinea" ],
	 [ p + "matsutake_cake_031.jpg" , "Matsutake Cake, Alinea" ],
	 [ p + "olive_010.jpg" , "Olive, Alinea" ],
	 [ p + "potatopeeler_007.jpg" , "Potato Peeler, Alinea" ],
	 [ p + "seaurchin_08.jpg" , "Sea Urchin, Alinea" ],
	 [ p + "IMG_4181.jpg" , "Pork Rillette, Sepia" ],
	 [ p + "Sepia08__0018.jpg" , "Cocktail, Sepia" ],
	 [ p + "Sepia08__0142.jpg" , "Cocktail, Sepia" ],
	 [ p + "Sepia08__0175.jpg" , "Cocktail, Sepia" ],
	 [ p + "Sepia08__0416.jpg" , "Cocktail, Sepia" ],
	 [ p + "Sepia08__0554.jpg" , "Bread Pudding, Sepia" ],
	 [ p + "solidsauce_53.jpg" , "Corn - Solid Sauce (for The New York Times)" ],
	 [ p + "steakburger_048.jpg" , "Steak Burger, Maxwell's at the Club" ],
	 [ p + "surfclam_013.jpg" , "Surf Clam, Alinea" ],
	 [ p + "tomato_004.jpg" , "Tomato, Alinea" ],
	 [ p + "tripod3_020.jpg" , "Tripod Hibiscus, Alinea" ],
	 [ p + "verjus2_14r.jpg" , "Verjus, Alinea" ],
	 [ p + "apple_069.jpg" , "Apple, Alinea" ],
	 [ p + "avenues_0215.jpg" , "Lamb, Avenues" ],
	 [ p + "avenues_0370.jpg" , "Peas, Avenues" ],
	 [ p + "PerSe_0861.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "PerSe_1064.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "PerSe_1090.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "PerSe_1239.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "PerSe_1248.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "Alinea_0338.jpg" , "Cornet, The French Laundry/Per Se/Alinea" ],
	 [ p + "Alinea_0659.jpg" , "Custard, The French Laundry/Per Se/Alinea" ],
	 [ p + "Alinea_0913.jpg" , "Chocolate, The French Laundry/Per Se/Alinea" ],
	 [ p + "TFL_0585.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "TFL_0644.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "TFL_0691.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "TFL_0880.jpg" , "The French Laundry/Per Se/Alinea" ],
	 [ p + "TFL_1149.jpg" , "The French Laundry/Per Se/Alinea" ]
//*** F O O D   G A L L E R Y  EDITABLE REGION  E N D ***	
			  ], 0, {loop: true});
}


function placesGallery()
{
varDir="img/portfolio/places/";
p = varDir + varSubDir;
	
Slimbox.open([
//*** P L A C E S   G A L L E R Y  EDITABLE REGION  S T A R T ***			  
	
	[ p + "srbice06_054.jpg" , "Srbice" ],
	[ p + "srbice06_075.jpg" , "Srbice" ],
	[ p + "srbice06_090.jpg" , "Srbice" ],
	[ p + "IMG_8242_unhorsed.jpg" , "Chicago" ],
	[ p + "_MG_0346.jpg" , "Shenzhen" ],
	[ p + "_MG_0410-2.jpg" , "Shenzhen" ],
	[ p + "_MG_0562_1.jpg" , "Henggang" ],
	[ p + "_MG_0056.jpg" , "Henggang" ],
	[ p + "_MG_9231.jpg" , "Henggang" ],
	[ p + "halfcactus_ow.jpg" , "San Diego" ],
	[ p + "henggang_20080625_0221.jpg" , "Hong Kong" ],
	[ p + "japan09_109.jpg" , "Tokyo" ],
	[ p + "firstdinrm08_049.jpg" , "Alinea" ],
	[ p + "kitchenaction07_0440R.jpg" , "Alinea" ],
	[ p + "kitchenaction08_1026.jpg" , "Alinea" ],
	[ p + "upstairshall08_051.jpg" , "Alinea" ],
	[ p + "PerSe_0167.jpg" , "Per Se" ],
	[ p + "PerSe_0511.jpg" , "Per Se" ],
	[ p + "PerSe_0531.jpg" , "Per Se" ],
	[ p + "sustainablegreens_013.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_060.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_136.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_177.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_291.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_307.jpg" , "Sustainable Greens" ],
	[ p + "sustainablegreens_334.jpg" , "Sustainable Greens" ],
	[ p + "TFL_1_095.jpg" , "The French Laundry" ],
	[ p + "TFL_0333.jpg" , "The French Laundry" ],
	[ p + "TFL_0446.jpg" , "The French Laundry" ]
//*** P L A C E S   G A L L E R Y  EDITABLE REGION  E N D ***	
			  ], 0, {loop: true});
}



function peopleGallery()
{
varDir="img/portfolio/people/";
p = varDir + varSubDir;
	
Slimbox.open([
//*** P E O P L E   G A L L E R Y  EDITABLE REGION  S T A R T ***			  
	[ p + "grantachatz08_026.jpg" , "Grant Achatz, Alinea" ],
	[ p + "Avenues_0536.jpg" , "Curtis Duffy, Avenues" ],
	[ p + "kitchenaction08_0153.jpg" , "Jeffrey Pikus, Michael Ruhlman, and Nick Kokonas at Alinea" ],
	[ p + "Steve_Rugo_2025.jpg" , "Steve Rugo" ],
	[ p + "chad_ellegood_61.jpg" , "Chad Ellegood, Tru" ],
	[ p + "kitchen_088.jpg" , "Mike Lodes, Maxwell's at the Club" ],
	[ p + "kitchen_117.jpg" , "Rick Hall, Maxwell's at the Club" ],
	[ p + "Alinea_0278.jpg" , "Grant Achatz and Thomas Keller at Alinea" ],
	[ p + "naha_daniella_0057.jpg" , "Daniella, Naha" ],
	[ p + "P1040784.jpg" , "Madeline" ],
	[ p + "PerSe_0481.jpg" , "Grant Achatz and Thomas Keller at Per Se" ],
	[ p + "PerSe_0507.jpg" , "Thomas Keller, Per Se" ],
	[ p + "Sepia08__0296.jpg" , "Peter Vestinos, Sepia" ],
	[ p + "qiu_xiaolong_0062.jpg" , "Qiu Xiaolong (for Four Seasons Magazine)" ],
	[ p + "curtisduffy_0086.jpg" , "Curtis Duffy" ],
	[ p + "shu-min.jpg" , "Shu-Min" ],
	[ p + "TFL_1213.jpg" , "Corey Lee, The French Laundry" ],
	[ p + "radhika035.jpg" , "Radhika Desai, Between (for Michigan Avenue Magazine)" ]
//*** P E O P L E   G A L L E R Y  EDITABLE REGION  E N D ***	
			  ], 0, {loop: true});
}



function fashionGallery()
{
varDir="img/portfolio/fashion/";
p = varDir + varSubDir;
	
Slimbox.open([
//*** F A S H I O N   G A L L E R Y  EDITABLE REGION  S T A R T ***	
	[ p + "maramara_0042.jpg" , "Maramara" ],
	[ p + "maramara_0058.jpg" , "Maramara" ],
	[ p + "maramara_0075.jpg" , "Maramara" ],  
	[ p + "agl_0077.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl_0445.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl_0798.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl_0938.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl09_160.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl09_194.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl09_380.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl09_597.jpg" , "Abigail Glaum-Lathbury" ],
	[ p + "agl09_706.jpg" , "Abigail Glaum-Lathbury" ]
//*** F A S H I O N   G A L L E R Y  EDITABLE REGION  E N D ***	
			  ], 0, {loop: true});
}



function productGallery()
{
varDir="img/portfolio/product/";
p = varDir + varSubDir;
	
Slimbox.open([
//*** P R O D U C T   G A L L E R Y  EDITABLE REGION  S T A R T ***			  
	[ p + "archvintage_080508_484.jpg" , "Necklace, Arch Vintage" ],
	[ p + "arch_0500.jpg" , "Bracelet, Arch Vintage" ],
	[ p + "archvintage_080508_508.jpg" , "Necklace, Arch Vintage" ],
	[ p + "arch_0520.jpg" , "Bracelet, Arch Vintage" ],
	[ p + "peacock.jpg" , "Peacock, Crucial Detail" ],
	[ p + "corkpresenter-01.jpg" , "Cork Presenter, Crucial Detail" ],
	[ p + "chip06.jpg" , "Chip, Crucial Detail" ],
	[ p + "_MG_3897.jpg" , "Landscape Plates - Mounds, Crucial Detail" ],
	[ p + "L2O_0164.jpg" , "Shellfish Platter, Crucial Detail" ],
	[ p + "twig2_0161.jpg" , "Necklace, Twig Design" ],
	[ p + "twig2_0174.jpg" , "Necklace, Twig Design" ],
	[ p + "twig2_0201.jpg" , "Pendant, Twig Design" ],
	[ p + "twig2_0546.jpg" , "Earrings, Twig Design" ]
//*** P R O D U C T   G A L L E R Y  EDITABLE REGION   E N D ***	
			  ], 0, {loop: true});
}
