function set_menus_position() {
	var wlarg = (document.body.clientWidth);
	if (wlarg == window_larg)	return;
	//
	var new_left_offset = (wlarg-document_width)/2;
	for (idiv=0; ;idiv++) {
		var jdiv = 0;
		div_id = 'e'+idiv+'_'+jdiv+'o';
		div_obj = document.getElementById (div_id);
		if (!div_obj)	break;
		for (; ; jdiv++) {
			div_id = 'e'+idiv+'_'+jdiv+'o';
			div_obj = document.getElementById (div_id);
			if (!div_obj)	break;
			
			var left_av = parseInt(div_obj.style.left);
			var left_ap = parseInt(new_left_offset-block_left_offset+left_av);
			var str = left_ap+"px";
			div_obj.style.left=str;
		}
	}
	block_left_offset = new_left_offset;
	window_larg = wlarg;
}

//
// Initialisations
var root_path = "";
var record_nbmin = 3;
//
var window_larg = (document.body.clientWidth);
var window_haut = (document.body.clientHeight);
//
var block_top_offset = 0;
if (IsIE7())	block_top_offset = 7;
//
var block_left_offset = (window_larg-document_width)/2;
if (IsIE7())	block_left_offset += 3;



// items structure
// each item is the array of one or more properties:
// [text, link, settings, subitems ...]
// use the builder to export errors free structure if you experience problems with the syntax

var MENU_ITEMS_WHATISAK = [
	['Quest ce que AK ?', 'definition-icak.php', '', 
		['Définition', 'definition-icak.php'],
		['Historique', 'historique-icak.php'],
		['Goodheadrt', 'goodheart-icak.php'],
		['?/Réponses', 'questions-reponses.php']
	]
];



