//
//  Designed and coded by Tierra Innovation (http://tierra-innovation.com/)
//
//  Credits:
//
//  Design:     Josh Singer
//  HTML/CSS:   Todd Stowell
//  Javascript: Doug Martin
//

 var App = {
 
   max_popup_height: 479,
   max_popup_image_height: 275,

   // note on the templates: variables with two braces ({{foo}}) around them pass through html_merge without their html being expanded 
   templates: {
     select_curator: "<h1>{curator_name}<h1><h2>{curator_title}</h2><p>&gt; <a href='#TB_inline?height={curator_bio_height}&amp;width={curator_bio_width}&amp;inlineId=curatorbiocontent' class='thickbox'>bio</a><div id='curatorbiocontent' style='display:none'>{{curator_bio_content}}</div><ul class='artistlist'>{{artist_list_html}}</ul><div class='clearboth'></div><div id='artistinfo' style='display:none'></div>",
     select_curator_artist_list: "<li id='tab_for_artist_{artist_id}'><a href='#' onclick='App.select_artist({curator_id},{artist_id}); return false;'>{artist_name}</a></li>",
     select_curator_bio_content: "<div class='curator_bio'><p><img src='images/{curator_short_name}.jpg' height='{curator_image_height}' width='{curator_image_width}'/></p><h1>{curator_name}</h1><p>{{curator_bio}}</p></div>",
     
     select_artist: "<div class='artistworks'>{{artists_thumbnails_html}}</div>{{popups_html}}<p>&gt; <a href='profiles/{artist_short_name}.html?height={artist_profile_height}&width={artist_profile_width}' class='thickbox' title=''>artist profile</a><p><p>{artist_bio}</p>",
     select_artist_thumnails_html: "<a href='#TB_inline?height={popup_height}&amp;width={popup_width}&amp;inlineId=popup_{work_id}' class='thickbox'><img src='images/{artist_short_name}_{work_id}_t.jpg' class='{work_class}' height='{work_height}' width='{work_width}'/></a>",
     select_artist_popup_html: "<div id='popup_{work_id}' style='display:none'><div class='artist_work'><img src='images/{artist_short_name}_{work_id}.jpg' class='{work_class}' height='{work_height}'/><p class='artist_work_title'>{{work_title}}</p>{{work_info}}<br>{work_price}</div></div>"
   },
   
   load_home: function() {
     $("div#homecontent").show();
     $("div#curatorcontent").hide();
     $("li.active").removeClass("active");
     
     $("body").removeClass("intwrapper");
     $("body").addClass("homewrapper");
   },
 
   hide_home: function() {
     $("div#homecontent").hide();
     
     $("body").removeClass("homewrapper");
     $("body").addClass("intwrapper");
   },
   
   select_curator: function(curator_id) {
     var curator = App.get_curator(curator_id);
     var artists = App.get_artists(curator_id);
     
     var artist_list_html = "";
     for (var artist_id in artists) {
       var artist = artists[artist_id];
       artist_list_html += App.templates.select_curator_artist_list.html_merge({curator_id: curator_id, artist_id: artist_id, artist_name: artist.name});
     }
     var curator_bio_content = App.templates.select_curator_bio_content.html_merge({curator_name: curator.name, curator_bio: curator.bio, curator_short_name: curator.short_name, curator_image_height: curator.bio_popup.image_height, curator_image_width: curator.bio_popup.image_width});
     var curator_bio_height = Math.min(curator.bio_popup.height, App.max_popup_height);
     var html = App.templates.select_curator.html_merge({curator_name: curator.name, curator_title: curator.title, curator_bio_height: curator_bio_height, curator_bio_width: curator.bio_popup.width, curator_bio_content: curator_bio_content, artist_list_html: artist_list_html});
     
     App.hide_home();
     $("div#curatorcontent").html(html).show();
     
     // select the curator's city tab
     $("li.active").removeClass("active");
     $("li#tab_for_curator_" + curator_id).addClass("active");
     
     // select the first artist in the list
     var random_artist = 1 + Math.floor(Math.random() * App.get_artist_count(curator_id));
     App.select_artist(curator_id, random_artist);
     
     // activate the new thickbox code for the html we just inserted
     // DON'T NEED THIS -- we already call it in select_artist, calling it twice leads to weird errors
     //tb_init('a.thickbox');
   },
   
   select_artist: function(curator_id, artist_id) {
     var artist = App.get_artist(curator_id, artist_id);
     
     var thumbnails_html = "-- nothing here yet --";
     var popups_html = "";
     if (artist.works) {
       thumbnails_html = "";
       for (var work_id in artist.works) {
         var work = artist.works[work_id];
         var work_height = Math.min(work.height, App.max_popup_image_height);
         var scale_factor = work_height / work.height;
         var work_width = work.width * scale_factor;
         var popup_width = work_width + 165;
         var popup_height = Math.min(work.popup_height, App.max_popup_height);
         var work_class = work.needs_border ? "borderedup" : "";
         thumbnails_html += App.templates.select_artist_thumnails_html.html_merge({artist_short_name: artist.short_name, work_id: work_id, work_height: work.thumb_height, work_width: work.thumb_width, popup_height: popup_height, popup_width: popup_width, work_class: work_class});
         popups_html += App.templates.select_artist_popup_html.html_merge({artist_short_name: artist.short_name, work_id: work_id, work_height: work_height, work_title: work.title, work_info: work.info, work_price: work.price, work_class: work_class});
       }
     }
     
     var artist_profile_height = Math.min(artist.profile_popup.height, App.max_popup_height);
     var html = App.templates.select_artist.html_merge({artist_bio: artist.bio, artist_profile_height: artist_profile_height, artist_profile_width: artist.profile_popup.width, artist_short_name: artist.short_name, artists_thumbnails_html: thumbnails_html, popups_html: popups_html});
     $("div#artistinfo").html(html).show();

     // select the arist's tab
     $("li.subactive").removeClass("subactive");
     $("li#tab_for_artist_" + artist_id).addClass("subactive");
     
     // activate the new thickbox code for the html we just inserted
     tb_init('a.thickbox');
   },
   
   get_curators: function() {
     return App._curators;
   },
   
   get_curator: function(curator_id) {
     return App._curators[curator_id];
   },
   
   get_artist_count: function(curator_id) {
     var count = 0;
     for (var artist_id in App._curators[curator_id].artists)
       count++;
     return count;
   },
   
   get_artists: function(curator_id) {
     return App._curators[curator_id].artists;
   },
   
   get_artist: function(curator_id, artist_id) {
     return App._curators[curator_id].artists[artist_id];
   },
   
   //
   // PRIVATE DATA
   //
   
   _juror: {name: "David Pagel", city: "Minneapolis, MN"},


   _curators: {
      1: {
           name: "Ben Heywood",
           short_name: "ben_heywood",
           city: "Minneapolis, MN",
           title: "Executive Director of The Soap Factory",           
           bio:  "Ben Heywood is the Executive Director of The Soap Factory. Based in a 48,000 sq ft Victorian soap factory on the banks of the Mississippi in Minneapolis, The Soap Factory has been presenting visual arts to the Twin Cities of Minneapolis and St Paul since 1995.<p>Heywood is a graduate of Oxford University and the Courtauld Institute of Art. He was the Deputy Director of The Henry Moore Sculpture Trust from 1990 and worked with the Henry Moore Foundation, as well on the construction of the Henry Moore Institute in Leeds, and of the Henry Moore Sculpture Studio, Halifax. For six years he was an Officer in the Visual Arts Department at the Arts Council of England, the national governmental arts funding body, leading the development of national policy on public art, architecture and design. He relocated to Minneapolis in 2002.",
           bio_popup: {
             image_width: 267,
             image_height: 248,
             width: 700, 
             height: 575
           },
           artists: {
             1: {
                  name: "Erik Ullanderson",
                  short_name: "erik_ullanderson",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "I am my parents son",
                         info: "",
                         price: "$2500",
                         popup_height: 725,
                         width: 331,
                         height: 576,
                         thumb_width: 91,
                         thumb_height: 158
                       }
                  },
                  bio:  "Erik Ullanderson has exhibited his work at the Rochester Art Center in Rochester, Minnesota, the Soap Factory in Minneapolis, the Peanut Gallery in Easthampton, Massachusetts, and Junc in Los Angeles. Using materials that can be found in the \"weekend art drawer\" in combination with the traditional, Ullanderson creates work that shows the reality which exists just under the surface everyday life."
                },
             2: {
                  name: "Kristen Schiele",
                  short_name: "kristen_schiele",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Conference Room",
                         info: "Painting on canvas<br>4' x 4'",
                         price: "$4200",
                         popup_height: 635,
                         width: 441,
                         height: 432,
                         thumb_width: 91,
                         thumb_height: 89
                       }
                  },
                  bio:  "Schiele has lived and worked in both the United States and in Germany. Exhibitions include the Soap Factory in Minneapolis, a solo show at Curators Without Borders Gallery in Berlin, Germany, and Hudson D. Walker Gallery in Provincetown, Massachusetts among others. She has participated in the Bronx Museum's Artist in the Marketplace program and completed a residency at the Provincetown Work Center."
                },
             3: {
                  name: "Lex Thompson",
                  short_name: "lex_thompson",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Untitled",
                         info: "Photograph, framed in glass<br>19\" x 24\"",
                         price: "$600",
                         popup_height: 545,
                         width: 427,
                         height: 342,
                         thumb_width: 90,
                         thumb_height: 72
                       },
                    2: {
                         title: "Untitled",
                         info: "Photograph, framed in glass<br>19\" x 24\"",
                         price: "$600",
                         popup_height: 540,
                         width: 421,
                         height: 342,
                         thumb_width: 91,
                         thumb_height: 74
                       }
                  },
                  bio:  "Lex Thompson's work focuses on manifestations of hope, failure, and irony in the American landscape.  He is Assistant Professor of Photography at Bethel University in St. Paul, MN and was the 2004-2005 Visiting Artist in Photography at Interlochen Arts Academy. His work has been exhibited recently at Exit Art in New York, SF Camerawork and Southern Exposure in San Francisco, the Minnesota Museum of American Art in St. Paul, The Soap Factory and Minnesota Center for Photography in Minneapolis, and Boxspace in Miami."
                },
             4: {
                  name: "Ryan William Chamberlain",
                  short_name: "ryan_william_chamberlain",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Weightless Machinery In Navigating A Garden",
                         info: "Oil, resin on Panel<br>8\" x 10 1/4\"",
                         price: "$6500",
                         popup_height: 482,
                         width: 324,
                         height: 252,
                         thumb_width: 91,
                         thumb_height: 71
                       },
                    2: {
                         title: "Anti, Circa, Versus, Vis-&#224;-vis",
                         info: "Oil, resin on Panel<br>8\" x 10 1/4\"",
                         price: "$5000",
                         popup_height: 482,
                         width: 324,
                         height: 252,
                         thumb_width: 91,
                         thumb_height: 71
                       },
                    3: {
                         title: "Law of the Wall, Law of the Wake",
                         info: "Oil, resin on Panel<br>8\" x 10 1/4\"",
                         price: "$6500",
                         popup_height: 455,
                         width: 324,
                         height: 252,
                         thumb_width: 91,
                         thumb_height: 71
                       }
                  },
                  bio:  "Ryan William Chamberlain is an Instructor (of Record) in Color Theory at the University of Minnesota in Minneapolis.  His work has been exhibited recently at Fieldgate Gallery in London, the Soap Factory and Nash Gallery in Minneapolis.  To Chamberlain, art is useless until viewed, and once approached it has the opportunity to form a perfect bridge between psychic and social states; a middle ground amid imagination and reason, artist and viewer."
                },
             5: {
                  name: "Xavier Tavera",
                  short_name: "xavier_tavera",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Piloto Suicida, 2006",
                         info: "Photograph, framed in glass<br>30\" x 30\"",
                         price: "$1000",
                         popup_height: 630,
                         width: 423,
                         height: 416,
                         thumb_width: 91,
                         thumb_height: 89
                       }
                  },
                  bio:  "Xavier Tavera was born in Mexico City. His color photographs capture his immigrant subjects' emotions and give a voice to those who are marginalized. He has shown his work extensively in the Twin Cities and is part of the collections of the Minneapolis Institute of Art and the Weisman Art Museum. He has participated in numerous solo and group exhibitions nationally and internationally including Chile and China."
                }
           }
         },
      2: {
           name: "Kathryn Kanjo", 
           short_name: "kathryn_kanjo",
           city: "Santa Barbara, CA",
           title: "Director of the University Art Museum at UC Santa Barbara",           
           bio:  "Kathryn Kanjo is the director of the University Art Museum at UC Santa Barbara, a collecting institution whose exhibition schedule emphasizes issues in recent art and architecture while fostering interdisciplinary partnerships across the campus.  She has organized one-person exhibitions by such artists as Leonardo Drew, Isaac Julien, Catherine Opie, Nancy Rubins, and Diana Thater, among others.",
           bio_popup: {
             image_width: 267,
             image_height: 340,
             width: 700, 
             height: 575
           },
           artists: {
             1: {
                  name: "Christine Gray",
                  short_name: "christine_gray",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Dolmen Model, 2007",
                         info: "Oil on panel<br>43\" x 63\"",
                         price: "$2700",
                         popup_height: 512,
                         width: 468,
                         height: 309,
                         thumb_width: 91,
                         thumb_height: 60
                       }
                  },
                  bio:  "The failure to embody the Martha Stewart ideal is an important theme in Gray's work. Failed geometry, failed architecture, and failed illusionism are treated with humor in her craft-kitsch paintings and sculptures. In 2008, Gray will be exhibiting her work at the Project 4 Gallery in Washington, D.C., and has previously exhibited her work at the Santa Barbara Contemporary Arts Forum and the Sweeney Art Gallery in Riverside, California among others."
                },
             2: {
                  name: "Eric Beltz",
                  short_name: "eric_beltz",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Now I am Dead, What Shall I do?",
                         info: "Graphite on paper, 2007<br>21\" x 27\"",
                         price: "$3000",
                         needs_border: true,
                         popup_height: 562,
                         width: 269,
                         height: 346,
                         thumb_width: 91,
                         thumb_height: 117
                       },
                    2: {
                         title: "Relieves Melancholy",
                         info: "Graphite on paper, 2006<br>16\" x 21\"",
                         price: "$2500",
                         needs_border: true,
                         popup_height: 562,
                         width: 271,
                         height: 346,
                         thumb_width: 91,
                         thumb_height: 116
                       }
                  },
                  bio:  "Beltz's drawings have been exhibited nationally and internationally at the Acuņa-Hansen Gallery and Red Gate in Los Angeles, California, the Morgan Lehman Gallery, New York City, and the Alt.Gallery, Newcastle upon Tyne, UK among many others. He is currently a lecturer in the Department of Art at UC Santa Barbara."
                },
             3: {
                  name: "Jenn Figg",
                  short_name: "jenn_figg",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Little Miss Muffet's Giltscape, 2007",
                         info: "wood, paint, candy, gold leaf, vinyl, paper<br>24\" x 48\" x 31\"",
                         price: "$2700",
                         popup_height: 682,
                         width: 220, // really 384
                         height: 270, // really 472
                         thumb_width: 91,
                         thumb_height: 112
                       }
                  },
                  bio:  "Immediately after earning her B.F.A. in Textiles from the Rhode Island School of Design in1996, Jenn Figg designed textiles in both New York and Los Angeles.  While earning an MFA and now pursuing a PHD, Figg has exhibited nationally, and is included in the upcoming Sonotube show this July at Contemporary Art Forum in Santa Barbara."
                },
             4: {
                  name: "R. Nelson Parrish",
                  short_name: "r_nelson_parrish",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Untitled, 2007",
                         info: "Acrylic, wood, fiberglass, resin<br>97\"x15\"x2\"",
                         price: "$5500",
                         popup_height: 725,
                         width: 464,
                         height: 576,
                         thumb_width: 91,
                         thumb_height: 113
                       }
                  },
                  bio:  "Born in Fairbanks, Alaska, Parrish creates art that slams together the commercialism of custom car culture and motor sports, tribal totem traditions of the Pacific Northwest, and Southern California surf culture. He has exhibited his work at many galleries in Santa Barbara and Reno, Nevada."
                },
             5: {
                  name: "Teja Ream",
                  short_name: "teja_ream",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "In Medias Res",
                         info: "Materials:  foam, spackle, plaster, paint, glass, porcelain, hair, plastic",
                         price: "$5000",
                         popup_height: 725,
                         width: 464,
                         height: 576,
                         thumb_width: 91,
                         thumb_height: 113
                       }
                  },
                  bio:  "Teja Ream has been included in numerous exhibitions including Pasadena Projections on Lake; Pasadena, CA (2007); Something New for Another Sunny Day, SB Contemporary Arts Forum, Santa Barbara, CA (2006), Supersonic, Los Angeles, CA (2005), and Relay, Kunstraum Innsbruck, Austria (2005). Ream also participated in FLOW, an outdoor public intervention at the Oxnard Auto Center, Oxnard, CA (2005)."
                }
           }
         },
      3: {
           name: "Kristan Kennedy", 
           short_name: "kristan_kennedy",
           city: "Portland, OR",
           title: "Visual Art Program Director for the Portland Institute for Contemporary Art",
           bio:  "Kristan Kennedy is an artist and curator who is currently the Visual Art Program Director for the Portland Institute for Contemporary Art. Kennedy curates video, installation, music and new media projects presented at PICA's annual Time-Based Art Festival. She has organized exhibitions and commissioned projects by Matthew Day Jackson, Sara Greenberger-Rafferty, Cristian Silva, RED 76, Sincerely John Head, Arnold Kemp, Guido van der Werve and Brad Adkins among others. Kennedy is an artist represented by the Elizabeth Leach Gallery, and has exhibited her work nationally. She is the co-founder of the hibernating artist collective Swallow Press (x2) along with artist Topher Sinkinson, their printed ephemera and temporal public projects have been presented internationally. Kennedy lives and works in Portland, Oregon.",
           bio_popup: {
             image_width: 267,
             image_height: 200,
             width: 700, 
             height: 500
           },
           artists: {
             1: {
                  name: "Adam Sorensen",
                  short_name: "adam_sorensen",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "From the Ledge",
                         info: "Oil on Panel<br>30\" x 30\"",
                         price: "$3600",
                         popup_height: 690,
                         width: 403,
                         height: 481,
                         thumb_width: 91,
                         thumb_height: 109
                       }
                  },
                  bio:  "Portland artist Adam Sorensen's current work explores the landscape as subject, viewing the natural world with an intellectual remove.  His paintings were included in the Portland Art Museum's 2003 Biennial as well as the Core Sample exhibition of that year, and many other galleries across Portland OR and Seattle WA."
                },
             2: {
                  name: "Alex Felton",
                  short_name: "alex_felton",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Almost a lot of Things",
                         info: "Video installation",
                         price: "$1100",
                         popup_height: 725,
                         width: 432,
                         height: 650,
                         thumb_width: 91,
                         thumb_height: 137
                       }
                  },
                  bio:  "Alex Felton's architectural un-realities are drawn and re drawn. They portray minimal and mostly monochrome scenes, which link time and the envelopment of space together in unending loops.  Felton proposes new architecture alongside shape shifting objects and humans through his use of stop animated video installations, paper sculpture and drawings. Felton's work was recently included in Portland Modern's exhibition Saturation, Thoughtless at Small A Projects and Insane Terrain at Oakland's Rock Paper Scissors Collective.  Felton is currently represented by Small A Projects, Portland Oregon."
                },
             3: {
                  name: "Brad Adkins",
                  short_name: "brad_adkins",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Keys to My Parents' House",
                         info: "Sculpture<br>3/8\" x 1 &#189;\" x 3\"",
                         price: "$600",
                         popup_height: 635,
                         width: 288,
                         height: 432,
                         thumb_width: 91,
                         thumb_height: 137
                       }
                  },
                  bio:  "Adkins is a self-taught artist currently residing in Portland, Oregon. In 2002, Chas Bowie of The Portland Mercury declared Adkins \"the poster boy of low-rent artwork.\" Also in 2002, DK Row of The Oregonian listed Adkins as one of ten \"artists you don't know, but should.\" Adkins' individual, collaborative, and curatorial work has been presented at The Art Gym, Consolidated Works, Douglas F. Cooley Memorial Gallery, The Portland Art Museum, and PICA; and has been noted and featured in ArtNews, Artweek, Modern Painters, Punk Planet, and The Independent."
                },
             4: {
                  name: "Chandra Bocci",
                  short_name: "chandra_bocci",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Gummy Big Bang II",
                         info: "Installation<br>Gummi bears, monofilament, light",
                         price: "n/a",
                         popup_height: 655,
                         width: 450,
                         height: 454,
                         thumb_width: 91,
                         thumb_height: 92
                       }
                  },
                  bio:  "Bocci is fascinated with the deluge of brightly colored, disposable matter generated by consumer culture. Checkout aisles, soda commercials, and novelty shops present the materials-and modes of spectacle-she draws from in her work. Employing cheap materials and techniques and often utilizing them to address heavy, real phenomena, she seeks a tension between the frivolous and the profound. Chandra has shown her work at a variety of galleries and museums in the Northwest, as well as on the East Coast in Boston."
                },
             5: {
                  name: "Corey Lunn",
                  short_name: "corey_lunn",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "3 Imps",
                         info: "Sculpture. 3 pcs<br>10\" - 16\"",
                         price: "$2500",
                         popup_height: 615,
                         width: 288,
                         height: 400,
                         thumb_width: 91,
                         thumb_height: 126
                       },
                    2: {
                         title: "3 Imps",
                         info: "Sculpture. 3 pcs<br>10\" - 16\"",
                         price: "$2500",
                         popup_height: 620,
                         width: 432,
                         height: 416,
                         thumb_width: 91,
                         thumb_height: 88
                       }
                  },
                  bio:  "Corey Lunn creates obsessively articulated drawings, sculptures, wooden and foam carvings, animations and sound works. His work constructs and reflects bizarre, tangential and absurd narratives. Depicting surreal landscapes, hybrid animals and the common man, Lunn's worlds are made up with equal parts dark comedy and social commentary.   He has organized exhibitions of his own work and others throughout the Northwest, and his drawings were recently published in the anthology Beast published by Fantagraphics."
                }
           }
         },
      4: {
           name: "Matthew Higgs", 
           short_name: "matthew_higgs",
           city: "Brooklyn, NY",
           title: "Director of White Columns in New York",
           bio:  "Matthew Higgs is the director of White Columns in New York. He is also associate director of exhibitions at the Institute of Contemporary Arts in London, England. He has organized more than forty exhibitions, including To Whom It May Concern and Reality Check: Painting in the Exploded Field at the CCA Wattis Institute. A regular contributor to Artforum, Higgs has written for many catalogs and other publications.",
           bio_popup: {
             image_width: 267,
             image_height: 356,
             width: 700, 
             height: 575
           },
           artists: {
             1: {
                  name: "Greg Smith",
                  short_name: "greg_smith",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "The shoe and the Umbrella",
                         info: "Video installation/DVD",
                         price: "$2500",
                         popup_height: 360,
                         width: 259,
                         height: 173,
                         thumb_width: 91,
                         thumb_height: 61
                       }
                  },
                  bio:  "Smith has exhibited at Artist's Space, White Columns, and Susan Inglett Gallery in New York, and his videos have been screened at the Museum of Modern Art in New York and Galapagos Art Space in Brooklyn.  His work has been reviewed in the New Yorker, The New York Times, and Gay City News.  Upcoming shows are scheduled at Devening Projects + Editions in Chicago in June 2007, and at Susan Inglett Gallery in New York in March 2008."
                },
             2: {
                  name: "Josh Shaddock",
                  short_name: "josh_shaddock",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "No Joke, 2006",
                         info: "Framed inkjet print<br>17.25 x 14.75 x 1.25",
                         price: "n/a",
                         popup_height: 575,
                         width: 306,
                         height: 360,
                         thumb_width: 91,
                         thumb_height: 107
                       }
                  },
                  bio:  "Josh Shaddock lives and works in New York. He represented White Columns at 'Parker's International Art Market (I Am 5)' at Parker's Box in Brooklyn, NY and has participated in group exhibitions in Portland, OR, Philadelphia, PA, and Lisbon, Portugal."
                },
             3: {
                  name: "Matt Keegan",
                  short_name: "matt_keegan",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "That was then, this is now",
                         info: "Photograph, custom framed w/glass<br>53 &#189;\" x 31 &#189;\"",
                         price: "$4000",
                         popup_height: 725,
                         width: 351,
                         height: 540,
                         thumb_width: 91,
                         thumb_height: 144
                       }
                  },
                  bio:  "Matt Keegan is an artist based in New York. His work has been exhibited at White Columns, New York; China Art Objects Galleries, Los Angeles; Sculpture Center, New York; D'Amelio Terras, New York and Nicole Klagsbrun, New York. In 2005 and 2006, he arranged \"Etc.,\" a series of shows and events at Andrew Kreps Gallery, as well as exhibitions with his curatorial collaborative, Public Holiday Projects, at Champion Fine Arts, Los Angeles, and Expodium, The Netherlands. He is co-editor and co-publisher, along with Sara Greenberger Rafferty, of North Drive Press, the third installment of which is slated for publication this summer."
                }
           }
         },
      5: {
           name: "Regine Basha", 
           short_name: "regine_basha",
           city: "Austin, TX",
           title: "Independent Curator", 
           bio:  "Regine Basha is an independent curator living and working in Austin, Texas. She has been curating exhibitions of contemporary art for institutions and public spaces for the past 12 years in Montreal, New York, and Austin. Recent exhibitions include Treble, SculptureCenter (New York), The Gospel of Lead: Dario Robleto and Jeremy Blake, Arthouse (Austin) and Daniel Bozhkov: Cantata for Twelve Choirs and Several Salamanders, Arthouse (Austin). Upcoming exhibitions include Steve Roden/Stephen Vitiello at Lora Reynolds Gallery, Austin, and The Marfa Sessions in the fall of 2008. Her essays have appeared in Art Papers, Art Lies!, Cabinet, Modern Painters and she has published numerous artist's catalogs. She is co-founder of www.fluentcollaborative and www.grackleworld.com and is currently working on audio project concerning musicians from Iraq.", 
           bio_popup: {
             image_width: 267,
             image_height: 276,
             width: 700, 
             height: 575
           },
           artists: {
             1: {
                  name: "Dario Robleto",
                  short_name: "dario_robleto",
                  profile_popup: {
                    width: 700, 
                    height: 275
                  },
                  works: {
                    1: {
                         title: "Movies of Telegrams",
                         info: "Homemade paper (pulp made from soldiers' letters home from various wars, ink retrieved from letters, cotton), colored paper, sewing needles, hair flower braided by a Civil War widow, carte de visite, silk, lace, ribbon, pen, foam core, poplar, ash<br>39\" x 33\" x 3 &#189;\"",
                         price: "$22,000",
                         popup_height: 675,
                         width: 357,
                         height: 230, // really 420, but need to special case since the info text exceeds the max height
                         thumb_width: 91,
                         thumb_height: 107
                       }
                  },
                  bio:  "Dario Robleto lives and works in San Antonio, Texas. He has exhibited his work at MASS MoCA in North Adams, Massachusetts, ArtHouse in Austin Texas, D'Amelio Terras in New York City, Galerie Praz-Delavallade, Paris, Whitney Museum of American Art at Altria, New York, among many others."
                },
             2: {
                  name: "Elaine Bradford",
                  short_name: "elaine_bradford",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Elongated, 2007",
                         info: "Taxidermy deer head, crocheted yarn, buttons, fake fur, fiberfill, wood plaque",
                         price: "$4000",
                         popup_height: 595,
                         width: 450,
                         height: 406,
                         thumb_width: 91,
                         thumb_height: 82
                       }
                  },
                  bio:  "Based in Houston, TX, Bradford is an artist who crochets sweaters for inanimate objects, referencing connotations associated with the handmade and personal ideas of comfort and warmth, and juxtaposing with the absurdity of its application. She has covered a variety of items in handmade sweaters, including trees, vacuum cleaners, and groceries. Her most recent work involves crocheting sweaters for taxidermied animal heads. Her work has recently been exhibited in group shows at Finesilver Gallery in Houston, TX, MassArt in Boston, MA and Bedford Gallery in Walnut Creek, CA."
                },
             3: {
                  name: "Jessica Halonen",
                  short_name: "jessica_halonen",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Still, 2003-2006",
                         info: "Acrylic and ink on laminated birch, maple and red oak veneer",
                         price: "$6250",
                         popup_height: 725,
                         width: 576,
                         height: 691,
                         thumb_width: 91,
                         thumb_height: 106
                       }
                  },
                  bio:  "Jessica Halonen currently lives and works in Austin, Texas. Her work has been exhibited in numerous exhibitions nationally including the Museum of Fine Arts Houston, Austin Museum of Art, Dallas Center for Contemporary Art and University of Texas San Antonio. Halonen was a Core Fellow at the Museum of Fine Arts Houston, and was a resident at the MacDowell Colony this spring."
                },
             4: {
                  name: "Joey Fauerso",
                  short_name: "joey_fauerso",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Ground Support, 2004",
                         info: "Watercolor on paper<br>22\" x 80\"",
                         price: "$3800",
                         popup_height: 400,
                         width: 400,
                         height: 172,
                         thumb_width: 253,
                         thumb_height: 109
                       }
                  },
                  bio:  "Joey Fauerso completed a yearlong residency in Roswell, New Mexico that culminated in the show \"If I'm Thinking I'm Probably Feeling\" at the Roswell Museum of Art. She had a solo show at the Finesilver Gallery in Houston and has an upcoming solo exhibition at Rhodes College in Memphis TN. Her work has been discussed in Flash Art, Art US and Art Papers. She lives and works in San Antonio, Texas."
                },
             5: {
                  name: "Justin Goldwater",
                  short_name: "justin_goldwater",
                  profile_popup: {
                    width: 700, 
                    height: 575
                  },
                  works: {
                    1: {
                         title: "Desert Maneuvers 3 and 4",
                         info: "Diptych, gouache, watercolor ink<br>26.5\" x 26.5\" each",
                         price: "$600 each",
                         popup_height: 500,
                         width: 288,
                         height: 291,
                         thumb_width: 91,
                         thumb_height: 92
                       },
                    2: {
                         title: "Desert Maneuvers 3 and 4",
                         info: "Diptych, gouache, watercolor ink<br>26.5\" x 26.5\" each",
                         price: "$600 each",
                         popup_height: 500,
                         width: 288,
                         height: 286,
                         thumb_width: 91,
                         thumb_height: 90
                       }
                  },
                  bio:  "Justin grew up in Bakersfield California and studied art at UCLA. He has exhibited his work in Austin, Texas, Tokyo, Japan, and Los Angeles, California. He lives in Austin and makes drawings, sculptures, and videos. He was recently an animator on Richard Linklater's \"A Scanner Darkly.\""
                }
           }
         }
   }
 };