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

	switch (image_name){
		case 'redekerate':
			switch (item){
				case 'bed':
					document.imagemap.src = "images/East_Village/bed_select.jpg"
					document.getElementById('inspiration').innerHTML = 'In the bedroom, place the bed first. The bed is the center of attention in any bedroom, and it should have the best view. Consider the largest bed possible if you don&rsquo;t need a lot of storage furniture.';
					break;
				case 'artwork':
					document.imagemap.src = "images/East_Village/artwork_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Balance using scale. The scale of individual pieces contributes to the overall balance of a room. A large piece of art or a grid of smaller framed pieces both can balance larger furnishings.';
					break;
				case 'lamp':
					document.imagemap.src = "images/East_Village/lamptable_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Outfit a guest room as a haven for visitors, then give the room a trial run to discover what&rsquo;s missing. Some amenities to consider include a chair or bench to hold a suitcase, a nightstand with a reading lamp, and possibly a full-length mirror.';
					break;
			}
			break;
		case 'workstation':
			switch (item){
				case 'desk':
					document.imagemap.src = "images/Workstation/desk_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Each room should have an architectural feature or dominant piece of furniture that creates the main focus around which all other pieces are oriented.';
					break;
				case 'artwork':
					document.imagemap.src = "images/Workstation/frames_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Pictures, grouped or individually, add interest to a wall or entire room, offsetting the lack of pattern in wood furniture.';
					break;
				case 'chest':
					document.imagemap.src = "images/Workstation/chest_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A file cabinet provides functional storage as well as an area to display accessories or a necessary lamp.';
					break;
			}
			break;
		case 'livingroom':
			switch (item){
				case 'sofa':
					document.imagemap.src = "images/Livingroom/sofa_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Consider facing sofas in the center of the room and a chair, side table, and lamp at one end as a reading nook.';
					break;
				case 'table':
					document.imagemap.src = "images/Livingroom/table_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Select a coffee table that is one-half to two-thirds the length of the sofa. That allows people seated on the sofa to have access to the table and provides room for accessories.';
					break;
				case 'chaise':
					document.imagemap.src = "images/Livingroom/chaise_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A comfy chaise lounge can provide a place to relax, read or nap, whether it be your living room, den or bedroom.';
					break;
			}
			break;
		case 'homeentertainment':
			switch (item){
				case 'endtable':
					document.imagemap.src = "images/HomeEntertainment/endtable_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Choose an occasional table that is the same scale as the nearby seating piece, yet provides a place for books, storage or decorative items.';
					break;
				case 'rug':
					document.imagemap.src = "images/HomeEntertainment/rug_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A new rug can supply the style and color to get your redecorating started. It can also enhance an existing color scheme and add a punch of pattern to a dull room.';
					break;
				case 'wallunit':
					document.imagemap.src = "images/HomeEntertainment/wallunit_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Maximize a room&rsquo;s size. A single oversize piece, such as a tv/media wall, can make a small room feel more generous and less predictable';
					break;
			}
			break;
		case 'breakfastbar':
			switch (item){
				case 'table':
					document.imagemap.src = "images/BreakfastBar/table_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Circular tables, especially with pedestal bases, let folks crowd around, while rectangular tables limit seating.';
					break;
				case 'bar':
					document.imagemap.src = "images/BreakfastBar/bar_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Plan for storage. A dining room generates lots of extra gear: tableware, table linens, wine glasses, and large serving pieces. Make a space for everything right where it&rsquo;s used.';
					break;
				case 'mirror':
					document.imagemap.src = "images/BreakfastBar/mirror_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A mirror can make a smaller room seem larger plus giving a &ldquo;complete&rdquo; look to a low profile storage piece.';
					break;
			}
			break;
		case 'ottomans':
			switch (item){
				case 'ottoman':
					document.imagemap.src = "images/Ottomans/ottoman_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A large ottoman can serve as extra seating or as a coffee table and yet be located anywhere in the room.';
					break;
				case 'chair':
					document.imagemap.src = "images/Ottomans/chair_select.jpg"
					document.getElementById('inspiration').innerHTML = 'A matching lounge chair can be the most comfortable seat in the home, yet complete the room setting.';
					break;
				case 'sofa':
					document.imagemap.src = "images/Ottomans/sofa_select.jpg"
					document.getElementById('inspiration').innerHTML = 'Diagonal furniture layouts offer a no-cost fix in rooms with too many windows and doors. Place matching sofas on the diagonal to create a seating island.';
					break;
			}
			break;
	}
	
}

