var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		pre_quiSom_over = newImage('../images/quiSom-over.jpg');
		pre_immo_over = newImage('../images/immo-over.jpg');
		pre_entreprise_over = newImage('../images/entreprise-over.jpg');
		pre_Aero_over = newImage('../images/Aero-over.jpg');
		pre_pro_over = newImage('../images/pro-over.jpg');
		pre_contact_over = newImage('../images/contact-over.jpg');
		preloadFlag = true;
	}
}
/************************/
/****correction pour IE afin d'intégrer les img au format png*******************/
function IE_CorrectAlpha_PNG(){
for(i=0; i<document.images.length; i++){
img    = document.images[i];
imgExt  = img.src.substring(img.src.length-3, img.src.length);
imgExt  = imgExt.toUpperCase();
if (imgExt == "PNG"){
imgID    = (img.id) ? "id='" + img.id + "' " : "";
imgClass= (img.className) ? "class='" + img.className + "' " : "";
imgTitle= (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
imgStyle= "display:inline-block;" + img.style.cssText;
if (img.align == "left") { imgStyle = "float:left;"  + imgStyle; } else if (img.align == "right"){ imgStyle = "float:right;" + imgStyle; }
if (img.parentElement.href)   { imgStyle = "cursor:hand;" + imgStyle; }       
strNewHTML    = '<span '+imgID+imgClass+imgTitle+' style="width:'+img.width+'px; height:'+img.height+'px;'+imgStyle+';'+'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img.src+'\', sizingMethod=\'scale\');"></span>';
img.outerHTML = strNewHTML;
i = i-1;
}}}
window.attachEvent("onload", IE_CorrectAlpha_PNG);