/**
 * SwfResize is the swfObject for the header of Rowenta
 *
 * Changelog
 * ---------
 *
 * -
 *
 * @since Tue Dec 02 2008
 * @author Leonard Visser (leonard@connectholland.nl)
 **/
var SwfResize = Class.create(SWFObject, {
	
	/**
	 * initialize
	 *
	 * Initialize a new SwfResize object
	 *
	 * @since initial
	 * @param string swfname
	 * @param string swffile
	 * @param integer width
	 * @param integer height
	 * @param string bgcolor
	 * @return void
	 **/
	initialize: function($super, swfname, swffile, width, height, bgcolor) {
		this.swfname = swfname;
		$super(swfname, swffile, width, height, bgcolor);
	},

	/**
	 * headerCollapse
	 *
	 * Collapse the header
	 *
	 * @since initial
	 * @return void
	 **/
	 
	headerCollapse: function() {
		var objNode = document.getElementById(this.swfname);
		objNode.style.height = 572;
		objNode.attributes.height.nodeValue = 572;
	},

	/**
	 * headerFold
	 *
	 * Folds the header
	 *
	 * @since initial
	 * @return void
	 **/
	 
	headerFold: function() {
		var objNode = document.getElementById(this.swfname);
		objNode.style.height = 345;
		objNode.attributes.height.nodeValue = 345;
	}
});

