$(document).ready(function() {
	$('#headerHomeAnimationFrame img').css({
		"position":'absolute',
		"left": '0px',
		"top": '0px',
		"z-index": '3'
	});
	$('#headerHomeAnimationFrame img:first').css('z-index', '5');
	window.setInterval(function() {
		var first = $('#headerHomeAnimationFrame img:first');
		var secound = first.next();
		secound.css('z-index', '4');
		first.fadeOut(300, function() {
			first.appendTo('#headerHomeAnimationFrame').show().css('z-index', '3');
			secound.css('z-index', '5');
		});
	}, 5000);

/*	$('#headerHomeAnimationFrame').css('position','relative');
	$('#headerHomeAnimationFrame img').addClass('slideImage').css({
		'position':'absolute',
		'left':'912px',
		'top':'0px'});
	$('#headerHomeAnimationFrame img:first').css({'left':'0px'}).addClass('selected');
	window.setInterval(function() {
		$('#headerHomeAnimationFrame').append('<div id="headerHomeAnimationHelper" style="left:0px;top:0px;position:absolute;width:1824px;height:273px;"></div>')
		var selected = $('#headerHomeAnimationFrame img.selected');
		selected.removeClass('selected').clone().appendTo('#headerHomeAnimationHelper');
		selected.css({'left':'912px'});
		var next = selected.next();
		if(!next.hasClass('slideImage')) next = $('#headerHomeAnimationFrame img:first');
		next.addClass('selected').clone().appendTo('#headerHomeAnimationHelper');
		next.css({'left':'0px'});
		$('#headerHomeAnimationHelper').animate({
			"left":"-912px"
		}, 500, "swing", function() {
			$('#headerHomeAnimationHelper').remove();
		});
	}, 5000);
*/	
	/*$('#headerHomeAnimationFrame').jqFancyTransitions({ 
		width: 912,
		height: 273,
		strips: 30,
		titleOpacity: 0,
		position: 'bottom',
		direction: 'random'
	});*/


});
