
function notification(title,message,type,timer)
{

   $.notify({
      title:title,
      message:message
   },
   {
      type:type,
      allow_dismiss:false,
      newest_on_top:false ,
      mouse_over:false,
      showProgressbar:false,
      spacing:10,
      timer:timer,
      placement:{
        from:'top',
        align:'right'
      },
      offset:{
        x:3,
        y:30
      },
      delay:1000 ,
      z_index:10000,
      animate:{
        enter:'animated bounce',
        exit:'animated bounce'
    }
  });

}