function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != "function") {
     window.onload = func;
  } else {
     window.onload = function() {
        if (oldonload) {
           oldonload();
        }
        func();
     };
  }
}

/* Replacement calls. Please see documentation for more information. */
function replace(){
	//alert("aaa "+rootPath);
	var t = location.search;
	//var qs = new Querystring();
	//var v_1 = qs.get('gege' );
if (!t) {	
  if(typeof sIFR == "function"){
    sIFR.replaceElement(named({sSelector:".iframe h1", nPaddingRight:20, nPaddingLeft:20,sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:"h1", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:".latestNewsRss h2 span", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:".newsList h2 span", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:".releaseList h2 span", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:"h5", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
    sIFR.replaceElement(named({sSelector:"h6", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
	sIFR.replaceElement(named({sSelector:".banner", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#ffffff"}));
	sIFR.replaceElement(named({sSelector:".Titre_vert", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
	//sIFR.replaceElement(named({sSelector:".TitleSE sIFR-replaced .sIFR-alternate", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#ff0000"}));
    sIFR.replaceElement(named({sSelector:".sTitre_gris", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#777777"}));
	 sIFR.replaceElement(named({sSelector:".sTitre_vert", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#4fa600"}));
	sIFR.replaceElement(named({sSelector:"p.chapter_title", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#ffffff"}));
    sIFR.replaceElement(named({sSelector:".header span.title_header", sFlashSrc:rootPath+"typo_fla/seoptimistic-normal.swf", sWmode:"transparent", sColor:"#009530"}));
    sIFR.replaceElement(named({sSelector:".shortTeaser .title", sFlashSrc:rootPath+"typo_fla/seoptimistic-bold.swf", sWmode:"transparent", sColor:"#ffffff"}));
  }
}
}

addLoadEvent(replace);
//window.setTimeout("addLoadEvent(replace)", 1);
