function checkSlash (text)
{
	if (text.indexOf("\\") == -1)
	{
		return false;
	}
	return true;
}


function checkBlank (text)
{
	if (text == "")
	{
		return true;
	}
	return false;
}

function checkIsInteger (value)
{
	if (isNaN(value))
	{
		return false;
	}
	else
	{
		return true;
	}

}

function invalidDate (dateString)
{
	//alert ("Hello world again");
	var temp = dateString;
	var daysInMonth = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
	var year = temp.substring(0, temp.indexOf("-"));
	//alert (year);
	temp = temp.substr (temp.indexOf("-")+1);
	//alert (temp);
	var month = temp.substring(0, temp.indexOf("-"));
	//alert (month);
	var month = parseInt(month,10);
	//alert(month);
	temp = temp.substr (temp.indexOf("-")+1);
	//alert (temp);
	day = parseInt(temp,10)
	//alert ("Month = " + month + ", Day = " + day + ", Year = " + year);
	if (year % 4 == 0)
	{
	 daysInMonth[1]=29;
	}
	if (month >= 1 && month <= 12)
	{
		if (day >= 1 && day <= daysInMonth[month-1])
		{
			return false;
		}
	}
	return true;
}
