// JavaScript Document

/*window.onload = hide_footer();
function hide_footer()
{
	var div_link = document.getElementById("links_bottom").style.backgroundColor;
	alert(div_link);
}*/

window.onload = alertSize();
function alertSize() 
{
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) 
  {
   //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  //window.alert( 'Width = ' + myWidth );
  //window.alert( 'Height = ' + myHeight);
  document.getElementById('tab_al').style.height = myHeight +'px';
}



function menu_list(show_menu)
{
	document.getElementById('menu').style.display = show_menu;
}
function sub_menu_show(sub_menu_name)
{	
	document.getElementById('link3').className = 'link_hover';
	document.getElementById(sub_menu_name).style.display = 'block';
}
function sub_menu_hide(sub_menu_name)
{	
	document.getElementById('link3').className = 'link';
	document.getElementById(sub_menu_name).style.display = 'none';
}