<!-- The following JavaScript was written by Sirbular for the YA RLY Lite Message Boards //-->

<!-- Show The Quick Post Box //-->
YAHOO.namespace('show.anim');
YAHOO.show.anim.init = function() {
   var attributes = {
	  opacity: { to: 1 }
   };
	
   var anim = new YAHOO.util.Anim('quickreply', { height: {to: 230} });
   var qr_show = new YAHOO.util.Anim('quickreply2', attributes, 1, YAHOO.util.Easing.easeOut);
   
   var styleZ = document.getElementById('quickreply').style;
   var com_style = document.getElementById('quickreply2').style;
   
   var animate = function(e) {
	  styleZ.visibility = "visible";
	  anim.animate();
	  anim.duration = .3;
	  com_style.visibility = "visible";
	  anim.onComplete.subscribe(qr_show.animate());
	  qr_show.duration = .3;
	  return false;
   };
   
   var oElement = document.getElementById("ShowQP"); 
   YAHOO.util.Event.addListener(oElement, 'click', animate);
};

YAHOO.util.Event.addListener(window, 'load', YAHOO.show.anim.init);


<!-- Hide The Quick Post Box //-->
YAHOO.namespace('hide.anim');
YAHOO.hide.anim.init = function() {
   var attributes = {
	  opacity: { to: .3 }
   };
	
   var hide_anim = new YAHOO.util.Anim('quickreply', { height: {to: 0} });
   var qr_hide = new YAHOO.util.Anim('quickreply2', attributes, 1, YAHOO.util.Easing.easeOut);
   
   var styleZ = document.getElementById('quickreply').style;
   var com_style = document.getElementById('quickreply2').style;
   var com_bx_height = document.getElementById('quickreply').style;
   
   var animate = function(e) {
	  hide_anim.animate();
	  styleZ.visibility = "hidden";
	  com_style.visibility = "hidden";
	  return false;
   };
   
   var oElement = document.getElementById("HideQP"); 
   YAHOO.util.Event.addListener(oElement, 'click', animate);
};

YAHOO.util.Event.addListener(window, 'load', YAHOO.hide.anim.init);


<!-- Blah blah auto show the thingy //-->
function ieQhide(){
	var quickReply_holder = document.getElementById('quickreply');
	var quickReply_form = document.getElementById('quickreply2');
	var quickReply_link = document.getElementById('quickreply_hide');

	quickReply_holder.style.visibility = 'visible';
	quickReply_form.style.visibility = 'visible';
	quickReply_link.style.display = 'none';
}