// JavaScript Document


var elDimensions = new Array();
var color1 = "rgb(241,232,169)";
var color2 = "rgb(212,187,128)";
var color3 = "rgb(228,213,153)";
var color4 = "rgb(230,232,175)";
var color5 = "rgb(218,226,165)";

elDimensions[elDimensions.length] = {page:"Home",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:638,middlelefth:137,middleleftc:color4,bottomstrip:"images/bottomstrip.gif",middlerightx:651,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Home.gif",pagew:84,pageh:40,maintext:"Welcome to this collection of our papercut and metalcut artwork, all crafted in the USA. We hope you enjoy your visit!",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

//<img src='images/guild.gif'/>&nbsp;&nbsp;<img src='images/WINNER_Logo_WEB.jpg'/>

//"As featured in The Jewish Daily Forward, December 19, 2008<br /><span id='Link' onClick='window.open(\"http://www.forward.com/articles/14701/\")'>Click here</span>"};

elDimensions[elDimensions.length] = {page:"Dreidels",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Dreidels.gif",pagew:141,pageh:40,maintext:"Our papercut dreidels are hand-assembled, signed, and numbered. These intricate lasercut works of art are elegantly displayed in rounded glass domes (5\"x7.5\") with a black painted base.</p><p>Dreidels are priced from $81 to $103. We are happy to personalized your dreidel with up to 40 characters. New designs are available by commission.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:"This is just something that nobody can look past without saying, &quot;Oh wow, you got something really different!&quot; Thank you again for sending it right away and thank you most expecially for making it so beautiful. - Alayne Zatulove"};

elDimensions[elDimensions.length] =  {page:"Ketubot",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:638,middlelefth:137,middleleftc:color2,bottomstrip:"",middlerightx:651,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Ketubot.gif",pagew:124,pageh:40,maintext:"Each ketuba that we create is uniquely designed to reflect a couple's interests, values, and dreams in a most beautiful way.<p>We believe that a wedding contract should radiate with the joy of the bride and the groom. We love to see our ketubot become family treasures.</p><p>Ketubot can be simple or complex, traditional or modern. Once you approve a final design, we get to work drawing, cutting, and painting a one-of-a-kind ketuba, within the highest standards of quality and craftsmanship.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:"Wow!  We couldn't be more impressed with your work.  It was exactly what we had in our mind, and we can't help staring at all the details you put in!<br /> - Dragon Ketuba owners"};

elDimensions[elDimensions.length] = {page:"Trivets",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Trivets.gif",pagew:116,pageh:40,maintext:"A handsome decoration for table or wall, our trivets are lasercut from stainless steel, brushed to finish, and mounted on acrylic feet. <p>Our Grapevine Hamsa design celebrates shabbat and festivals. The Pomegranate Hamsa Trivet and Blooming Pomegranate Trivet honor righteousness and fruitfulness.</p><p> Trivets are priced at $67. Hamsa trivets measure 10.5\" by 7.5\". Blooming trivets measure 10\" by 9\".</p><p>Additional designs of your choice are available by commission.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] = {page:"SederPlate",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/SederPlate.gif",pagew:189,pageh:40,maintext:"A celebration of the first signs of spring, our Spring Seder Plate is lasercut from stainless steel. With elegant round feet, it brings a beautiful and unique look to your Passover seder. A perfect companion to the Spring Matza Tray! Measures 13\".<p>Seder plates are priced at $215.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/sederplate.jpg",extragraphicsx:493,extragraphicsy:66,extragraphicsw:359,extragraphicsh:356,quote:"It is the most beautiful piece I have ever seen. My daughter has a collection of seder plates... yours is by far the best. - Norm L."};

elDimensions[elDimensions.length] =  {page:"Invitations",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:638,middlelefth:137,middleleftc:color2,bottomstrip:"",middlerightx:651,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Invitations.gif",pagew:176,pageh:40,maintext:"Our papercut designs add a sophisticated touch to invitations for weddings and bar/bat mitzvot.<p>We are happy to create a camera-ready design for you, and work with the printer of your choice.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] = {page:"Mezuzot",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Mezuzot.gif",pagew:134,pageh:40,maintext:"Our mezuzah reflects the flow of life as it hangs proudly on your doorpost. A handpainted papercut is mounted on silver paper, inside a clear glass case that opens in the back.<p>Each spiraled mezuzah frame is individually hand-shaped from high quality stainless steel and brushed to finish. Appropriate for indoor use. Approximate size: 5\"x1\".<p>Mezuzot are priced from $81 to $85.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/mezuzot.jpg",extragraphicsx:493,extragraphicsy:66,extragraphicsw:359,extragraphicsh:356,quote:"Simple elegance. This mezuzah is not overstated, yet daily reminds me of the beauty that Judaism brings into our home. - Leslie Kornblith"};

elDimensions[elDimensions.length] =  {page:"Wall",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:638,middlelefth:137,middleleftc:color2,bottomstrip:"",middlerightx:651,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Wall.gif",pagew:153,pageh:40,maintext:"With each elegant papercut, we strive to create a dance of symbols and designs, filled with Jewish meaning.<p>We hope that you find exactly what you are looking for, or perhaps the inspiration for a piece that you would like for us to create.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] =  {page:"Commission",topleftx:0,toplefty:0,topleftw:890,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:0,toptoph:0,toptopc:color2,toprightx:865,toprighty:0,toprightw:0,toprighth:0,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color2,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Commission.gif",pagew:189,pageh:40,maintext:"Personalized art is an opportunity to honor a loved one, commemorate an occasion, or express your most highly held values. Designed expressly for you, a commissioned piece will illuminate your home or serve as an elegant and unique gift or presentation.<p>Whether you are looking for a one-of-a-kind ketuba, dreidel, or framed papercut, we are happy to work with you to develop a design that feels just right.</p><p>Please feel free to phone or email, and we will begin to imagine the possibilites.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/LightWeb.jpg",extragraphicsx:493,extragraphicsy:40,extragraphicsw:359,extragraphicsh:356,quote:"It was the hoped for perfect and thoughtful gift, incorporating so many elements that are meaningful to my parents. Many thanks for all your careful listening and implementation. We couldn't be more pleased. - Rina G"};

elDimensions[elDimensions.length] = {page:"Contact",topleftx:0,toplefty:0,topleftw:637,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:0,toptoph:0,toptopc:color2,toprightx:650,toprighty:0,toprightw:240,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:637,middlelefth:137,middleleftc:color4,bottomstrip:"images/bottomstrip.gif",middlerightx:650,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Contact.gif",pagew:135,pageh:40,maintext:"We welcome your phone calls and e-mails.<p>Please contact us to find the retail store nearest you, or feel free to buy directly from our webstore (link at the bottom of this page).</p><p><p>Wholesale requests are welcome.</p><p>Thank you for your interest in our collection!</p>",maintextw:264,ordertext2:"217-356-8063<p></p><p><a href='&#109;&#x61;&#x69;&#x6c;&#x74;&#111;&#x3a;&#x6d;&#101;&#x6c;&#x61;&#x6e;&#x69;&#x65;&#x40;&#x64;&#x61;&#x6e;&#x6b;&#x6f;&#119;&#x69;&#99;&#x7a;&#x2e;&#x63;&#x6f;&#109;'>&#x6d;&#101;&#x6c;&#x61;&#x6e;&#x69;&#x65;&#x40;&#x64;&#x61;&#x6e;&#x6b;&#x6f;&#119;&#x69;&#99;&#x7a;&#x2e;&#x63;&#x6f;&#109;</a></p><p></p><p></p><p>Melanie Dankowicz<br />2706 Pine Valley Drive<br />Champaign, Illinois 61822</p><p></p><p></p><p>",ordertext3:"",mainGraphics:"hidden",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] = {page:"Artist",topleftx:0,toplefty:0,topleftw:637,toplefth:572,topleftc:color1,toptopx:493,toptopy:0,toptopw:0,toptoph:0,toptopc:color2,toprightx:650,toprighty:0,toprightw:240,toprighth:207,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:651,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Artist.gif",pagew:111,pageh:40,maintext:"Melanie Dankowicz's designs unite traditional Jewish motifs with contemporary themes.  Her compositions include intricate papercut sculptures, ketubot, and framed art, as well as metalcut pieces such as trivets and seder plates. She joins the flow of line with the depth of space, creating a complex work of striking detail.  Her designs are often integrated with Jewish text, bringing out the beauty of Hebrew letters and the essence of their message.<p> Melanie enjoys an ongoing artistic collaboration with her husband Harry Dankowicz, who skillfully and patiently brings to life all of her hand-made papercuts with his expert mastering of the X-acto knife.<p> Melanie began her artistic work in 1994 with the creation of a ketuba for the couple's own wedding. She draws inspiration from the countryside of Illinois, where she resides with Harry and their three children.</p>",maintextw:420,mainGraphics:"hidden",extragraphics:"images/MelanieWeb.jpg",extragraphicsx:651,extragraphicsy:220,extragraphicsw:239,extragraphicsh:202,quote:""};

elDimensions[elDimensions.length] = {page:"MatzaTray",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/MatzaTray.gif",pagew:189,pageh:40,maintext:"Our Spring Matza Tray is designed to complement the Spring Seder Plate. Cut from stainless steel and resting on elegant round feet, this matza tray brings joyful life to the Passover table. Measures 8\" by 8\".<p>Matza trays are priced at $163.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/matzatray.jpg",extragraphicsx:493,extragraphicsy:66,extragraphicsw:359,extragraphicsh:356,quote:""};

elDimensions[elDimensions.length] = {page:"RoshHashana",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/RoshHashana.gif",pagew:163,pageh:71,maintext:"Blooming Apple and Blooming Pomegranate Dip Trays are especially designed to serve apples and honey on the Jewish New Year, Rosh Hashana. Lasercut from stainless steel, they have a brushed finish and rest on stainless ball feet. A ceramic bowl sits within a hole in the blooming flower motif. Measure 12\" by 13 \".  <p>Blooming Apple and Blooming Pomegranate Dip Trays are priced at $203.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] = {page:"DipTrays",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/DipTrays.gif",pagew:157,pageh:40,maintext:"Blooming Apple and Blooming Pomegranate Dip Trays create an elegant display for your favorite foods. Lasercut from stainless steel, they have a brushed finish and rest on stainless ball feet. A ceramic bowl sits within a hole in the blooming flower motif. Measure 12\" by 13 \".  <p>Blooming Apple and Blooming Pomegranate Dip Trays are priced at $203.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

elDimensions[elDimensions.length] = {page:"Shabbat",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Shabbat.gif",pagew:157,pageh:40,maintext:"Inscribed with the Hebrew word Shabbat, the Wild Rose Shabbat Tray creates a graceful presentation for challah or for other Shabbat foods. Clear glass rests on the lasercut stainless steel tray, which stands on four round feet. Measures 16.5\" x 9.5\".  <p>Wild Rose Shabbat Trays are priced at $183.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/Shabbat.jpg",extragraphicsx:493,extragraphicsy:66,extragraphicsw:359,extragraphicsh:356,quote:""};

elDimensions[elDimensions.length] = {page:"Platter",topleftx:0,toplefty:0,topleftw:480,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:359,toptoph:53,toptopc:color2,toprightx:865,toprighty:0,toprightw:25,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:0,middlelefth:0,middleleftc:color4,bottomstrip:"",middlerightx:0,middlerighty:435,middlerightw:890,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Platter.gif",pagew:134,pageh:40,maintext:"The Wild Rose Platter creates a graceful presentation for desserts or other foods. Clear glass rests on the lasercut stainless steel tray, which stands on four round feet. Measures 16.5\" x 9.5\".  <p>Wild Rose Platters are priced at $183.</p>",maintextw:264,mainGraphics:"visible",extragraphics:"images/Platter.jpg",extragraphicsx:493,extragraphicsy:66,extragraphicsw:359,extragraphicsh:356,quote:""};

//elDimensions[elDimensions.length] = {page:"Order",topleftx:0,toplefty:0,topleftw:637,toplefth:422,topleftc:color1,toptopx:493,toptopy:0,toptopw:0,toptoph:0,toptopc:color2,toprightx:650,toprighty:0,toprightw:240,toprighth:422,toprightc:color2,middleleftx:0,middlelefty:435,middleleftw:637,middlelefth:137,middleleftc:color4,bottomstrip:"images/bottomstrip.gif",middlerightx:650,middlerighty:435,middlerightw:239,middlerighth:137,middlerightc:color3,bottomx:0,bottomy:585,bottomw:890,bottomh:35,bottomc:color5,pagesrc:"images/Order.gif",pagew:99,pageh:40,maintext:"",maintextw:264,ordertext1:"</div><div id='column4'><p>$74<br />$90<br />$80<br />$96<br />$86<br />$90</p><p>$18</p></div></div>",ordertext2:"Please feel free to contact us with your inquiry or order. We will be happy to hear from you.<p>217-356-8063</p><p><a href='&#109;&#x61;&#x69;&#x6c;&#x74;&#111;&#x3a;&#x6d;&#101;&#x6c;&#x61;&#x6e;&#x69;&#x65;&#x40;&#x64;&#x61;&#x6e;&#x6b;&#x6f;&#119;&#x69;&#99;&#x7a;&#x2e;&#x63;&#x6f;&#109;'>&#x6d;&#101;&#x6c;&#x61;&#x6e;&#x69;&#x65;&#x40;&#x64;&#x61;&#x6e;&#x6b;&#x6f;&#119;&#x69;&#99;&#x7a;&#x2e;&#x63;&#x6f;&#109;</a></p><p>Melanie Dankowicz<br />2706 Pine Valley Drive<br />Champaign, Illinois 61822</p>",mainGraphics:"hidden",extragraphics:"",extragraphicsx:0,extragraphicsy:0,extragraphicsw:0,extragraphicsh:0,quote:""};

for (var i = 0; i < elDimensions.length; i++) {
	elDimensions[elDimensions[i].page] = elDimensions[i];
}

function transition(id,gallery) {
	StopSlideShow();
	clearTimeout(checkint);
	document.getElementById("TopLeft").style.zIndex = 150;
	var maintext = document.getElementById("maintext");
	maintext.innerHTML="";
	document.getElementById("toptext").innerHTML="";
	SizeAndPosition("TopLeft", 0, 0, 890, 572, function(){
		
		var toptop = document.getElementById("TopTop");
		toptop.style.left = elDimensions[id].toptopx;
		toptop.style.top = elDimensions[id].toptopy;
		toptop.style.width = elDimensions[id].toptopw;
		toptop.style.height = elDimensions[id].toptoph;
		toptop.style.backgroundColor = elDimensions[id].toptopc;
		
		var topright = document.getElementById("TopRight");
		topright.style.left = elDimensions[id].toprightx;
		topright.style.top = elDimensions[id].toprighty;
		topright.style.width = elDimensions[id].toprightw;
		topright.style.height = elDimensions[id].toprighth;
		topright.style.backgroundColor = elDimensions[id].toprightc;
		
		var middleleft = document.getElementById("MiddleLeft");
		middleleft.style.left = elDimensions[id].middleleftx;
		middleleft.style.top = elDimensions[id].middlelefty;
		middleleft.style.width = elDimensions[id].middleleftw;
		middleleft.style.height = elDimensions[id].middlelefth;
		middleleft.style.backgroundColor = elDimensions[id].middleleftc;

		var middleright = document.getElementById("MiddleRight");
		middleright.style.left = elDimensions[id].middlerightx;
		middleright.style.top = elDimensions[id].middlerighty;
		middleright.style.width = elDimensions[id].middlerightw;
		middleright.style.height = elDimensions[id].middlerighth;
		middleright.style.backgroundColor = elDimensions[id].middlerightc;
		
		var bottom = document.getElementById("Bottom");
		bottom.style.left = elDimensions[id].bottomx;
		bottom.style.top = elDimensions[id].bottomy;
		bottom.style.width = elDimensions[id].bottomw;
		bottom.style.height = elDimensions[id].bottomh;
		bottom.style.backgroundColor = elDimensions[id].bottomc;
		
		var page = document.getElementById("Page");
		page.src = elDimensions[id].pagesrc;
		page.style.width = elDimensions[id].pagew;
		page.style.height = elDimensions[id].pageh;
		
		var bottomstrip = document.getElementById("bottomstrip");
		if (elDimensions[id].bottomstrip=="") bottomstrip.style.visibility = "hidden"; else bottomstrip.style.visibility = "visible";
		
		var maingraphics = document.getElementById("mainGraphics");
		if (elDimensions[id].mainGraphics=="hidden") maingraphics.style.visibility = "hidden"; else maingraphics.style.visibility = "visible";
		
		if (!gContainer) CancelBehavior("mainImage"); else CancelBehavior("altImage");
		var mainimage = document.getElementById("mainImage");
		mainimage.style.width=null;
		mainimage.style.filter = "alpha(opacity=100)";
		mainimage.style.opacity = 1;
		
		var altimage = document.getElementById("altImage");
		altimage.style.filter = "alpha(opacity=0)";
		altimage.style.opacity = 0;

		var thumbnails = document.getElementById("thumbnails");
		thumbnails.style.visibility = "hidden";
		thumbnails = document.getElementById("thumbnails2");
		thumbnails.style.visibility = "hidden";
		
		var extragraphics = document.getElementById("extragraphics");
		extragraphics.style.filter = "alpha(opacity=0)";
		extragraphics.style.opacity = 0;
		var tImageLoader = new Image();
		if (gallery==12) {
			tImageLoader.onload = function() {
				extragraphics.src = tImageLoader.src;
				extragraphics.style.filter = "alpha(opacity=100)";
				extragraphics.style.opacity = 1;
				tImageLoader = null;
			}
			tImageLoader.src = elDimensions[id].extragraphics;				
		}
		extragraphics.style.left = elDimensions[id].extragraphicsx;
		extragraphics.style.top = elDimensions[id].extragraphicsy;
		extragraphics.style.width = elDimensions[id].extragraphicsw;
		extragraphics.style.height = elDimensions[id].extragraphicsh;
		
		var quote = document.getElementById("quote");
		quote.innerHTML = elDimensions[id].quote;
		quote.style.visibility = "visible";
		
		var galleryarrow = document.getElementById("galleryarrow");
		galleryarrow.src = "";
		galleryarrow.width = 0;
		galleryarrow.visibility = "hidden";

		var order1 = document.getElementById("ordertext1");
		var order2 = document.getElementById("ordertext2");
		var order3 = document.getElementById("ordertext3");

		if (elDimensions[id].ordertext1) order1.innerHTML = elDimensions[id].ordertext1; else order1.innerHTML="";
		if (elDimensions[id].ordertext2) order2.innerHTML = elDimensions[id].ordertext2; else order2.innerHTML="";
		if (elDimensions[id].ordertext3) order3.innerHTML = elDimensions[id].ordertext3; else order3.innerHTML="";

		SizeAndPosition("TopLeft", elDimensions[id].topleftx , elDimensions[id].toplefty, elDimensions[id].topleftw, elDimensions[id].toplefth, function(){
			maintext.innerHTML = elDimensions[id].maintext;																																						
			maintext.style.width = elDimensions[id].maintextw;
			document.getElementById("TopLeft").style.zIndex = 1;
			document.getElementById("loading").style.visibility = "visible";
			document.getElementById("loading").innerHTML = "";
			loadnum = 0;
			clearTimeout(loadingtimeout);
			switch (gallery) {
				case 7 :
					tImageLoader = new Image();
					tImageLoader.onload = function() {galleryarrow.src = tImageLoader.src;tImageLoader = null;}
					tImageLoader.src = "images/gallerydreidel.gif";
					galleryarrow.width = 163;
					dsGalleries1.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries2.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries1.setCurrentRowNumber(gallery);
					dsGalleries2.setCurrentRowNumber(gallery);
					loading();
					break;
				case 5 :
					tImageLoader = new Image();
					tImageLoader.onload = function() {galleryarrow.src = tImageLoader.src;tImageLoader = null;}
					tImageLoader.src = "images/gallerytrivet.gif";
					galleryarrow.width = 162;
					dsGalleries1.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries2.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries1.setCurrentRowNumber(gallery);
					dsGalleries2.setCurrentRowNumber(gallery);
					loading();
					break;
				case 0 :
					dsGalleries1.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries2.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries1.setCurrentRowNumber(gallery);
					dsGalleries2.setCurrentRowNumber(gallery);
					loading();
					break;
				case 1 :
				case 8 :
				case 9 :
					tImageLoader = new Image();
					tImageLoader.onload = function() {galleryarrow.src = tImageLoader.src;tImageLoader = null;}
					tImageLoader.src = "images/gallerydark.gif";
					galleryarrow.width = 163;
					dsGalleries1.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries2.setCurrentRowNumber(gallery-1 & 10);
					dsGalleries1.setCurrentRowNumber(gallery);
					dsGalleries2.setCurrentRowNumber(gallery);
					loading();
					break;
				case 2 : 
				case 3 :
				case 4:
				case 6:
				case 10:
					tImageLoader = new Image();
					tImageLoader.onload = function()
						{
							extragraphics.src = tImageLoader.src;
							tImageLoader = null;
							fade = new Spry.Effect.Opacity(extragraphics, 0, 1, { duration: 1000})
							var obs = new Object;
							obs.onPreEffect = function(ef){							
								document.getElementById("loading").style.visibility = "hidden";
							}
							obs.onPostEffect = function(ef){
								if(/MSIE/.test(navigator.userAgent)){
									extragraphics.style.filter = "alpha(opacity=100)";
								}else{
									extragraphics.style.opacity = 1;
								}
							}
							obs.onCancelEffect = function(ef){
								if(/MSIE/.test(navigator.userAgent)){
									extragraphics.style.filter = "alpha(opacity=100)";
								}else{
									extragraphics.style.opacity = 1;
								}
							}
							fade.addObserver(obs);
							fade.start();
						};
					tImageLoader.src = elDimensions[id].extragraphics;
					loading();
					break;					
				default:
			}

			var righElement = document.getElementById("rightElement");
			rightElement.style.width = 0;
			var leftElement = document.getElementById("leftElement");
			leftElement.style.width = 600;
		});
	});
}