<!--

	var sliderHeight = "138px";
	var sliderHeightHome = "60px";
	

	jQuery(document).ready(function(){
		
  		/* Left Nav */
  		jQuery('#left_nav_expand').each(function () {
  					var current = jQuery(this);
  					current.attr("box_nav", current.height());
  				}
  		 );
		
		jQuery(window).load(function() {
		  jQuery("#left_nav_expand").css("height", sliderHeight);
		});
		
		jQuery(".left_nav_brands").html('<a href="#">Show All Brands</a>');
		jQuery(".left_nav_brands a").click(function() { openSlider('#left_nav_expand', '.left_nav_brands', 'box_nav'); return false; });
		
	});
	
	jQuery(document).ready(function(){

      /* With Housing - By Brand */
		  jQuery('#withHousingBrand').each(function () {
				  var current = jQuery(this);
				  current.attr("box_a", current.height());
			 }
		  );
		
		jQuery(window).load(function() {
		  jQuery("#withHousingBrand").css("height", sliderHeightHome);
    });
    		
		jQuery(".homepageAllBrands").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageAllBrands a").click(function() { openSlider('#withHousingBrand', '.homepageAllBrands', 'box_a'); return false; });
		
		
      /* With No Housing - By Brand*/
		  jQuery('#withNoHousingBrand').each(function () {
					 var current = jQuery(this);
					 current.attr("box_b", current.height());
				  }
		  );
		
		jQuery(window).load(function() {
		  jQuery("#withNoHousingBrand").css("height", sliderHeightHome);
		});
		
		jQuery(".homepageAllBrandsNH").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageAllBrandsNH a").click(function() { openSlider('#withNoHousingBrand', '.homepageAllBrandsNH', 'box_b'); return false; });
	
	
      /* With Housing - By Category - DLP */
		  jQuery('#dlpLamps').each(function () {
					 var current = jQuery(this);
					 current.attr("box_c", current.height());
  				}
  		 );
		
		jQuery(window).load(function() {
		  jQuery("#dlpLamps").css("height", sliderHeightHome);
		});
		
		jQuery(".homepageDLPLamps").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageDLPLamps a").click(function() { openSlider('#dlpLamps', '.homepageDLPLamps', 'box_c'); return false; });
		
		
      /* With No Housing - By Category - DLP */
		  jQuery('#dlpLampsNH').each(function () {
					 var current = jQuery(this);
					 current.attr("box_d", current.height());
				  }
		  );
		
		jQuery(window).load(function() {
		  jQuery("#dlpLampsNH").css("height", sliderHeightHome);
		});
		
		jQuery(".homepageDLPLampsNH").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageDLPLampsNH a").click(function() { openSlider('#dlpLampsNH', '.homepageDLPLampsNH', 'box_d'); return false; });
		
		
      /* With Housing - By Category - Project Bulbs */
  		jQuery('#projectorBulbs').each(function () {
  					var current = jQuery(this);
  					current.attr("box_e", current.height());
  				}
 		  );
		
		jQuery(window).load(function() {
		  jQuery("#projectorBulbs").css("height", sliderHeightHome);
		});
		
		jQuery(".homepageProjectorBulbs").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageProjectorBulbs a").click(function() { openSlider('#projectorBulbs', '.homepageProjectorBulbs', 'box_e'); return false; });
		
	  
      /* With No Housing - By Category - Project Bulbs */
		  jQuery('#projectorBulbsNH').each(function () {
  					var current = jQuery(this);
  					current.attr("box_f", current.height());
  				}
  		 );
		
		jQuery(window).load(function() {
		  jQuery("#projectorBulbsNH").css("height", sliderHeightHome);
		});
		
		jQuery(".homepageProjectorBulbsNH").html('<a href="#">Show All Brands</a>');
		jQuery(".homepageProjectorBulbsNH a").click(function() { openSlider('#projectorBulbsNH', '.homepageProjectorBulbsNH', 'box_f'); return false; });
  
  });

	function openSlider(wtcSlider , wtcButton, var_box)
	{
		var open_height = jQuery(wtcSlider).attr(var_box) + "px";
		jQuery(wtcSlider).animate({"height": open_height}, {duration: "fast" });
		
		jQuery(wtcButton).html('<a href="#">Close</a>');
		jQuery(wtcButton+' a').click(function() { closeSlider(wtcSlider, wtcButton, var_box); return false; });
	}
	
	function closeSlider(wtcSlider, wtcButton, var_box)
	{
    if(var_box!='box_nav')
    {
      myHeight = sliderHeightHome;
    } else {
      myHeight = sliderHeight;
    }
	
		jQuery(wtcSlider).animate({"height": myHeight}, {duration: "fast" });
		
		jQuery(wtcButton).html('<a href="#">Show All Brands</a>');
		jQuery(wtcButton+' a').click(function() { openSlider(wtcSlider, wtcButton, var_box); return false; });
	}

//-->