// JavaScript Document

Cufon('#menu li a, .bejcim, .bannertartcim, .bannertartcimb, h2, .litext, .litextb, .szbr, .szolginfo, .nav a,',{textShadow:'#000 1px 1px',hover:true});$(document).ready(function(){var browserName=$.browser.name;var browserVersion=$.browser.version;var NameVersion=browserName+browserVersion;if(NameVersion=="msie7.0"){$('.szolglista li').css({opacity:1,position:"relative"});}$(".litext, .litextb").rotate(270);$jq('.formular, .bannertart, .bannertartb, .slider, .tart, .tartb, .tartkapcsolat, .termekek, .link, .page, .pageb, .pagec, #harmonika, #harmonikamanikur, #harmonikaarlista, #harmonikafodraszat, .darken, .dragger, .nav').animate({boxShadow:'0 0 15px #000'},0);$jq('#menu, .banner').animate({boxShadow:'0 0 15px #000'},0);$jq('.tobbinfobt').animate({boxShadow:'4 4 8px #000'},0);$jq('.oldaltart').animate({boxShadow:'0 0 15px #000'},0);$jq('.bejelentkezes_bt').animate({boxShadow:'0 0 15px #000'},0);$jq('.facebook_bt').animate({boxShadow:'0 0 15px #000'},0);$('.slider li').css({position:'absolute',opacity:0});$('.darkenhover, .darkenbhover').css({opacity:0});$('.slider .slidercurrent, #menu li').css({opacity:1});$('.akciopage').delay(1000).animate({right: -35},700);$(".gallerycon, .ad-gallery, .gallbthover").stop().css({opacity:0});$(".ad-gallery").css({height:0});$jq('#menu li.menuli_current').animate({zIndex:10,boxShadow:'0 0 15px #000',top: -10,paddingTop:"10px",height:"60px",width:"130px",marginLeft:"-5px"},0);$jq("#menu li").mouseover(function(){if(!$jq(this).hasClass('menuli_current')){$jq(this).stop().animate({zIndex:20,boxShadow:'0 0 15px #000',top: -10,paddingTop:"10px",height:"60px",width:"130px",marginLeft:"-5px"},150);}else{}});$jq("#menu li").mouseout(function(){if(!$jq(this).hasClass('menuli_current')){$jq(this).stop().animate({zIndex:0,boxShadow:'0 0 0px #000',top:0,paddingTop:"0px",height:"50px",width:"120px",marginLeft:"0px"},150);}else{}});$(".bejelentkezes_bt").click(function(){if($(".bejelentkezes").hasClass('current')){$(".close_bt",this).stop(true,false).hide();$(".bejelentkezes").removeClass("current").stop(true,false).animate({left:'-200px'},{duration:400,easing:'easeOutBack'});$(".facebook_bt").stop(true,false).animate({right:'0px'},{duration:400,easing:'easeOutBounce'});}else{$(".close_bt",this).stop(true,false).show();$(".bejelentkezes").addClass("current").stop(true,false).animate({left:'0px'},{duration:400,easing:'easeOutBounce'});$(".facebook_bt").stop(true,false).animate({right:'50px'},{duration:400,easing:'easeOutBounce'});}});$(".bejelentkezes_bt").mouseover(function(){if(!$(".bejelentkezes").hasClass('current')){$(".bejelentkezes").stop(true,false).animate({left: -190},{duration:200,easing:'easeOutBack'}).animate({left: -200},{duration:400,easing:'easeOutBounce'})}});$(".facebook_bt").click(function(){if($(".facebook").hasClass('current')){$(".close_bt",this).stop(true,false).hide();$(".facebook").removeClass("current").stop(true,false).animate({left:'-200px'},{duration:400,easing:'easeOutBack'});$(".bejelentkezes_bt").stop(true,false).animate({right:'0px'},{duration:400,easing:'easeOutBounce'});}else{$(".close_bt",this).stop(true,false).show();$(".facebook").addClass("current").stop(true,false).animate({left:'0px'},{duration:400,easing:'easeOutBounce'});$(".bejelentkezes_bt").stop(true,false).animate({right:'50px'},{duration:400,easing:'easeOutBounce'});}});$(".facebook_bt").mouseover(function(){if(!$(".facebook").hasClass('current')){$(".facebook").stop(true,false).animate({left: -190},{duration:200,easing:'easeOutBack'}).animate({left: -200},{duration:400,easing:'easeOutBounce'})}});$(".pageb").click(function(){if($(this).hasClass('current')){$(this).removeClass("current").stop(true,true).animate({marginRight:0},{duration:1000,easing:'easeOutQuint'});$(this).prevAll("div").removeClass("current").stop(true,true).animate({marginRight:0},{duration:1000,easing:'easeOutQuint'});}else{$(this).nextAll("div").addClass("current").stop(true,true).animate({marginRight:500},{duration:1000,easing:'easeOutQuint'});}if(NameVersion=="msie8.0"||NameVersion=="msie7.0"){$(".akciopage").stop(true,true).animate({opacity:"hide",right:0},{duration:800});$(".darken").not($(".darken",this)).stop(true,true).show();$(".darken",this).stop(true,true).hide();$(".akciopage",this).stop(true,true).animate({opacity:"show",right: -35},{duration:900});}else{$(".akciopage").stop(true,true).animate({opacity:"hide",right:0},{duration:800});$(".darken").not($(".darken",this)).stop(true,true).animate({right:0,opacity:"show"},{duration:700});$(this).children(".darken").stop(true,true).animate({right: -80,opacity:"hide"},{duration:400});$(".akciopage",this).stop(true,true).animate({opacity:"show",right: -35},{duration:900});}});$(".pagec").click(function(){if($(this).hasClass('current')){$(this).removeClass("current").stop(true,true).animate({marginRight:0},{duration:1000,easing:'easeOutQuint'});$(this).prevAll("div").removeClass("current").stop(true,true).animate({marginRight:0},{duration:1000,easing:'easeOutQuint'});}else{$(this).nextAll("div").addClass("current").stop(true,true).animate({marginRight:460},{duration:1000,easing:'easeOutQuint'});}if(NameVersion=="msie8.0"||NameVersion=="msie7.0"){$(".darkenb").not($(".darkenb",this)).stop(true,true).show();$(".darkenb",this).stop(true,true).hide();}else{$(".darkenb").not($(".darkenb",this)).stop(true,true).animate({right:0,opacity:"show"},{duration:700});$(this).children(".darkenb").stop(true,true).animate({right: -40,opacity:"hide"},{duration:400});}});$(".litext").mouseenter(function(){$(this).prev('.darkenhover').stop(true,true).animate({opacity:1},500);});$(".litext").mouseleave(function(){$(this).prev('.darkenhover').stop(true,true).animate({opacity:0},500);});$(".litextb").mouseenter(function(){$(this).prev('.darkenbhover').stop(true,true).animate({opacity:1},500);});$(".litextb").mouseleave(function(){$(this).prev('.darkenbhover').stop(true,true).animate({opacity:0},500);});$(".szolglista li").mouseover(function(){$("a",this).stop(true,true).animate({left:10,color:"#FFFFFF"},{duration:500,easing:'easeOutExpo'});});$(".szolglista li").mouseout(function(){$("a",this).stop(true,true).animate({left:0,color:"#ED049D"},{duration:500,easing:'easeOutExpo'});});$(".scrollUpBtn").mouseover(function(){$(this).stop().animate({top: -15,width:30,height:30,right: -5},150).animate({top: -13,width:26,height:26,right: -3},200);});$(".scrollUpBtn").mouseout(function(){$(this).stop().animate({width:20,height:20,right:0,top: -10},150);});$(".scrollDownBtn").mouseover(function(){$(this).stop().animate({bottom: -15,width:30,height:30,right: -5},150).animate({bottom: -13,width:26,height:26,right: -3},200);});$(".scrollDownBtn").mouseout(function(){$(this).stop().animate({width:20,height:20,right:0,bottom: -10},150);});$(".tobbinfobt").mouseover(function(){$(this).stop().animate({left:15,backgroundColor:"#CCC",color:"#000"},250).animate({left:10},150);});$(".tobbinfobt").mouseout(function(){$(this).stop().animate({left:0,backgroundColor:"#BB1B73",color:"#FFF"},350);});$(".gallbthover").click(function(){$(".gallerycon").stop().animate({opacity:0.95,top:0},300);$(".ad-gallery").stop().delay(500).animate({opacity:1,top:100,height:700},{duration:1000,easing:'easeOutBounce'});});$(".galleryclosebt").click(function(){$(".ad-gallery").stop().animate({opacity:0,top:1000,height:0},500);$(".gallerycon").stop().delay(500).animate({opacity:0,top:'120%'},300);});$(".gallbthover").mouseover(function(){$(".gallbthover").stop().animate({opacity:1},500);});$(".gallbthover").mouseout(function(){$(".gallbthover").stop().animate({opacity:0},500);});$('#tobbinfo3d').click(function(e){e.preventDefault();$('#modalis3d').reveal({animation:'fade',closeonbackgroundclick:false});});$('#akciobanner3dszem').click(function(e){e.preventDefault();$('#modalis3d').reveal({animation:'fade',closeonbackgroundclick:false});});$('#tobbinfobiomely').click(function(e){e.preventDefault();$('#modalisbiomely').reveal({animation:'fade',closeonbackgroundclick:false});});$('#tobbinfobynature').click(function(e){e.preventDefault();$('#modalisbynature').reveal({animation:'fade',closeonbackgroundclick:false});});$('#akciobannerbynature').click(function(e){e.preventDefault();$('#modalisbynature').reveal({animation:'fade',closeonbackgroundclick:false});});$('.reemail').css({opacity:0});$('.reemail').animate({opacity:1},1500);$('.reemail').delay(5000).fadeOut();});
