/*
----------------------------------------------------------------------
  JavaScript: IE6CssFix function.
  Fixes CSS variable height display bug in IE 6.

  Sometimes IE will not draw elements that do not have a fixed
  height. This functions uses the 'zoom' CSS property workaround.
  All elements with the class 'IE6CssFix' will have their 'zoom'
  CSS property (proprietary to IE) set to '1'.

  Requires: prototype.js

  Usage: Just reference this JS file using a <script> tag.

----------------------------------------------------------------------
*/
function IE6CssFix() {

	var arr = $$( '.IE6CssFix' );
	var arr_length = arr.length;

	for ( var i = 0; i < arr_length; i++ ) {
		arr[ i ].style.zoom = '1';
	} // End for.

} // End IE6CssFix().

Event.observe( window, 'load', IE6CssFix, false );
