function $S(v) {return document.getElementById(v).style; }
		
		function openPiece(e, t) {
			$S('furniture-list').display = 'none';
			toggleMenuStrip('menu','nav-overlay','hide-menu','off');
			loadPortfolioPiece(e,1);
			$S('piece-nav').display = '';
			$S('furniture-title').display = '';
			
			document.title = 'Custom Made Furniture from Connecticut - ' + t + ' Hand crafted by Michael Spencer';
		}
		
		function openPortfolio() {
			$S('furniture-list').display = '';
			$S('piece-nav').display = 'none';
			$S('furniture-title').display = 'none';
			toggleMenuStrip('menu','nav-overlay','hide-menu','on');
			
			document.title = 'Custom Made Furniture from Connecticut - Hand crafted by Michael Spencer';
		}
		
		function loadPortfolioPiece(e,n) {
			new Ajax.Updater( 'furniture-piece', '/js/ajax/furniture-piece.asp', {asynchronous:false, method:'post', postBody:'furniture=' + e + '&photo=' + n});
			$S('portfolio').backgroundImage = 'url(/furniture/' + e + '/' + n + '.jpg)';
		}
		
		
		
		function openFeaturedPhotos() {
			new Ajax.Updater( 'featured-area', '/js/ajax/featured.asp', {asynchronous:false, method:'post', postBody:'photo=' + 1});	
		}
		
		function loadFeaturedPhoto(n) {
			$S('main-area').backgroundImage = 'url(/images/ind_main-graphic' + n + '.jpg)';
			new Ajax.Updater( 'featured-area', '/js/ajax/featured.asp', {asynchronous:false, method:'post', postBody:'photo=' + n});	
		}