BLTwitter=new Object();
BLTwitter.tweet=function(message){
	this.api=new BLXMLAPI('twitter/tweet');
	this.api.setCallBack(this.onfinish,this);
	this.api.run({"message":message});
}

BLTwitter.onfinish=function(){
	if (this.api.errors.count>0){
		new BLError(SL_ERROR_WARNING,'Tweet Failed.');
	}else{
		new SLNotification('tweet successfull');
	}
}