<!--
	$.activeShowroom = 1;
	$.Showroomtimeout = 5000;

	//$.preloadImages(	'pictures/general/arrow_act.png', 
	//					'pictures/general/arrow.png', 
	//					'pictures/general/hg_box_hor.gif', 
	//					'pictures/general/hg_box_hor_act.gif', 
	//					'pictures/general/hg_box_vert_act.gif'
	//				);	
	
	// global Functions
	jQuery.showroomNext = function()
	{ 
		$('#showroom_'+$.activeShowroom).fadeOut(5000);
		$.activeShowroom = $.activeShowroom + 1;
		if ($.activeShowroom > 17) { $.activeShowroom = 1; }
		
		$('#showroom_'+$.activeShowroom).fadeIn(5000, 
			function(){ // callback
				setTimeout("$.showroomNext()", $.Showroomtimeout)
			}
		);
	}
	
	// Events
	$(function() {
		$(document).ready(function() {
			$('#showroom_2').hide();
			$('#showroom_3').hide();
			$('#showroom_4').hide();
			$('#showroom_5').hide();
			$('#showroom_6').hide();
			$('#showroom_7').hide();
			$('#showroom_8').hide();
			$('#showroom_9').hide();
			$('#showroom_10').hide();
			$('#showroom_11').hide();
			$('#showroom_12').hide();
			$('#showroom_13').hide();
			$('#showroom_14').hide();
			$('#showroom_15').hide();
			$('#showroom_16').hide();
			$('#showroom_17').hide();
			
			setTimeout("$.showroomNext()", $.Showroomtimeout);
		});
		
		$('div.box').hover(
			function () {
				if($(this).attr('class') != 'box_large'){
					$(this).attr('class', 'box_act');
				}
				$.activeBox = $(this).attr('id');
			}, 
			function () {
				if($(this).attr('class') != 'box_large'){
					$(this).attr('class', 'box');
				}
				$.activeBox = null;
			}
		);
		
		$('div.subdomain').hover(
			function () {
				$(this).attr('class', 'subdomain_act');
			}, 
			function () {
				if ($(this).attr('id') != $.activeSubdomain) { 
					$(this).attr('class', 'subdomain');
				}
			}
		);
		
		$('div.open_arrow').click(
			function () {
				$.enlargeBox(0);
			}
		);
		
		$('div.box_lines_vert').click(
			function () {
				$.enlargeBox(0);
			}
		);
		
		$('div.subdomain').click(
			function () {
				$.activeSubdomain = $(this).attr('id'); 
				$('div.subdomain_act').attr('class', 'subdomain');
				$.enlargeBox(1);
			}
		);
		
	});


// -->
