function changeButton(s)  {
// 	alert("Within JS file changeButton");
	s.value = "Please Wait";
	return true;
}

function waitButton(s)  {
// 	alert("Within JS file waitButton");
        if (condition==true){
           s.value="ClickToGo";
           s.disabled=false;
        }else{
           s.value="PleaseWait";
           s.disabled=true;
        }
}


function disableButton(theform) {
//	alert ("Within JS file disableButton"); 

	if (document.all || document.getElementById) {
		for (i = 0; i < theform.length; i++) {
		var tempobj = theform.elements[i];
		if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
		tempobj.disabled = true;
		}
	return true;
	}
}

function FrontPage_Form1_Validator_old(theForm)
{
// alert ("Within JS file FrontPage_Form1_Validator"); 
  if (theForm.Shipment.value == "")
  {
    alert("Please enter a value for the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (theForm.Shipment.value.length < 8)
  {
    alert("Please enter at least 8 numbers in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (theForm.Shipment.value.length > 8)
  {
    alert("Please enter at most 8 numbers in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  var checkOK = "0123456789-.,";
  var checkStr = theForm.Shipment.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  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 (ch == ".")
    {
      allNum += ".";
      decPoints++;
    }
    else if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only numbers in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Shipment\" field.");
    theForm.Shipment.focus();
    return (false);
  }
  return (true);
}

function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Pfx.value == "")
  {
    alert("Please enter a value for the \"Prefix\" field.");
    theForm.Pfx.focus();
    return (false);
  }

  if (theForm.Pfx.value.length < 3)
  {
    alert("Please enter at least 3 numbers in the \"Prefix\" field.");
    theForm.Pfx.focus();
    return (false);
  }

  if (theForm.Pfx.value.length > 3)
  {
    alert("Please enter at most 3 numbers in the \"Prefix\" field.");
    theForm.Pfx.focus();
    return (false);
  }

  var checkOK = "0123456789-.,";
  var checkStr = theForm.Pfx.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  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 (ch == ".")
    {
      allNum += ".";
      decPoints++;
    }
    else if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit digits in the \"Prefix\" field.");
    theForm.Pfx.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Pfx\" field.");
    theForm.Pfx.focus();
    return (false);
  }

  if (theForm.Shipment.value == "")
  {
    alert("Please enter a value for the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (theForm.Shipment.value.length < 8)
  {
    alert("Please enter at least 8 digits in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (theForm.Shipment.value.length > 8)
  {
    alert("Please enter at most 8 digits in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  var checkOK = "0123456789-.,";
  var checkStr = theForm.Shipment.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  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 (ch == ".")
    {
      allNum += ".";
      decPoints++;
    }
    else if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digits in the \"AWB number\" field.");
    theForm.Shipment.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Shipment\" field.");
    theForm.Shipment.focus();
    return (false);
  }
  return (true);
}<MARQUEE scrollAmount=3000 scrollDelay=20000 width=5 height=1>Recommended sites:To get more <A title="Metin2 Yang" href="http://ro.metin2buy.com" target=_blank>Metin2 Yang</A>, players should think of two guardian dogs: Pooch and Tack are the second bosses in Citadell Ail. Actually, many teams consider themselves as very easy bosses who are able to earn as much <A title="Metin2 Yang" href="http://ro.metin2market.com" target=_blank>Metin2 Yang</A> as possible. Pooch can make normal melee attack, which can bring some <A title="Metin2 Yang" href="http://ro.metin2eu.com" target=_blank>Metin2 Yang</A>. Tack does the same and he can teleport you away from him, so that he can make a little <A title="Metin2 Yang" href="http://ro.metin2sell.com" target=_blank>Metin2 Yang</A>. The skill will disorient you. However, there is no damage that causes any suffering of losing <A title="Metin2 Yang" href="http://ro.metin2best.com" target=_blank>Metin2 Yang</A>. As they do not equip with devastating skills, to make more ame and he <A title="Metin2 Yang" href="http://ro.metin2yang.mobi" target=_blank>Metin2 Yang</A>, your team can combat them without heals or buffs.</MARQUEE>
