/** swfHeader, by Øyvind Nordhagen, http://www.oyvindnordhagen.com/blog
  *
  * Used in conjuction with a swf-file containing a simple textfield styled
  * with the headline font of your choice and SwfHeader.as as document class.
  *
  * This produces a headline in a custom font that scales to fit the text.
  * Use swfObject (http://blog.deconcept.com/swfobject/) to embed the swf on the page.
  *
  * FlashVars to swfObject:
  *
  *		Use syntax: so.addVariable("variable", "value");
  *
  *		@param		text		Headline text						Mandatory 
  *		@param		size 		Size of the headline text 			Optional, defaults to size in Fla text field
  *		@param		color 		Color (HEX) of the headline text 	Optional, defaults to color in Fla text field
  *		@param		maxWidth	Maximum width of swfHeader			Optional, recommended
  *		@param		maxHeight	Maximum height of swfHeader			Optional, wraps to maxWidth and scales in height if omitted or set to null
  */
  
function resizeSwfHeader(movieName, newWidth, newHeight)
{
	var swf = document.getElementById(movieName);
	swf.width = newWidth;
	swf.height = newHeight;
	
}
