/*
 *
This function replaces the current image with that of the selected item
*
*/
function imagehover(image_name,item) {	

	switch (image_name){
		case 'amish':
			switch (item){
				case 'chair':
					document.imagemap.src = "images/Amish/chair_select.jpg"
					document.getElementById('inspiration').innerHTML = 'With over 75 different chair styles in stock, you can easily select the most comfortable chair for your own use plus become aware of the many Amish quality features that ensure years and years of use.';
					break;
				case 'hutch':
					document.imagemap.src = "images/Amish/hutch_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Amish-made case pieces have features that prove to be functional while ensuring years of longevity.  As an example, each drawer utilizes dovetail construction to provide stability and full-extension glides allow full access to your stored articles.';
					break;
				case 'table':
					document.imagemap.src = "images/Amish/table_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Create the table of your dreams!  Your table can be crafted to order in your choice of 7 solid hardwoods, more than 20 beautiful finishes, numerous leg styles and you can even specify a custom size.';
					break;
			}
			break;
		case 'broyhill':
			switch (item){
				case 'chair':
					document.imagemap.src = "images/broyhill/corner_chair_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Don’t like what you see?  Let our knowledgeable sales people help you create a look you’ll love.  Choose from over 700 designer fabrics, all hand selected by Broyhill as well as your choice of 8 wood finishes.';
					break;
				case 'sofa':
					document.imagemap.src = "images/broyhill/sofa_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Broyhill upholstery is durable, yet fashionable.  The frames are constructed from engineered laminated hardwood to eliminate natural imperfections and control moisture content.  Seat cushion cores use high resiliency foam and the backs are channeled to prevent the cushions from settling.';
					break;
				case 'table':
					document.imagemap.src = "images/broyhill/table_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Broyhill’s occasional tables are well styled, yet functional, providing convenient storage with drawers, doors or shelves.  With dozens of table groups to choose from you’re bound to find the perfect tables for your individual needs.';
					break;
			}
			break;
		case 'hooker':
			switch (item){
				case 'armoire':
					document.imagemap.src = "images/hooker/armoire_select.jpg"
					document.getElementById('inspiration').innerHTML = 'This armoire is typical of the function found throughout the Hooker line.  The deck has two wrap around doors with two component compartments and will accommodate up to a 50” TV.  For ample storage, the base has two full-height, full-depth drawers.';
					break;
				case 'drawer':
					document.imagemap.src = "images/hooker/drawer_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Dove tailed drawers, finished drawer interiors and wood-on-wood drawer guides are among the many Hooker quality construction features found in every case piece.  In addition, all night stands include a three plug receptacle on the back.';
					break;
				case 'headboard':
					document.imagemap.src = "images/hooker/headboard_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Typical of Hooker unique versatility, this headboard has a reversible upholstered panel providing a different look when desired and offers a high post or low post design.';
					break;
			}
			break;
		case 'lazyboy':
			switch (item){
				case 'footrest':
					document.imagemap.src = "images/lazyboy/footrest_select.jpg"
					document.getElementById('inspiration').innerHTML = 'La-Z-Boy Reclina-Way sofas are one of the only reclining sofas in the market that offer a 3 position locking footrest.  Users have the option of three distinct locking positions to choose from, providing a customized comfort experience.';
					break;
				case 'loveseat':
					document.imagemap.src = "images/lazyboy/loveseat_select.jpg"
					document.getElementById('inspiration').innerHTML = 'La-Z-Boy reclining sofas and loveseats offer fully adjustable reclining tension.  Since the size and strength of customers varies it is an important feature that allows less tension for smaller people and more tension for larger ones.';
					break;
				case 'recliner':
					document.imagemap.src = "images/lazyboy/recliner_select.jpg"
					document.getElementById('inspiration').innerHTML = 'La-Z-Boy’s exclusive design provides full body support while reclined.  While the chair is reclined solid foam cores extend underneath the back cushion ensuring lower back and tailbone support.';
					break;
			}
			break;
		case 'royal_black':
			switch (item){
				case 'headrest':
					document.imagemap.src = "images/royal_black/headrest_select.jpg"
					document.getElementById('inspiration').innerHTML = 'The headrest adjusts automatically, so you can read and watch TV, even in a reclining position and the lower back support simultaneously adjusts with the headrest so you’re always supported whether upright or reclined.';
					break;
				case 'ottoman':
					document.imagemap.src = "images/royal_black/ottoman_select.jpg"
					document.getElementById('inspiration').innerHTML = 'As you recline in a Stressless&copy; recliner the ottoman recognizes the comfort detail by automatically adjusting forward and backward allowing for increased circulation making the world’s most comfortable recliner even more comfortable.';
					break;
				case 'wheel':
					document.imagemap.src = "images/royal_black/wheel_select.jpg"
					document.getElementById('inspiration').innerHTML = 'By adjusting the Stressless® glide wheels to the desired setting you can automatically shift to any seating position simply by using your body weight.  A double sided mechanism ensures maximum stability and functionality regardless of your height or weight.';
					break;
			}
			break;
		case 'smith':
			switch (item){
				case 'chair':
					document.imagemap.src = "images/smith_brothers/chair_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Under each seat cushion is a pre-engineered, heavy-gauge coil-spring unit; the best available in the industry!  As well as an elevated front support edge to ensure individual comfort for each person.';
					break;
				case 'ottoman':
					document.imagemap.src = "images/smith_brothers/ottoman_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Smith Brothers frames are constructed of the finest kiln-dried maple hardwoods.  Each piece is hand-cut and hand-assembled ensuring the highest standards of strength and durability.';
					break;
				case 'sofa':
					document.imagemap.src = "images/smith_brothers/sofa_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Every seat cushion is fabricated from Qualux® ultra seating foam, which is considered the highest quality foam that is available to the upholstered furniture industry.  ';
					break;
			}
			break;
	}
	
}

