// JavaScript Document

titl = "";
desc = "";
x = 1;
y = 1;
img = " ";
BOOK = "ScomplexBook1b";
HEART = "heart1c";

function sizer(x,y) { // this changes the height and width of the main image src
	document.getElementById("gallery").width= x;	
	document.getElementById("gallery").height= y;
}

function Dsize() {
	document.images.gallery.src= "images/spacer.gif";
	sizer(400,400);
	
}

function changer(nm) {	//changes all descriptions and image size
	document.images.gallery.src= "images/spacer.gif";
	window[nm]();	// calls available function with desription changes (other js file)
	sizer(x,y);
	document.getElementById('Dtitle').innerHTML = titl;	// name or short description of piece
	document.getElementById('Darea').innerHTML = desc;	// longer description of the piece, materials, length, etc.
	img = nm;
}


function coll2(nm) {	// called when thumbnail is clicked, changes main image src, calls description changes
	changer(nm);
	document.images.gallery.src= "images/sculp/complex/" + nm + ".jpg";
}

//---------

function coll1(nm) {	// called when thumbnail is clicked, changes main image src, calls description changes
	changer(nm);
	document.images.gallery.src= "images/sculp/" + nm + ".jpg";
}

function Dswap1B() {
	Dsize();
	document.images.gallery.src= "images/sculp/" + img + "b.jpg";
}

function Dswap1C() {
	Dsize();
	document.images.gallery.src= "images/sculp/" + img + "c.jpg";
}

function Dswap1D() {
	Dsize();
	document.images.gallery.src= "images/sculp/" + img + "d.jpg";
}

//-------

function coll3(nm) {	// called when thumbnail is clicked, changes main image src, calls description changes
	changer(nm);
	document.images.gallery.src= "images/sculp/complex/studio/" + nm + ".jpg";
}

function Dswap3B() {
	Dsize();
	document.images.gallery.src= "images/sculp/complex/studio/" + img + "b.jpg";
}

function Dswap3C() {
	Dsize();
	document.images.gallery.src= "images/sculp/complex/studio/" + img + "c.jpg";
}

function Dswap3D() {
	Dsize();
	document.images.gallery.src= "images/sculp/complex/studio/" + img + "d.jpg";
}

//-----

function coll4(nm) {	// called when thumbnail is clicked, changes main image src, calls description changes
	changer(nm);
	document.images.gallery.src= "images/wear/" + nm + ".jpg";
}

function Dswap4B() {
	Dsize();
	document.images.gallery.src= "images/wear/" + img + "b.jpg";
}

function Dswap4C() {
	Dsize();
	document.images.gallery.src= "images/wear/" + img + "c.jpg";
}

function Dswap4D() {
	Dsize();
	document.images.gallery.src= "images/wear/" + img + "d.jpg";
}

// ---------



// -------- Goods

function Container1() {
	x = 400;
	y = 261;
	titl = "Container for a Dream";
	desc = "2004; raising, chasing and repousse, fabrication; sterling and fine silver;<br/>2 x 3 x 2 in.<br/><br/> <a href='javascript:Dswap1B();'><img class='thumb' src='images/thumbs/sculp/Container1b.jpg' /></a>";
}

function Container2() {
	x = 261;
	y = 400;
	titl = "Container for a Dream (Open)";
	desc = "2004; raising, chasing and repousse, fabrication; sterling and fine silver;<br/>2 x 3 x 2 in.<br/><br/><a href='javascript:Dswap1B();'><img class='thumb' src='images/thumbs/sculp/Container2b.jpg' /></a>"
}

function Phoenix1() {
	x = 261;
	y = 400;
	titl = "Phoenix";
	desc = "2003; cast, forged and fabricated; sterling silver, shibuishi, 14k gold;<br/>3 x 4 x 7 in.<br/><br/><a href='javascript:Dswap1B();'><img class='thumb' src='images/thumbs/sculp/Phoenix1b.jpg' /></a> <a href='javascript:Dswap1C();'><img class='thumb' src='images/thumbs/sculp/Phoenix1c.jpg' /></a>";
}

