//redimensionnement de l'iframe

//détection IE6


function auto_height_iframe() {

	if (self != parent) {
		var i = parent.document.getElementById(window.name);
		
		if (i) {
			var bodyH = document.body.scrollHeight;
			var de = document.documentElement || document.body;
			var docH = de.scrollHeight;
			
			
			if(navigator.appName == 'Microsoft Internet Explorer' && document.getElementById('hightlight')!= 'undefined'){
					i.style.height = Math.max(bodyH+70, docH+70) + 'px';
			}
			else i.style.height = Math.max(bodyH, docH) + 'px';
		}
	}
} 
