// JavaScript Document

//Javascript ask confirmation on deletion client record 
function confirm_delete(a)
{
 	var where_to= confirm("Are you sure do you want to delete client ID " + a + "?");
 	if (where_to== true)
 	{
   	window.location="deleterecord.php?clientid=" + a;
 	}
 	else
 	{
		// do nothing
	}
}

//Javascript ask confirmation on sending login details to client 
function confirm_send(a)
{
 	var where_to= confirm("Are you sure do you want to send login details to this client ID " + a + "?");
 	if (where_to== true)
 	{
   	window.location="viewrecord.php?senddetails=ok&id=" + a;
 	}
 	else
 	{
		// do nothing
	}
}
