function RandNames(){var ludzie_1 = new Array("Ab", "Ac", "Ad", "Af", "Agr", "Ast", "As", "Al", "Adw", "Adr", "Ar", "Bo", "Br", "Bon", "Can", "Ced", "Cr", "Ch", "Cad", "Dah", "Dym", "Dra", "Dwi", "Eber", "Ed", "Eth", "Et", "Er", "El", "Eow", "Fal", "Fr", "Ger", "Gr", "Gret", "Gal", "Hod", "Hel", "Her", "Ha", "Ibn", "Jer", "Klar", "Ka", "Kir", "Ked", "Liut", "Loth", "Lar", "Leg", "May", "Mehl", "Mir", "Nath", "Nyd", "Ol", "Oc", "On", "Pav", "Pr", "Raf", "Rh", "Ryd", "Sath", "Sob", "Sev", "Teo", "Tro", "Tha", "Val", "Vayne", "Yen", "Yark", "Zyv", "Uhl", "Wan", "Wic");var ludzie_2 = new Array("gart", "hard", "erad", "enen", "kan", "ed", "id", "ay", "ard", "ian", "il", "emen", "er", "era", "ela", "holt", "enda", "era", "enna", "iss", "ald", "alt", "ira", "ila", "nin", "ik", "nik", "ilia", "rond", "old", "za", "av", "om", "ryk", "es", "os", "iks", "iel");var ludzie = new Array(ludzie_1[Math.round(Math.random()*(77 - 1))] + ludzie_2[Math.round(Math.random()*(38 - 1))]);var sosaria_1 = new Array("Bel", "Lu", "Dant", "Bla", "Tal", "Chal", "Rhag", "Hord", "Meib", "Colo", "Hyph", "Ver", "Kola", "Kyth", "Lave", "Tig", "Aven", "Kyl", "My", "Ang", "Dil", "Sar", "Bip", "Gold", "Silver", "Ruby", "Jap", "Flant", "Nys", "Nil", "Amil", "Lip", "Jem", "Timo", "Est", "Esmer", "Proc", "Marc", "Pseud", "Aga", "Khaz", "Ach", "Peri", "Art", "Fall", "Ka", "Miy", "Bik", "Mik", "Cind", "Wol", "Ray", "Hal", "Rob", "Timm", "Bokas", "Asilo", "Zort", "Nogli", "Sedi", "Werpol", "Dinrep", "Shine", "Caplon", "Verilo", "Besid", "Hage", "Cunpol", "Deriter", "Sawan", "Pesidon", "Moswad", "Fiphi", "Serfigen", "Cerwegan", "Lyni", "Jikpol", "Quinn", "Roy", "Dese", "Verti", "Wodsaf", "Lanep");var sosaria_2 = new Array("stye", "illon", "hawk", "ilo", "ker", "yanki", "zuz", "ius", "ven", "isab", "lay", "vitch", "hut", "mmer", "cobs", "ving", "rol", "light", "kall", "ven", "sharr", "cil", "unube", "ahm", "lino", "iba", "ivo", "filo", "avo", "ilo", "dsa", "jako", "mina", "-Cuir", "lion", "maker", "ong", "tram", "icule", "scire", "philus", "wacs", "ham", "olite", "ka", "mythe", "pil", "renite", "ra", "hun", "deswer", "sertoplak", "vertino", "kalap", "janal", "nipfit", "aragipo", "gafvab", "kilor", "zanio", "wasio", "slin", "til", "hustil", "lisdo", "wesdon", "werjon", "kryon", "kit", "max", "walk", "zaredo", "kibilo", "wemep", "yeter", "wilkan", "likasio", "dil", "lin", "swern", "ilip", "hasad", "cerion", "sawern", "terop", "sanio", "pilion");var sosaria = new Array(sosaria_1[Math.round(Math.random()*(83 - 1))] + sosaria_2[Math.round(Math.random()*(87 - 1))]);var wyborfunc = new Array(ludzie, sosaria);document.reg.player.value = (wyborfunc[Math.round(Math.random()*1)]);}	$(document).ready(function() {		//Set Default State of each portfolio piece		$(".paging").show();		$(".paging a:first").addClass("active");					//Get size of images, how many there are, then determin the size of the image reel.		var imageWidth = $(".window").width();		var imageSum = $(".image_reel img").size();		var imageReelWidth = imageWidth * imageSum;				//Adjust the image reel to its new size		$(".image_reel").css({'width' : imageReelWidth});				//Paging + Slider Function		rotate = function(){				var triggerID = $active.attr("rel") - 1; //Get number of times to slide			var image_reelPosition = triggerID * imageWidth; //Determines the distance the image reel needs to slide			$(".paging a").removeClass('active'); //Remove all active class			$active.addClass('active'); //Add active class (the $active is declared in the rotateSwitch function)						//Slider Animation			$(".image_reel").animate({ 				left: -image_reelPosition			}, 500 );					}; 				//Rotation + Timing Event		rotateSwitch = function(){					play = setInterval(function(){ //Set timer - this will repeat itself every 3 seconds				$active = $('.paging a.active').next();				if ( $active.length === 0) { //If paging reaches the end...					$active = $('.paging a:first'); //go back to first				}				rotate(); //Trigger the paging and slider function			}, 7000); //Timer speed in milliseconds (3 seconds)		};				rotateSwitch(); //Run function on launch				//On Hover		$(".image_reel a").hover(function() {			clearInterval(play); //Stop the rotation		}, function() {			rotateSwitch(); //Resume rotation		});					//On Click		$(".paging a").click(function() {				$active = $(this); //Activate the clicked paging			//Reset Timer			clearInterval(play); //Stop the rotation			rotate(); //Trigger rotation immediately			rotateSwitch(); // Resume rotation			return false; //Prevent browser jump to link anchor		});				});				function info_msg()		{			var f = document.forms.reg;			mail = document.getElementById("email").value;			if (f.player.value == "" || f.password.value == "" || f.vpassword.value == "" ||		f.email.value=="" || f.zywiol.value=="")			{				alert('Wypełnij wszystkie pola!'); return;			}			if (f.password.value.length < 6)			{				alert('Twoje hasło musi się składać z conajmniej 6 znaków!'); return;			}			if (f.password == f.vpassword)			{				alert('Podane hasła nie są identyczne!'); return;			}			if (f.player.value.length > 16)			{				alert('Twoje nazwa może miec maksymanlnie 16 znaków!'); return;			}			if (f.email.length == "")			{				alert('Wpisz poprawny e-mail!'); return;			}			if (mail.indexOf('@') < 0 && mail.indexOf('.') < 0)			{			alert("Wpisz poprawny e-mail!"); return;			}			if (f.plec.checked == false)			{				alert('Musisz wybrać płeć!'); return;			}			f.submit();		}
