/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \
|		
|		Copyright (c) 2009
|		Design + HTML/CSS/DOM JavaScript : Smart Agence
|		http://www.smartagence.com/
|
|
|		[ OPEN/CLOSE NAV PROVISOIRE ]
|		[ AJOUT DU TARGET BLANK SUR LES LIENS EXTERNES ]
|		[ Interaction menu principal (menu horizontal) ]
|		[ Gestion corps du texte article ]
|		[ Lancement impression ]
|		[ Miscellaneous ]
|		[ Ajout aux favoris ]
|		[ ToolBox ]
|		[ Roll over ]
|		[ Plan du site ]
|		[ VideoThumbGen ]
|		[ Equalize ]
|		[ Bloc ouvrant-fermant ]
|		[ Lancement scripts ]
|		
\ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - - - - - - - - - - - - - - - - - [ SiFR ] */

var universcondensed={src:'lib/js/universcondensed.swf'};
var dinmedium={src:'lib/js/dinmedium.swf'};

sIFR.activate(universcondensed, dinmedium);
sIFR.replace(universcondensed, {
	selector: '#NavigationPrincipale h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #028099;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub1 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #e36b61;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub2 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #8a5a96;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub3 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #38ab5c;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub4 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #c83e4c;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub5 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #d8217e;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub6 #ContainerCols #ColContenu h1 span',
	css: '.sIFR-root {background-color:transparent;leading:0;display: block; color: #e39c40;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '#ContainerCols #ColContextuelle h2 span',
	css: '.sIFR-root {background-color:transparent;word-spacing: -20px; leading:-20;display: block; color: #000000;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.home h1 span',
	css: '.sIFR-root {background-color:transparent;display: block; color: #0688bc;text-transform: uppercase; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(dinmedium, {
	selector: '.popup h1 span',
	css: '.sIFR-root {background-color:transparent;display: block; color: #b8c400; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(dinmedium, {
	selector: '.popup h1 strong',
	css: '.sIFR-root {background-color:transparent;display: block; color: #000000; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.popup h2 span',
	css: '.sIFR-root {background-color:transparent;display: block; color: #308ea3; margin: 0}',
	transparent:true ,
	tuneHeight : 0
});
sIFR.replace(universcondensed, {
	selector: '.rub7 h1 span',
	css: {
	'.sIFR-root' : {'background-color':'transparent','leading':'0','display': 'block', 'color': '#026269','text-transform' : 'uppercase', 'margin': '0'},
	'a': { 'text-decoration': 'none', 'color':'#026269' },
	'a:link': { 'text-decoration': 'underline', 'color':'#026269' },
	'a:hover': { 'text-decoration': 'underline', 'color':'#026269' },
	'a:visited': { 'text-decoration': 'underline', 'color':'#026269' },
	'a:active': { 'text-decoration': 'underline', 'color':'#026269' }
	},
	transparent:true ,
	tuneHeight : 0
});

/* - - - - - - - - - - - - - - - - - - - - - [ Lancement scripts ] */
jQuery(document).ready(function($){
	
	$("#NavigationPrincipale ul>li:not('.on, .on li') a").mouseenter(function() {
      $(this).parent().addClass('over');
      $("#NavigationPrincipale ul>li:not('.over, .on, li li') a").each(function(){
        $(this).stop(true, true).animate({opacity: 0.5 }, 200);
      });
  });
  $("#NavigationPrincipale ul>li:not('.on, .on li') a").mouseleave(function() {
      $(this).parent().removeClass('over');
      $("#NavigationPrincipale ul>li:not('.on, .on li') a").stop(true, true).animate({ opacity: 1 }, 100);
	});
	
});

