function showMonth(a,b,c,d,e,f,g,h,i,j,k,l,leftcol,rightcol,main)
{

	var current_date = new Date();
	var current_month= current_date.getMonth();
	
	if(current_month == 0)
	{
		target = document.getElementById(a);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 1)
	{
		target = document.getElementById(b);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 2)
	{
		target = document.getElementById(c);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 3)
	{
		target = document.getElementById(d);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 4)
	{
		target = document.getElementById(e);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 5)
	{
		target = document.getElementById(f);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 6)
	{
		target = document.getElementById(g);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 7)
	{
		target = document.getElementById(h);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 8)
	{
		target = document.getElementById(i);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 9)
	{
		target = document.getElementById(j);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 10)
	{
		target = document.getElementById(k);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}
		if(current_month == 11)
	{
		target = document.getElementById(l);
		target.style.display="";
		setHeight(leftcol,rightcol,main);
		return true;
	}


}



function toggle(targetid,a,b,c,d,e,f,g,h,i,j,k,leftcol,rightcol,main)
{
	
	if(document.getElementById)
	{
	
		
		target = document.getElementById(targetid);
		a = document.getElementById(a);
		b = document.getElementById(b);
		c = document.getElementById(c);
		d = document.getElementById(d);
		e = document.getElementById(e);
		f = document.getElementById(f);
		g = document.getElementById(g);
		h = document.getElementById(h);
		i = document.getElementById(i);
		j = document.getElementById(j);
		k = document.getElementById(k);
			if(target.style.display == "none")
			{
				target.style.display = "";
				a.style.display = "none";
				b.style.display = "none";
				c.style.display = "none";
				d.style.display = "none";
				e.style.display = "none";
				f.style.display = "none";
				g.style.display = "none";
				h.style.display = "none";
				i.style.display = "none";
				j.style.display = "none";
				k.style.display = "none";
				setHeight(leftcol,rightcol,main);
							
			}
			
			else
			{
				target.style.display = "none";
				a.style.display = "none";
				b.style.display = "none";
				c.style.display = "none";
				d.style.display = "none";
				e.style.display = "none";
				f.style.display = "none";
				g.style.display = "none";
				h.style.display = "none";
				i.style.display = "none";
				j.style.display = "none";
				k.style.display = "none";
				setHeight(leftcol,rightcol,main);
								
				
			}
		}
}

function togglehide(targetid,leftcol,rightcol,main)
{

	if(document.getElementById)
	{
		target = document.getElementById(targetid);
		if(target.style.display == "")
		{
			target.style.display="none";
			
			setHeight(leftcol,rightcol,main);			
		}
		else
		{
			target.style.display = "";
			
			setHeight(leftcol,rightcol,main);
			
		}
	}
}


function setHeight(firstele, secondele,thirdele)
{
	var first = document.getElementById(firstele);
	var second = document.getElementById(secondele);
	var third = document.getElementById(thirdele);
	first.style.height = 'auto';
	second.style.height = 'auto';
	third.style.height = 'auto';
	var x = first.offsetHeight;
	var y = second.offsetHeight;
	var z = third.offsetHeight;
	
	
	if((y < x) &&( z < x))
	{
		second.style.height = x + "px";
		third.style.height = x + "px";
		//first.style.height  = x + "px";
	}
	else if((x < z) && (y < z))
	{
		first.style.height = z + "px";
		second.style.height = z + "px";
	}
	
	else if(( x < y) && (z < y))
	{
		
		first.style.height = y + "px";
		third.style.height = y + 5 + "px";
		second.style.height = y  + "px";
		//second.style.height = y + "px";
				
	}
}



