// JavaScript Document

function removeChars(thisField)
{

var entered;
entered = theForm.loan_amount.value;
entered = entered.replace("£", "");
entered = entered.replace(",", "");
entered = entered.replace("$", "");
entered = entered.replace(".", "");
entered = entered.replace(" ", "");
thisField.value = entered;

}

function clearHelpText(thisField)
{
  if (thisField.value == thisField.defaultValue)
	{
	thisField.value = ''; 
	thisField.focus();
	}

}


function Validate(theform) 

{

//set all the bgs to white - as any mistake will be highlighted red.



//firstname

var checkDIS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.ContactName.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
		
	if (checkStr == "ContactName")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your Name");
				theform.ContactName.focus();
				theform.ContactName.style.background='#FFA74F';
				return (false);
			}


//validate Address

var checkDIS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.Address.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "Address")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your Address");
				theform.Address.style.background='#FFA74F';
				theform.Address.focus();
				return (false);
			}
			

//Email

var checkDIS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.Email.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
		
	if (checkStr == "Email")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your Email");
				theform.Email.focus();
				theform.Email.style.background='#FFA74F';
				return (false);
			}

//Question

var checkDIS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.Question.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
		
	if (checkStr == "Question")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your Question");
				theform.Question.focus();
				theform.Question.style.background='#FFA74F';
				return (false);
			}


//Validate the date of birth
/*
var checkDIS = "()+0123456789- ";

	var checkStrDob = theform.DobDay.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStrDob == "")
		allValid = false;
	if (checkStrDob == "0")
		allValid = false;
	for (i = 0; i < checkStrDob.length; i++)
		{
			ch = checkStrDob.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter day of birth");
				theform.DobDay.focus();
				//theform.DobDay.style.background='#FFA74F';
				return (false);
			}


//Validate the Month of birth

var checkDIS = "()+0123456789- ";
var allValidDate =true;
	var checkStr = theform.DobMon.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "0")
		allValid = false;
	if (checkStr == "0")
		allValid = false;
		
		//---------------------------------------------------------------------
		//Date of birth according to month
		//---------------------------------------------------------------------
		if (checkStr == "2" || checkStr == "4" || checkStr == "6" || checkStr == "9" || checkStr == "11")
			{
				
			if (checkStr == "2")
			{
				if (checkStrDob == "29")
					allValidDate = false;
				if (checkStrDob == "30")
					allValidDate = false;
				if (checkStrDob == "31")
					allValidDate = false;
			}
			if (checkStr == "4")
			{
				if (checkStrDob == "31")
					allValidDate = false;
			}
			if (checkStr == "6")
			{
				if (checkStrDob == "31")
					allValidDate = false;
			}
			if (checkStr == "9")
			{
				if (checkStrDob == "31")
					allValidDate = false;
			}
			if (checkStr == "11")
			{
				if (checkStrDob == "31")
					allValidDate = false;
			}
			
				if (!allValidDate)
						{
							alert("Please select a valid date of birth");
							theform.DobDay.focus();
							//theform.DobMon.style.background='#FFA74F';
							return (false);
						}
			}
					
		//-----------------------------------------------------------------------
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)

				allValid = false;

			if (!allValid)
			{
				alert("Please enter Month of birth");
				theform.DobMon.focus();
				//theform.DobMon.style.background='#FFA74F';
				return (false);
			}


//Validate the year of birth

var checkDIS = "()+0123456789- ";

	var checkStr = theform.DobYear.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "")
		allValid = false;
if (checkStr == "0")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter year of birth");
				theform.DobYear.focus();
				//theform.DobYear.style.background='#FFA74F';
				return (false);
			}
*/

//validate street
/*
var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.street.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "house no & street")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter street");
				theform.street.style.background='#FFA74F';
				theform.street.focus();
				return (false);
			}
			
			
			

			
			//validate city

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,'- ";

	var checkStr = theform.city.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "city")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your City");
				theform.city.style.background='#FFA74F';
				theform.city.focus();
				return (false);
			}
			
			*/
			
//validate postcode

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,- ";

	var checkStr = theform.postcode.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "postcode")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your postcode");
				theform.postcode.style.background='#FFA74F';
				theform.postcode.focus();
				return (false);
			}
			
//validate foundedaddress


	var checkDIS = "()+0123456789- ";

	var checkStr = theform.foundedaddress.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "Select")
		allValid = false;

	if (checkStr == "0")
		allValid = false;
		
	
	
			if (!allValid)
			{
				alert("Please select your address from the list");
				theform.foundedaddress.focus();
				//theform.title.style.background='#FFA74F';
				return false;
			}

			
//validate HomeTel

var checkDIS = "()+0123456789- ";

	var checkStr = theform.daytime_phone.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "")
		allValid = false;

	if (checkStr.length < 8)
		allValid = false;
  
if (checkStr == "daytime_phone")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter a Daytime Telephone Number (Please ensure it is valid)");
				theform.daytime_phone.focus();
				theform.daytime_phone.style.background='#FFA74F';
				return (false);
			}


			
//validate HomeTel

var checkDIS = "()+0123456789- ";

	var checkStr = theform.evening_phone.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

if (checkStr.length < 8)
		allValid = false;
		
	if (checkStr == "")
		allValid = false;

