$(document).ready(function(){

	$("#li-banner").sp_Li_Slider({						
		animation				: 	"Regular-Custom",	// type of Animation: Regular, Random, Regular-Custom, Random-Custom, Regular-Exception, Random-Exception  			
		transitions				: 	'Sqr-Fade',				// None|transition_name(s) // List of custom animations - for full list please reference to the preview (works only with "Regular-Custom, Random-Custom, Regular-Exception , Random-Exception ")
		auto_play 				: 	true,   			// true|false - auto play on start
		repeat	 				: 	true,					// true|false|number - how many times to repeat all slides
		modalMode				:	'off',// lightBox|prettyPhoto|off
		goToSlideOnStart		:	1,						// value //any slide number starting from 1 or url?sp_slide=2
		timer					: 	'no',// no|line_bottom|line_top|line_right|line_left
		pauseOnMouseOver		:	true,					// true|false
		tooltip					:	'none',			// none|text|image
		tooltipSize				: 	30,						// value // % of slider dimentions from 0 to 100. Use 0 to disable it
		shuffle					:	false,				// true|false - randomize the images order
		delay     				: 	4000,					// value // time period of a photos displaying /default - 3000 (3 sec)
		trans_period			:	500,					// value // time period of chenging the photos /default - 1000 (1 sec)
		vert_sections			:	10,						// value // number of vertical sectors (only for Animation type Blind) /default - 15
		sqr_sections_Y			:	4,						// value // number of squeres by vertical (only for Animation type Sqr) /default - 5
		active_links			:	false,					// true|false //activate links of photos /default - true
		buttons_show			:	true,					// true|false //show all buttons 		/default - true
		play_pause_show			:	false,					// true|false //show Play or Pause buttons	/default - true
		next_prev_show			:	false,					// true|false //show Next or Prev buttons	/default - true
		auto_hide 				: 	false,					// true|false // auto hide buttons ot start (when auto_play is true)
		buttons_show_time		:	2000,					// value 			//time period befor displayins of the buttons 	/default - 100
		buttons_show_delay		:	500,					// value //time period for appearing of the buttons		/default - 300
		buttons_hide_time 		:	2000,					// value //time period befor disappearing of the buttons/default - 2000
		buttons_hide_delay		:	500						// value //time period for disappearing of the buttons	/default - 500
	});
	
	$('#li-banner img.infobox').click(function() {
		var name = $(this).attr('name');
		var url = "http://www.ambelt.de/"+name;
		location.href = url;
	});
	
});	