/*
 *
This function replaces the current image with the default image
*
*/			
function imageout(image_name) {
	switch (image_name){
		case 'redekerate':
			document.imagemap.src = "images/East_Village/redekerate.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			break;
		case 'workstation':
			document.imagemap.src = "images/Workstation/workstation.jpg"
			document.getElementById('inspiration').innerHTML = 'The goal of any room arrangement is to create a simple grouping of furniture pieces that work toward the room&rsquo;s purpose... dining, sleeping, working, entertaining, or relaxing.';
			break;
		case 'livingroom':
			document.imagemap.src = "images/Livingroom/livingroom.jpg"
			document.getElementById('inspiration').innerHTML = 'Cozy up for conversation. For face-to-face chats, place chairs no more than eight feet apart. If the room is large, use furniture to create comfort islands.';
			break;
		case 'homeentertainment':
			document.imagemap.src = "images/HomeEntertainment/entertainment.jpg"
			document.getElementById('inspiration').innerHTML = 'Choose focal points. You may have more than one, perhaps a fireplace and a media center. If so, combine both on the same wall, or turn the furniture arrangement on the diagonal so it can face two walls at once.';
			break;
		case 'breakfastbar':
			document.imagemap.src = "images/BreakfastBar/breakfast.jpg"
			document.getElementById('inspiration').innerHTML = 'Plan for company in the dining room. Measure the room and consider how many people will fit around the table. Leave about 36&rdquo; all around the table so chairs can be pulled out comfortably.';
			break;
		case 'ottomans':
			document.imagemap.src = "images/Ottomans/ottomans.jpg"
			document.getElementById('inspiration').innerHTML = 'Whether you like neutrals or colors, more expensive or difficult to change elements are best left neutral. Explore color trends using inexpensive accessories and paint.';
			break;
	}
}


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

	switch (image_name){
		case 'redekerate':
			document.imagemap.src = "images/East_Village/redekerate.jpg"
	
			// create a new image map that can be clicked						
			var strMap = '<!-- Artwork -->\n<area shape="rect" coords="128,62,233,172" id="art" href="" onmouseover="imagehover(\'redekerate\',\'artwork\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<area shape="rect" coords="245,62,349,172" id="art_1" href="" onmouseover="imagehover(\'redekerate\',\'artwork\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<!-- Bed -->\n<area shape="poly" coords="95,276,95,186,393,186,393,290,379,278,379,256,311,256,311,259,305,259,305,256,111,256,111,274,95,276" id="bed" href="" onmouseover="imagehover(\'redekerate\',\'bed\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<area shape="poly" coords="411,448,411,371,377,371,377,383,377,394,377,404,398,404,398,448" id="bed_1" href="" onmouseover="imagehover(\'redekerate\',\'bed\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<area shape="poly" coords="14,373,46,373,48,375,48,406,30,406,28,451,14,451" id="bed_2" href="" onmouseover="imagehover(\'redekerate\',\'bed\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<area shape="poly" coords="79,371,354,371,356,375,356,405,77,405" id="bed_3" href="" onmouseover="imagehover(\'redekerate\',\'bed\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			strMap = strMap + '<!-- Lamp / Table -->\n<area shape="poly" coords="12,156,71,156,81,204,48,207,48,263,48,278,58,280,58,287,74,287,66,293,46,305,39,314,30,332,-1,332,0,288,21,288,24,281,31,281,34,205,4,205,5,201" id="lamp" href="" onmouseover="imagehover(\'redekerate\',\'lamp\'); return false" onmouseout="imageout(\'redekerate\'); return false" alt="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'redekerate\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
	
			break;
		case 'workstation':
			document.imagemap.src = "images/Workstation/workstation.jpg"
			
			// create a new image map that can be clicked
			var strMap = '<!-- Artwork -->\n<area shape="poly" coords="525,185,525,124,575,116,575,182" href="" id="artwork" onmouseover="imagehover(\'workstation\',\'artwork\'); return false" onmouseout="imageout(\'workstation\'); return false" alt="" />\n';
			strMap = strMap + '<area shape="poly" coords="524,193,574,191,573,255,524,254" href="" id="artwork_1" onmouseover="imagehover(\'workstation\',\'artwork\'); return false" onmouseout="imageout(\'workstation\'); return false" alt="" />\n';
			strMap = strMap + '<!-- Chest -->\n<area shape="poly" id="chest" onmouseover="imagehover(\'workstation\',\'chest\'); return false" onmouseout="imageout(\'workstation\'); return false" alt="" coords="589,424,575,427,574,436,561,438,547,434,546,425,470,408,469,412,463,414,451,411,451,397,457,392,456,289,450,289,452,285,501,286,589,287" href="" />\n';
			strMap = strMap + '<!-- Workstation -->\n<area shape="poly" id="desk" onmouseover="imagehover(\'workstation\',\'desk\'); return false" onmouseout="imageout(\'workstation\'); return false" alt="" coords="264,404,273,407,274,400,299,407,299,414,309,416,323,415,323,407,367,403,367,408,372,409,385,408,384,394,381,390,379,292,384,291,368,286,341,285,341,287,289,287,276,284,274,277,263,276,240,276,242,271,245,266,247,260,244,256,247,247,249,237,250,137,261,126,32,109,17,116,26,127,26,273,23,276,13,279,18,283,17,370,14,375,14,387,18,390,23,389,23,385,39,394,40,402,44,404,58,403,60,395,113,391,115,398,128,397,129,386,126,381,177,378,178,372,170,371,170,362,161,361,136,358,130,355,131,310,129,309,129,305,135,304,148,306,163,310,176,310,179,304,180,264,187,264,240,264,237,287,233,310,230,330,229,357,223,360,225,365,221,366,217,361,190,363,188,366,190,367,190,375,235,373,268,382,266,387,264,391" href="" />';
			strMap = strMap + '<area shape="poly" id="desk_1" onmouseover="imagehover(\'workstation\',\'desk\'); return false" onmouseout="imageout(\'workstation\'); return false" alt="" coords="140,312,140,333,148,332,161,330,167,329,177,329,177,317,167,317" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'workstation\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'livingroom':
			document.imagemap.src = "images/Livingroom/livingroom.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Table -->\n<area shape="poly" id="table" onmouseover="imagehover(\'livingroom\',\'table\'); return false" onmouseout="imageout(\'livingroom\'); return false" alt="" coords="296,289,332,267,472,283,472,319,469,321,470,313,451,333,451,345,444,344,444,337,420,335,398,327,391,328,387,331,385,338,388,346,304,335,303,349,298,350,296,348" href="" />\n';
			strMap = strMap + '<!-- Chaise -->\n<area shape="poly" id="chaise" onmouseover="imagehover(\'livingroom\',\'chaise\'); return false" onmouseout="imageout(\'livingroom\'); return false" alt="" coords="150,365,236,349,238,356,243,356,248,345,252,311,248,307,254,303,254,292,247,285,238,278,229,273,220,268,222,258,226,245,230,235,230,230,202,215,202,208,203,201,198,199,192,203,184,203,190,192,189,188,178,191,166,195,160,197,154,193,144,197,127,201,118,197,114,201,48,201,54,213,50,219,42,221,40,225,43,234,49,251,51,263,51,297,56,309,62,309,89,335,92,344,100,345,102,335,128,362,145,365" href="" />\n';
			strMap = strMap + '<!-- Sofa -->\n<area shape="poly" id="sofa" onmouseover="imagehover(\'livingroom\',\'sofa\'); return false" onmouseout="imageout(\'livingroom\'); return false" alt="" coords="296,288,288,287,285,294,280,294,276,285,276,244,265,210,299,195,299,184,310,185,320,178,334,181,345,179,347,183,376,185,387,183,388,186,405,185,418,181,436,187,448,189,452,184,457,189,480,191,490,193,494,187,500,193,542,193,534,205,542,210,544,217,540,229,536,245,534,262,534,279,528,287,520,288,512,305,506,314,472,311,473,283,334,267" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'livingroom\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'homeentertainment':
			document.imagemap.src = "images/HomeEntertainment/entertainment.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- End Table -->\n<area shape="poly" id="endtable" onmouseover="imagehover(\'homeentertainment\',\'endtable\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="258,293,258,297,264,301,264,421,273,424,280,395,289,394,296,395,304,397,311,400,318,404,328,409,339,417,340,452,352,456,356,421,366,415,376,411,385,408,396,406,403,405,409,406,414,409,420,439,424,440,430,438,431,310,438,309,438,304,400,293,410,299,410,303,356,310,326,301,326,297,323,293,321,287,306,289" href="" />\n';
			strMap = strMap + '<!-- Rug -->\n<area shape="poly" id="rug" onmouseover="imagehover(\'homeentertainment\',\'rug\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="262,400,162,415,98,380,96,375,97,369,96,362,93,359,98,351,101,343,102,335,102,328,100,321,153,316,153,336,159,336,164,316,170,317,177,318,185,320,192,323,200,326,206,330,211,334,214,338,215,360,224,361,227,338,234,335,242,332,249,331,256,330,261,329,263,328,263,396,263,400" href="" />\n';		
			strMap = strMap + '<area shape="poly" id="rug2" onmouseover="imagehover(\'homeentertainment\',\'rug\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="279,325,279,371,284,370,284,325" href="" />\n';
			strMap = strMap + '<area shape="poly" id="rug3" onmouseover="imagehover(\'homeentertainment\',\'rug\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="292,324,296,323,298,351,294,355,293,371" href="" />\n';
			strMap = strMap + '<area shape="poly" id="rug4" onmouseover="imagehover(\'homeentertainment\',\'rug\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="280,398,280,394,285,394,292,394,297,395" href="" />\n';												
			strMap = strMap + '<!-- Wall Unit -->\n<area shape="poly" id="wallunit" onmouseover="imagehover(\'homeentertainment\',\'wallunit\'); return false" onmouseout="imageout(\'homeentertainment\'); return false" alt="" coords="13,44,30,38,367,55,363,61,364,201,374,203,374,243,326,237,314,239,305,243,299,250,297,257,287,254,270,254,249,255,225,256,204,257,183,258,160,259,148,260,146,263,153,267,153,315,99,320,93,297,92,287,94,283,102,273,105,269,105,264,102,257,97,248,91,243,80,241,56,241,42,241,38,241,40,233,40,221,40,213,116,210,126,212,128,230,145,230,168,232,200,231,234,230,256,228,274,227,276,219,292,215,292,111,276,108,276,100,119,98,119,208,106,211,80,211,54,213,40,213,39,217,32,215,18,215,18,51" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'homeentertainment\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'breakfastbar':
			document.imagemap.src = "images/BreakfastBar/breakfast.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Table -->\n<area shape="poly" id="breakfasttable" onmouseover="imagehover(\'breakfastbar\',\'table\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="262,346,297,343,245,286,278,245,298,243,314,240,328,238,341,235,352,232,358,228,358,216,350,210,340,206,328,205,304,202,280,200,263,200,251,200,242,200,242,203,240,208,252,211,252,214,234,221,171,220,171,214,185,209,186,207,185,202,172,203,156,205,138,207,124,209,112,211,105,213,97,216,90,220,87,223,88,234,96,238,105,241,117,243,132,245,146,247,163,247,169,248,206,288,192,306,176,328,176,354,192,353,210,331,216,340,222,340,224,333,226,357,236,370,242,366,236,321" href="" />\n';
			strMap = strMap + '<area shape="poly" id="breakfasttable_1" onmouseover="imagehover(\'breakfastbar\',\'table\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="164,355,163,343,152,355" href="" />	\n';
			strMap = strMap + '<!-- Bar -->\n<area shape="poly" id="bar_1" onmouseover="imagehover(\'breakfastbar\',\'bar\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="373,163,373,242,380,240,381,228,393,229,396,215,399,197,404,182,408,164,410,160,397,160" href="" />\n';
			strMap = strMap + '<area shape="poly" id="bar_2" onmouseover="imagehover(\'breakfastbar\',\'bar\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="380,261,377,262,373,260,373,250,380,249" href="" />\n';
			strMap = strMap + '<area shape="poly" id="bar_3" onmouseover="imagehover(\'breakfastbar\',\'bar\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="439,235,483,240,483,267,488,269,490,267,489,242,546,249,548,291,552,292,555,291,556,249,578,245,578,256,579,271,580,282,584,283,587,281,587,171,524,166,509,165,509,171,489,170,488,165,480,163,480,166,453,165,450,178,446,192,443,204,440,221,439,231" href="" />\n';
			strMap = strMap + '<!-- Mirror -->\n<area shape="poly" id="mirror" onmouseover="imagehover(\'breakfastbar\',\'mirror\'); return false" onmouseout="imageout(\'breakfastbar\'); return false" alt="" coords="440,65,556,65,556,163,479,159,480,154,475,153,472,143,457,143,456,152,447,154,446,158,441,157,444,152,440,150" href="" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'breakfastbar\'); return false">See room without highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'ottomans':
			document.imagemap.src = "images/Ottomans/ottomans.jpg"
	
			// create a new image map that can be clicked
			var strMap = '<!-- Ottoman -->\n<area shape="poly" id="ottoman" href="" onmouseover="imagehover(\'ottomans\',\'ottoman\'); return false" onmouseout="imageout(\'ottomans\'); return false" alt="" coords="177,367,191,367,195,357,194,355,299,341,297,345,305,351,318,350,322,339,324,338,326,318,325,316,325,306,322,304,324,301,323,281,315,273,298,263,292,259,286,257,276,257,268,257,277,258,282,263,284,276,263,277,240,277,233,277,188,275,193,261,159,264,147,266,143,269,143,292,144,294,143,320,144,324,147,327,148,335,151,341,156,343,159,341,166,349,170,355" />\n';
			strMap = strMap + '<!-- Chair -->\n<area shape="poly" id="chair" href="" onmouseover="imagehover(\'ottomans\',\'chair\'); return false" onmouseout="imageout(\'ottomans\'); return false" alt="" coords="19,218,22,222,24,235,26,256,27,278,28,281,31,290,36,291,47,290,48,287,84,298,84,304,91,309,103,308,108,299,143,291,143,269,147,266,158,264,178,262,190,261,193,261,200,259,201,233,202,225,207,220,211,216,215,213,217,206,214,200,209,197,205,195,183,191,166,189,156,189,146,188,139,187,142,185,142,176,141,169,140,165,137,163,138,159,136,155,134,151,131,147,87,149,80,149,73,150,62,152,57,154,47,154,29,154,22,155,18,158,15,162,14,168,20,177,17,179,18,185,20,197,20,198,16,203,15,209,16,214" />\n';
			strMap = strMap + '<!-- Sofa -->\n<area shape="poly" id="sofa" href="" onmouseover="imagehover(\'ottomans\',\'sofa\'); return false" onmouseout="imageout(\'ottomans\'); return false" alt="" coords="246,239,246,232,244,223,239,218,235,213,233,206,234,200,241,195,253,193,270,190,282,189,291,187,298,187,310,186,308,183,308,177,313,166,315,162,315,157,320,151,324,148,334,148,354,149,365,150,385,151,395,151,400,154,404,153,414,153,432,154,437,155,445,155,456,156,469,158,473,159,482,159,489,159,496,160,503,160,511,161,519,161,526,162,539,164,553,166,564,166,576,168,582,171,587,176,588,181,585,188,583,193,581,214,589,223,587,222,589,232,581,240,577,244,576,256,576,267,575,278,574,292,574,299,573,305,568,317,564,319,553,317,553,316,520,329,518,334,516,340,511,343,507,344,499,342,494,332,430,318,368,304,343,299,324,293,323,281,315,272,295,260,289,256,280,256,269,257,266,253,270,251,269,246,266,241,261,239,256,239,250,239" />\n';
			document.getElementById('map').innerHTML = strMap;		
										
			// create new link to show entire room
			strHighlighted = '<a href="" onclick="showroom(\'ottomans\'); 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 'redekerate':
			document.imagemap.src = "images/East_Village/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'redekerate\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
	
			break;
		case 'workstation':
			document.imagemap.src = "images/Workstation/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'workstation\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'livingroom':
			document.imagemap.src = "images/Livingroom/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'livingroom\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'homeentertainment':
			document.imagemap.src = "images/HomeEntertainment/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'homeentertainment\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'breakfastbar':
			document.imagemap.src = "images/BreakfastBar/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'breakfastbar\'); return false">See room with highlights</a>';
			document.getElementById('highlight').innerHTML = strHighlighted;
			
			break;
		case 'ottomans':
			document.imagemap.src = "images/Ottomans/no_select.jpg"
			document.getElementById('inspiration').innerHTML = 'To make a large space cozy, choose a dark, saturated color for the walls. Need to make a small space seem expansive? Go for the lighter tints. Then mix it up by using dark and light furnishings.';
			
			// 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(\'ottomans\'); 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);