//redimensionnement de l'iframe
autoHeightIframe = {
	auto_height_iframe : function(){
			if (self != parent) {
				var i = parent.document.getElementById(window.name);
				if (i) {
					var bodyH = document.body.scrollHeight;
					//var bodyW = document.body.scrollWidth;
					var de = document.documentElement || document.body;
					var docH = de.scrollHeight;
					//var docW = de.scrollWidth;
					
					i.style.height = Math.max(bodyH, docH) + 'px';
					//i.style.width = Math.max(bodyW, docW) + 'px';
				}
			}
		}
},
	
document.observe("dom:loaded",function() {
	autoHeightIframe.auto_height_iframe();
	
});

