/**
 * 
 * 
 */
(function ($){
	$.la = $.la || {};
	$.la.dekio = $.la.dekio || {};
	$.la.dekio.ad = $.la.dekio.ad || {};


	$.extend(true, $.la, {
	
	    promo: {
	        container:'#nouse',
	        containerBody:'#container',
	
	        localCssAfter: function(obj){
		        var containerBody = obj.containerBody;
		        if (typeof containerBody == 'undefined'){
		            containerBody = $.la.promo.containerBody;
		        }

				return '\
				' + containerBody + ' { padding: 0 0 0 0 !important; }\n\
				#dekio_inter { position: relative; z-index: 3; }\n\
				body #container_top {\n\
					background:url(/design/art_decoration/images/habillage_header.png) top left repeat-x;\n\
					float: none;\n\
					height:102px;\n\
					margin-bottom:' + (29 + parseInt(obj.top.replace(/px/,''),'10')) + 'px;\n\
					position:relative;\n\
					z-index:9999;\n\
				}\n\
				#header { height:102px; }\n\
				#header .nav_main { margin-top:' + (0 + parseInt(obj.top.replace(/px/,''),'10')) + 'px; }\n\
				#header .nav_main #navcontainer { position: relative; z-index: 3; }\n\
				#header .header_bttm { position: relative; z-index: 3; }\n\
				#slim_banner, #wrapper { position: relative; z-index: 3; }\n\
				#footer { position: relative; z-index: 3; }\n\
				';
	        }
		}
	});


	$.extend(true, $.la.promo.google.adsense, {
		_params: {
			google_ad_channel: "4682919722"
	    }
	});


	$.extend(true, $.la.dekio,
	{
		options: {
			selectors: {
				header: {
					show: '#bouton9, #bouton10',
					hide: '#bouton7, #bouton8'
				}
			}
		}
	});	


	$.extend(true, $.la.dekio.ad,
	{
		init: function() {
			$.la.dekio.init();
		}
	});

})(jQuery);
