function Validate()
{
console.log("kkkk");
alert("pppp");
var pgng = document.getElementById("ContentPlaceHolder1_txtUsername").value.trim();
alert(pgng=='');
console.log(pgng);
if (document.getElementById("ContentPlaceHolder1_txtUsername").value.trim() == '') {
alert('The textbox should not be empty...');
document.getElementById("ContentPlaceHolder1_txtUsername").focus();
return false;
}
return false;
}