/**
 * @author syming
 */
function ShowButtonBox(id,btsn)
{
	var msgbox = id;
	var actionurl = siteurl + '/ajax.php?p=show_button';
	var QString = '&BTSN='+btsn;
	if ($(id).style.display == 'none') {
		ajax = new Ajax.Updater(msgbox, actionurl, {
			method: 'post',
			postBody: QString,
			onComplete: function(){
				new Effect.Appear(msgbox, {
					duration: 1,
					from: 0,
					to: 1
				});
			},
			asynchronous: true,
			evalScripts: true
		});
	}else
	{
		new Effect.Fade(id,{duration:0.2});
	}//end if
};//end func
