// JavaScript Document
function MenuMouseOver(El,subFolder)
{
	if (subFolder == null)
	{
		El.src=globalIncludePath+'general/'+El.id+'-roll.gif';
	}
	else
	{
		El.src=globalIncludePath+subFolder + '/'+El.id+'-roll.gif';
	}
}
function MenuMouseOut(El,subFolder)
{
	if (subFolder == null)
	{
		El.src=globalIncludePath+'general/'+El.id+'-rest.gif';
	}
	else
	{
		El.src=globalIncludePath+subFolder + '\/'+El.id+'-rest.gif';
	}
}
function GotoURL(pageName)
{
	window.location =pageName;
}

 function openWindow(wnd, _width, _height)
      {
      posx = (screen.width)  ? (screen.width-_width)/2   : 0;
      posy = (screen.height) ? (screen.height-_height)/2 : 0;
      settings = 'height='+_height+', width='+_width+', top='+posy+', left='+posx+', scrollbars=yes, resizable=yes, alwaysRaised=yes'
      win = window.open(wnd, 'popwindow', settings)
      if(win.window.focus)
      {
      win.window.focus();
      }
      }

      function showBlock(id)
      {
      document.getElementById(id).style.display = 'block';
      }

      function hideBlock(id)
      {
      document.getElementById(id).style.display = 'none';
      }