function loadFlash(a,b){var c=new Swiff("/wp-content/themes/australie/flash/player.swf",{id:"Australie",container:b,width:620,height:381,params:{wmode:"transparent",bgcolor:"#ffffff",allowscriptaccess:"always",allowfullscreen:"true"},vars:{file:a,image:a.split(".flv")[0]+".jpg",title:"Australie",autostart:false,controlbar:"bottom",skin:"/wp-content/themes/australie/flash/stylish.swf",repeat:"no"}});return c}function homePlayer(){if(!$(document.body).hasClass("home")){return}var b=[];$$(".motion .img-home").each(function(d,c){b[c]=new Fx.Morph(d,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});var a=[$("img-home")];a.each(function(d,c){d.addEvents({click:function(g){var f=new Swiff("/wp-content/themes/australie/flash/player.swf",{id:"Australie",container:$("video-home"),width:640,height:360,params:{wmode:"transparent",bgcolor:"#ffffff",allowscriptaccess:"always",allowfullscreen:"true"},vars:{file:$("video-home").getProperty("rel"),title:"Australie",autostart:true,controlbar:"over",skin:"/wp-content/themes/australie/flash/stylish.swf",repeat:"no"}})}})})}window.addEvent("domready",function(){homePlayer();$$("div.videomedia").each(function(g,f){loadFlash(g.getProperty("title"),g)});Mosaiquepost(".mask_post");Mosaiquevoir("#mosaique");Mosaiquegens(".liste-gens");Mosaiquemarque(".liste-marques");if($("handles_gens_more")){$$("a.tooltips").each(function(g,f){var h=g.getProperty("title").toString().split("/");g.store("tip:title",h[0]);g.store("tip:text",h[1])});var a=new Tips($$("a.tooltips"))}GM_initialize();Blockvoir();if($("mask_gens_container")){var e=new clrzSlider({perpage:1,setpage:0,layout:"horizontal",container:"mask_gens_container",items:"#mask_gens_container div.itemgens",contentslider:"box_gens",btnprev:"p.buttons_gens #prev_gens",btnnext:"p.buttons_gens #next_gens",srolling:true,onZgoto:function(f){}});$$("div.item_gens").each(function(g,f){g.addEvent("click",function(h){e.zgoto(f)})})}if($("mask_cat_art_container")){var b=new clrzSlider({perpage:1,setpage:0,layout:"horizontal",container:"mask_cat_art_container",items:"#mask_cat_art_container div.itemcat_art",contentslider:"box_cat_art",btnprev:"p.buttons_cat_art #prev_cat_art",btnnext:"p.buttons_cat_art #next_cat_art",srolling:true,onZgoto:function(f){}})}if($("mask_post_container")){var d=new clrzSlider({perpage:1,setpage:0,layout:"horizontal",container:"mask_post_container",items:"#mask_post_container div.last-article",contentslider:"box_post",btnprev:"div.bouton_navi #prev_post",btnnext:"div.bouton_navi #next_post",srolling:true,onZgoto:function(f){$$("span.button-circle").removeClass("active");$$("span.button-circle")[this.setpage].addClass("active")}});$$("span.button-circle").each(function(g,f){g.addEvent("click",function(h){d.zgoto(f)})})}if($("mask_pensez_container")){var c=new clrzSlider({perpage:1,setpage:0,layout:"horizontal",container:"mask_pensez_container",items:"#mask_pensez_container ul li",contentslider:"box_pensez",btnprev:"#prev1_pensez",btnnext:"#next1_pensez",srolling:true,onZgoto:function(f){}})}});function GM_initialize(){if(document.body.hasClass("page-template-template-contact-php")){var b="http://www.australie.com";if(GBrowserIsCompatible()){var c=new GMap2(document.getElementById("map"));c.setCenter(new GLatLng(48.88958,2.282281),16);c.setUIToDefault();var a=new GIcon(G_DEFAULT_ICON);a.shadow=b+"/wp-content/themes/australie/images/ombre.png";a.iconSize=new GSize(22,33);a.shadowSize=new GSize(37,30);a.iconAnchor=new GPoint(10,39);a.infoWindowAnchor=new GPoint(22,45);function e(g,j){var f=new GIcon(a);f.image=b+"/wp-content/themes/australie/images/marqueurgoogle.png";markerOptions={icon:f};var h=new GMarker(g,markerOptions);GEvent.addListener(h,"click",function(){h.openInfoWindowHtml("<img src='"+b+"/wp-content/themes/australie/images/logo-footer.jpg'/><br/><font style='font-family:Trebuchet MS;font-size:11px;'> 14 rue Aristide Briand<br/>92532 Levallois-Perret Cedex<br/><br/>T&eacute;l. 01 47 58 22 00</font>")});return h}var d=new GLatLng(48.88958,2.282281);c.addOverlay(e(d,0))}}}function Blockvoir(){if($("mosaique")){var c=0;var a="";var b="";$$("#mosaique .item").each(function(f){c++});if(c<25){nbblock=25-c;for(i=0;i<nbblock;i++){var d=document.createElement("li");var e=document.createTextNode("bloc-gris");d.style.backgroundColor="#EBEBEB";d.style.textIndent="-9999px";d.className="item bloc-gris";d.appendChild(e);$("mosaique").appendChild(d)}}}}function addChildElements(){if($("mosaique")){}}function Slidegens(){if($("box_gens")){var b=$$("#handles_gens_more .item_gens");var c=$("box_gens");var a=new noobSlide({box:$("box_gens"),items:$$("#box_gens h3"),size:915,handles:$$("#handles_gens span"),wheel:$("box_gens"),addButtons:{previous:$("prev_gens"),next:$("next_gens")},onWalk:function(d,e){$$(this.handles,b).removeClass("active");$$(e,b[this.currentIndex]).addClass("active");$("prev_gens").set("html","&lt;&lt; "+this.items[this.previousIndex].innerHTML);$("next_gens").set("html",this.items[this.nextIndex].innerHTML+" &gt;&gt;")}});a.addActionButtons("previous",$$("#box_gens .prev"));a.addActionButtons("next",$$("#box_gens .next"));a.addHandleButtons(b);a.addActionWheel($$("#handles_gens_more span"));a.walk(0,false,true)}}function Slidepensez(){if($("box_pensez")){var e=$("box_pensez");var a=e.getElementsByTagName("li");var f=a.length;var c=new Array();for(var b=0;b<=f-1;b++){c[b]=b}var d=new noobSlide({box:$("box_pensez"),items:c,interval:3000,fxOptions:{duration:1000,transition:Fx.Transitions.easeOut,wait:false},addButtons:{previous:$("prev1_pensez"),next:$("next1_pensez")}})}}function change_onglet(a,b){$("onglet_"+b).className="onglet_0 onglet";$("onglet_"+a).className="onglet_1 onglet";$("contenu_onglet_"+b).style.display="none";$("contenu_onglet_"+a).style.display="block";b=a}function Mosaiquemarque(c){var a=[];var b=[];$$(c+" .item .mark-calc1 a").each(function(e,d){a[d]=new Fx.Morph(e,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(c+" .item .mark-calc2 a").each(function(e,d){b[d]=new Fx.Morph(e,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0})});$$(c+" .item").each(function(e,d){e.addEvents({mouseover:function(f){a[d].start({opacity:0});b[d].start({opacity:1})},mouseleave:function(f){a[d].start({opacity:1});b[d].start({opacity:0})}})})}function Motion(d){var a=[];var c=[];var b=[];$$(d+" .video-home").each(function(f,e){a[e]=new Fx.Morph(f,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0.01})});$$(d+" .img-home").each(function(f,e){c[e]=new Fx.Morph(f,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(d+" .languette").each(function(f,e){b[e]=new Fx.Morph(f,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(d+" ").each(function(f,e){f.addEvents({click:function(g){b[e].start({opacity:0});a[e].start({opacity:1});c[e].start({opacity:0})}})})}function Mosaique(e){var a=[];var c=[];var b=[];var d=10;$$(e+" .item_ .text-voir").each(function(g,f){a[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0,"margin-top":0})});$$(e+" .item_ .img-voir").each(function(g,f){g.addEvent("click",function(h){document.location.href=g.getNext().get("href")});c[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(e+" .item_ .link-voir").each(function(g,f){b[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0})});$$(e+" .item_").each(function(g,f){g.addEvents({mouseover:function(h){a[f].start({opacity:0.9,"margin-top":d});b[f].start({opacity:0.9});c[f].start({opacity:1})},mouseleave:function(h){a[f].start({opacity:0,"margin-top":0});b[f].start({opacity:0});c[f].start({opacity:1})}})})}function Mosaiquegens(e){var c=[];var a=[];var d=[];var b=10;$$(e+" .item_gens .text-voir").each(function(g,f){c[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0})});$$(e+" .item_gens .img-voir").each(function(g,f){g.addEvent("click",function(h){document.location.href=g.getNext().get("href")});a[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(e+" .item_gens").each(function(g,f){g.addEvents({mouseover:function(h){c[f].start({opacity:1});a[f].start({opacity:1})},mouseleave:function(h){c[f].start({opacity:0});a[f].start({opacity:1})}})})}function Mosaiquevoir(e){var a=[];var c=[];var b=[];var d=10;$$(e+" .item .text-voir").each(function(g,f){a[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0,"margin-top":0})});$$(e+" .item .img-voir").each(function(g,f){g.addEvent("click",function(h){document.location.href=g.getNext().get("href")});c[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(e+" .item .link-voir").each(function(g,f){b[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0})});$$(e+" .item").each(function(g,f){g.addEvents({mouseover:function(h){a[f].start({opacity:0.9,"margin-top":d});b[f].start({opacity:0.9});c[f].start({opacity:1})},mouseleave:function(h){a[f].start({opacity:0,"margin-top":0});b[f].start({opacity:0});c[f].start({opacity:1})}})})}function Mosaiquepost(e){var b=[];var d=[];var c=[];var a=10;$$(e+" .item_post .text-voir").each(function(g,f){b[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0,"margin-top":0})});$$(e+" .item_post .img-voir").each(function(g,f){g.addEvent("click",function(h){document.location.href=g.getNext().get("href")});d[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:1})});$$(e+" .item_post .link-voir").each(function(g,f){c[f]=new Fx.Morph(g,{duration:300,wait:false,transition:Fx.Transitions.Expo.easeOut}).set({opacity:0})});$$(e+" .item_post").each(function(g,f){g.addEvents({mouseover:function(h){b[f].start({opacity:0.9,"margin-top":a});c[f].start({opacity:0.9});d[f].start({opacity:1})},mouseleave:function(h){b[f].start({opacity:0,"margin-top":0});c[f].start({opacity:0});d[f].start({opacity:1})}})})};