	var actualheight;
	var current_div;
	function  init(divid)
	{
	//alert("trying to set Initial props for " +divid);
	try{
	if(document.getElementById(divid).offsetHeight)
	{
		actualheight=document.getElementById(divid).offsetHeight;
		
	}
	else
	{
		actualheight=175;
		//alert("i am unable to find the height of "+ divid);
	}
	
	if (divid=='login-div')
		{
			actualheight=175;
			//alert(actualheight);
		}
	//alert ("trying to set height of div to 0");
	
	document.getElementById(divid).style.height=0+'px';
	document.getElementById(divid).style.display="none";
	}
	catch(e)
	{
	//actualheight=300;
	//alert(e);
	}
	//alert(actualheight);

	}
	var i=0;
	function show(divid,top)
	{
	if(divid)
	{
	current_div=divid;
		
	if(current_div=='login-div')
	{
	actualheight=220;
	//alert(divid);
	}
	if(current_div=='login-div1')
	{
	actualheight=175;
	//alert(divid);
	}
	//else
	//	{
	if(current_div=='login-div2')
	{
	actualheight=175;
		//alert(divid);
	}
	}
	var divid=current_div;
	document.getElementById(divid).style.display="block";
	document.getElementById(divid).style.height=i+'px';
	i=actualheight;
		//i=i+15;
	if(i<actualheight)
	{
	setTimeout("show()",1);
	}
	else
	{
	document.getElementById(divid).style.height=actualheight+'px';
	//alert(divid);
	}
	}

	var j=0;
	function hide(divid)
	{
	try{
	if(divid)
	{
	current_div=divid;
	}
	divid=current_div;
		//alert('Trying to hide '+ divid);
	if(document.getElementById(divid).offsetHeight)
	{
	j=document.getElementById(divid).offsetHeight;
	j=0;
		//if(j>0)
		//{
		//j=j-15;
		//}
	if(j<=0)
	{
	j=0;
	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=j+'px';
	setTimeout("hide()",1);
	}
	}
	}catch(e)
	{
	//alert(e);
	}
	}

