function menuShow(obj,maxh,obj3)
{
  if(obj.style.pixelHeight<maxh)
  {
    obj.style.pixelHeight+=maxh/5;
	obj.filters.alpha.opacity+=100;
     if(obj.style.pixelHeight==maxh/5)
	  obj.style.display='block';
	myObj=obj;
	myMaxh=maxh;
	myObj3=obj3;
	setTimeout('menuShow(myObj,myMaxh,myObj3)','5');
  }
}
function menuHide(obj,maxh,obj3)
{
  if(obj.style.pixelHeight>0)
  {
    if(obj.style.pixelHeight==maxh/5)
	  obj.style.display='none';
    obj.style.pixelHeight-=maxh/5;
		obj.filters.alpha.opacity-=20;
	myObj=obj;
	myMaxh=maxh;
	myObj3=obj3;
	setTimeout('menuHide(myObj,myMaxh,myObj3)','5');
}
  else
    if(whichContinue)
	  whichContinue.click();
}
function menuChange(obj,maxh,obj3)
{
  if(obj.style.pixelHeight)
  {
    menuHide(obj,maxh,obj3);
	whichOpen='';
	whichcontinue='';
  }
  else
    if(whichOpen)
	{
	  whichContinue=obj3;
      whichOpen.click();
	}
	else
	{
	  menuShow(obj,maxh,obj3);
	  whichOpen=obj3;
	  whichContinue='';
	}
}

function swapit(content,pic,url)
{

 if (content.style.display=="none")
  {
     pic.src="/images/l_menu_point0"+url+".gif"; }
}

//
var times =1000;
function formIsAlive() {
	if (document.forms["search"]) {
		document.forms["search"].method="get";
	} else {
		if (times<5) {
			setTimeout("formIsAlive()",100);
			times++;
		}
	}
}
formIsAlive();

