function btnShow()
{
 var timer;
 var timer2;
 var obj = document.getElementById("FloatDiv");
 if (obj.style.display == "block")
 {
  obj.style.display = "none"; 
 }
 else
 {  
  obj.style.display = "block";
  obj.style.top = document.body.scrollTop + 20;
  setInterval("play()", 10); 
 }
}
function play()
{
 var obj = document.getElementById("FloatDiv");
 obj.style.top = document.body.scrollTop + document.body.clientHeight - obj.offsetHeight;
}
function DivCloseTime()
{
 var obj = document.getElementById("FloatDiv");
 if (obj.offsetHeight <= 19)
 {
  clearInterval(timer);
 }  
 var height = obj.offsetHeight;
 obj.style.height = height - 1;
}
function DivClose()
{
 obj =document.getElementById("FloatDiv");
 if (obj.offsetHeight >= 50)
 {
  timer = setInterval("DivCloseTime()", 15); 
 }
 else
 {
  return false;
 }
}
function DivShowTime ()
{
 var obj = document.getElementById("FloatDiv");
 if (obj.offsetHeight >= 72)
 {
  clearInterval(timer2);
 }
 var height = obj.offsetHeight;
 obj.style.height = height + 1;
}
function DivShow ()
{
 timer2 = setInterval("DivShowTime()", 15);
}