$(document).ready(function() {
			Cufon.replace('.font', { fontFamily: 'DaxCE' });
			Cufon.replace('a.font', { 
						  				fontFamily: 'DaxCE',
										hover: true
									});
			Cufon.replace('a.font_top_menu_link', { 
						  				fontFamily: 'DaxCE',
										hover: true
									});
			Cufon.replace('a.font_top_menu_link_selected', { 
						  				fontFamily: 'DaxCE',
										hover: true
									});
		})
			Cufon.replace('a.a_titles', { 
						  				fontFamily: 'DaxCE',
										hover: true
									});

			Cufon.replace('span.h1', { 
						  				fontFamily: 'DaxCE',
										hover: true
									});

	hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.allowMultipleInstances = false;
	hs.fadeInOut = true;
//	hs.dimmingOpacity = 0.75;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .75,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});

	function ch_bg(id,foward,last) {
		el = document.getElementById('row'+id)
		if (foward == 1) {
			el.style.backgroundColor="#E9F9E9";
		} else {
			if (last == 1) {
				el.style.backgroundColor="#F9F9F9";
			} else {
				el.style.backgroundColor="#FFFFFF";
			}
		}
	}
	
	function ch_bg_akt(id,foward) {
		el = document.getElementById(id)
		if (foward == 1) {
			el.style.backgroundColor="#ECEEF1";
		} else {
			el.style.backgroundColor="#FFFFFF";
		}
	}
