(function($){
	
$(function(){
	
	var imagePath = '/wp-content/themes/cinch/scripts/presentator/';
	
	$('#presentator').presentator({
		
		initialLayout : {	//Everything must be out of frame here
			alex : {
				animate: {
					left : 		'226px',
					top : 		'-150px'
				},
				image: imagePath+'img/slider/alex.png',
				url: 0
			},
			
			textHello : {
				animate: {
					left : '285px',
					top : '87px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/text-hello.png'
			},
			
			textQuestions : {
				animate: {
					left : '345px',
					top : '163px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/text-questions.png'
			},
			
			hitNext : {
				animate : {
					left : '500px',
					top : '258px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/hit-next.png'
			},
			
			nextButton : {
				animate : {
					left : '730px',
					top : '275px',
					opacity : 'hide'
				},
				image: imagePath+'img/slider/next-button.png',
				url: 'next'
			},
			
			qDoesntRank : {
				animate: {
					left : '204px',
					top : '-100px'
				},
				image: imagePath+'img/slider/q-doesnt-rank.png'
			},
			
			googleReasons : {
				animate: {
					left: '115px',
					top: '210px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/google-reasons.png'
			},
			
			googleDoesntKnow : {
				animate: {
					left: '276px',
					top: '400px'
				},
				image: imagePath+'img/slider/google-doesnt-know.png'
			},
			
			or: {
				animate: {
					left: '525px',
					top: '400px'
				},
				image: imagePath+'img/slider/or.png'
			},
			
			googleDoesntLike : {
				animate: {
					left: '579px',
					top: '400px'
				},
				image: imagePath+'img/slider/google-doesnt-like.png'
			},
			
			textAnalysis : {
				animate : {
					left: '105px',
					top : '195px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/text-analysis.png',
				url: '/services/seo-analysis/?ref=slider'
			},
			
			site : {
				animate : {
					left: '970px',
					top : '111px'
				},
				image: imagePath+'img/slider/site.png'
			},
			
			analysisRed: {
				animate : {
					left: '579px',
					top : '140px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/analysis-red.png'
			},
			
			analysisGreen: {
				animate : {
					left: '589px',
					top : '137px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/analysis-green.png'
			},
			
			analysisArrow: {
				animate : {
					left: '562px',
					top : '143px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/analysis-arrow.png'
			},
			
			analysisCheckmark: {
				animate : {
					left: '661px',
					top : '99px',
					width: '0px'
				},
				image: imagePath+'img/slider/analysis-checkmark.png'
			},
			
			googleFillOutForm: {
				animate : {
					left: '210px',
					top : '400px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/google-fill-out-form.png',
				url: '/contact/?ref=slider'
			},
			
			qDontBuy: {
				animate: {
					left: '206px',
					top: '-100px'
				},
				image: imagePath+'img/slider/q-dont-buy.png'
			},
			
			textTraffic: {
				animate: {
					left: '107px',
					top: '176px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/text-traffic-is-not.png'
			},
			
			graph: {
				animate: {
					left: '725px',
					top: '125px',
					width: '0px'
				},
				image: imagePath+'img/slider/graph.png'
			},
			
			graphRed: {
				animate: {
					left: '727px',
					top: '188px',
					width: '0px'
				},
				image: imagePath+'img/slider/graph-red.png'
			},
			
			graphGreen: {
				animate: {
					left: '834px',
					top: '160px',
					width: '0px'
				},
				image: imagePath+'img/slider/graph-green.png'
			},
			
			conversionOptimization : {
				animate: {
					left: '206px',
					top: '400px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/conversion-optimization.png',
				url: '/services/conversion-optimization/?ref=slider'
			},
			
			
			qKeywords: {
				animate: {
					left: '206px',
					top: '-100px'
				},
				image: imagePath+'img/slider/q-what-keywords.png'
			},
			
			keywordsAnswer: {
				animate: {
					left: '116px',
					top: '150px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/keywords-answer.png'
			},
			
			keywordsResearch: {
				animate: {
					left: '207px',
					top: '400px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/keyword-research.png',
				url: '/services/keyword-research/?ref=slider'
			},
			
			tagSale: {
				animate: {
					left: '740px',
					top: '110px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/tag-sale.png'
			},
			
			tagOrderOnline: {
				animate: {
					left: '747px',
					top: '152px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/tag-order-online.png'
			},
			
			tagDiscount: {
				animate: {
					left: '758px',
					top: '147px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/tag-discount.png'
			},
			
			tagNuts: {
				animate: {
					left: '770px',
					top: '140px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/tag-nuts.png'
			},
			
			qSeoTraining: {
				animate: {
					left: '206px',
					top: '-100px'
				},
				image: imagePath+'img/slider/q-seo-training.png'
			},
			
			aSeoTaining: {
				animate: {
					left: '100px',
					top: '162px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/a-seo-training.png'
			},
			
			seoTrainingBoard: {
				animate: {
					left: '144px',
					top: '400px'
				},
				image: imagePath+'img/slider/seo-training-board.png'
			},
			
			seoTraining: {
				animate: {
					left: '356px',
					top: '400px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/seo-training.png',
				url: '/services/seo-training/?ref=slider'
			},
			
			anyOtherQuestions: {
				animate: {
					left: '800px',
					top: '287px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/any-other-questions.png',
				url: 'next'
			},
			
			stay: {
				animate: {
					left: '222px',
					top: '84px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/stay.png'
			},
			
			stayGetInTouch: {
				animate: {
					left: '310px',
					top: '111px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/stay-get-in-touch.png',
				url: '/contact/?ref=slider'
			},
			
			stayServices: {
				animate: {
					left: '312px',
					top: '144px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/stay-services.png',
				url: '/services/?ref=slider'
			},
			
			stayPortfolio: {
				animate: {
					left: '313px',
					top: '176px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/stay-portfolio.png',
				url: '/portfolio/?ref=slider'
			},
			
			stayBlogging: {
				animate: {
					left: '314px',
					top: '210px',
					opacity: 'hide'
				},
				image: imagePath+'img/slider/stay-blogging.png',
				url: '/blog/?ref=slider'
			}
		},
		
		slideLayout : {
			0: {
				alex : {
					animate : {
						left : 	'226px',
						top : 	'74px'
					}
				},
				textHello : {
					animate : {
						left: '305px',
						top: '87px',
						opacity: 'show'
					},
					delay: 500
				},
				
				textQuestions : {
					animate : {
						left: '364px',
						top: '163px',
						opacity: 'show'
					},
					delay: 700
				},
				
				hitNext : {
					animate : {
						left: '573px',
						top: '258px',
						opacity: 'show'
					},
					delay: 1000
				},
				nextButton : {
					animate : {
						left : '750px',
						opacity: 'show'
					}
				}
			},
			
			1: {
				alex : {
					animate: {
						left : 	'81px',
						top : 	'219px'
					}	
				},
				
				textHello : {animate: 'initial',removing: true},
				textQuestions : {animate : 'initial', removing: true, delay: 100 },
				hitNext: {animate : 'initial',removing: true,delay: 200},
				
				qDoesntRank : {
					animate: {
						left : '204px',
						top : '41px'
					}
				},
				
				googleReasons : {
					animate: {
						left: '205px',
						top: '100px',
						opacity: 'show'
					},
					delay: 700
				},
				
				googleDoesntKnow : {
					animate: {
						left: '276px',
						top: '162px'
					},
					delay: 1500
				},
				
				or: {
					animate: {
						left: '525px',
						top: '217px'
					},
					delay: 2500
				},
				
				googleDoesntLike : {
					animate: {
						left: '579px',
						top: '196px'
					},
					delay: 2800
				}
				
			},
			
			2: {
				
				googleReasons : {animate: 'initial', removing: true},				
				googleDoesntKnow : {animate: 'initial', removing: true},				
				or: {animate: 'initial', removing: true},				
				googleDoesntLike : {animate: 'initial', removing: true},				
				textAnalysis : {
					animate : {
						left: '130px',
						top : '132px',
						opacity: 'show'
					}
				},
				
				site : {
					animate : {
						left: '566px',
						top : '111px'
					},
					delay: 500
				},
				
				analysisRed: {
					animate : {
						opacity: 'show'
					},
					delay: 1000
				},
				
				analysisGreen: {
					animate : {
						opacity: 'show'
					},
					delay: 1300
				},
				
				analysisArrow: {
					animate : {
						opacity: 'show'
					},
					delay: 1500
				},
				
				analysisCheckmark: {
					animate : {
						width: '36px'
					},
					delay: 2000
				},
				
				googleFillOutForm: {
					animate : {
						left: '210px',
						top : '247px',
						opacity: 'show'
					},
					delay: 2500
				}
				
			},
			
			3: {
				qDoesntRank : {animate: 'initial', removing: true},
				textAnalysis : {animate: 'initial', removing: true},
				site : {animate: 'initial', removing: true, delay: 500},
				analysisRed: {animate: 'initial', removing: true},
				analysisGreen: {animate: 'initial', removing: true},
				analysisArrow: {animate: 'initial', removing: true},
				analysisCheckmark: {animate: 'initial', removing: true},				
				googleFillOutForm: {animate: 'initial', removing: true},				
				qDontBuy: {
					animate: {
						left: '206px',
						top: '41px'
					}
				},
				
				textTraffic: {
					animate: {
						left: '142px',
						top: '128px',
						opacity: 'show'
					},
					delay: 700
				},
				
				graph: {
					animate: {
						width: '190px'
					},
					delay: 1000
				},
				
				graphRed: {
					animate: {
						width: '110px'
					},
					delay: 1500
				},
				
				graphGreen: {
					animate: {
						width: '87px'
					},
					delay: 2500
				},
				
				conversionOptimization : {
					animate: {
						left: '206px',
						top: '253px',
						opacity: 'show'
					},
					delay: 2000
				}
			},
			
			4: {
				qDontBuy: {animate: 'initial', removing: true},				
				textTraffic: {animate: 'initial', removing: true},				
				graph: {animate: 'initial', removing: true},				
				graphRed: {animate: 'initial', removing: true},				
				graphGreen: {animate: 'initial', removing: true},				
				conversionOptimization : {animate: 'initial', removing: true},				
				qKeywords: {
					animate: {
						left: '206px',
						top: '41px'
					}
				},
				
				keywordsAnswer: {
					animate: {
						left: '154px',
						top: '117px',
						opacity: 'show'
					},
					delay: 500
				},
				
				keywordsResearch: {
					animate: {
						left: '207px',
						top: '268px',
						opacity: 'show'
					},
					delay: 1500
				},
				
				site: {
					animate: {
						left: '751px',
						top: '104px'
					},
					delay: 500
				},
				
				tagSale: {
					animate: {
						left: '706px',
						top: '68px',
						opacity: 'show'
					},
					delay: 900
				},
				
				tagOrderOnline: {
					animate: {
						left: '714px',
						top: '228px',
						opacity: 'show'
					},
					delay: 700
				},
				
				tagDiscount: {
					animate: {
						left: '857px',
						top: '82px',
						opacity: 'show'
					},
					delay: 800
				},
				
				tagNuts: {
					animate: {
						left: '852px',
						top: '164px',
						opacity: 'show'
					},
					delay: 1000
				}
			},
			
			5: {
				qKeywords: {animate: 'initial', removing: true},
				keywordsAnswer: {animate: 'initial', removing: true},
				keywordsResearch: {animate: 'initial', removing: true},
				site: {animate: 'initial', removing: true, delay: 400},
				tagSale: {animate: 'initial', removing: true},
				tagOrderOnline: {animate: 'initial', removing: true},
				tagDiscount: {animate: 'initial', removing: true},
				tagNuts: {animate: 'initial', removing: true},
				nextButton: {animate: 'initial', removing: true},
				
				qSeoTraining: {
					animate: {
						left: '206px',
						top: '41px'
					}
				},
				
				aSeoTaining: {
					animate: {
						left: '120px',
						top: '112px',
						opacity: 'show'
					},
					delay: 500
				},
				
				seoTrainingBoard: {
					animate: {
						left: '144px',
						top: '197px'
					},
					delay: 1500
				},
				
				seoTraining: {
					animate: {
						left: '356px',
						top: '198px',
						opacity: 'show'
					},
					delay: 2000
				},
				
				anyOtherQuestions: {
					animate: {
						left: '776px',
						top: '287px',
						opacity: 'show'
					},
					delay: 2000
				}
			},
			
			6: {
				qSeoTraining: {animate: 'initial', removing: true},
				aSeoTaining: {animate: 'initial', removing: true},
				seoTrainingBoard: {animate: 'initial', removing: true},
				seoTraining: {animate: 'initial', removing: true},
				anyOtherQuestions: {animate: 'initial', removing: true},
				
				alex: {
					animate: {
						left: '172px',
						top: '68px'
					}
				},
				
				stay: {
					animate: {
						left: '322px',
						top: '54px',
						opacity: 'show'
					},
					delay: 400
				},
				
				stayGetInTouch: {
					animate: {
						left: '330px',
						top: '111px',
						opacity: 'show'
					},
					delay: 1000
				},
				
				stayServices: {
					animate: {
						left: '332px',
						top: '144px',
						opacity: 'show'
					},
					delay: 1250
				},
				
				stayPortfolio: {
					animate: {
						left: '333px',
						top: '176px',
						opacity: 'show'
					},
					delay: 1500
				},
				
				stayBlogging: {
					animate: {
						left: '334px',
						top: '210px',
						opacity: 'show'
					},
					delay: 1750
				}
			}
		}
	});
});

})(jQuery)
