				function validateElement(thisElement, message){
					with(thisElement){
						if(value == null || value == ""){
							alert(message);
							return false;
						} else
							return true;
					}
				}

				function getValue(thisField){
					with(thisField){
						if(value == null || value == "")
							return 0;
						else
							return value;
					}
				}

				function validatePtyForm(thisForm){
					with(thisForm){
						if(validateElement(ptyName, "Property name is required!") == false){
							ptyName.focus();
							return false;
						}
					}
				}

				function validateSearchForm(thisForm){
					with(thisForm){
						if(validateElement(saleType, "List Type is required!") == false){
							saleType.focus();
							return false;
						}
					}
				}