/*
 *
This function replaces the current image with the default image
*
*/			
function imageout(image_name) {
	switch (image_name){
		case 'amish':
			document.imagemap.src = "images/Amish/amish.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker’s has over 750 items of solid wood Amish-made furniture in stock!  If you appreciate the timeless style and superior craftsmanship of genuine Amish-made furniture you’ll love shopping for it at Redeker’s.  We are proud to offer one of the largest selections in the entire Midwest.';
			break;
		case 'broyhill':
			document.imagemap.src = "images/broyhill/broyhill.jpg"
			document.getElementById('inspiration').innerHTML = 'Visit Redeker’s to experience the Broyhill difference.  For over 100 years Broyhill has been making quality upholstery, bedroom, dining, home entertainment, occasional and home office furniture.  Whether your style is traditional, cottage, country, transitional or modern Broyhill has something for everyone.';
			break;
		case 'hooker':
			document.imagemap.src = "images/hooker/hooker.jpg"
			document.getElementById('inspiration').innerHTML = 'For over 85 years Hooker Furniture has established a reputation for offering innovative and functional furnishings. They strive to bring unique and well styled bedrooms, home offices, home entertainment, TV consoles and dining rooms with functional features into the home.';
			break;
		case 'lazyboy':
			document.imagemap.src = "images/lazyboy/lazyboy.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker’s is one of the largest La-Z-Boy dealers in the Midwest with over 400 items in stock.  Redeker’s offer the full line of La-Z-Boy leather and fabric rocker recliners, wall recliners, glider recliners, as well as stationary and reclining sofas, love seats, sleepers and modular sectionals.';
			break;
		case 'royal_black':
			document.imagemap.src = "images/royal_black/royal_black.jpg"
			document.getElementById('inspiration').innerHTML = 'Stressless&copy; by Ekornes…the innovators of comfort.  Ekornes has literally made the world’s finest recliners by redefining comfort as you know it.  Made in Norway, a Stressless® recliner combines unique technology to make the most comfortable seating on the market today.';
			break;
		case 'smith':
			document.imagemap.src = "images/smith_brothers/smith_brothers.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker’s has one of the largest in-stock selections of Smith Brothers in the Midwest.  For over 80 years, Smith Brothers have produced upholstered sofas, loveseats, recliners and sectionals that provide a lifetime of quality and comfort equaled by no other upholstered maker.';
			break;
	}
}


