function initVS_globalUI() {
	
	$(".virtualShowroomLink").click(function() { 
		windowWidth = $(window).width();
		var vsWidth = (windowWidth < 1200) ? windowWidth:1200;
		
		windowHeight = $(window).height();
		var vsHeight = (windowHeight < 750) ? windowHeight:750;
		
		var winDimensions = "width=" + vsWidth + ",height=" + vsHeight;
		
		window.open('virtualshowroom/index.php','VirtualShowroom',winDimensions);
		return false;
	});
	
	buttonAnimatedHover(".footerBox a span");
	buttonAnimatedHover(".virtualShowroomLink span");
}

function buttonAnimatedHover(selector) {
	  
	  // set opacity to nill on page load
	  $(selector).css("opacity","0");
	  // on mouse over
	  $(selector).hover(function () {
		  // animate opacity to full
		  $(this).stop().animate({
			  opacity: 1
		  }, "fast");
	  },
	  // on mouse out
	  function () {
		  // animate opacity to nill
		  $(this).stop().animate({
			  opacity: 0
		  }, "slow");
	  });

};


