<script language="javascript" type="text/javascript">
window.addEvent('domready', function() {
// permet d'afficher les erreurs de types "console" sous forme d'alert lorsque firebug n'est pas présent
if(!("console" in window) || !("firebug" in console)){
	var names=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];
	window.console={};
	for(var i=0;i<names.length;i++){
		window.console[names[i]]=function(){};
		//window.console[names[i]]=alert;
	}
}
if(window.location.host=="godzilla")console.info("Firebug est installé/émulé - "+String(window.location).split('index.html')[3]+" sur "+window.location.host+".");
if (DetectFlashVer('8','0','0')){

	var url = 'http://cpm.pagesjaunes.fr/cpm/consult.php?ref_oda=AAABBEQWNNHN&amp;version=0001&amp;type_objet=CL&amp;id=ES';
	var position = url.search('cpm/index.html');
	url = url.substr(position);
	try{
		new Ajax(url,{
			method : 'get',
			update: $('bloc_video'),
			onComplete : function(){$('bloc_video').setStyle('display','');},
			onSuccess : function(t,x){if(window.location.host=="godzilla")console.info("Success : "+url);},
			onFailure : function(i){if(window.location.host=="godzilla")console.error("Failure : "+i.statusText+" ("+url+")");},
			onException : function(h,v){if(window.location.host=="godzilla")console.error("Exception : "+url+"\n"+h+"\n"+v);}
		}).request();
	}catch(e){console.error(e);}
}else
	$('bloc_video').setStyle('display','');
	
		var url	= '/villeendirect/autopromo/EnSavoirPlus.do?codeloc=05767200'; 
		var monAjax = new Ajax(url,{
		update: $('bloc_ved'),
		method: 'get',
		onSuccess : function(t,x){if(window.location.host=="godzilla")console.info("Success : "+url);},
		onFailure : function(i){if(window.location.host=="godzilla")console.error("Failure : "+i.statusText+" ("+url+")");},
		onException : function(h,v){if(window.location.host=="godzilla")console.error("Exception : "+url+"\n"+h+"\n"+v);}
	});
	try{
		monAjax.request();
	}catch(e){console.error(e);}
});
code_estat1 = '70854c3de1bd4f6647e5d6d1bfdac520';
code_estat2 = '70854c3de1bd4f66ac3a26cd78b96bae';
</script>
