function expand(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuHover";
  d.className = "menuHover";
}

function collapse(s)
{
  var td = s;
  var d = td.getElementsByTagName("div").item(0);

  td.className = "menuNormal";
  d.className = "menuNormal";
}

function take_w()
{
	var w = 0;
	//IE
	if(!window.innerWidth)
	{
		//strict mode
		if(!(document.documentElement.clientWidth == 0))
		{
			w = document.documentElement.clientWidth;
		}
		//quirks mode
		else
		{
			w = document.body.clientWidth;
		}
	}
	//w3c
	else
	{
		w = window.innerWidth;
	}
	return (w);
}

function take_h()
{
	var h = 0;
	//IE
	if(!window.innerWidth)
	{
		//strict mode
		if(!(document.documentElement.clientWidth == 0))
		{
			h = document.documentElement.clientHeight;
		}
		//quirks mode
		else
		{
			h = document.body.clientHeight;
		}
	}
	//w3c
	else
	{
		h = window.innerHeight;
	}
	return (h);
}

function tellmonth()
{
	var todaydate=new Date();
	var curmonth=todaydate.getMonth()+1 ;
	if (curmonth < 10) 
		return ('0' + curmonth);
	else
		return (curmonth);
}

function show_month()
{
	var my_month=new Date()
	var month_name=new Array(12);
	month_name[0]="January"
	month_name[1]="February"
	month_name[2]="March"
	month_name[3]="April"
	month_name[4]="May"
	month_name[5]="June"
	month_name[6]="July"
	month_name[7]="August"
	month_name[8]="September"
	month_name[9]="October"
	month_name[10]="November"
	month_name[11]="December"
	return (month_name[my_month.getMonth()]); 
}
