/*The following code opens up the windows for the images*/

function launch_largeimg(whichone)
{	
	if(whichone==1)
		{
		DynaWin('bed1.jpg', '627', '470', '0', '0', 'Nudos Bedroom shown in wirebrushed wax finish');
		}
	if(whichone==2)
		{
		DynaWin('bed2.jpg', '627', '470', '0', '0', 'Children\'s Bedroom shown in Antique White custom made');
		}
	if(whichone==3)
		{
		DynaWin('bed3.jpg', '627', '470', '0', '0', 'Old World Bedroom- All matching pieces available.');
		}
	if(whichone==4)
		{
		DynaWin('bed4.jpg', '627', '470', '0', '0', 'Clavos bedroom set shown in Alder-Rustic Pine finish');
		}
	if(whichone==5)
		{
		DynaWin('bed5.jpg', '600', '411', '0', '0', 'Hand-peeled Rustic Log beds- All pieces available.');
		}
	if(whichone==6)
		{
		DynaWin('bed6.jpg', '627', '470', '0', '0', 'Mescal bedroom with wormwood');
		}
	if(whichone==7)
		{
		DynaWin('bed7.jpg', '627', '470', '0', '0', 'Mediterranean bedroom');
		}
	if(whichone==8)
		{
		DynaWin('bed8.jpg', '627', '470', '0', '0', 'Twin-full skip-peeled lodgepole bunkbed');
		}
	if(whichone==9)
		{
		DynaWin('bed9.jpg', '472', '292', '0', '0', 'Kingman Bedroom Collection');
		}
	if(whichone==10)
		{
		DynaWin('bed10.jpg', '465', '307', '0', '0', 'Sedona Bedroom Collection');
		}
	if(whichone==11)
		{
		DynaWin('bed11.jpg', '459', '325', '0', '0', 'Lodge Bedroom Collection');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==12)
		{
		DynaWin('sofa1.jpg', '626', '470', '0', '0', 'Buckley chair shown with hair on hide');
		}
	if(whichone==13)
		{
		DynaWin('sofa2.jpg', '705', '470', '0', '0', 'Scottsdale angled sofa and storage ottoman');
		}
	if(whichone==14)
		{
		DynaWin('sofa3.jpg', '626', '470', '0', '0', 'El Paso chair shown with fringed bottom');
		}
	if(whichone==15)
		{
		DynaWin('sofa4.jpg', '626', '470', '0', '0', 'Florence angled sofa with leather-fabric combo');
		}
	if(whichone==16)
		{
		DynaWin('sofa5.jpg', '626', '470', '0', '0', 'Scottsdale Sofa and chair shown in reversible leather');
		}
	if(whichone==17)
		{
		DynaWin('sofa6.jpg', '626', '470', '0', '0', 'Hacienda Sofa');
		}
	if(whichone==18)
		{
		DynaWin('sofa7.jpg', '486', '470', '0', '0', 'Byron chair');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==19)
		{
		DynaWin('ent1.jpg', '353', '470', '0', '0', 'Clavos custom built-in entertainment center');
		}
	if(whichone==20)
		{
		DynaWin('ent2.jpg', '353', '470', '0', '0', 'Saguaro door entertainment armoire');
		}
	if(whichone==21)
		{
		DynaWin('ent3.jpg', '626', '470', '0', '0', 'Tuscany 3-piece entertainment center');
		}
	if(whichone==22)
		{
		DynaWin('ent4.jpg', '626', '470', '0', '0', 'Clavos 4 piece entertainment center shown with Saguaro doors');
		}
	if(whichone==23)
		{
		DynaWin('ent5.jpg', '626', '470', '0', '0', 'Naples 5 piece entertainment center shown in Alder Spanish finish');
		}
	if(whichone==24)
		{
		DynaWin('ent6.jpg', '353', '470', '0', '0', 'Custom built entertainment armoire shown in ebony finish');
		}
	if(whichone==25)
		{
		DynaWin('ent7.jpg', '626', '470', '0', '0', 'Naples 3 piece entertainment center shown with Cheryl inserts');
		}
	if(whichone==26)
		{
		DynaWin('ent8.jpg', '626', '470', '0', '0', 'Custom built Saguaro door entertainment center.');
		}
	if(whichone==27)
		{
		DynaWin('ent9.jpg', '626', '470', '0', '0', 'Custom built entertainment center to fit your niche');
		}
	if(whichone==28)
		{
		DynaWin('ent10.jpg', '626', '470', '0', '0', 'Custom designed entertainment center built to fit your lifestyle');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==29)
		{
		DynaWin('occ1.jpg', '624', '413', '0', '0', 'Naples style leather top occasional');
		}
	if(whichone==30)
		{
		DynaWin('occ2.jpg', '669', '470', '0', '0', 'Campaign style occasionals');
		}
	if(whichone==31)
		{
		DynaWin('occ3.jpg', '458', '334', '0', '0', 'Clavos occasional set');
		}
	if(whichone==32)
		{
		DynaWin('occ4.jpg', '480', '356', '0', '0', 'Trunk style occasionals');
		}
	if(whichone==33)
		{
		DynaWin('occ5.jpg', '480', '333', '0', '0', 'Clavos occasional trunks and entertainment center');
		}
	if(whichone==34)
		{
		DynaWin('occ6.jpg', '386', '470', '0', '0', 'Assorted occasionals in any size and shape');
		}
	if(whichone==35)
		{
		DynaWin('occ7.jpg', '715', '470', '0', '0', 'Madrid style occasionals');
		}
	if(whichone==36)
		{
		DynaWin('occ8.jpg', '626', '470', '0', '0', 'Handpeeled lodgepole occasionals');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==37)
		{
		DynaWin('din1.jpg', '626', '470', '0', '0', 'Turned leg table with slatted back chairs');
		}
	if(whichone==38)
		{
		DynaWin('din2.jpg', '626', '470', '0', '0', 'Custom Wrought Iron Dining tables in any size or shape');
		}
	if(whichone==39)
		{
		DynaWin('din3.jpg', '694', '470', '0', '0', 'Naples Dining Table with leather insert top & leather-fabric combo chairs');
		}
	if(whichone==40)
		{
		DynaWin('din4.jpg', '626', '470', '0', '0', 'Caramello wrought iron dining table shown with upholstered chairs');
		}
	if(whichone==41)
		{
		DynaWin('din5.jpg', '626', '470', '0', '0', 'Reuben dining table with ironback chairs');
		}
	if(whichone==42)
		{
		DynaWin('din6.jpg', '798', '470', '0', '0', 'Lodge Series Dining Room');
		}
	if(whichone==43)
		{
		DynaWin('din7.jpg', '707', '470', '0', '0', 'Santa Maria Series Dining Room');
		}
	if(whichone==44)
		{
		DynaWin('din8.jpg', '480', '358', '0', '0', 'Sedona Series Rustic Dining Set');
		}
	if(whichone==45)
		{
		DynaWin('din9.jpg', '682', '470', '0', '0', 'Pedestal Based Table & Chairs');
		}
	if(whichone==46)
		{
		DynaWin('din10.jpg', '480', '288', '0', '0', 'Assorted Hutches to match any table');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==47)
		{
		DynaWin('off1.jpg', '626', '470', '0', '0', 'Custom office wrap with Murphy Bed');
		}
	if(whichone==48)
		{
		DynaWin('off2.jpg', '353', '470', '0', '0', 'Custom Murphy beds made in any style');
		}
	if(whichone==49)
		{
		DynaWin('off3.jpg', '353', '470', '0', '0', 'Old World style Murphy bed');
		}
	if(whichone==50)
		{
		DynaWin('off4.jpg', '626', '470', '0', '0', 'Custom built office to your specifications');
		}
	if(whichone==51)
		{
		DynaWin('off5.jpg', '626', '470', '0', '0', 'Nudos desk with hutch');
		}
	if(whichone==52)
		{
		DynaWin('off6.jpg', '480', '377', '0', '0', 'Sedona computer armoire');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==53)
		{
		DynaWin('cab1.jpg', '626', '470', '0', '0', 'Old world kitchen with built-in stainless refridgerator');
		}
	if(whichone==54)
		{
		DynaWin('cab2.jpg', '626', '470', '0', '0', 'Old World kitchen Island');
		}
	if(whichone==55)
		{
		DynaWin('cab3.jpg', '626', '470', '0', '0', 'Old World Cabinets');
		}
	if(whichone==56)
		{
		DynaWin('cab4.jpg', '626', '470', '0', '0', 'Lodge style kitchen cabinets');
		}
	if(whichone==57)
		{
		DynaWin('cab5.jpg', '626', '470', '0', '0', 'Lodge style kitchen built in refridgerator and double oven');
		}
	if(whichone==58)
		{
		DynaWin('cab6.jpg', '626', '470', '0', '0', 'Lodge style kitchen');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==59)
		{
		DynaWin('van1.jpg', '626', '470', '0', '0', 'Clavos bathroom vanity with Tuscan base');
		}
	if(whichone==60)
		{
		DynaWin('van2.jpg', '626', '470', '0', '0', 'Nudos bathroom vanity with Tuscan base');
		}
	if(whichone==61)
		{
		DynaWin('van3.jpg', '626', '470', '0', '0', 'Clavos vanity');
		}
	if(whichone==62)
		{
		DynaWin('van4.jpg', '626', '470', '0', '0', 'Old World vanity');
		}
	if(whichone==63)
		{
		DynaWin('van5.jpg', '626', '470', '0', '0', 'Campaign vanity wrap');
		}
	if(whichone==64)
		{
		DynaWin('van6.jpg', '626', '470', '0', '0', 'Lodge style bathroom vanity');
		}
	if(whichone==65)
		{
		DynaWin('van7.jpg', '626', '470', '0', '0', 'Lodge style double vanity');
		}
//////////////////////////////////////////////////////////////////////////////////////////////////////
	if(whichone==66)
		{
		DynaWin('bar1.jpg', '626', '470', '0', '0', 'Lodge Style custom built-in bar, built to your specifications');
		}
	if(whichone==67)
		{
		DynaWin('bar2.jpg', '431', '470', '0', '0', 'Rustic Bar with canopy made to your specifications');
		}
	if(whichone==68)
		{
		DynaWin('bar3.jpg', '626', '470', '0', '0', 'Saguaro front bar');
		}
	if(whichone==69)
		{
		DynaWin('bar4.jpg', '353', '470', '0', '0', 'Old World bar with drop down stainless sink');
		}
	if(whichone==70)
		{
		DynaWin('bar5.jpg', '353', '470', '0', '0', 'Old World bar with upper cabinets');
		}
	if(whichone==71)
		{
		DynaWin('bar6.jpg', '480', '362', '0', '0', 'Cantina bars made to your specifications');
		}
	if(whichone==72)
		{
		DynaWin('bar7.jpg', '458', '313', '0', '0', 'Cantina bar with return');
		}
		
////////////////////////////////////////////////////////////////////////////////////////
/*New Sofa Additions*/
	if(whichone==73)
		{
		DynaWin('sofan1.jpg', '615', '440', '0', '0', 'RM#5000 - Leather/Fabric combo - Camelback with nailheads');
		}
	if(whichone==74)
		{
		DynaWin('sofan2.jpg', '626', '442', '00', '0', 'RM#5050 - 3 angle Microsuede fabric combo with nailheads');
		}
	if(whichone==75)
		{
		DynaWin('sofan3.jpg', '626', '412', '0', '0', 'RM#2050 - Microfiber Fabric combo with nailheads');
		}
	if(whichone==76)
		{
		DynaWin('sofan4.jpg', '620', '451', '0', '0', 'PR#5160 - Leather/Fabric combo with nailheads');
		}
	if(whichone==77)
		{
		DynaWin('sofan5.jpg', '518', '501', '0', '0', 'PR#869 - Sutton Chair');
		}
	if(whichone==78)
		{
		DynaWin('sofan6.jpg', '475', '303', '0', '0', 'LD#1400 - Tuscan Sofa - All Leather');
		}
////////////////////////////////////////////////////////////////////////////////////////
/*New Mattresses Additions*/
	if(whichone==79)
		{
		DynaWin('matt1.jpg', '600', '330', '0', '0', '"35th Anniversary" Euro Pillowtop Limited time Sale Price…$299');
		}
	if(whichone==80)
		{
		DynaWin('matt2.jpg', '569', '403', '0', '0', 'Queensize Plushtop Limited time Sale Price... $199');
		}
	if(whichone==81)
		{
		DynaWin('matt3.jpg', '567', '313', '0', '0', 'Hampton Euro Pillowtop Queen Set Limited time $599');
		}
	if(whichone==82)
		{
		DynaWin('matt4.jpg', '467', '350', '0', '0', 'Spring Air Queen Chiro Care Elite Plushtop Sale Price…$299');
		}
	if(whichone==83)
		{
		DynaWin('matt5.jpg', '450', '338', '0', '0', 'ComfortFlex Line');
		}
	if(whichone==84)
		{
		DynaWin('matt6.jpg', '550', '242', '0', '0', 'Built for a great night\'s sleep!');
		}
	if(whichone==85)
		{
		DynaWin('matt7.jpg', '550', '413', '0', '0', 'ComfortFlex line');
		}
	if(whichone==86)
		{
		DynaWin('matt8.jpg', '300', '198', '0', '0', 'ComfortFlex Cutaway View');
		}
	if(whichone==87)
		{
		DynaWin('matt9.jpg', '550', '413', '0', '0', 'ComfortFlex line');
		}
	if(whichone==88)
		{
		DynaWin('matt10.jpg', '360', '262', '0', '0', 'Luxurious Comfort Side by Side');
		}
	if(whichone==89)
		{
		DynaWin('matt11.jpg', '364', '450', '0', '0', 'An Inside look at ComfortFlex');
		}
	if(whichone==90)
		{
		DynaWin('matt12.jpg', '467', '350', '0', '0', 'ComfortFlex Line');
		}

////////////////////////////////////////////////////////////////////////////////////////
/*New Patio Additions*/
	if(whichone==91)
		{
		DynaWin('patio1.jpg', '650', '487', '0', '0', '"Traditional Club Chair and Rounded Love Seat');
		}
	if(whichone==92)
		{
		DynaWin('patio2.jpg', '650', '491', '0', '0', 'Old World Chaise Lounge');
		}
	if(whichone==93)
		{
		DynaWin('patio3.jpg', '650', '491', '0', '0', 'Old World Club Chair');
		}
	if(whichone==94)
		{
		DynaWin('patio4.jpg', '650', '489', '0', '0', 'Grande Club Chairs and Love Seat');
		}
	if(whichone==95)
		{
		DynaWin('patio5.jpg', '650', '502', '0', '0', 'Old World Club Chair Back View');
		}
	if(whichone==96)
		{
		DynaWin('patio6.jpg', '650', '495', '0', '0', 'Old World Dining Set');
		}
	if(whichone==97)
		{
		DynaWin('patio7.jpg', '650', '505', '0', '0', 'Large Outdoor Canopy Bed');
		}
	if(whichone==98)
		{
		DynaWin('patio8.jpg', '650', '509', '0', '0', 'Comfortable Club Chair');
		}
	if(whichone==99)
		{
		DynaWin('patio9.jpg', '650', '488', '0', '0', 'Old World Style Couch');
		}
	if(whichone==100)
		{
		DynaWin('patio10.jpg', '650', '497', '0', '0', 'Old World Club Chair');
		}
	if(whichone==101)
		{
		DynaWin('patio11.jpg', '650', '497', '0', '0', 'Lodge Style Patio Set');
		}
	if(whichone==102)
		{
		DynaWin('patio12.jpg', '650', '503', '0', '0', 'Lodge Style Club Chairs');
		}

////////////////////////////////////////////////////////////////////////////////////////
/* New Additions - 07/09/08 */
	
	if(whichone==103)
		{
		DynaWin('nbed1.jpg', '526', '550', '0', '0', 'Old World Bedroom');
		}
	if(whichone==104)
		{
		DynaWin('ndin1.jpg', '460', '560', '0', '0', 'Roxanne Dining Set(72\" Round with 8 chairs) Any size available');
		}
	if(whichone==105)
		{
		DynaWin('ndin2.jpg', '392', '570', '0', '0', 'Naples Dining Set');
		}
	if(whichone==106)
		{
		DynaWin('nsofa1.jpg', '442', '570', '0', '0', 'Hacienda Sofa');
		}
	if(whichone==107)
		{
		DynaWin('nent1.jpg', '600', '430', '0', '0', 'Old World TV Credenza');
		}
	if(whichone==108)
		{
		DynaWin('nent2.jpg', '509', '570', '0', '0', 'Old World Entertainment Center');
		}


///////////////////////////////////////////////////////////////////////////////////////
		
}