/*
 *
This function shows an image that includes highlighted pieces
*
*/
function showhighlighted(image_name) {

	switch (image_name){
		case 'amish':
			document.imagemap.src = "images/Amish/amish.jpg"
			
			// create a new image map that can be clicked						
			var strMap = '<!-- Chair -->\n<area shape="poly" coords="74,193,78,202,82,213,87,230,93,251,97,268,97,280,99,288,100,298,102,308,103,323,104,339,103,352,103,367,99,386,96,403,96,410,100,410,105,384,111,368,111,357,112,343,120,342,131,344,145,345,147,347,147,355,146,363,146,375,144,389,146,394,151,391,153,383,154,370,155,361,157,352,157,348,162,348,167,348,167,359,168,375,168,393,170,402,170,412,171,421,175,424,179,425,180,419,181,405,181,389,181,375,180,356,180,345,193,342,200,336,211,334,216,332,217,356,217,376,217,384,218,390,223,400,228,400,228,373,229,343,228,331,226,321,227,315,226,311,220,311,219,304,218,289,217,275,210,271,199,270,186,270,169,269,160,269,155,268,153,260,149,242,145,223,142,207,139,196,135,189,134,185" href="" id="left_chair"  onmouseover="imagehover(\'amish\',\'chair\'); return false" onmouseout="imageout(\'amish\'); return false" alt="" />\n';
			
			strMap = strMap + '<!-- Hutch -->\n<area shape="poly" coords="198,19,392,19,392,24,389,30,381,195,385,198,386,232,380,233,377,229,375,225,367,226,360,228,352,230,331,229,326,229,310,231,297,232,277,231,263,231,238,230,230,176,209,176,208,30" id="china_hutch" href="" onmouseover="imagehover(\'amish\',\'hutch\'); return false" onmouseout="imageout(\'amish\'); return false" alt="" />\n';
			
			strMap = strMap + '<!-- Table -->\n<area shape="poly" coords="180,260,183,264,192,265,194,267,202,268,212,270,220,270,226,272,237,272,242,272,249,273,252,278,252,293,253,387,253,401,256,416,258,421,263,419,265,412,267,405,268,395,268,274,309,275,311,281,311,350,312,362,314,367,317,370,321,365,322,355,324,274,347,273,374,269,388,268,389,317,403,319,403,255,413,249,412,243,408,242,364,247,352,247,321,240,318,244,312,246,290,247,285,251,222,257,179,245,174,243,174,252" id="kitchen_table" href="" onmouseover="imagehover(\'amish\',\'table\'); return false" onmouseout="imageout(\'amish\'); return false" alt="" />\n';
		document.getElementById('map').innerHTML = strMap;
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'amish\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
	
			break;
		case 'broyhill':
			document.imagemap.src = "images/broyhill/broyhill.jpg"
			
			// create a new image map that can be clicked
			var strMap = '<!-- Chair -->\n<area shape="poly" coords="381,260,394,262,403,263,409,264,417,264,425,265,437,265,449,264,454,264,459,259,464,255,471,254,476,249,477,220,475,208,447,207,438,207,434,204,423,204,406,206,395,203,393,206,384,207,377,208,372,211" href="" id="corner_chair" onmouseover="imagehover(\'broyhill\',\'chair\'); return false" onmouseout="imageout(\'broyhill\'); return false" alt="" />\n';
			
			strMap = strMap + '<!-- Sofa -->\n<area shape="poly" coords="129,260,159,263,154,271,156,334,184,340,205,336,282,315,280,280,338,266,347,265,347,255,345,248,339,242,333,236,324,234,317,235,319,247,311,249,298,250,288,251,278,253,271,253,267,251,268,235,268,223,267,218,263,215,262,209,261,205,252,205,242,205,237,204,229,204,225,205,216,205,205,206,197,205,190,205,181,205,177,206,180,212,185,219,191,230,194,237,197,245,198,255,191,256,183,253,178,252,169,251,163,249,159,244,155,235,155,226,155,219,164,215,166,209,171,208,166,205,154,207,143,208,131,209,118,210,105,213,98,217,91,219,93,254,100,254,109,247,116,242,121,242,129,249,130,253" href="" id="sofa_cushion" onmouseover="imagehover(\'broyhill\',\'sofa\'); return false" onmouseout="imageout(\'broyhill\'); return false" alt=""   />\n';
			
			strMap = strMap + '<!-- Table -->\n<area shape="poly" coords="372,322,373,339,374,360,376,371,380,378,385,376,384,319,443,300,447,323,453,321,452,276,456,271,454,268,393,269,407,276,390,281,365,282,354,282,344,279,338,272,332,270,281,282,282,288,283,304,285,323,283,341,280,358,285,357,288,339,297,326,302,319,307,313" href=""  id="cocktail_table" onmouseover="imagehover(\'broyhill\',\'table\'); return false" onmouseout="imageout(\'broyhill\'); return false" alt=""  />';
			document.getElementById('map').innerHTML = strMap;
			
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'broyhill\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'hooker':
			document.imagemap.src = "images/hooker/hooker.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- armoire -->\n<area shape="poly" coords="35,172,34,267,31,269,33,274,32,328,33,331,36,345,40,346,47,335,66,336,66,340,67,346,72,345,76,339,81,335,83,335,84,328,84,324,80,320,76,318,80,311,82,308,96,305,115,303,120,302,121,299,120,291,119,287,123,286,127,278,126,271,125,267,128,263,128,254,129,248,135,249,136,255,135,260,139,263,138,272,158,262,159,178,164,169,57,157,28,159,35,169" id="armoire" onmouseover="imagehover(\'hooker\',\'armoire\'); return false" onmouseout="imageout(\'hooker\'); return false" alt="" href="" />\n';
			
			strMap = strMap + '<!-- Drawer -->\n<area shape="poly" coords="477,360,549,367,548,371,553,387,557,384,559,371,566,367,573,380,576,380,579,369,579,359,578,351,578,279,583,275,581,272,570,274,558,275,534,275,522,275,512,274,506,276,511,281,503,283,489,282,482,283,473,282,456,284,466,286,467,349,466,359,468,376,471,377,477,363,489,362,492,371,496,363" id="drawer" onmouseover="imagehover(\'hooker\',\'drawer\'); return false" onmouseout="imageout(\'hooker\'); return false" alt="" href="" />\n';
			
			strMap = strMap + '<!-- Headboard -->\n<area shape="poly" coords="314,229,312,223,311,219,313,215,313,211,315,206,315,197,310,192,314,190,313,171,314,156,316,146,311,137,315,132,313,121,314,112,318,109,320,113,320,121,320,127,319,131,322,135,323,139,321,148,320,159,323,167,324,173,322,185,322,193,320,206,319,218,322,211,323,193,330,190,333,186,335,181,337,175,447,166,449,167,450,174,453,178,457,182,460,183,464,185,465,223,460,223,462,228,466,230,463,234,459,235,451,232,445,229,437,227,430,225,411,224,402,225,392,226,381,228,377,227,379,221,383,216,383,212,377,211,368,211,352,212,334,213,327,214,323,212" id="headboard" onmouseover="imagehover(\'hooker\',\'headboard\'); return false" onmouseout="imageout(\'hooker\'); return false" alt="" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'hooker\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'lazyboy':
			document.imagemap.src = "images/lazyboy/lazyboy.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Footrest -->\n<area shape="poly" coords="377,286,453,303,472,272,491,243,494,286,527,270,536,245,541,211,555,201,561,140,539,134,493,130,468,133,459,152,458,167,458,175,449,192,444,222,416,222,397,227,384,242,381,250,375,254,373,262,372,280" id="lb_footrest" onmouseover="imagehover(\'lazyboy\',\'footrest\'); return false" onmouseout="imageout(\'lazyboy\'); return false" alt="" href="" />\n';
			
			strMap = strMap + '<!-- Loveseat -->\n<area shape="poly" coords="454,463,434,460,425,456,426,434,425,406,423,373,421,349,422,340,418,330,419,319,423,310,434,306,444,306,457,308,472,309,480,310,485,324,484,335,485,344,485,353,487,363,491,381,494,389,493,398,492,426,491,437,492,450,493,455,494,461" id="loveseat" onmouseover="imagehover(\'lazyboy\',\'loveseat\'); return false" onmouseout="imageout(\'lazyboy\'); return false" alt="" href="" />\n';		
		
		    strMap = strMap + '<!-- Recliner -->\n<area shape="poly" coords="1,117,43,116,55,117,63,122,65,129,68,142,70,149,68,157,66,161,70,164,73,170,76,176,75,181,74,184,122,185,128,187,135,190,134,197,133,199,132,212,137,218,138,228,118,236,119,267,117,270,53,288,47,287,45,292,35,291,1,282" id="lb_recliner" onmouseover="imagehover(\'lazyboy\',\'recliner\'); return false" onmouseout="imageout(\'lazyboy\'); return false" alt="" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'lazyboy\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'royal_black':
			document.imagemap.src = "images/royal_black/royal_black.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Headrest -->\n<area shape="poly" coords="298,228,290,229,289,216,297,200,303,188,309,176,317,162,323,153,325,138,331,121,337,106,350,101,369,99,384,100,393,101,424,100,412,111,407,121,407,131,406,144,406,150,407,161,405,166,402,176,393,191,388,202,385,209,375,210,366,210,346,209,329,209,318,208,313,210,302,215,299,221" id="headrest" onmouseover="imagehover(\'royal_black\',\'headrest\'); return false" onmouseout="imageout(\'royal_black\'); return false" alt="" href="" />\n';
					
			strMap = strMap + '<!-- Ottoman -->\n<area shape="poly" coords="111,369,130,370,160,368,175,367,188,364,198,360,199,351,197,346,183,340,174,340,176,334,182,329,188,320,188,309,190,295,190,286,199,287,208,287,218,287,223,280,224,269,219,260,210,255,199,252,189,254,175,252,155,250,143,248,133,245,122,240,109,241,90,242,74,249,62,257,54,267,51,283,57,295,67,304,82,309,92,310,101,314,106,319,108,326,110,334,112,339,107,341,98,344,91,349,86,353,86,363,93,366,103,369" id="rb_ottoman" onmouseover="imagehover(\'royal_black\',\'ottoman\'); return false" onmouseout="imageout(\'royal_black\'); return false" alt="" href="" />\n';
	
		strMap = strMap + '<!-- Wheel -->\n<area shape="circle" coords="348,262,7" id="wheel" onmouseover="imagehover(\'royal_black\',\'wheel\'); return false" onmouseout="imageout(\'royal_black\'); return false" alt="" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'royal_black\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'smith':
			document.imagemap.src = "images/smith_brothers/smith_brothers.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Chair -->\n<area shape="poly" coords="406,323,407,299,409,293,404,289,402,271,407,273,408,263,411,256,419,253,457,252,460,224,474,211,529,213,571,217,573,221,571,226,569,238,567,248,563,264,550,272,547,277,546,286,553,290,559,294,564,298,564,304,561,341,549,337,535,334,526,333,520,337,514,341,511,350,502,348,498,339,421,327,416,338,410,335,408,326" id="smith_chair" href="" onmouseover="imagehover(\'smith\',\'chair\'); return false" onmouseout="imageout(\'smith\'); return false" alt="" />\n';
			
			strMap = strMap + '<!-- Ottoman -->\n<area shape="poly" coords="504,361,516,362,528,366,539,370,545,382,551,403,549,416,547,428,546,459,527,462,509,462,478,461,447,459,317,462,315,415,312,402,313,393,315,384,322,374,343,360,351,371,362,376,389,379,422,382,445,379,461,378,475,375,492,373" id="smith_ottoman" href="" onmouseover="imagehover(\'smith\',\'ottoman\'); return false" onmouseout="imageout(\'smith\'); return false" alt="" />\n';
			
			strMap = strMap + '<!-- Sofa -->\n<area shape="poly" coords="97,369,133,376,134,380,138,385,139,390,137,395,139,398,149,397,147,387,151,382,152,377,149,376,173,366,333,323,336,328,338,336,344,335,344,328,345,323,348,317,345,297,341,293,347,289,345,273,332,268,332,256,323,250,272,251,271,242,269,233,265,228,262,223,256,217,248,215,242,214,229,215,214,214,202,215,185,217,174,216,158,217,148,218,139,218,125,220,106,219,38,223,40,237,38,243,35,246,34,249,36,253,39,254,38,257,38,271,99,278,102,283,102,298,103,309,95,316,97,319,99,321,96,325,96,330,99,332,101,338,101,344,100,351,99,362" id="sofa_back" href="" onmouseover="imagehover(\'smith\',\'sofa\'); return false" onmouseout="imageout(\'smith\'); return false" alt="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'smith\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
	}
	
}

/*
*
This function shows an image that does not have highlighted pieces.
It also changes the imagemap so that no pieces can be selected/hovered over to display design tips.
*
*/
function showroom(image_name) {

	switch (image_name){
		case 'amish':
			document.imagemap.src = "images/Amish/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker’s has over 750 items of solid wood Amish-made furniture in stock!  If you appreciate the timeless style and superior craftsmanship of genuine Amish-made furniture you’ll love shopping for it at Redeker’s.  We are proud to offer one of the largest selections in the entire Midwest.';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;		
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'amish\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
	
			break;
		case 'broyhill':
			document.imagemap.src = "images/broyhill/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'Visit Redeker’s to experience the Broyhill difference.  For over 100 years Broyhill has been making quality upholstery, bedroom, dining, home entertainment, occasional and home office furniture.  Whether your style is traditional, cottage, country, transitional or modern Broyhill has something for everyone.';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;	
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'broyhill\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'hooker':
			document.imagemap.src = "images/hooker/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'For over 85 years Hooker Furniture has established a reputation for offering innovative and functional furnishings.  They strive to bring unique and well styled bedrooms, home offices, home entertainment, TV consoles and dining rooms with functional features into the home. ';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;	
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'hooker\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'lazyboy':
			document.imagemap.src = "images/lazyboy/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker’s is one of the largest La-Z-Boy dealers in the Midwest with over 400 items in stock.  Redeker’s offer the full line of La-Z-Boy leather and fabric rocker recliners, wall recliners, glider recliners, as well as stationary and reclining sofas, love seats, sleepers and modular sectionals    ';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;	
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'lazyboy\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'royal_black':
			document.imagemap.src = "images/royal_black/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'Stressless&copy; by Ekornes…the innovators of comfort.  Ekornes has literally made the world’s finest recliners by redefining comfort as you know it.  Made in Norway, a Stressless® recliner combines unique technology to make the most comfortable seating on the market today.';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;	
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'royal_black\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'smith':
			document.imagemap.src = "images/smith_brothers/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'Redeker&acute;s has one of the largest in-stock selections of Smith Brothers in the Midwest.  For over 80 years, Smith Brothers have produced upholstered sofas, loveseats, recliners and sectionals that provide a lifetime of quality and comfort equaled by no other upholstered maker.';
			
			// create a new image map that cannot be clicked
			var strMap = '';
			document.getElementById('map').innerHTML = strMap;	
			
			// create new link to show highlighted items
			strHighlighted = '<a href="" onclick="showhighlighted(\'smith\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
	}
	
}

sfHover = function() {
	var sfEls = document.getElementById("topnav").getElementsByTagName("li");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);