		var high_img = new Array();
		var high_header = new Array();
		var high_text = new Array();
		var high_link = new Array();
		var labels = new Array();

		
		var counter = 0;
		
		var active_link = "";
		
		function parse_arrays(img1, head1, text1, link1, img2, head2, text2, link2, img3, head3, text3, link3) {
				
				high_img.push(img1, img2, img3);
				high_header.push(head1, head2, head3);
				high_text.push(text1, text2, text3);
				high_link.push(link1, link2, link3);
				
				labels.push('high_1', 'high_2', 'high_3');
				
				active_link = link1;

		}
		
		function flush_highlights(){
			for (i = 0; i < 3; i++) document.getElementById(labels[i]).className = 'label_inactive';
		}
		
		function change_highlight() {
				
			document['highlight_img'].src=high_img[counter];
			document.getElementById('highlight_bauch_head').innerHTML=high_header[counter];
			document.getElementById('highlight_bauch_text').innerHTML=high_text[counter];
			
			active_link = high_link[counter];
			
			flush_highlights();
			document.getElementById(labels[counter]).className='label_active';
		}
		
		function click_highlight(id) {
			counter = id;
			change_highlight();
		}
		
		function rotate_highlights(){
			
			change_highlight();
			counter++;
			if (counter > 2) 
				counter = 0;
		
			
			setTimeout('rotate_highlights()', 5000);
			
		}
		
		function highlight_link() {
			window.location = active_link;
		}
		
		
				
		
		function show_element(element) {
				document.getElementById(element).style.visibility = 'visible';
				
		}
		
		function hide_element(element) {
				document.getElementById(element).style.visibility = 'hidden';
		}
		
		
		function stream_open(stream) {
				window.open(stream,'window','width=1000,height=750');
				return false;
		}
		

var rotationcount_dm = 2;
var img_dm = new Array;

function rotateScreenshots_dm() {
		
		
		if (typeof img_dm[rotationcount_dm] == "undefined") {
			img_dm[rotationcount_dm] = new Image;
			img_dm[rotationcount_dm].src = 'http://deluxetelevision.com/img/nav/stream_thumbs/kostenlos-DELUXE-MUSIC-stream-fernsehen-'+rotationcount_dm+'.jpg';
		}
		
		$('#rotate_dm').attr('src', img_dm[rotationcount_dm].src);
		
		rotationcount_dm++;
		if (rotationcount_dm == 10) rotationcount_dm = 1;	
		
		setTimeout('rotateScreenshots_dm()', 9000);		
}

var rotationcount_dl = 2;
var img_dl = new Array;

function rotateScreenshots_dl() {
		
		
		if (typeof img_dl[rotationcount_dl] == "undefined") {
			img_dl[rotationcount_dl] = new Image;
			img_dl[rotationcount_dl].src = 'http://deluxetelevision.com/img/nav/stream_thumbs/kostenlos-DELUXE-LOUNGE-videos-fernsehen-'+rotationcount_dl+'.jpg';
		}
		
		$('#rotate_dl').attr('src', img_dl[rotationcount_dl].src);
		
		rotationcount_dl++;
		if (rotationcount_dl == 7) rotationcount_dl = 1;	
		
		setTimeout('rotateScreenshots_dl()', 11000);		
}

rotateScreenshots_dm();
rotateScreenshots_dl();

