document.write("<link rel=stylesheet type='text/css' href='/ManpowerFrStatic/interimaire/css/home-interimaire.css'>");	

var currentScrollWidth;
/*
 *	Execution du redimensionnement des iframes
 */
 function ajustIFrameSizeInParentWindow()
 {
	try {
             
	if (parent.adjustIFrameSize) {
        	var iframeElement = parent.document.getElementById(window.name);

        	if(!iframeElement  && document.all) {
            		var iframeElement = parent.document.all[window.name];
        	}

		if (iframeElement) {
        		if (window.document.compatMode && window.document.compatMode != 'BackCompat') {
            			iframeElement.style.height = window.document.documentElement.scrollHeight + 5 + 'px';
            			iframeElement.style.width = window.document.documentElement.scrollWidth + 5 + 'px';      		
				} else {

						var ua = navigator.userAgent.toLowerCase();
						MSIE = ua.indexOf("msie")>-1;
						if (MSIE) {
							iframeElement.style.height = window.document.body.scrollHeight + 5 + 'px';
							iframeElement.style.width = window.document.body.scrollWidth + 5 + 'px';
						} else {
							iframeElement.style.height = window.document.body.offsetHeight + 20 + 'px';
							if ( (window.document.body.scrollWidth) !=  (currentScrollWidth)) {
	            				iframeElement.style.width = window.document.body.scrollWidth + 5 + 'px';
	            				currentScrollWidth = window.document.body.scrollWidth;
	            			}
						}
				}
		}
	}	

	} catch (err) {} 
	// DO NOTHING : Juste pour ne pas avoir d'erreur javascript
	setTimeout("ajustIFrameSizeInParentWindow()", 500);
 }
 
window.onload = ajustIFrameSizeInParentWindow;

