﻿$(document).ready(function () {
    $('#fullpage').fadeIn(1200);
	
	$(".bezar").click(function() {
      $(this).parent().slideUp("slow");
    });
      
});



function lenyit(id)
{
    $('#'+id).slideToggle(200);
}

function mutat(id)
{
    $('#'+id).show(100);
}

function rejt(id)
{
    $('#'+id).hide(100);
}

function check_field() {
lenyit('notify-message');
}

          
  
function indextitle1()
{
    $('.indextext').fadeIn(500);
}
function indextitle2()
{
    $('.indextext-karrier').fadeIn(500);
}
function indextube()
{
    $('.indextube').fadeIn(500);
}		
function indexlanguage()
{
    $('.indexlanguage').fadeIn(500);
	$('.topv').fadeIn(850);
	$('.latogat').fadeIn(850);	
}	






function locationhu2()
{
	window.location.href='site.php?p=bemutatkozas&lang=hu';
}
function locationhu()
{
    $('.indexcont').fadeOut(500);
	$('.latogat').fadeOut(500);
	setTimeout("locationhu2()",502);	
}	


function locationde2()
{
	window.location.href='site.php?p=bemutatkozas&lang=de';
}
function locationde()
{
    $('.indexcont').fadeOut(500);
	setTimeout("locationde2()",502);	
}	

function locationen2()
{
	window.location.href='site.php?p=bemutatkozas&lang=en';
}
function locationen()
{
    $('.indexcont').fadeOut(500);
	setTimeout("locationen2()",502);	
}	



function reload(){
$('.indextext').fadeOut(50);
$('.indextext-karrier').fadeOut(50);	

setTimeout("indextitle1()",0);
setTimeout("indextitle2()",300);	      
setTimeout("reload()",15000);
}