function Undone1() {
	x = 261;
	y = 400;
	titl = "She's Come Undone";
	desc = "ceremonial knife; 2004; bimetal-cast, forged, fabricated; sterling silver, shibuishi;<br/>3.75 x 1 x 6 in.<br/><br/><a href='javascript:Dswap1B();'><img class='thumb' src='images/thumbs/sculp/Undone1b.jpg' /></a> <a href='javascript:Dswap1C();'><img class='thumb' src='images/thumbs/sculp/Undone1c.jpg' /></a>";
}

function Scomplex1() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #1";
	desc = "2005; raising, chasing and repousse, forming, fabrication; copper and sterling silver; ";
}

function Scomplex2() {
	x = 266;
	y = 400;
	titl = "Simple Complexities #3";
	desc = "2005-3006; raising, chasing and repousse, forming and fabrication; sterling silver, fossilized ammonite and white pearl; ";
}

function Scomplex3() {
	x = 400;
	y = 261;
	titl = "Simple Complexities <br/>#5 &amp; #5";
	desc = "2005-2006; (#5 right &amp; #2 left); #5: raising, piercing, forging, chasing and repousse, forming and fabrication; copper and sterling silver<br/>#2: raising, chasing and repousse, piercing, fusing and fabrication; sterling silver, ammonite fossil;";
}

function Scomplex4() {
	x = 261;
	y = 400;
	titl = "Simple Complexities<br/>#1, #2, #5, &amp; #8";
	desc = "Group shot";
}

function Scomplex5() {
	x = 261;
	y = 400;
	titl = "Simple Complexities #8";
	desc = "Copper, pearls and found glass. Raising, chasing and repousse, forming and fabrication";
}

function Scomplex6() {
	x = 400;
	y = 261;
	titl = "Simple Complexities <br/>#7 &amp; #4";
	desc = "(#7 left &amp; #4 right) Gallery shot";
}

function Scomplex7() {
	x = 261;
	y = 400;
	titl = "Simple Complexities #6";
	desc = "Gallery shot";
}

function ScomplexBook1() {
	x = 400;
	y = 261;
	titl = "Simple Complexities Process Book";
	desc = "2005-2006; chasing and repousse, piercing and fabrication; brass, copper, leather and paper; .75 x 11 x 6 in.<br/><br/><a href='javascript:coll2(BOOK);'><img class='thumb' src='images/thumbs/sculp/complex/SComplexBook1b.jpg' />";
}

function ScomplexBook1b() {
	x = 400;
	y = 261;
	titl = "Simple Complexities Process Book";
	desc = "2005-2006; chasing and repousse, piercing and fabrication; brass, copper, leather and paper; .75 x 11 x 6 in.<br/><br/><a href='javascript:coll2(BOOK);'><img class='thumb' src='images/thumbs/sculp/complex/SComplexBook1b.jpg' />";
}

function SComplex1() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #1";
	desc = "2005-2006; raising, chasing and repousse, piercing and fabrication; copper and sterling silver<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex1b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex1c.jpg' /></a>";
}

function SComplex2() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #2";
	desc = "2005-2006; raising, chasing and repousse, piercing, fusing and fabrication; sterling silver, ammonite fossil<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex2b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex2c.jpg' /></a>";
}

function SComplex3() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #3";
	desc = "2005-3006; raising, chasing and repousse, forming and fabrication; sterling silver, fossilized ammonite and white pearl<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex3b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex3c.jpg' /></a>";
}

function SComplex4() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #5";
	desc = "2005-2006; copper and sterling silver. Raising, forming, chasing and repousse, forging and fabrication.<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex4b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex4c.jpg' /></a>";
}

function SComplex6() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #6";
	desc = "2005-2006; copper and white pearl. Raising, chasing and repousse, piercing, forming and fabrication.<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex6b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex6c.jpg' /></a>";
}

function SComplex7() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #7";
	desc = "2005-2006; raising, chasing and repousse, piercing, wire wrapping, fabrication; sterling silver, steel, pink pearl, and found steel and brass rings<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex7b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex7c.jpg' /></a>";
}

function SComplex8() {
	x = 400;
	y = 261;
	titl = "Simple Complexities #8";
	desc = "2005-2006; raising, chasing and repousse, piercing and fabrication; copper, various colored pearls and blown glass<br/><br/><a href='javascript:Dswap3B();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex8b.jpg' /></a> <a href='javascript:Dswap3C();'><img class='thumb' src='images/thumbs/sculp/complex/studio/SComplex8c.jpg' /></a>";
}

