// JavaScript Document
//Chk the White space in the Text Fields.
function isWhitespace(s)
{
   var i;
   for (i = 0; i < s.length; i++)
   {
		// Check that current character isn't whitespace.
		var c = s.charAt(i);
		if(c!=" ")
		return false;
   }
   // All characters are whitespace.
   return true;
}
//-----------------------------------------------------------------------------------------------
function Validation_PTL(myform){

	if (isNaN(myform.Price_Form.value)==true) {
		alert("Please enter numeric value only in 'Max rent per month' field.")
		myform.Price_Form.focus();
		return false;
	}
	
	return true;
}
function Validation_IP(myform){

	if (isNaN(myform.Rental_RecORExp_Form.value)==true) {
		alert("Please enter numeric value only in 'Rental Price Being received / Expected' field.")
		myform.Rental_RecORExp_Form.focus();
		return false;
	}
	
	return true;
}

//-----------------------------------------------------------------------------------------------
function ShowCompleteNotice(NBID){
	window.open('NoticBoardPopup.asp?NBID='+NBID+'','NoticeBoard','scrollbars=yes, width=570, height=550, top=20px, left=20px');		
}
//-----------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------------------