	var LB_actualheight;
	var LB_current_div;
	function  LB_init(divid)
	{
		//alert("trying to set Initial props for " +divid);
		try{
			if(document.getElementById(divid).offsetHeight)
			{
				LB_actualheight=document.getElementById(divid).offsetHeight;
				//alert(LB_actualheight);
			}
			else
			{
		
				LB_actualheight=140;
		
				//alert("i am unable to find the height of "+ divid);
			}
			
			/*if (divid=='login-div')
			{
				LB_actualheight=219;
			}*/
			
			//alert ("trying to set height of div to 0");
			document.getElementById(divid).style.height=0+'px';
			document.getElementById(divid).style.display="none";
		}
		catch(e)
		{
			//LB_actualheight=300;
			//alert(e);
		}
		//alert(LB_actualheight);

	}
	var LB_i=0;

	function LB_show(divid,top)
	{
		if(divid)
		{
			LB_current_div=divid;
		}
	
		var divid=LB_current_div;
		
		document.getElementById(divid).style.height=LB_i+'px';
		
		document.getElementById(divid).style.display="block";
		
		LB_i=LB_i+15;
		if(LB_i<LB_actualheight)
		{
			setTimeout("LB_show()",1);
		}
		else
		{
			document.getElementById(divid).style.height=LB_actualheight+'px';
		}
		//alert(document.getElementById(divid).style.height);
	}

	var LB_j=0;
	function LB_hide(divid)
	{
		try{
			if(divid)
			{
				LB_current_div=divid;
			}
			divid=LB_current_div;
			//alert('Trying to hide '+ divid);
			if(document.getElementById(divid).offsetHeight)
			{
				LB_j=document.getElementById(divid).offsetHeight;
				if(LB_j>0)
				{
					LB_j=LB_j-15;
				}
				if(LB_j<=0)
				{
					LB_j=0;
					LB_i=0;
					//alert("setting height to 0");
					document.getElementById(divid).style.height=0+'px';
					document.getElementById(divid).style.display="none";
				
					//document.getElementById(divid).style.top=-85+'px';
					//alert("successfully set height to 0");
				}
				else
				{
					document.getElementById(divid).style.height=LB_j+'px';
					setTimeout("LB_hide()",0);
				}
			}
	
		}catch(e)
		{
			//alert(e);
		}
	}

