code: function tip(type, name) {
  	var tip,title;
  	switch(type){
  		case 'online':
  			tip = name + ' is online now.';
  			title = 'Online Notify';
  			break;
  		case 'offline':
  			tip = name + ' is offline now.';
  			title = 'Offline Notify';
  			break;
  		case 'message':
  			tip = name + ' is saying now.'
  			title = 'Message Notify';
  			break;
  	}
  	var pop=new Pop(title, tip);
  }
docs: show tip