var flash_menu_helper = function(){};

flash_menu_helper.talk_to_me = function(x)
{
	alert("flash_menu_helper sez... " + x);	
}

flash_menu_helper.resizeElementById = function(passedElementId, passedWidth, passedHeight)
{
	var _elementId = passedElementId;
	var _width = passedWidth;
	var _height = passedHeight;
	var _element;
			//alert("flash_menu_helper resizeElementByID called... " + _elementId + passedWidth + passedHeight);


	_element = document.getElementById(_elementId);
	if ( _width != '' || _width != null)
	{
		//_element.style.width = _width + "px";
	}
	if ( _height != '' || _height != null)
	{
		_element.style.height = _height + "px";
		//alert("flash_menu_helper height called... " + x);
		
		//the following browser and version detection came from: http://www.javascriptkit.com/javatutors/navigator.shtml
		if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent) && navigator.userAgent.indexOf("Windows") != -1){ //test for Firefox/x.x or Firefox x.x 	(ignoring remaining digits);
			 var ffversion=new Number(RegExp.$1) // capture x.x portion and store as a number
			 // if the browser is FF 3 or less and the height of the div is asked to be more than 58, which is the height the flash sends to this function to close the nav and resize the div, then close the child site
			 if (ffversion<=3 && ffversion != 3.5 && _height > 58)
 				 //alert("You're using FF 3 or less");
 				window[_contentWindowMain].hideWindowSetURLVoid();
			}
	}
}