/*This function opens a dynamic window with the lenght and width passed to it from the launchpic function, and puts the image inside.
url is the path to the image, w is the width, h is the height, l is the position from left, and t is position from top*/
function DynaWin(url, w, h, l, t, pic_desc)
{
poph = + h + 70;
popw = + w + 0;
l = + l;
t = + t;
//var winX = screen.availWidth - popw - 25;
disp = window.open("","pop","height=" + poph + ",width=" + popw + ",left=" + l + ",top=" + t + "");
content = '<HTML>';
content += '<TITLE>Enlarged Image</TITLE>';
content += '<HEAD>';
//content += '<style type="text/css">';
//content += '<!--';
//content += 'body {color: #000000;}';
//content += '-->';
//content += '</style>';
content += '</HEAD>';
content += '<BODY bgcolor="#61340A" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" onBlur="self.close()">';
content += '<P ALIGN="CENTER"><img src="prod_pics/' + url + '" height="' + h + '" width="' + w + '"></P>';
content += '<P ALIGN="CENTER"><font color="#ffffff"><b>' + pic_desc + '</b></font></P>';
//content += '<H3 ALIGN="CENTER"><A HREF="#" onClick="self.close()">Close Window</A></H3>';
content += '</BODY></HTML>';
disp.document.write(content);
//disp.moveTo(300,200);
disp.document.close();
}

