function conteneur(nUrl,nAncre,nIdSite, nNode) {
this.monUrl = nUrl;
this.monAncre = nAncre;
this.monIdSite = nIdSite;
this.monNode = nNode;
}
var tab_Ancre = new Array(new conteneur(	"/", 	"", 	"1", 	"0") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/", 	"Mieux_nous_connaitre", 	"1", 	"1000") , 
new conteneur(	"/latecoere/Communication_financiere/", 	"Communication_financiere", 	"1", 	"1001") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/", 	"Nos_domaines_d_expertise", 	"1", 	"1002") , 
new conteneur(	"/latecoere/Emplois_et_stages/", 	"Emplois_et_stages", 	"1", 	"1003") , 
new conteneur(	"/latecoere/Contact/", 	"Contact", 	"1", 	"1004") , 
new conteneur(	"/latecoere/Breves_marketing/", 	"Breves_marketing", 	"1", 	"1005") , 
new conteneur(	"/latecoere/plan_du_site/", 	"plan_du_site", 	"1", 	"1006") , 
new conteneur(	"/latecoere/liens_utiles/", 	"liens_utiles", 	"1", 	"1007") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Historique/", 	"Historique", 	"1", 	"1008") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Organisation_et_Implantations/", 	"Organisation_et_Implantations", 	"1", 	"1009") , 
new conteneur(	"/en/Financial_information/Key_figures/Balance_sheet/", 	"Balance_sheet", 	"2", 	"1165") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Organisation_et_Implantations/Implantations/", 	"Implantations", 	"1", 	"1141") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/", 	"Aerostructure", 	"1", 	"1015") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/", 	"Cablage", 	"1", 	"1016") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Ingenierie_et_services/", 	"Ingenierie_et_services", 	"1", 	"1017") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/Fuselages/", 	"Fuselages", 	"1", 	"1018") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/Portes/", 	"Portes", 	"1", 	"1019") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/Avions_d_affaires/", 	"Avions_d_affaires", 	"1", 	"1020") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/Systemes/", 	"Systemes", 	"1", 	"1021") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Aerostructure/Activites_des_sites_LATECOERE/", 	"Activites_des_sites_LATECOERE", 	"1", 	"1022") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/Harnais_electriques/", 	"Harnais_electriques", 	"1", 	"1023") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/Meubles_electriques/", 	"Meubles_electriques", 	"1", 	"1024") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/Cablage_spatial/", 	"Cablage_spatial", 	"1", 	"1025") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/Activites_des_sites_LATelec/", 	"Activites_des_sites_LATelec", 	"1", 	"1026") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Ingenierie_et_services/Ingenierie/", 	"Ingenierie", 	"1", 	"1027") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Ingenierie_et_services/Activites_des_sites_LATecis/", 	"Activites_des_sites_LATecis", 	"1", 	"1028") , 
new conteneur(	"/latecoere/Emplois_et_stages/offres_d_emploi/", 	"offres_d_emploi", 	"1", 	"1029") , 
new conteneur(	"/latecoere/Emplois_et_stages/offres_de_stage/", 	"offres_de_stage", 	"1", 	"1030") , 
new conteneur(	"/latecoere/Communication_financiere/Actualites/", 	"Actualites", 	"1", 	"1031") , 
new conteneur(	"/latecoere/Communication_financiere/Chiffres_cles/", 	"Chiffres_cles", 	"1", 	"1032") , 
new conteneur(	"/latecoere/Communication_financiere/Publications/", 	"Publications", 	"1", 	"1033") , 
new conteneur(	"/latecoere/Communication_financiere/Actionnariat/", 	"Actionnariat", 	"1", 	"1034") , 
new conteneur(	"/latecoere/Communication_financiere/Agenda/", 	"Agenda", 	"1", 	"1035") , 
new conteneur(	"/latecoere/ELEMENTS_GABARITS/", 	"ELEMENTS_GABARITS", 	"1", 	"1036") , 
new conteneur(	"/latecoere/ELEMENTS_GABARITS/GAB_HOME/", 	"GAB_HOME", 	"1", 	"1037") , 
new conteneur(	"/latecoere/ELEMENTS_GABARITS/GAB_01/", 	"GAB_01", 	"1", 	"1038") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Developpement_durable/", 	"Developpement_durable", 	"1", 	"1039") , 
new conteneur(	"/latecoere/Communication_financiere/Vie_du_titre/Operations/", 	"Operations", 	"1", 	"1156") , 
new conteneur(	"/latecoere/Emplois_et_stages/Candidature_spontanee/", 	"Candidature_spontanee", 	"1", 	"1042") , 
new conteneur(	"/latecoere/GRAPH/", 	"GRAPH", 	"1", 	"1161") , 
new conteneur(	"/en/GRAPH/", 	"GRAPH", 	"2", 	"1162") , 
new conteneur(	"/en/Financial_information/Shareholders/", 	"Shareholders", 	"2", 	"1163") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Implantations_et_cooperations/", 	"Implantations_et_cooperations", 	"1", 	"1055") , 
new conteneur(	"/en/About_us/", 	"About_us", 	"2", 	"1056") , 
new conteneur(	"/en/Financial_information/", 	"Financial_information", 	"2", 	"1057") , 
new conteneur(	"/en/Core_Businesses/", 	"Core_Businesses", 	"2", 	"1058") , 
new conteneur(	"/en/Jobs_and_internships/", 	"Jobs_and_internships", 	"2", 	"1059") , 
new conteneur(	"/en/Contact/", 	"Contact", 	"2", 	"1060") , 
new conteneur(	"/en/Breves_marketing/", 	"Breves_marketing", 	"2", 	"1061") , 
new conteneur(	"/en/Site_map/", 	"Site_map", 	"2", 	"1062") , 
new conteneur(	"/en/Links/", 	"Links", 	"2", 	"1063") , 
new conteneur(	"/en/About_us/History/", 	"History", 	"2", 	"1064") , 
new conteneur(	"/en/About_us/Governance/", 	"Governance", 	"2", 	"1065") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/", 	"Aerostructures", 	"2", 	"1071") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/", 	"Onboard_wiring", 	"2", 	"1072") , 
new conteneur(	"/en/Core_Businesses/Engineering_and_services/", 	"Engineering_and_services", 	"2", 	"1073") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/Fuselage_sections/", 	"Fuselage_sections", 	"2", 	"1074") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/Doors/", 	"Doors", 	"2", 	"1075") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/Business_jets/", 	"Business_jets", 	"2", 	"1076") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/Video_Camera_systems/", 	"Video_Camera_systems", 	"2", 	"1077") , 
new conteneur(	"/en/Core_Businesses/Aerostructures/Latecoere_sites/", 	"Latecoere_sites", 	"2", 	"1078") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/Electrical_harnesses/", 	"Electrical_harnesses", 	"2", 	"1079") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/Avionics_bays/", 	"Avionics_bays", 	"2", 	"1080") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/Space_harnesses/", 	"Space_harnesses", 	"2", 	"1081") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/LATelec_sites/", 	"LATelec_sites", 	"2", 	"1082") , 
new conteneur(	"/en/Core_Businesses/Engineering_and_services/Engineering/", 	"Engineering", 	"2", 	"1083") , 
new conteneur(	"/en/Core_Businesses/Engineering_and_services/LATecis_sites/", 	"LATecis_sites", 	"2", 	"1084") , 
new conteneur(	"/en/Jobs_and_internships/job_offers/", 	"job_offers", 	"2", 	"1085") , 
new conteneur(	"/en/Jobs_and_internships/internship_offers/", 	"internship_offers", 	"2", 	"1086") , 
new conteneur(	"/en/Financial_information/Financial_news/", 	"Financial_news", 	"2", 	"1087") , 
new conteneur(	"/en/Financial_information/Shareholders/Capital_Information/", 	"Capital_Information", 	"2", 	"1089") , 
new conteneur(	"/en/Financial_information/Stockmarket_analysis/", 	"Stockmarket_analysis", 	"2", 	"1090") , 
new conteneur(	"/en/Financial_information/Diary/", 	"Diary", 	"2", 	"1091") , 
new conteneur(	"/en/ELEMENTS_GABARITS/", 	"ELEMENTS_GABARITS", 	"2", 	"1092") , 
new conteneur(	"/en/ELEMENTS_GABARITS/GAB_HOME/", 	"GAB_HOME", 	"2", 	"1093") , 
new conteneur(	"/en/ELEMENTS_GABARITS/GAB_01/", 	"GAB_01", 	"2", 	"1094") , 
new conteneur(	"/en/About_us/Sustainable_development/", 	"Sustainable_development", 	"2", 	"1095") , 
new conteneur(	"/en/Jobs_and_internships/Spontaneous_application/", 	"Spontaneous_application", 	"2", 	"1098") , 
new conteneur(	"/latecoere/Espace_Actualites/", 	"Espace_Actualites", 	"1", 	"1177") , 
new conteneur(	"/en/Product_and_Customer_Support/", 	"Product_and_Customer_Support", 	"2", 	"1149") , 
new conteneur(	"/en/About_us/Organization_and_Locations/Locations/", 	"Locations", 	"2", 	"1148") , 
new conteneur(	"/en/About_us/Governance/Organization_chart/", 	"Organization_chart", 	"2", 	"1146") , 
new conteneur(	"/en/About_us/Organization_and_Locations/", 	"Organization_and_Locations", 	"2", 	"1147") , 
new conteneur(	"/en/About_us/Locations_and_Subcontractors/", 	"Locations_and_Subcontractors", 	"2", 	"1111") , 
new conteneur(	"/en/Core_Businesses/Onboard_wiring/Ruggedized_harnesses/", 	"Ruggedized_harnesses", 	"2", 	"1115") , 
new conteneur(	"/latecoere/Nos_domaines_d_expertise/Cablage/Harnais_durcis/", 	"Harnais_durcis", 	"1", 	"1112") , 
new conteneur(	"/latecoere/Mentions_legales/", 	"Mentions_legales", 	"1", 	"1113") , 
new conteneur(	"/en/Terms_and_Conditions/", 	"Terms_and_Conditions", 	"2", 	"1114") , 
new conteneur(	"/en/About_us/News/", 	"News", 	"2", 	"1119") , 
new conteneur(	"/latecoere/Acces/", 	"Acces", 	"1", 	"1120") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Actualites/", 	"Actualites", 	"1", 	"1118") , 
new conteneur(	"/en/access/", 	"access", 	"2", 	"1121") , 
new conteneur(	"/latecoere/Communication_financiere/Information_Reglementee_AMF/", 	"Information_Reglementee_AMF", 	"1", 	"1122") , 
new conteneur(	"/en/Financial_information/Regulated_information/", 	"Regulated_information", 	"2", 	"1123") , 
new conteneur(	"/en/newsletter/", 	"newsletter", 	"2", 	"1124") , 
new conteneur(	"/latecoere/newsletter/", 	"newsletter", 	"1", 	"1125") , 
new conteneur(	"/latecoere/newsletter/abonnement/", 	"abonnement", 	"1", 	"1126") , 
new conteneur(	"/latecoere/newsletter/desabonnement/", 	"desabonnement", 	"1", 	"1127") , 
new conteneur(	"/en/newsletter/subscribe/", 	"subscribe", 	"2", 	"1128") , 
new conteneur(	"/en/newsletter/unsubscribe/", 	"unsubscribe", 	"2", 	"1129") , 
new conteneur(	"/latecoere/Communication_financiere/Vie_du_titre/", 	"Vie_du_titre", 	"1", 	"1130") , 
new conteneur(	"/latecoere/Communication_financiere/Actionnariat/Informations_capital/", 	"Informations_capital", 	"1", 	"1132") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Gouvernance/", 	"Gouvernance", 	"1", 	"1135") , 
new conteneur(	"/latecoere/Product_and_Customer_Support/", 	"Product_and_Customer_Support", 	"1", 	"1145") , 
new conteneur(	"/latecoere/Communication_financiere/Vie_du_titre/Signaletique/", 	"Signaletique", 	"1", 	"1144") , 
new conteneur(	"/latecoere/Mieux_nous_connaitre/Gouvernance/Organigramme_simplifie/", 	"Organigramme_simplifie", 	"1", 	"1143") , 
new conteneur(	"/en/Financial_information/Key_figures/", 	"Key_figures", 	"2", 	"1164") , 
new conteneur(	"/en/Financial_information/Key_figures/Revenues/", 	"Revenues", 	"2", 	"1166") , 
new conteneur(	"/en/Financial_information/Key_figures/Outlook/", 	"Outlook", 	"2", 	"1167") , 
new conteneur(	"/en/Financial_information/Key_figures/Results/", 	"Results", 	"2", 	"1168") , 
new conteneur(	"/en/OLD/", 	"OLD", 	"2", 	"1169") , 
new conteneur(	"/en/Financial_information/Publications/", 	"Publications", 	"2", 	"1170") , 
new conteneur(	"/en/News/", 	"News", 	"2", 	"1180") , 
new conteneur(	"/en/News/Last_news/", 	"Last_news", 	"2", 	"1181") , 
new conteneur(	"/en/News/All_news/", 	"All_news", 	"2", 	"1182") , 
new conteneur(	"/latecoere/Espace_Actualites/Toutes_les_actualites/", 	"Toutes_les_actualites", 	"1", 	"1179") , 
new conteneur(	"/latecoere/Espace_Actualites/Dernieres_actualites/", 	"Dernieres_actualites", 	"1", 	"1178") , 
new conteneur(	"/en/OLD/Transactions/", 	"Transactions", 	"2", 	"1175") , 
new conteneur(	"/en/Financial_information/Stockmarket_analysis/Stock_information/", 	"Stock_information", 	"2", 	"1176") );
function parseUrl1(data) {
var e=/^((http|ftp):\/)?\/?([^:\/\s]+)(\/#([\w\-]+))?$/;
var e2=/^((http|ftp):\/)?\/?([^:\/\s]+)(\/\?id=\d+)(#([\w\-]+))?$/;
var e3=/^((http|ftp):\/)?\/?([^:\/\s]+)(\/#([\w\-^\/]+))\/([\w\-]+)?$/;
if (data.match(e)) {
	return  {url: RegExp['$&'],
			protocol: RegExp.$2,
			host:RegExp.$3,
			path:RegExp.$4,
			  ancre:RegExp.$5,
			file:RegExp.$6,
			hash:RegExp.$7};
}
else  if (data.match(e2)) {
	return  {url: RegExp['$&'],
			protocol: RegExp.$2,
			host:RegExp.$3,
			path:RegExp.$4,
			  path3:RegExp.$5,
			ancre:RegExp.$6,
			hash:RegExp.$7};
}
else  if (data.match(e3)) {
	return  {url: RegExp['$&'],
			protocol: RegExp.$2,
			host:RegExp.$3,
			path:RegExp.$4,
			  path3:RegExp.$5,
			ancre:RegExp.$6,
			hash:RegExp.$7};
}
else {
return  {url:"", protocol:"",host:"",path:"",file:"",hash:""};
}
}
function test_ancre(){
var sUrl = String(window.top.document.location.href);  
var thisUrl = String(this.document.location.href);  
var Url_reg = "";
Url_reg = parseUrl1(sUrl); 
var hostName = Url_reg["host"] 
var nameAncre = Url_reg["ancre"] 
if(nameAncre  != "" && nameAncre  != undefined && thisUrl.indexOf("home.php") > 0){
var  iAncre = -1;
for (var i in tab_Ancre){
	if (tab_Ancre[i].monNode == nameAncre) {
		iAncre = i
	}
}
	if (iAncre == -1) {
for (var i in tab_Ancre){
	if (tab_Ancre[i].monAncre == nameAncre) {
		iAncre = i
	}
}
}
	if (iAncre != -1) {
items = thisUrl.split("/")
;var currentSite = items[4] 
;if (tab_Ancre[iAncre].monUrl.indexOf(currentSite) > 0) { 
	var baseURL = 'http://'+hostName+'/content'+tab_Ancre[iAncre].monUrl;
 
if (window.top.document.getElementById('iframediv') !=null) { 
	if (window.parent.document.location.href == document.location.href){
		//  
return false; 
	}
	else { 
		if (document.location.href != baseURL) {
			//this.document.location.href = baseURL;
			return baseURL; 
		}
	else { 
			return false; 
		} 
	} 

} 
	} else {window.top.document.location.href = 'http://'+hostName+'/?id='+tab_Ancre[iAncre].monIdSite+'#'+nameAncre;
return false; 
	}
	}
}
}

