	/* Copyright (C) 2010: BeyondReason Hungary Kft, All rights reserved! - http://beyondreason.hu */
	
/*  lávalámpa menü */	
$(function() {
            $("#1, #2, #3").lavaLamp({
                fx: "backout", 
                speed: 700,
                click: function(event, menuItem) {
                    return true;
                }
            });
        });
/*  lávalámpa menü vége */

$(document).ready(function () {

		$( "#ajanlatkeres" ).validate();
		
		//transitions
		//for more transition, goto http://gsgd.co.uk/sandbox/jquery/easing/
		var style = 'easeOutElastic';

		//Retrieve the selected item position and width
		var default_left = Math.round($('#lava li.selected').offset().left - $('#lava').offset().left);
		var default_width = $('#lava li.selected').width();

		//Set the floating bar position and width
		$('#box').css({left: default_left});
		$('#box .head').css({width: default_width});

		//if mouseover the menu item
		$('#lava li').hover(function () {
			
			//Get the position and width of the menu item
			left = Math.round($(this).offset().left - $('#lava').offset().left);
			width = $(this).width(); 
		$('#debug').html(left);
			//Set the floating bar position, width and transition
			$('#box').stop(false, true).animate({left: left},{duration:1000, easing: style});	
			$('#box .head').stop(false, true).animate({width:width},{duration:1000, easing: style});	
		
		//if user click on the menu
		}).click(function () {
			
			//reset the selected item
			$('#lava li').removeClass('selected');	
			
			//select the current item
			$(this).addClass('selected');
	
		});
		
		//If the mouse leave the menu, reset the floating bar to the selected item
		$('#lava').mouseleave(function () {

			//Retrieve the selected item position and width
			default_left = Math.round($('#lava li.selected').offset().left - $('#lava').offset().left);
			default_width = $('#lava li.selected').width();
			
			//Set the floating bar position, width and transition
			$('#box').stop(false, true).animate({left: default_left},{duration:1500, easing: style});	
			$('#box .head').stop(false, true).animate({width:default_width},{duration:1500, easing: style});		
			
		});
		
	});

/*  anything slider */
 function formatText(index, panel) {
		  return index + "";
	    }
    
        $(function () {
        
            $('.anythingSlider').anythingSlider({
                easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
                autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not.
                delay: 15000,                    // How long between slide transitions in AutoPlay mode
                startStopped: false,            // If autoPlay is on, this can force it to start stopped
                animationTime: 600,             // How long the slide transition takes
                hashTags: true,                 // Should links change the hashtag in the URL?
                buildNavigation: true,          // If true, builds and list of anchor links to link to each slide
        		pauseOnHover: true,             // If true, and autoPlay is enabled, the show will pause on hover
        		startText: "Indul",             // Start text
		        stopText: "Megáll",               // Stop text
		        navigationFormatter: formatText       // Details at the top of the file on this use (advanced use)
            });
            
            $("#slide-jump").click(function(){
                $('.anythingSlider').anythingSlider(6);
            });
            
        });
/*  anything slider vége */

/*  tooltip */
		$(document).ready(function(){
			$('.tTip').betterTooltip({speed: 150, delay: 300});
		});
/*  tooltip vége */

/* pirobox */
$(document).ready(function() {
	$().piroBox({
			my_speed: 400, //animation speed
			bg_alpha: 0.3, //background opacity
			slideShow : true, // true == slideshow on, false == slideshow off
			slideSpeed : 4, //slideshow duration in seconds(3 to 6 Recommended)
			close_all : '.piro_close,.piro_overlay'// add class .piro_overlay(with comma)if you want overlay click close piroBox

	});
});
/* pirobox vége */

