<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<meta name="google-site-verification" content="0kR9Eu8GeMBtsGL5ZaoZ4PYBkii0Q5pc8A9LPU17ZN0" />
	<link rel="shortcut icon" href="<?php echo get_option('home'); ?>/favicon.ico"/>
	<meta http-equiv="X-UA-Compatible" content="IE=8" />
	<title><?php wp_title(''); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> :: <?php } ?> <?php echo (get_bloginfo('name')." - ".get_bloginfo ( 'description' )); ?></title>
	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/custom-theme/jquery-ui-1.7.2.custom.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css?v=20090128-7" type="text/css" media="screen, projection" />
	<!-- Javascripts  -->	
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/functions.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-ui-1.7.2.custom.min.js"></script>
	<!-- <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.skinned-select.js"></script> -->
	<!--[if lt IE 7]>
	 <script defer type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/pngfix.js"></script>
	<![endif]-->
    <!--[if gte IE 5.5]>
     <script language="javaScript" src="<?php bloginfo('stylesheet_directory'); ?>/js/dhtml.js" type="text/javaScript"></script>
    <![endif]-->
	<!-- Show the grid and baseline  -->
	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<?php wp_head(); ?>
	<?php // this is for the search engine selection 
			
			if ( is_home() ) {
				$cssSearch 		= "searchHome";
				$cssSkinselect 	= "-Home";
				$engines		=  array(__("on this site",'IriTheme'),__("on IRI sites",'IriTheme'),__("on ENMI",'IriTheme'),__("on Seminars",'IriTheme'));//__("Avanc&eacute;e"));
			} else {
				$cssSearch 		= "searchPage";
				$cssSkinselect 	= "-Page";
				$engines		=  array(__("this site",'IriTheme'),__("sites IRI",'IriTheme'),__("ENMI",'IriTheme'),__("Seminars",'IriTheme'));//__("Avanc&eacute;e"));
			}	
	?>
	 
    <script type="text/javascript">  
        $(document).ready(function() {  
            $('#accordion').accordion({ 
				autoheight: true
			});  
			$('#accordion_nav').accordion({ 
				autoheight: true,
				event: 'mouseover'
			});  
			// ----------------------------------
			$('#accordionSeminaire').accordion({
				autoheight: false,
				event: 'mouseover',			
				fillSpace: true

			});  
			$('#accordionSeminaire2').accordion({
				autoheight: false,
				event: 'mouseover',
				fillSpace: true

			});
			$('#accordionSeminaire3').accordion({
				autoheight: false,
				event: 'mouseover',
				fillSpace: true

			});
			$('#accordionSeminaire4').accordion({
				autoheight: false,
				event: 'mouseover',
				fillSpace: true

			});	
			$('#accordionSeminaire5').accordion({
				autoheight: false,
				event: 'mouseover',
				fillSpace: true

			});	
			$('#accordionSeminaire6').accordion({
				autoheight: false,
				event: 'mouseover',
				fillSpace: true

			});		
			// Tabs
			$('#tabsSeminaire').tabs({
				autoheight: false
			});

			//alert("test");
			// search
			/*
			$("#searchHome").mouseover(function() {
				$(this).animate({ backgroundColor: "#FFFFFF" }, 500);
			}).mouseout(function(){
				$(this).animate({ backgroundColor: "#CCCCCC" }, 500);
			});
			*/
			
			
			// liens
			$(".JQplink").mouseover(function() {
				$(this).fadeTo("slow", 0.5);
			}).mouseout(function(){
				$(this).fadeTo("slow", 1);
			});
			
			$('.my-skinnable-select').each(
			  function(i) {
				selectContainer = $(this);
				// Remove the class for non JS browsers
				selectContainer.removeClass('my-skinnable-select');
				// Add the class for JS Browers
				selectContainer.addClass('skinned-select<?php echo($cssSkinselect) ?>');
				// Find the select box
				selectContainer.children().before('<div class="select-text<?php echo($cssSkinselect) ?>">a</div>').each(
				  function() {
					$(this).prev().text(this.options[0].innerHTML)
				  }
				);
				// Store the parent object
				var parentTextObj = selectContainer.children().prev();
				// As we click on the options
				selectContainer.children().click(function() {
				  // Set the value of the html
				  parentTextObj.text(this.options[this.selectedIndex].innerHTML);
				})        
			  }
			);
	
        });  
    </script>  
	<!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lib/ie.css?v=20090127-11" type="text/css" media="screen, projection" /><![endif]--> 
	
	<!-- FIN DE LA HEAD -->
