///////////////////////////////////////////////////////////////////
// Popup window function
	function basicPopup(url) {
popupWindow = window.open(url,'popUpWindow','height=650,width=850,left=50,top=10,resizable=yes,scrollbars=yes,toolbar=no,menubar=yes,location=no,directories=no, status=no');
	}
///////////////////////////////////////
// Remove Alert function
function deleteAlert(name,id){
	var conBox = confirm("Are you sure you want to delete: " + name);
	if(conBox){ 
		location.href="?del="+ id + "&mode=remove";
	}else{
		return;
	}
}
///////////////////////////////////////////////////////////////////
				function checkIt(evt) 
				{
					evt = (evt) ? evt : window.event
					var charCode = (evt.which) ? evt.which : evt.keyCode
					if (charCode > 31 && (charCode < 48 || charCode > 57)) 
					{
						//alert("Mobile number can only be numbers.");
						return false
					}
					return true
				}
				function checkItCharac(evt) 
				{
					evt = (evt) ? evt : window.event
					var charCode = (evt.which) ? evt.which : evt.keyCode
					if (charCode > 31 && (charCode >= 65 || charCode <= 90) || (charCode >= 97 || charCode <= 122)) 
					{
						//alert("Mobile number can only be numbers.");
						return false
					}
					return true
				}
///////////////////////////////////////////////////////////////////
