// The list of paintings to show in the gallery.  All
// gallery views use this list.
var thumbs = "images/paintings/tn/";
var big    = "images/paintings/big/";
var paintingExt = ".jpg";

var paintingPath = "images/paintings/";

// random, title, style, filename, size, price,
// availability, thumbWidth, thumbHeight, largeWidth, largeHeight

var paintingDB = [
    {   random:1,
        info:1,
        title:"Valais Revisited (diptych)",
        style:"abstract",
        fileName:"valais-revisited",
        width:72,
        height:60,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:126,
        largeWidth:500,
        largeHeight:420
    },
    {   random:1,
        info:1,
				title:"Les Reves de la Valais Perdue",
        style:"abstract",
        fileName:"les-reves",
        width:36,
        height:36,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:447,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Tidal Marsh",
        style:"abstract",
        fileName:"tidal-marsh",
        width:30,
        height:30,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:500,
        largeHeight:498
    },
    {   random:1,
        info:1,
				title:"The Canyons",
        style:"abstract",
        fileName:"the-canyons",
        width:24,
        height:30,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:119,
        thumbHeight:150,
        largeWidth:358,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Reclaimed Innocence I",
        style:"abstract",
        fileName:"reclaimed-innocence-1",
        width:30,
        height:40,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:111,
        thumbHeight:150,
        largeWidth:334,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Reclaimed Innocence II",
        style:"abstract",
        fileName:"reclaimed-innocence-2",
        width:30,
        height:40,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:112,
        thumbHeight:150,
        largeWidth:336,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Valais V",
        style:"abstract",
        fileName:"valais5",
        width:40,
        height:40,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:499,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Osson (Back to School)",
        style:"abstract",
        fileName:"abstract1",
        width:40,
        height:30,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:112,
        largeWidth:500,
        largeHeight:372
    },
    {   random:1,
        info:1,
				title:"Valais III",
        style:"abstract",
        fileName:"france1",
        width:48,
        height:48,
        price:2300,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:500,
        largeHeight:500
    },
    {   random:0,
        info:1,
				title:"Randogne I",
        style:"abstract",
        fileName:"randogne3",
        width:12,
        height:13.5,
        price:2300,
        medium:"Oil on Board",
        available:1,
        thumbWidth:131,
        thumbHeight:150,
        largeWidth:392,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Randogne II",
        style:"abstract",
        fileName:"randogne2",
        width:11,
        height:10.25,
        price:2300,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:140,
        largeWidth:500,
        largeHeight:466
    },
    {   random:1,
        info:1,
				title:"Randogne III",
        style:"abstract",
        fileName:"randogne1",
        width:10.5,
        height:9.25,
        price:2300,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:136,
        largeWidth:500,
        largeHeight:452
    },
    {   random:1,
        info:1,
				title:"Randogne IV",
        style:"abstract",
        fileName:"randogne4",
        width:13.75,
        height:12.5,
        price:2300,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:142,
        largeWidth:500,
        largeHeight:473
    },
    {   random:1,
        info:1,
				title:"Valais II",
        style:"abstract",
        fileName:"valais2",
        width:24,
        height:24,
        price:1000,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:500,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Ronda Vista",
        style:"abstract",
        fileName:"DSC_0019",
        width:40,
        height:28,
        price:2000,
        medium:"Oil on Board",
        available:1,
        thumbWidth:193,
        thumbHeight:130,
        largeWidth:500,
        largeHeight:243
    },
    {   random:1,
        info:1,
				title:"West of Widecombe",
        style:"abstract",
        fileName:"DSC_0025",
        width:48,
        height:24,
        price:2000,
        medium:"Oil on Board",
        available:0,
        thumbWidth:190,
        thumbHeight:92,
        largeWidth:500,
        largeHeight:243
    },
    {   random:1,
        info:1,
				title:"Road to Yzeron",
        style:"abstract",
        fileName:"road-to-yzeron",
        width:30,
        height:32,
        price:1700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:141,
        largeWidth:500,
        largeHeight:469
    },
    {   random:1,
        info:1,
				title:"Valais",
        style:"abstract",
        fileName:"valais",
        width:44.25,
        height:30,
        price:2300,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:100,
        largeWidth:500,
        largeHeight:333
    },
    {   random:1,
        info:1,
				title:"Sea/Sky",
        style:"water",
        fileName:"seasky",
        width:34.5,
        height:30,
        price:1000,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:128,
        largeWidth:500,
        largeHeight:431
    },
    {   random:1,
        info:1,
				title:"Palm Beach I",
        style:"water",
        fileName:"barton-beach-1",
        width:28,
        height:32,
        price:1000,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:122,
        thumbHeight:150,
        largeWidth:405,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Palm Beach II",
        style:"water",
        fileName:"barton-beach-2",
        width:28,
        height:32,
        price:1000,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:122,
        thumbHeight:150,
        largeWidth:407,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Palm Beach III",
        style:"water",
        fileName:"barton-beach-3",
        width:12,
        height:13.5,
        price:1000,
        medium:"Oil on Board",
        available:1,
        thumbWidth:129,
        thumbHeight:150,
        largeWidth:387,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Barton Pool",
        style:"water",
        fileName:"barton-pool",
        width:16,
        height:20,
        price:1000,
        medium:"Oil on Canvas",
        available:1,
        thumbWidth:119,
        thumbHeight:150,
        largeWidth:395,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Guggenheim",
        style:"architecture",
        fileName:"guggenheim",
        width:33.5,
        height:24,
        price:2200,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:107,
        largeWidth:500,
        largeHeight:355
    },
    {   random:1,
        info:1,
				title:"Barton Chimneys",
        style:"architecture",
        fileName:"barton-chimneys",
        width:40,
        height:36,
        price:2200,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:135,
        largeWidth:500,
        largeHeight:450
    },
    {   random:1,
        info:1,
				title:"Barton Roof Detail",
        style:"architecture",
        fileName:"barton-roof-detail",
        width:28,
        height:36,
        price:1700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:138,
        thumbHeight:150,
        largeWidth:461,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Barton Roof Detail II",
        style:"architecture",
        fileName:"barton-roof-detail-2",
        width:30.5,
        height:28,
        price:1700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:116,
        largeWidth:500,
        largeHeight:387
    },
    {   random:1,
        info:1,
				title:"Barton East Side",
        style:"architecture",
        fileName:"barton-east-side",
        width:28,
        height:26,
        price:1100,
        medium:"Oil on Board",
        available:0,
        thumbWidth:150,
        thumbHeight:137,
        largeWidth:500,
        largeHeight:456
    },
    {   random:1,
        info:1,
				title:"Southeast Corner",
        style:"architecture",
        fileName:"southeast-corner",
        width:18,
        height:18,
        price:700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:498,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Bike Path Building",
        style:"architecture",
        fileName:"bike-path-building",
        width:8,
        height:8,
        price:600,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:147,
        largeWidth:500,
        largeHeight:491
    },
    {   random:1,
        info:1,
				title:"Bike Path Building II",
        style:"architecture",
        fileName:"bike-path-building-2",
        width:15,
        height:19.75,
        price:600,
        medium:"Oil on Board",
        available:0,
        thumbWidth:116,
        thumbHeight:150,
        largeWidth:386,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Bike Path Building III",
        style:"architecture",
        fileName:"bike-path-building-3",
        width:8,
        height:7.75,
        price:700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:147,
        largeWidth:500,
        largeHeight:491
    },
    {   random:1,
        info:1,
				title:"Bike Path Building IV",
        style:"architecture",
        fileName:"bike-path-building-4",
        width:9,
        height:7.5,
        price:700,
        medium:"Oil on Board",
        available:1,
        thumbWidth:150,
        thumbHeight:128,
        largeWidth:500,
        largeHeight:426
    },
    {   random:1,
        info:1,
				title:"Sunflowers",
        style:"other",
        fileName:"DSC_0023",
        width:12,
        height:14.5,
        price:300,
        medium:"Oil on Board",
        available:0,
        thumbWidth:120,
        thumbHeight:150,
        largeWidth:400,
        largeHeight:500
    },
    {   random:1,
        info:1,
				title:"Still Life",
        style:"other",
        fileName:"still-life",
        width:13,
        height:12,
        price:300,
        medium:"Oil on Board",
        available:0,
        thumbWidth:150,
        thumbHeight:138,
        largeWidth:488,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:114,
        thumbHeight:150,
        largeWidth:341,
        largeHeight:450
    },
    {   random:1,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:113,
        thumbHeight:150,
        largeWidth:338,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:119,
        thumbHeight:150,
        largeWidth:357,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:121,
        largeWidth:500,
        largeHeight:402
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair5",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:55,
        thumbHeight:150,
        largeWidth:164,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:35,
        thumbHeight:150,
        largeWidth:105,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair7",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:39,
        thumbHeight:150,
        largeWidth:116,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair8",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:108,
        thumbHeight:150,
        largeWidth:325,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair9",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:33,
        thumbHeight:150,
        largeWidth:98,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair10",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:95,
        thumbHeight:150,
        largeWidth:284,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair11",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:46,
        thumbHeight:150,
        largeWidth:139,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair12",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:33,
        thumbHeight:150,
        largeWidth:100,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair13",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:42,
        thumbHeight:150,
        largeWidth:125,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"chair",
        fileName:"/chair/chair14",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:82,
        thumbHeight:150,
        largeWidth:247,
        largeHeight:450
    },
    {   random:1,
        info:0,
				title:"",
        style:"guitar",
        fileName:"/guitar/guitar1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:73,
        thumbHeight:150,
        largeWidth:219,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"guitar",
        fileName:"/guitar/guitar2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:30,
        thumbHeight:150,
        largeWidth:91,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"guitar",
        fileName:"/guitar/guitar3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:64,
        thumbHeight:150,
        largeWidth:193,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"guitar",
        fileName:"/guitar/guitar4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:66,
        thumbHeight:150,
        largeWidth:198,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"guitar",
        fileName:"/guitar/guitar5",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:89,
        thumbHeight:150,
        largeWidth:268,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"windsurfer",
        fileName:"/board/board1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:32,
        largeWidth:500,
        largeHeight:108
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 1 Front",
        style:"chakra17",
        fileName:"/chair/chakra1-7_1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:105,
        thumbHeight:150,
        largeWidth:315,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 1 Detail",
        style:"chakra17",
        fileName:"/chair/chakra1-7_6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:96,
        thumbHeight:150,
        largeWidth:287,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 1 Back",
        style:"chakra17",
        fileName:"/chair/chakra1-7_2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:115,
        thumbHeight:150,
        largeWidth:344,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 1 Detail",
        style:"chakra17",
        fileName:"/chair/chakra1-7_7",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:103,
        largeWidth:450,
        largeHeight:310
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 2 Front",
        style:"chakra17",
        fileName:"/chair/chakra1-7_3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:96,
        thumbHeight:150,
        largeWidth:288,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 2 Detail",
        style:"chakra17",
        fileName:"/chair/chakra1-7_6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:96,
        thumbHeight:150,
        largeWidth:287,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 2 Back",
        style:"chakra17",
        fileName:"/chair/chakra1-7_4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:100,
        thumbHeight:150,
        largeWidth:299,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"All Chakras Chair 2 Detail",
        style:"chakra17",
        fileName:"/chair/chakra1-7_8",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:105,
        largeWidth:450,
        largeHeight:314
    },
    {   random:0,
        info:0,
				title:"Third Chakra Chair Front",
        style:"chakra3",
        fileName:"/chair/chakra3_1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:93,
        thumbHeight:150,
        largeWidth:280,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Detail",
        style:"chakra3",
        fileName:"/chair/chakra3_6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:103,
        largeWidth:450,
        largeHeight:310
    },
    {   random:0,
        info:0,
				title:"Detail",
        style:"chakra3",
        fileName:"/chair/chakra3_5",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:100,
        thumbHeight:150,
        largeWidth:301,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Third Chakra Chair Back",
        style:"chakra3",
        fileName:"/chair/chakra3_2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:98,
        thumbHeight:150,
        largeWidth:293,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Detail",
        style:"chakra3",
        fileName:"/chair/chakra3_3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:100,
        largeWidth:450,
        largeHeight:299
    },
    {   random:0,
        info:0,
				title:"Detail",
        style:"chakra3",
        fileName:"/chair/chakra3_4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:100,
        thumbHeight:150,
        largeWidth:299,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Fifth Chakra Chair Front",
        style:"chakra5",
        fileName:"/chair/chakra5_1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:86,
        thumbHeight:150,
        largeWidth:259,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Fifth Chakra Chair",
        style:"chakra5",
        fileName:"/chair/chakra5_2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:104,
        thumbHeight:150,
        largeWidth:313,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Fifth Chakra Chair",
        style:"chakra5",
        fileName:"/chair/chakra5_3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:103,
        thumbHeight:150,
        largeWidth:310,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Detail - Front",
        style:"chakra5",
        fileName:"/chair/chakra5_5",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:120,
        thumbHeight:150,
        largeWidth:359,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Detail - Seat",
        style:"chakra5",
        fileName:"/chair/chakra5_6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:104,
        thumbHeight:150,
        largeWidth:313,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"Back",
        style:"chakra5",
        fileName:"/chair/chakra5_4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:87,
        thumbHeight:150,
        largeWidth:262,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"painted_furniture",
        fileName:"/furniture/bookcase1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:125,
        largeWidth:450,
        largeHeight:374
    },
    {   random:0,
        info:0,
				title:"",
        style:"painted_furniture",
        fileName:"/furniture/bookcase2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:124,
        largeWidth:450,
        largeHeight:372
    },
    {   random:0,
        info:0,
				title:"Front",
        style:"painted_furniture",
        fileName:"/furniture/bluechest1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:99,
        largeWidth:450,
        largeHeight:296
    },
    {   random:0,
        info:0,
				title:"",
        style:"painted_furniture",
        fileName:"/furniture/bluechest4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:124,
        largeWidth:450,
        largeHeight:373
    },
    {   random:0,
        info:0,
				title:"Top",
        style:"painted_furniture",
        fileName:"/furniture/bluechest2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:74,
        largeWidth:450,
        largeHeight:223
    },
    {   random:0,
        info:0,
				title:"Side",
        style:"painted_furniture",
        fileName:"/furniture/bluechest3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:121,
        largeWidth:450,
        largeHeight:364
    },
    {   random:0,
        info:0,
				title:"Front",
        style:"painted_furniture",
        fileName:"/furniture/redchest1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:63,
        largeWidth:450,
        largeHeight:190
    },
    {   random:0,
        info:0,
				title:"",
        style:"painted_furniture",
        fileName:"/furniture/redchest2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:107,
        largeWidth:450,
        largeHeight:320
    },
    {   random:0,
        info:0,
				title:"Detail - Top",
        style:"painted_furniture",
        fileName:"/furniture/redchest3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:83,
        largeWidth:450,
        largeHeight:250
    },
    {   random:0,
        info:0,
				title:"",
        style:"fortune",
        fileName:"/furniture/headboard1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:83,
        largeWidth:450,
        largeHeight:249
    },
    {   random:0,
        info:0,
				title:"",
        style:"fortune",
        fileName:"/furniture/headboard2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:95,
        largeWidth:450,
        largeHeight:286
    },
    {   random:1,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:447
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:447,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle11",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:448,
        largeHeight:450
    },
    {   random:1,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle12",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:147,
        largeWidth:450,
        largeHeight:441
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:448
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle5",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:448,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle6",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:448,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle7",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:448
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle8",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:447,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle9",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:447
    },
    {   random:1,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle10",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:447
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle13",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle14",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:450
    },
    {   random:1,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle15",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle16",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle17",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:449
    },
    {   random:1,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle18",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:150,
        largeWidth:450,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle19",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:149,
        thumbHeight:150,
        largeWidth:447,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle20",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:447
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle21",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:149,
        largeWidth:450,
        largeHeight:447
    },
    {   random:0,
        info:0,
				title:"",
        style:"doodle",
        fileName:"/doodles/doodle3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:65,
        largeWidth:450,
        largeHeight:195
    },
    {   random:0,
        info:0,
				title:"",
        style:"masks",
        fileName:"/masks/mask1",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:116,
        thumbHeight:150,
        largeWidth:349,
        largeHeight:450
    },
    {   random:0,
        info:0,
				title:"",
        style:"masks",
        fileName:"/masks/mask2",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:100,
        largeWidth:450,
        largeHeight:300
    },
    {   random:0,
        info:0,
				title:"",
        style:"masks",
        fileName:"/masks/mask3",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:150,
        thumbHeight:100,
        largeWidth:450,
        largeHeight:300
    },
    {   random:0,
        info:0,
				title:"",
        style:"masks",
        fileName:"/masks/mask4",
        width:12,
        height:15,
        price:300,
        medium:"object",
        available:0,
        thumbWidth:106,
        thumbHeight:150,
        largeWidth:318,
        largeHeight:450
    }
];

function paintingFile(f) {
  var i;
  for (i = 0; i < paintingDB.length; ++i) {
    if (paintingDB[i].fileName == f) {
      var loc = "large.html?I" + i.toString() + "," + paintingDB[i].style;
      window.location = loc;
    }
  }
}

