$(function () {

/* bootstrap slider */
	$('.carousel').carousel({
		interval: false
        //interval: 4000

	})

/* Animate css wow */
	var wow = new WOW(
		{
			boxClass: 'wow',      // animated element css class (default is wow)
			animateClass: 'animated', // animation css class (default is animated)
			offset: 50,          // distance to the element when triggering the animation (default is 0)
			mobile: false       // trigger animations on mobile devices (true is default)
		}
	);
	wow.init();

	SmoothScroll({
		frameRate: 300,
		animationTime: 400,
		stepSize: 100,
		pulseAlgorithm: 1,
		pulseScale: 4,
		pulseNormalize: 1,
		accelerationDelta: 50,
		accelerationMax: 3,
		keyboardSupport: 1,
		arrowScroll: 50,
		fixedBackground: 0,
});	


/* show/off */
$(window).scroll(function () {
	var secpage01 = ($('#designconcept').offset().top) - 100;
	var secpage02 = ($('#airchannel').offset().top) - 100;
	
	var nowscrollVal = $(this).scrollTop();
		
	if (nowscrollVal < secpage01) {
		$("#performance").fadeIn(1);	
	}
	if (nowscrollVal > secpage01) {
		$("#performance").fadeOut();
	}	
	
	if (nowscrollVal < secpage02) {
		$("#AORUSModelS").fadeIn(1);	
	}
	if (nowscrollVal > secpage02) {
		$("#AORUSModelS").fadeOut();
	}
	
	
	
	});
	



$(".hybrihover01").hover(
	function () {
		$(".hybrihover01 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/FI27Q-X.png");
	}, function () {
		$(".hybrihover01 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/FI27Q-X-b.png");
});	


$(".hybrihover02").hover(
	function () {
		$(".hybrihover02 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/AORUS-K1.png");
	}, function () {
		$(".hybrihover02 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/AORUS-K1-b.png");
});	


$(".hybrihover03").hover(
	function () {
		$(".hybrihover03 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/AORUS-M5.png");
	}, function () {
		$(".hybrihover03 img").attr("src", "/FileUpload/Global/KeyFeature/2100/innergigabyteimages/AORUS-M5-b.png");
});	





});