if (checkStr == "evening_phone")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter an Evening Telephone Number (Please ensure it is valid)");
				theform.evening_phone.focus();
				theform.evening_phone.style.background='#FFA74F';
				return (false);
			}



//validate Email

var checkDIS = "-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_@.";

	var checkStr = theform.Email.value;

	var allValid = true;

	var atSign = false;

	var dotOk = false;

	if (checkStr == "")
		allValid = false;
		
		if (checkStr == "you@here.co.uk")
		allValid = false;
		

	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if ((ch == "@") && (i > 0))
				atSign = true;

			if ((ch == ".") && (atSign == true) && (i < (checkStr.length - 1)))
				dotOk = true;

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;

			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!dotOk)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter a valid Email Address i.e. j.smith@somewhere.co.uk");
				theform.Email.focus();
				theform.Email.style.background='#FFA74F';
				return (false);
			}


return (true);

}



function Validate2(theform) 

{

//Validate tenant

	var checkDIS = "()+0123456789- ";

	var checkStr = theform.tenanttype.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "Select")
		allValid = false;

	if (checkStr == "0")
		allValid = false;
	
			if (!allValid)
			{
				alert("Please select tenant type");
				theform.tenanttype.focus();
				return false;
			}


//Validate mt

	var checkDIS = "()+0123456789- ";

	var checkStr = theform.month_time.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "MM")
		allValid = false;


	
			if (!allValid)
			{
				alert("Please select months at residence");
				theform.month_time.focus();
				return false;
			}
			

//Validate yt

	var checkDIS = "()+0123456789- ";

	var checkStr = theform.year_time.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "YY")
		allValid = false;

	
			if (!allValid)
			{
				alert("Please select years at residence");
				theform.year_time.focus();
				return false;
			}
			



//Validate rent

var checkDIS = "()+0123456789£,- ";

	var checkStr = theform.monthlyrent.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

if (checkStr == "rent/month (£)")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)

				allValid = false;

			if (!allValid)
			{
				alert("Please enter monthly rent");
				theform.monthlyrent.focus();
				return (false);
			}



//Validate the Month of birth

var checkDIS = "()+0123456789£,- ";

	var checkStr = theform.tax.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

if (checkStr == "")
		allValid = false;
		
if (checkStr == "council tax (£)")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)

				allValid = false;

			if (!allValid)
			{
				alert("Please enter your council tax amount");
				theform.tax.focus();
				return (false);
			}



var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.bank.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "bank name")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your bank details");
				theform.bank.focus();
				return (false);
			}
			
			
			

//validate Question

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.Question.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "Question")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your Question");
				theform.Question.focus();
				return (false);
			}
			
//validate street

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.job.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "job title")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your job title");
				theform.job.focus();
				return (false);
			}
			
			


//Validate rent

var checkDIS = "()+0123456789£,- ";

	var checkStr = theform.income.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

if (checkStr == "income/yr (£)")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)

				allValid = false;

			if (!allValid)
			{
				alert("Please enter annual income");
				theform.income.focus();
				return (false);
			}


//Validate yt

	var checkDIS = "()+0123456789- ";

	var checkStr = theform.time_job_m.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "MM")
		allValid = false;

	
			if (!allValid)
			{
				alert("Please select months at work");
				theform.time_job_m.focus();
				return false;
			}
			


//Validate yt

	var checkDIS = "()+0123456789- ";

	var checkStr = theform.time_job_y.value;
	//alert(checkStr);
	
	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "YY")
		allValid = false;

	
			if (!allValid)
			{
				alert("Please select years at work");
				theform.time_job_y.focus();
				return false;
			}
			
			
//validate street

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.street.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "house no & street")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter street");
				theform.street.focus();
				return (false);
			}
			
			
			

			
			//validate city

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.city.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "city")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your City");
				theform.city.focus();
				return (false);
			}
			
			
			
//validate postcode

var checkDIS = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ";

	var checkStr = theform.postcode.value;

	var allValid = true;

	if (checkStr == "")
		allValid = false;
if (checkStr == "postcode")
		allValid = false;
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);
			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}
			if (!allValid)
			{
				alert("Please enter your postcode");
				theform.postcode.focus();
				return (false);
			}


//validate HomeTel

var checkDIS = "()+0123456789- ";

	var checkStr = theform.emp_phone.value;

	var allValid = true;

	var openBrace = false;

	var closeBrace = false;

	if (checkStr == "")
		allValid = false;

if (checkStr == "contact tel")
		allValid = false;
		
	for (i = 0; i < checkStr.length; i++)
		{
			ch = checkStr.charAt(i);

			if (ch == "(")
				openBrace = true;

			if ((ch == ")") && !openBrace)
			{
				allValid = false;
				break;
			}

			if (ch == ")")
			{
				closeBrace = true;
				openBrace = false;
			}

			if ((ch == "+") && (i != 0))
			{
				allValid = false;
				break;
			}

			for (j = 0; j < checkDIS.length; j++)

			if (ch == checkDIS.charAt(j))
					break;
			if (j == checkDIS.length)
			{
				allValid = false;
				break;
			}
		}

			if (openBrace)
				allValid = false;

			if (!allValid)
			{
				alert("Please enter a number for your employer");
				theform.emp_phone.focus();
				return (false);
			}





return (true);

}



