 function selectRequired (selectedCountry, selectedArea )
{
     countryObj = document.myform.country;
     for (i = 0; i<countryObj.options.length; i++)
     {
          if(countryObj.options[i].value == selectedCountry)
          {
               countryObj.options[i].selected = true;
          }
     }
     areaObj = document.myform.area;
      areaInd = -1;

areaObj = document.myform.area;
      areaInd = -1;
     for (i = 0; i<areaObj.options.length; i++)
     {
          if(areaObj.options[i].value == selectedArea)
          {
               areaObj.options[i].selected = true;
                  areaInd = i;
          }
     }      
}
function ClearBox()
	{

		if (document.getElementById("property_code").value == "Property no.")
		{
			document.getElementById("property_code").value = "";
			document.getElementById("property_code").className = "PropCodeSearchForm"
		}
	}
function ClearBox2()
	{

		if (document.getElementById("username").value == "Username")
		{
			document.getElementById("username").value = "";
			document.getElementById("username").className = "PLadvertSignin2"
		}
	}
function ClearBox3()
	{

		if (document.getElementById("password").value == "Password")
		{
			document.getElementById("password").value = "";
			document.getElementById("password").className = "PLadvertSignin3"
		}
	}		
function ClearBox4()
	{

		if (document.getElementById("min_price").value == "Min")
		{
			document.getElementById("min_price").value = "";
			document.getElementById("min_price").className = "MainSearchFromDate"
		}
	}
function ClearBox5()
	{

		if (document.getElementById("max_price").value == "Max")
		{
			document.getElementById("max_price").value = "";
			document.getElementById("max_price").className = "MainSearchFromDate"
		}
	}		