function SComplexSeries() {
	x = 400;
	y = 261;
	titl = "Simple Complexities Series";
	desc = "2005-2006";
}

//----

function SevenCosmicRings() {
	x = 400;
	y = 261;
	titl = "Seven Cosmic Rings";
	desc = "Limited Production Line, 2007. I began designing this series while I was at the Penland School of Craft during their Spring Concentration.<br/>Forming, chasing and repousse, fabrication, casting and fusing.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/SevenCosmicRingsb.jpg' /></a> <a href='javascript:Dswap4C();'><img class='thumb' src='images/thumbs/wear/SevenCosmicRingsc.jpg' /></a> <br/><a href='javascript:Dswap4D();'><img class='thumb' src='images/thumbs/wear/SevenCosmicRingsd.jpg' /></a>";
}

function CosmicRings() {
	x = 400;
	y = 261;
	titl = "Cosmic Rings";
	desc = "(From left to right)<br/>1) Sterling silver with pearl; forming, fabrication, chasing and repousse.<br/> 2) Sterling silver; forming, fabrication, chasing and repousse.<br/> 3) 'Cosmic Princess' Sterling silver; forming, fabrication, casting, chasing and repousse. <br/> 4) Copper and sterling silver; forming, fabrication, chasing and repousse. <br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/CosmicRingsb.jpg' /></a>";
}

function CosmicBands() {
	x = 400;
	y = 261;
	titl = "Cosmic Bands";
	desc = "(From left to right)<br/>1) Sterling silver with 18k gold; forming, fusing and fabrication. <br/> 2) Sterling silver; Chasing and repousse, fabrication and casting. <br/> 3) Sterling silver with 24k gold; forming, fusing and fabrication. <br/> 4) Sterling silver; cast ring shank with forming, chasing and repousse.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/CosmicBandsb.jpg' /></a> <a href='javascript:Dswap4C();'><img class='thumb' src='images/thumbs/wear/CosmicBandsc.jpg' /></a>";
}

function CosmicPrincess() {
	x = 400;
	y = 261;
	titl = "Cosmic Princess";
	desc = "2007; sterling silver. cast ring shank, forming, chasing and repousse, fabrication.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/CosmicPrincessb.jpg' /></a>";
}

function heart1() {
	x = 261;
	y = 400;
	titl = "Blood Bank";
	desc = "2004; hydraulic pressed, chasing and repousse, tap and dye, fabrication and chain-making; copper, sterling silver, plexi-glass, gold leaf paint, garnet, and found keys; 2 x 1.5 x 3 Chain 14 in.<br/><br/><a href='javascript:Dswap4D();'><img class='thumb' src='images/thumbs/wear/heart1d.jpg' /></a>";
}

function heart2() {
	x = 400;
	y = 261;
	titl = "Blood Bank (open)";
	desc = "2004; hydraulic pressed, chasing and repousse, tap and dye, fabrication and chain-making; copper, sterling silver, plexi-glass, gold leaf paint, garnet, and found keys; 2 x 1.5 x 3 Chain 14 in.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/heart2b.jpg' /></a>";
}

function MNecklace() {
	x = 261;
	y = 400;
	titl = "Monica's Necklace";
	desc = "2004; chain-making, chasing and repousse, fabrication; sterling silver, copper and turquoise; .5 x 1.5 x 2 in.; chain is 16 in.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/MNecklaceb.jpg' /></a>";
}

function broach() {
	x = 261;
	y = 400;
	titl = "Growth";
	desc = "Brooch; 2005; alloyed, forged and fabricated; sterling silver, 20k yellow gold, 18k green gold, blown glass bead and gold leaf; .5 x 2 x 4 in.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/broachb.jpg' /></a>";
}

function RitesPassage() {
	x = 261;
	y = 400;
	titl = "Rites of Passage";
	desc = "necklace; 2003; formed, forged, and fabricated; sterling silver, pink and black pearls; 1 x 5 x 6 in.<br/><br/><a href='javascript:Dswap4B();'><img class='thumb' src='images/thumbs/wear/RitesPassageb.jpg' /></a>";
}
