	/////////////////////////////////////////////////////
	//
	// toggleMenu : toggle a web part up/down
	//
	/////////////////////////////////////////////////////
  function toggleMenu(menuImage, toggleContainerName)
  {
    var container = document.getElementById(toggleContainerName);
   
    if (container != null)
    {

	    if (container.style.display == "none")
	    {
		    menuImage.src = "images/hide.gif";
		    container.style.display= "inline";
	    } 
	    else
	    {
		    menuImage.src = "images/show.gif";
		    container.style.display= "none";
	    }
    }
  }

	/////////////////////////////////////////////////////
	//
	// creditvoid : Replace with more generic method
	//
	// show url in small simple window
	//
	/////////////////////////////////////////////////////
	function creditvoid(url) 
	{
		creditvoid_window=window.open(url,'creditvoid_window','width=320,height=420,toolbar=0,location=0,menubar=0,status=0,scrollbars=0,resizable=0,directories=0');
		creditvoid_window.focus();
	}

	/////////////////////////////////////////////////////
	//
	// openFullWindow 
	//
	// show url in specific size simple window
	// with only the scrollbar and resizable
	//
	/////////////////////////////////////////////////////
	function openFullWindow(url, w, h) 
	{
		new_window=window.open(url,'new_window','width=' + w + ',height=' + h + ',toolbar=0,location=0,menubar=0,status=0,scrollbars=1,resizable=1,directories=0');
		new_window.focus();
	}
	
	/////////////////////////////////////////////////////
	//
	// openFullWindowNoScroll
	//
	// show url in specific size simple window without
	// any browser features turned on.
	//
	/////////////////////////////////////////////////////
	function openFullWindowNoScroll(url, w, h) 
	{
		new_window=window.open(url,'new_window','width=' + w + ',height=' + h + ',toolbar=0,location=0,menubar=0,status=0,scrollbars=0,resizable=0,directories=0');
		new_window.focus();
	}

	/////////////////////////////////////////////////////
	//
	// openWindow 
	//
	// show url in specific size simple window
  //
	/////////////////////////////////////////////////////
	function openWindow(url, w, h) 
	{
		new_window=window.open(url,'new_blank_window','width=' + w + ',height=' + h + ',toolbar=1,location=1,menubar=1,status=1,scrollbars=1,resizable=1,directories=0');
		new_window.focus();
	}
	
	/////////////////////////////////////////////////////
	//
	// openPropertyPage
	//
	// used to open our web forms of type "property page" 
	// windows
  //
	/////////////////////////////////////////////////////
  function openPropertyPage(url, w, h) 
  {
    new_window=window.open(url,'web_prop_page','width=' + w + ',height=' + h + ',toolbar=0,location=0,menubar=0,status=0,scrollbars=0,resizable=0,directories=0');
    new_window.focus();
  }

	/////////////////////////////////////////////////////
	//
	// hover
	//
	// manage the style of the item being hovered, 
	// and accept the hover help message to displayed
	// while being hovered
  //
	/////////////////////////////////////////////////////
  function hover(obj)
  {
    // do not destroy the selected Item
    if ( obj.className == 'selectedMenuItem' )
        obj.className = 'selectedMenuItemHover'
    else
        obj.className = 'menuHover';
        
//    displayHoverHelp(helpmsg);
  }

	/////////////////////////////////////////////////////
	//
	// hoverOff
	//
	// reset the original style of the item after the
	// user has moved off the control. Clear the last
	// hover help item
  //
	/////////////////////////////////////////////////////
  function hoverOff(obj)
  {
    if ( obj.className == 'selectedMenuItemHover' || obj.className == 'selectedMenuItem' )
      obj.className = 'selectedMenuItem';
    else
      obj.className = 'mainMenuOptionText';
      
    //clearHoverHelp();
  }