</head>
<?php 
		if ( function_exists('xili_language_list')) {
			$current_lang = the_cur_lang_dir();
			$LANG_LINK = '?lang='.$current_lang['lang']; }
?>
<body>
<!-- DEBUT DU HEADER -->
<?php /*echo("debug = ".wp_title('')." lang = ".language_attributes() ); */?>
<div class="container">
<!-- Header -->
  <div class="column" id="header">
	<div class="column">
       <a href="<?php echo (get_option('home').$LANG_LINK); ?>/" class="logo">
		<img alt="<?php bloginfo('name'); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/logo-iri-petit_<?php echo($current_lang['lang']); ?>.png" />
	   </a> 
	</div> 

	<!-- LANG MENU -->
	  <div class="column lang">
		<ul>
			<li style="list-style: none;"><a href="<?php echo (get_option('home')); ?>/?lang=en_us" title="View the english web site."><img src="<?php bloginfo('stylesheet_directory'); ?>/images/flag_en_<?php echo($current_lang['lang']); ?>.gif" title="flag" /> &nbsp;in english</a></li>
			<li style="list-style: none;"><a href="<?php echo (get_option('home')); ?>/?lang=fr_fr" title="Voir le site en Fran&ccedil;ais."><img src="<?php bloginfo('stylesheet_directory'); ?>/images/flag_fr_<?php echo($current_lang['lang']); ?>.gif" title="drapeau"/> &nbsp;en fran&ccedil;ais</a></li>
		</ul>
		<?php /* script de liste de langue remplacer par ce qui est au dessus 
		 if (function_exists('xili_language_list')) {//&& is_user_logged_in()
			xili_language_list();
		}*/ ?>
	  </div>
	
	
  </div>
  
<!-- Navigation -->
<div class="column span-24 large" id="nav"> 
<div class="content">

	<ul id="navmenu-h">
		<li><a href="<?php echo (get_settings('home').$LANG_LINK); ?>/"><?php _e('Home','IriTheme'); ?></a></li>
		<?php dp_list_categories('&exclude=1,8,16,17,38,171,169,170&'); ?>

		<li class="alignright"><a href="<?php bloginfo('rss2_url'); echo("?lang=".$current_lang['lang']); ?>"  title="<?php _e('Click here to follow us !','IriTheme') ?>" style="padding: 2px 8px 2px 8px;"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/rss.png" style="padding:4px;" alt="rss icon" /></a></li>
				
		<li class="alignright" >
				<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
				
				<?php
				if (isset($_GET['s']) ) {
					$search_text= utf8_decode(stripslashes($_GET['s']));
				} else {
					$search_text= __('Search','IriTheme');
				}	
				?>
				
				<div  id="<?php echo($cssSearch); ?>" >
					
					<input type="text" name="s" id="s"
								 value		= "<?php echo wp_specialchars($search_text, 1); ?>"
								 onfocus	= "clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')" 
								 onblur		= "clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')"
					/>
					
				
				<div class="my-skinnable-select">
					<select name="engine" id="engine">
					<?php
						foreach ($engines as $i => $value) {
							echo("<option value='".$i."'>".__($value,'IriTheme')."</option>");
						}
					?>
					</select>
				</div>
				
					<input id="bt" name="bt" type="submit" value="" title="<?php echo($search_text); ?>" tabindex="0" />
					<input type="hidden" name="lang" id="lang" value="<?php echo($current_lang['lang']); ?>" />
				</div>
				
				</form>
		</li>
		
	</ul>

	<?php do_action('icl_navigation_menu'); ?>
	</div>
</div>
<!-- FIN DU HEADER -->