// Simulate placeholder on appropriate elements
YUI.hho.instance.use('node', function(Y) {
	Y.on(
		'contentready',
		function() {
			if (Y.UA.ie < 7 && Y.UA.ie > 0) {
				var fixFrame = Y.Node.create('<iframe id="dropdownfix" src="javascript:\'&lt;html&gt;&lt;/html&gt;\';" scrolling="no" frameborder="0" style="position:absolute;border:none;z-index:0;"></iframe>');
				fixFrame.hide();
				Y.one('body').insert(fixFrame);
				Y.on(
					'mouseover',
					function() {
						Y.later(
							1,
							this,
							function() {
								var childUL = this.one('ul');
								var ulWidth = childUL.get('offsetWidth');
								var ulHeight = childUL.get('offsetHeight');
								fixFrame.show();
								fixFrame.setStyle('width',ulWidth + 'px');
								fixFrame.setStyle('height',ulHeight + 'px');
								fixFrame.setX(childUL.getX());
								fixFrame.setY(childUL.getY());
							}
						);
					},
					'#top .nl li.parent'
				);
				Y.on(
					'mouseout',
					function() {
						fixFrame.hide();
					},
					'#top .nl li.parent'
				);
			}
		},
		'#top ul.nl'
	);
});

