// animacja rybki w logo:
//	langs==1 - pokaż języki do wyboru
function Logo(langs, anim){
 	with(vlay.logo){
 		if (langs > 0) {
	 		with(vlay.flagi){
		 		vkf({top:110, vopacity:0},1);
				vkf({vopacity:100},50);
		 		van.go=true
		 	}
		}
 		vkf({top:15,left:700,vopacity:0},1);
 		vkf({},20);
 		vkf({left:500,vopacity:10},3);
 		vkf({left:200,vopacity:20},6);
 		vkf({left:10,vopacity:40},10);
 		vkf({vopacity:100},30);
		van.UDF='ramka(' + anim + ')';
 		van.go=true
 	}
	STPE.go('',1,true)
}

// animacja logo:
function ramka(anim){
	with(vlay.line){
 		vkf({top:0, vopacity:0},1);
 		vkf({top:80, vopacity:80},20);
 		van.go=true
 	}
 	if (anim == 1) {
	 	with(vlay.line2){
	 		van.mode='ping';
	 		vkf({top:80, vopacity:0},1);
	 		vkf({},20);
			vkf({top:-10, vopacity:60},60);
	 		van.go=true
		}
	}
	else {
		with(vlay.line2){
	 		vkf({top:80, vopacity:0},1);
	 		vkf({},20);
			vkf({top:-10, vopacity:60},40);
			vkf({top:80, vopacity:0},40);
	 		van.go=true
		}
	}
 	with(vlay.nazwa){
 		vkf({top:20, vopacity:0},1);
 		vkf({},30);
		vkf({vopacity:100},20);
 		van.go=true
 	}
 }


