function confirmDelete(msg,url){
Check = confirm(msg);
 if(Check != false) 
 window.location.href=url;
}