/* disable right click */
function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
/* disable right click end */

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(1j).1k(7(){$("a.1l").1m();$("1n.P").P({1o:Q,1p:2}).1q();$("a[1r]").1s({1t:\'#1u\',1v:\'1w\'});$("#1x").o(7(){$("#R").S("x");$("#T").U("x")});$("#1y").o(7(){$("#T").S("x");$("#R").U("x")});$().1z({1A:1B,1C:0.5,1D:4,1E:h,1F:\'1G\',1H:\'1I\',1J:\'.1K\',1L:\'1M\',1N:6});$("#1O").o(7(){$("#I").V("W","1P");$("#p").8("9","");$("#e").8("9","");$("#f").8("9","");$("#i").8("9","")});$("#1Q").o(7(){$("#y").8("9","");$("#B").8("9","")});$("#X").o(7(){g(J(\'1R\',$("#e").3())){g($("#p").3()!=0&&$("#e").3()!=0&&$("#f").3()!=0&&$("#i").3()!=0&&$("#f").3()==$("#i").3()&&$("#f").3().L>=5){u c="p="+$("#p").3()+"&e="+$("#e").3()+"&f="+$("#f").3()+"&i="+$("#i").3()+"&X=";$.Y({Z:"10",11:"12.13",14:c,15:h,16:7(a){u b=$.1S(\'1T\');g(b==1)j(\'1Uől 1V e cí1Wől már é1X Cáqó 1Yá1Z. Ké17 vá20 má21!\',\'D!\');w{$("#p").8("9","");$("#e").8("9","");$("#f").8("9","");$("#i").8("9","");$("#I").V("W","22");$("#I").M(18).N(18).M(E).N(E).M(E).N(E)}}});F h}w g($("#p").3().L==0){j(\'A név 23á24 kö25ő\',\'D!\')}w g($("#f").3().L<5){j(\'A G 19ó26 27 5 28ől 29 á2a\',\'D!\')}w g($("#f").3()!=$("#i").3()){j(\'A két G 19ó 1a 2b. 2cóbá2d 2e ú2f!\',\'D!\')}}});$("#1b").o(7(){g(J(\'2g\',$("#y").3())){g($("#y").3()!=0&&$("#B").3()!=0){u b="&e="+$("#y").3()+"&B="+$("#B").3()+"&1b=";$.Y({Z:"10",11:"12.13",14:b,15:h,16:7(a){1c.1d.1e=1c.1d.1e;$(".2h").2i()}});F h}}})});7 J(a,b){u c=/^([A-O-1f-1g\\-\\.])+\\@([A-O-1f-1g\\-\\.])+\\.([A-O-z]{2,4})$/;u d=b;g(c.2j(d)==h){j(\'A G e cím 1a 3ós. Ké17 2kí2l 2m!\',\'2n!\');F h}w F Q}7 2o(){j(\'A Cáqó2p Hősí2qük. 2rár 2sé2t a 2uü2v.\',\'1háqó Hősíté1i\')}7 2w(){j(\'A G Cáqós kód é2xé2y 2z 2A a kó2B 2C már Hősí2D Cáqó.\',\'1háqó Hősíté1i\')}',62,164,'|||val||||function|attr|value|||||email|pass1|if|false|pass2|jAlert|||||click|name|ci||||var||else|slow|emailadd|||pass|regisztr|Figyelem|400|return|megadott|meger|serverMsg|validate||length|fadeOut|fadeIn|Za|scrollable|true|engs|hide|refs|show|css|visibility|sendRegistration|ajax|type|POST|url|index|php|data|cache|success|rlek|800|jelsz|nem|sendLogin|window|location|href|z0|9_|Regisztr|se|document|ready|anchorLink|anchorAnimate|div|vertical|size|mousewheel|rel|overlay|expose|000|effect|apple|ref|eng|piroBox|my_speed|600|bg_alpha|radius|scrollImage|pirobox_next|piro_next|pirobox_prev|piro_prev|close_all|piro_close|slideShow|slideshow|slideSpeed|reg|hidden|login|regForm|cookie|regs|Err|az|mr|rkezett|hozz|nk|lassz|sikat|visible|megad|sa|telez|nak|minimum|karakterb|kell|llnia|egyezik|Pr|ld|meg|jra|loginForm|overlaylogin|unbind|test|jav|tsd|ki|Hiba|regchecktrue|dat|tett|Mostm|bel|phetsz|rendszer|nkbe|regcheckfalse|rv|nytelen|vagy|ezzel|ddal|lett|tve'.split('|'),0,{}))		
