dojo.registerModulePath('plug','/include/plug.4489/');var s=document.createElement('script');s.setAttribute('type','text/javascript');s.async=true;s.setAttribute('src',('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js');var t=document.getElementsByTagName('body');if(t[0])t[0].appendChild(s);var pubDeferrerLoaded=false;function loadPubDeferrer(){if(dojo.byId('pubDeferred')!=null&&dojo.byId('pubDeferred').innerHTML!=''&&pubDeferrerLoaded==false){var pr=dojo.coords(dojo.byId('pubDeferred'));pubDeferrerLoaded=true;dojo.filter(dojo.query('div[class=pubDeferredClass]'),function(divPub){if(divPub.id.indexOf('_pubDeferred_')>-1){var idZonePub=divPub.id.replace(/_pubDeferred_/,'');var p=dojo.coords(idZonePub);dojo.style(divPub,{position:'absolute',left:(p.x-pr.x)+'px',top:(p.y-pr.y)+'px'})}})}}if((typeof dojo)!='undefined'){dojo.addOnLoad(window,function(){var dvGraph=dojo.query('#colMain .oogoloGraph');if(dvGraph.length>0)addGraphEffect(dvGraph,150,80,8);loadPubDeferrer();try{var p=_gat._getTracker('UA-60844-2');p._setDomainName('.oogolo.fr');p._trackPageview()}catch(e){}if(dojo.byId('facebookLike')!=null){dojo.connect(dojo.byId('facebookLike'),'mouseover',function(evt){var frmfb=dojo.create('iframe',{src:'http://www.facebook.com/plugins/like.php?href='+window.location.href+'&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=35','scrolling':'no','frameborder':'0','width':'450px','height':'75px','allowTransparency':'true',style:{'border':'none','overflow':'hidden','width':'450px','height':'75px'}},'facebookLike','replace')})}})}function addGraphEffect(dvGraph,w,h,r){var bulletClicked;var graphCoords;var versionIE=dojo.isIE;var urlBulle='/voyage/bulle.php?width='+w+'&height='+h+'&rayon='+r+'&';if(versionIE==6)urlBulle+='IE6=1&';dojo.forEach(dvGraph,function(graph){dojo.connect(graph,'click',function(evt){dojo.stopEvent(evt);dvBulle=dojo.byId('dvBulle');if(dvBulle!=null)bulletClicked.parentNode.removeChild(dvBulle)});dojo.forEach(dojo.query('table img',graph),function(bullet){dojo.connect(bullet,'mouseover',function(evt){dojo.style(bullet,{cursor:'pointer'})});dojo.connect(bullet,'click',function(evt){dojo.stopEvent(evt);dojo.style(bullet,{zIndex:999});var bulletCoords=dojo.coords(bullet);var texte=dojo.attr(bullet,'title');dvBulle=dojo.byId('dvBulle');if(dvBulle!=null)bulletClicked.parentNode.removeChild(dvBulle);var urlReverse='';var urlTypeFleche='';var marginP=r+'px';var posLeft=(bulletCoords.l-w/2+7)+'px';var posTop=(bulletCoords.t-h)+'px';if((bulletCoords.t-h)<30){urlReverse='reverse=1&';marginP=(h/4+r)+'px '+r+'px';posLeft=(bulletCoords.l-w/2)+'px';posTop=(bulletCoords.t+7)+'px'}if((bulletCoords.l-w/2)<40){urlTypeFleche='typeFleche=droite';posLeft=(bulletCoords.l+7)+'px'}else if(urlReverse==''&&(bulletCoords.l+w/2)>dojo.coords(graph).w){urlTypeFleche='typeFleche=droite';var posLeft=(bulletCoords.l-w)+'px'}else if((bulletCoords.l+w/2)>dojo.coords(graph).w){urlTypeFleche='typeFleche=gauche';var posLeft=(bulletCoords.l-w)+'px'}var dvBulle=document.createElement('div');dojo.attr(dvBulle,{id:'dvBulle'});dojo.style(dvBulle,{position:'absolute',top:posTop,left:posLeft,width:w+'px',height:h+'px',display:'block',zIndex:666});var img=document.createElement('img');dojo.style(img,{position:'absolute',top:0,left:0});dojo.attr(img,'src',urlBulle+urlReverse+urlTypeFleche);dvBulle.appendChild(img);var pBulle=document.createElement('p');dojo.style(pBulle,{position:'absolute',top:0,left:0,width:(w-r*2)+'px',height:(h-r*2)+'px',color:'#000',fontWeight:'bold',fontSize:'.8em',margin:marginP,display:'block'});pBulle.innerHTML=texte;dvBulle.appendChild(pBulle);bullet.parentNode.appendChild(dvBulle);bulletClicked=bullet})})})}function oogoloAddAds(elements,idx){if(idx==undefined)idx=0;if(!document.OpenXMAX_used)document.OpenXMAX_used=',';var idZone=elements[idx].id;if(idZone.substr(0,4)=="ads_")idZone=idZone.substr(4);var u=(location.protocol=='https:'?'https:':'http:')+'//sda.plusdinfo.com/www/delivery/ajs.php?zoneid='+idZone+'&target=_blank&blockcampaign=1&cb='+Math.floor(Math.random()*99999999999)+(document.charset?'&charset='+document.charset:(document.characterSet?'&charset='+document.characterSet:''))+"&loc="+escape(window.location);if(document.OpenXMAX_used!=',')u=u+"&exclude="+document.OpenXMAX_used;if(document.referrer)u=u+"&referer="+escape(document.referrer);if(document.context)u=u+"&context="+escape(document.context);if(document.mmm_fo)u=u+"&mmm_fo=1";if(document.createElementNS)var d=document.createElementNS('http://www.w3.org/1999/xhtml','div');else var d=document.createElement('div');d=elements[idx].appendChild(d);var s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('src',u);documentWritePos=d;var oldDocumentWrite=document.write;var oldDocumentWriteLn=document.writeln;document.write=oogoloDocumentWrite;document.writeln=oogoloDocumentWrite;s=elements[idx].appendChild(s);dojo.connect(s,'onload',function(){document.write=oldDocumentWrite;document.writeln=oldDocumentWriteLn;if(idx<elements.length-1)oogoloAddAd(elements,id+1)})}function oogoloDocumentWrite(html){var p=documentWritePos;var moz=!window.opera&&!/Apple/.test(navigator.vendor);try{html=html.replace(/^(<\/[^>]*>)+/,'');html=html.replace(/(<\\)/,'<');if(!window.opera)html=html.replace(/&(?![#a-z0-9]+;)/g,'&amp;');if(!moz)html=html.replace(/(<[a-z]+)/g,"$1 xmlns='http://www.w3.org/1999/xhtml'");html=html.replace(/<((img|input|hr|br)[^>]*[^\/])>/g,"<$1 />");if(html.length>0){p.innerHTML=p.innerHTML+html}}catch(e){}}if(dojo.byId('indexEmail')!=null){dojo.connect(dojo.byId('indexEmail'),'click',function(evt){if(dojo.byId('indexEmail').value=='Votre email'){dojo.byId('indexEmail').value=''}})}if(dojo.byId('panelEmail')!=null){dojo.connect(dojo.byId('panelEmail'),'click',function(evt){if(dojo.byId('panelEmail').value=='Votre email'){dojo.byId('panelEmail').value=''}})}if(dojo.byId('indexRecherche2010')!=null){var indexRech=dojo.byId('indexRecherche2010');dojo.connect(indexRech,'onchange',function(evt){window.location=indexRech.options[indexRech.selectedIndex].value;indexRech.selectedIndex=0})}if(dojo.byId('clickHidden')!=null){var obj=dojo.byId('clickHidden');dojo.connect(obj,'click',function(evt){dojo.stopEvent(evt);if((dojo.byId('footerPanel')!=null)&&(dojo.byId('showFooterPanel')!=null)){var barre=dojo.byId('footerPanel');var showButton=dojo.byId('showFooterPanel');barre.style.display='none';showButton.style.display='block'}})}if(dojo.byId('clickShow')!==null){var obj=dojo.byId('clickShow');dojo.connect(obj,'click',function(evt){dojo.stopEvent(evt);if((dojo.byId('footerPanel')!=null)&&(dojo.byId('showFooterPanel')!=null)){var barre=dojo.byId('footerPanel');var showButton=dojo.byId('showFooterPanel');barre.style.display='block';showButton.style.display='none'}})}
