show_step=5;	//5	//кратное x_max
hide_step=2;	//2	//кратное x_max
show_timeout=10;	//10
hide_timeout=10;	//10
x1=1;
x_min1=1;
x_max1=110;
flog_show1=0;
flog_hide1=0;

function action1() {
   if ((flog_show1==0) & (flog_hide1==0) & (x1==x_min1)) {
         flog_show1=1;
         show1();
   }
   if ((flog_hide1==0) & (flog_show1==0) & (x1==x_max1+1)) {
         flog_hide1=1;
         hide1();
   }
}

function show1() {
   x1=x1+show_step;
   document.getElementById("vopros1").style.height=x1;
         if (x1<x_max1) {
               setTimeout("show1();", show_timeout);
         } else {
               flog_show1=0;
         }
}

function hide1() {
   x1=x1-hide_step;
   document.getElementById("vopros1").style.height=x1;
         if (x1>x_min1) {
               setTimeout("hide1();", hide_timeout);
         } else {
               flog_hide1=0;
         }
}
