function do_onload(id,cible){
	
//----------DYNAMIC----------------
getElementbyClass("switchcontent")
//--------------------------
	
	
	
var cookiecheck=false;
if (enablepersistence) {
var cookiename=(typeof persisttype!="undefined" && persisttype=="sitewide")? cookieBase+id : window.location.pathname+id
cookiecheck=window.get_cookie && get_cookie_tab(cookiename).indexOf("|")!=-1
}
collecttablinks_tab(id)
initTabcolor=cascadedstyle_tab(tabobjlinks[id][1], "backgroundColor", "background-color")
initTabpostcolor=cascadedstyle_tab(tabobjlinks[id][0], "backgroundColor", "background-color")
if (enablepersistence && cookiecheck) {
// alert("persistence");
if (typeof enablepersistence!="undefined" && enablepersistence && cookiecheck){
var cookieparse=get_cookie_tab(cookiename).split("|")
var whichtab=cookieparse[0]
var tabcontentid=cookieparse[1]
}
if (whichtab!="undefined"){
expandcontent_tab(tabcontentid, tabobjlinks[id][whichtab],cible,id)
}else{
expandcontent_tab(initialtab[id][1], tabobjlinks[id][initialtab[id][0]-1],cible,id)
}
}else{
// alert("pas de persistence");
expandcontent_tab(initialtab[id][1], tabobjlinks[id][initialtab[id][0]-1],cible,id)
}
}

