function check_email(email)

{  

	try

	{

		invalid = " /:,;";

		if(email == "")

			return false;

		for(i=0; i < invalid.length; i++)

		{

			bad = invalid.charAt(i);

			if (email.indexOf (bad, 0) != -1)

				return false;

		}

		at = email.indexOf("@", 0);

		if( (at == -1) || (at == 0) )

			return false;

		if(email.indexOf("@", at+1) != -1)

			return false;

		period = email.indexOf(".", at);

		if( (period == -1) || (period == at+1))

			return false;

		if(period+3 > email.length == -1)

			return false;

		return true;

	}catch(err){ return true;}

}


function goMov(url){
  location.href=url
}

function putpage( act, nr)

{

	try

	{

		document.getElementById('insertto').value = act;

		document.getElementById('mformularz').action = 'formularz.html?pagenr='+nr;

		document.getElementById('mformularz').submit();

	}catch(err){ alert(err); return true;}

}

