var IS_IE6=document.all&&window.print&&!window.opera&&(!document.compatMode||/MSIE [56]/.test(navigator.userAgent)||(document.compatMode&&document.compatMode=="BackCompat"));var IE_NG=document.all&&window.print&&!window.opera&&/MSIE [7-9]/.test(navigator.userAgent)&&document.compatMode&&document.compatMode!="BackCompat";var IS_quirks=IS_IE6&&document.compatMode&&document.compatMode=="BackCompat";var heightPropertyToUse=IS_IE6?"height":"minHeight";var IS_Webkit=/Konqueror|Safari|KHTML/.test(navigator.userAgent);document.documentElement.className+=" hasJS";document.documentElement.className+=IS_IE6?" IS_IE6":"";var _$={select:function(){var aArgs=arguments;if(aArgs.length>1&&typeof aArgs[1]=="string"){return typeof aArgs[0]=="string"?document.getElementById(aArgs[0]).getElementsByTagName(aArgs[1]):aArgs[0].getElementsByTagName(aArgs[1])}else{switch(typeof aArgs[0]){case"string":return document.getElementById(aArgs[0]);case"object":return aArgs[0]}}return false}};_$=_$.select;var $extend={extend:function(){var args=arguments;if(!args[1]){args=[this,args[0]]}for(var property in args[1]){args[0][property]=args[1][property]}return args[0]}};$extend=$extend.extend;var $c={remove:function(oEl,sClass){var rep=oEl.className.match(" "+sClass)?" "+sClass:sClass;oEl.className=oEl.className.replace(rep,"")},add:function(oEl,sClass){if(!$c.has(oEl,sClass)){oEl.className+=oEl.className?" "+sClass:sClass}},swap:function(oEl,sClass1,sClass2){oEl.className=!$c.has(oEl,sClass1)?oEl.className.replace(sClass2,sClass1):oEl.className.replace(sClass1,sClass2)},has:function(){return typeof arguments[1]=="string"?new RegExp("\\b"+arguments[1]+"\\b").test(arguments[0].className):arguments[1].test(arguments[0].className)}};var $e={domReadyFunctions:[],onloadFunctions:[],onloadInit:false,domreadyExecuted:false,domReadyInit:false,add:function(oElemOrEvent,sEvType,fn,bCapture){var a=arguments;if(oElemOrEvent=="domready"){return $e.domready(sEvType)}if(oElemOrEvent==window&&sEvType=="load"){$e.addOnLoad(fn);if(!$e.onloadInit){$e.onloadInit=true;$e.addEvent(window,"load",$e.onLoadExecute,bCapture);return}return}return $e.addEvent(oElemOrEvent,sEvType,fn,bCapture)},addEvent:function(oElemOrEvent,sEvType,fn,bCapture){return document.addEventListener?oElemOrEvent.addEventListener(sEvType,fn,bCapture||false):oElemOrEvent.attachEvent?oElemOrEvent.attachEvent("on"+sEvType,fn):false},remove:function(oElem,sEvType,fn,bCapture){return document.addEventListener?oElem.removeEventListener(sEvType,fn,bCapture||false):oElem.detachEvent?oElem.detachEvent("on"+sEvType,fn):false},stop:function(e){if(e&&e.stopPropagation&&e.preventDefault){e.stopPropagation();e.preventDefault()}else{if(e&&window.event){window.event.cancelBubble=true;window.event.returnValue=false}}return false},getSrc:function(e){return e.target||e.srcElement},relSrc:function(e){switch(e.type){case"mouseover":return e.relatedTarget||e.fromElement;case"mouseout":return e.relatedTarget||e.toElement}},domready:function(fn){if(!$e.domReadyInit){if(window.attachEvent){document.write('<script id="ieScriptLoad" defer src="//:javascript:void(0)"><\/script>');document.getElementById("ieScriptLoad").onreadystatechange=function(){if(document.readyState=="complete"){$e.init($e.domReadyExecute)}}}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){$e.init($e.domReadyExecute)},false)}if(navigator.userAgent.search(/WebKit/i)!=-1){$e.loadTimer=setInterval(function(){if(document.readyState.search(/loaded|complete/i)!=-1){$e.init($e.domReadyExecute)}},10)}if($e){$e.addEvent(window,"load",function(){$e.init($e.domReadyExecute)})}$e.domReadyInit=true}$e.domReadyFunctions.push(fn)},addOnLoad:function(fn){$e.onloadFunctions.push(fn)},domReadyExecute:function(){if($e.domreadyExecuted){return}$e.domreadyExecuted=true;for(var i=0;i<$e.domReadyFunctions.length;i++){$e.domReadyFunctions[i]()}},onLoadExecute:function(){if(!$e.domreadyExecuted){$e.domReadyExecute()}for(var i=0;i<$e.onloadFunctions.length;i++){$e.onloadFunctions[i]()}},init:function(fn){if(arguments.callee.done){return}arguments.callee.done=true;if($e.loadTimer){clearInterval($e.loadTimer)}fn()}};$cookie={create:function(name,value,days){if(days){var date=new Date();date.setTime(date.getTime()+(days*24*60*60*1000));var expires="; expires="+date.toGMTString()}else{var expires=""}document.cookie=name+"="+value+expires+"; path=/"},read:function(name){var nameEQ=name+"=";var ca=document.cookie.split(";");for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==" "){c=c.substring(1,c.length)}if(c.indexOf(nameEQ)==0){return c.substring(nameEQ.length,c.length)}}return null},erase:function(name){$cookie.create(name,"",-1)}};var $s={get:function(oElm,strCssRule){var strValue="";if(document.defaultView&&document.defaultView.getComputedStyle){try{strValue=document.defaultView.getComputedStyle(oElm,null).getPropertyValue(strCssRule)}catch(e){strValue=""}}else{if(oElm.currentStyle){try{strCssRule=strCssRule.replace(/\-(\w)/g,function(strMatch,p1){return p1.toUpperCase()});strValue=oElm.currentStyle[strCssRule]}catch(e){strValue=""}}}return strValue},integer:function(oElm,strCSSRule){var val=parseInt($s.get(oElm,strCSSRule));if(isNaN(val)){val=0}return val},getV:function(elm){return IS_quirks?0:$s.integer(elm,"padding-top")+$s.integer(elm,"padding-bottom")+$s.integer(elm,"border-top-width")+$s.integer(elm,"border-bottom-width")},getH:function(elm){return IS_quirks?0:$s.integer(elm,"padding-left")+$s.integer(elm,"padding-right")}};function overLinkToggling(bloc){var toOpen=bloc.getElementsByTagName("div")[0];if(toOpen.className.match(/\bopened\b/)){toOpen.className=toOpen.className.replace(/\bopened\b/,"")}else{toOpen.className+=" opened"}bloc.blur()}var $n={hasAttr:function(n,a,not){var re,at;if(n.nodeType!=1){return false}function check(attr){for(var i in attr){at=(typeof n[i])!="undefined"?n[i]:n.getAttribute(i);re=attr[i] instanceof RegExp?attr[i]:new RegExp("\\b"+attr[i]+"\\b","i");if(!at||!re.test(at)){return false}}return true}if(not&&check(not)){return false}if(check(a)){return true}return false},getByTagName:function(n,tag){return(tag=="*")?(n.all?n.all:n.getElementsByTagName("*")):n.getElementsByTagName(tag)},node:function(n,a,not){return $n.nodes(n,a,not,true)},nodes:function(n,a,not,oneNode,arrElms){var aRetElms=[];if(!a){a={}}if(typeof a=="string"){a={nodeName:a}}if(a.nodeName&&a.nodeName=="*"){delete a.nodeName}var elms=arrElms||$n.getByTagName(n,(a.nodeName||"*"));for(var i=0;i<elms.length;i++){var x=elms[i];if($n.hasAttr(x,a,not)){if(oneNode){return x}else{aRetElms.push(x)}}}if(oneNode){return null}return aRetElms},childs:function(n,a,not){return $n.nodes(n,a,not,false,n.childNodes)},firstChild:function(n,a,not){return $n.nodes(n,a,not,true,n.childNodes)},lastChild:function(n,a,not){var node=$n.nodes(n,a,not,false,n.childNodes);return node[node.length-1]},move:function(n,a,not,action){while(n){if($n.hasAttr(n,a,not)){return n}n=n[action]}return null},after:function(n,a,not){return $n.move(n,a,not,"nextSibling")},before:function(n,a,not){return $n.move(n,a,not,"previousSibling")},parent:function(n,a,not){return $n.move(n,a,not,"parentNode")}};var getNode=$n.node,getNodes=$n.nodes,getChildNodes=$n.childs,getNextSibling=$n.after,getPreviousSibling=$n.before,getParent=$n.parent,hasAttributes=$n.hasAttr,getElementsByTagName=$n.getByTagName;var CSSBottomCorners=[],currentBlockToFixCorners,CSSHeightCorners=[];function cssRight(elm){if(elm.currentStyle.right!="auto"){elm.style.right=(parseInt(elm.currentStyle.right)-(elm.parentNode.offsetWidth%2))+"px"}else{elm.style.right="auto"}}function cssBottom(elm,pushElement){if(pushElement&&!elm.CSSBottomAlreadyCSS){CSSBottomCorners.push(elm);elm.CSSBottomAlreadyCSS=true}if(elm.currentStyle.bottom!="auto"){elm.style.bottom=(parseInt(elm.currentStyle.bottom)-(elm.parentNode.offsetHeight%2))+"px"}else{elm.style.bottom="auto"}}function fixCorners(block){if(IS_IE6){if(block){var corners=$n.nodes(block,{nodeName:"span",className:"(bl|br|tr)"});for(var i=corners.length-1;i>-1;--i){corners[i].style.bottom="";corners[i].style.right=""}}else{for(var i=CSSBottomCorners.length-1;i>-1;--i){CSSBottomCorners[i].style.bottom=""}}}else{if(IS_Webkit||/Gecko\/200[56]|Opera 8.5/i.test(navigator.userAgent)){fixCornersOnBlocks(block)}}}function fixCornersOnBlocks(block){var blockToFix=block||document.body;blockToFix.className+=" hideCorners";setTimeout(function(){if(blockToFix){blockToFix.className=blockToFix.className.replace(/\bhidecorners\b/gi,"")}},1)}function cssHeight(elm,pushElement){if(pushElement&&!elm.CSSHeightAlreadyCSS){CSSHeightCorners.push(elm);elm.CSSHeightAlreadyCSS=true}elm.style.height=elm.parentNode.offsetHeight+"px"}function fixHeights(block){setTimeout(function(){if(IS_IE6){var array=block?$n.nodes(block,{nodeName:"span",className:"tr|bl"}):CSSHeightCorners;array.eachInv(function(x){x.style.height=""})}},2)}function fixAll(actions,element){actions=actions?actions.toLowerCase().split(""):["c","h","p"];actions.each(function(action){switch(action){case"c":fixCorners(element);break;case"h":fixHeights(element);break;case"p":fixColumns(element);break}})}function addHover(elm,className,iframeTag){className=className||"hover";elm.style.behavior=" ";elm.hoverClassName=className;if(iframeTag){elm.iframeElm=getNode(elm,iframeTag)}elm.onmouseenter=function(){this.className+=" "+this.hoverClassName;if(this.iframeElm){ifrlayer.make(this.iframeElm)}};elm.onmouseleave=function(){this.className=this.className.replace(new RegExp("\\b"+this.hoverClassName+"\\b","g"),"");if(this.iframeElm){ifrlayer.hide(this.iframeElm)}}}function navAddHover(elm,position){elm.style.behavior=" ";var ul=elm.getElementsByTagName("ul");if(ul.length>0){elm.theUl=ul[0];ifrlayer.make(elm.theUl);if(position=="right"){elm.onmouseenter=function(){this.className+=" rightover";ifrlayer.make(elm.theUl)}}else{elm.onmouseenter=function(){this.className+=" over";ifrlayer.make(elm.theUl)}}elm.onmouseleave=function(){this.className=this.className.replace(/\b(right)?over\b/,"");ifrlayer.hide(this.theUl)}}}var ifrlayer={ie:document.all&&window.print&&!window.opera&&document.getElementById,$:function(obj){if(!obj){return null}return(typeof(obj)=="string")?document.getElementById(obj):obj},make:function(obj){return;obj=this._$(obj);if(!obj){return}if(this.ie){if(!obj.iframelayer){var ifr=document.createElement("iframe");ifr.src="javascript:false";obj.parentNode.insertBefore(ifr,obj);obj.iframelayer=ifr}var ifr=obj.iframelayer;if(obj.currentStyle.zIndex!=""&&parseInt(obj.currentStyle.zIndex)>1){ifr.style.zIndex=parseInt(obj.currentStyle.zIndex)-1}with(ifr.style){filter="mask()";position="absolute"}obj.iframelayer.style.visibility="visible";ifrlayer.move(obj,true)}},hide:function(obj){obj=this._$(obj);if(!obj){return}if(obj.iframelayer){obj.iframelayer.style.visibility="hidden"}},kill:function(obj){obj=this._$(obj);if(!obj){return}if(obj.iframelayer){obj.iframelayer.parentNode.removeChild(obj.iframelayer);obj.iframelayer=null}},move:function(obj,size){obj=this._$(obj);if(obj&&obj.iframelayer){with(obj.iframelayer.style){top=obj.offsetTop+"px";left=obj.offsetLeft+"px";if(size){width=obj.offsetWidth+"px";height=obj.offsetHeight+"px"}}}}};$extend(Array.prototype,{each:function(f){var i;for(i=0;i<this.length;i++){f(this[i],i,this)}},eachInv:function(f){for(var i=this.length-1;i>=0;i--){f(this[i],i,this)}},last:function(){return this.length>0?this[this.length-1]:null}});var Corners={pushedFuncs:[],init:function(){function getIsd(node,className){return getNode(node,{className:(className||"blockInside")})}function nc(clN){var b=document.createElement("span");b.className=clN;return b}function add(x,c){var i=0;if(!x){return}if(c.length){for(i=0;i<c.length;i++){x.appendChild(c[i].cloneNode(true))}}else{x.appendChild(c.cloneNode(true))}return x}tAdd=add;var corners=[nc("tl"),nc("tr"),nc("bl"),nc("br")];var topCorners=[nc("tl"),nc("tr")];var bottomCorners=add(nc("cornersBottom"),[nc("cbl"),nc("cbr")]);var cornersTop=[nc("colTl"),nc("colTr")];var shadow=nc("specialShadow");add(shadow,[nc("lt"),nc("rt"),nc("trame")]);var overtl=nc("overtl");Corners.add=function(x){if(x.className.match(/\bcornersType2\b/)){tAdd(getIsd(x),topCorners);tAdd(x,bottomCorners)}else{if(x.className.match(/\bblock\b/)&&!x.className.match(/\bnocorners\b/i)){tAdd(getIsd(x),corners)}}if(x.id=="leftCol"||x.id=="rightCol"||x.id=="mainInside"){tAdd(x,cornersTop)}if(x.className.indexOf("arrayBlock")!=-1){tAdd(x,corners)}if(x.className.match(/\bspecialShadow\b/)){tAdd(x,shadow)}if(x.className.match(/\bblockToggle|blockSimpleShadow|blockSquareShadow\b/)){tAdd(getIsd(x),overtl)}}},launch:function(){Corners.pushedFuncs.each(function(o){o.f.apply(window,o.p)});Corners.pushedFuncs=[]}};Corners.init();function generateElements(parent,stringClasses){var i,x;parent=(typeof parent=="string")?document.getElementById(parent):parent;var content=parent||document;var div=content.getElementsByTagName("div");var bla=div.length;for(i=0;i<div.length;i++){x=div[i];if(!x.alreadyProcessed){Corners.pushedFuncs.push({f:Corners.add,p:[x]});x.alreadyProcessed=true;initOtherBlocks(x)}}var uls=document.getElementsByTagName("ul");for(i=uls.length-1;i>=0;i--){var x=uls[i];if(!x.alreadyProcessed){x.alreadyProcessed=true;initOtherBlocks(x)}}setTimeout(Corners.launch,20);fixColumns()}function initOtherBlocks(x){if($c.has(x,/\bblockTabs/)){$tabs.init(x)}if($c.has(x,"line")){linesOfBlocks.push(x)}if(x.className.match(/\blist.cols\b/)){var lis=$n.childs(x,{nodeName:"li",className:"item"},{className:"(firstLine|lastItem)"});var hideCenterBorder=document.createElement("span");hideCenterBorder.className="hideCenterBorder";lis.each(function(li,index){setTimeout(function(){li.appendChild(hideCenterBorder.cloneNode(true));li.style.zIndex=lis.length+1-index},30)})}}function fixColumns(){function fix(){var colonnes=["leftCol","main","rightCol"];var colonnesInside=["leftColIsd","mainInside",""];var hMax=0,minMax=0,sum=0,i,b,hToU=heightPropertyToUse;function each(f){for(i=0;i<colonnes.length;i++){b=_$(colonnes[i]);f()}}each(function(){var bToSize=_$(colonnesInside[i])||b;if(bToSize){bToSize.style[hToU]="5px"}});hMax=_$("body").offsetHeight;each(function(){var bIsd=_$(colonnesInside[i]);if(b&&b.scrollHeight>0){if(bIsd){var diff=(hMax-b.offsetHeight)+bIsd.clientHeight-$s.getV(bIsd);bIsd.style[hToU]=diff+"px"}else{b.style[hToU]=hMax-$s.getV(b)+"px"}}})}fix()}var afterLoad={functions:[],add:function(f){this.functions.push(f)},start:function(){this.functions.each(function(f){f()})}};var $tabs={cookieTabsRe:/blockTabsType2/i,cookieBlockTab:null,cookieName:"sfrCookieTab",init:function(block){if($tabs.cookieTabsRe&&block.className.match($tabs.cookieTabsRe)){$tabs.cookieBlockTab=block;$c.add($tabs.cookieBlockTab,"blocksTabHideContents")}var ul=$n.node(block,{nodeName:"ul"});if(!ul){return}var a=ul.getElementsByTagName("a");for(var i=0;i<a.length;i++){a[i].parentNode.innerHTML+='<b class="tabTl"></b><b class="tabTr">';if(!$n.hasAttr(a[i],{className:"nochange"})){a[i].parentNode.onclick=function(){$tabs.change(this);return false};a[i].onclick=a[i].parentNode.onclick;$e.add(a[i],"click",$e.stop)}$tabs.sizeTab(a[i],ul)}afterLoad.add(function(){$tabs.sizeContents(block)});afterLoad.add(function(){fixCorners(block)})},sizeTab:function(a,ul){if($c.has(ul,"noresize")){return}var newSize=a.offsetHeight+(ul.offsetHeight-a.offsetHeight)-$s.getV(a);a.style[heightPropertyToUse]=(newSize<0)?0:newSize+"px"},sizeContents:function(block){if(block.className.match(/\b(noresize|blockTabs|blockTabsVertical)\b/)){return}var body=$n.node(block,{nodeName:"div",className:"body"});var tabsCtn=$n.childs(body,{nodeName:"div",className:"tabCtn"});var maxHeight=body.offsetHeight;tabsCtn.each(function(x){x.style.display="block";if(x.offsetHeight>maxHeight){maxHeight=x.offsetHeight}});tabsCtn.each(function(x){var tabBody=$n.node(x,{className:"tabBody"});tabBody.style[heightPropertyToUse]=tabBody.offsetHeight+(maxHeight-x.offsetHeight)-$s.getV(tabBody)+"px";x.style.display=""})},change:function(elm,blockContainerIfElmIsNumber){var i,n,current=0;if(elm.nodeName==null){elm=parseInt(elm);blockContainerIfElmIsNumber=$tabs.cookieBlockTab||blockContainerIfElmIsNumber;var ul=$n.node(blockContainerIfElmIsNumber,{nodeName:"ul",className:"tabs(Big|Sub)?"});var lis=ul.getElementsByTagName("li");var li=elm>lis.length?lis[0]:lis[elm-1]}else{var ul=$n.parent(elm,{nodeName:"ul",className:"tabs(Big|Sub)?"});var li=elm.nodeName.toLowerCase()=="LI"?elm:$n.parent(elm,{nodeName:"li"})}var tabs=ul.getElementsByTagName("li"),block=$n.parent(ul,{nodeName:"div",className:/\bblockTabs/i});if(li.className.match(/current/)){return}for(i=0;i<tabs.length;i++){if(tabs[i]==li){current=i;$c.add(li,"current")}else{$c.remove(tabs[i],"current")}}var body=$n.node(block,{nodeName:"div",className:"body"});var tabCtns=$n.childs(body,{nodeName:"div",className:"tabCtn"});for(i=0;i<tabs.length;i++){n=tabCtns[i];$c.remove(n,"tabCurrent");if(i==current){if(block.className.match(/\bblockTabs/i)&&!n.allImagesTransformed){n.allImagesTransformed=true;var spans=$n.nodes(tabCtns[i],{nodeName:"span",className:"img"});spans.each(function(span){if(span.getAttribute("title")){var img=document.createElement("img");img.src=span.getAttribute("title");img.setAttribute("alt",span.innerHTML);img.className=span.className.replace(/(^|\s)img(?:\s|$)\b/,"$1");span.parentNode.replaceChild(img,span)}})}$c.add(n,"tabCurrent");if(!n.alReadySized){sizeBlocks(n);n.alReadySized=true}fixHeights()}}if($tabs.cookieBlockTab&&$tabs.cookieBlockTab==block){$cookie.create($tabs.cookieName,current+1,365)}if(document.all&&window.print){$n.nodes(block,{nodeName:"span",className:"(tr|bl)"}).each(function(corner,i){setTimeout(function(){corner.style.height=""},2*i)})}fixColumns();fixCorners()},selectFromCookie:function(){var tabNum=$cookie.read($tabs.cookieName);if($tabs.cookieBlockTab){$c.remove($tabs.cookieBlockTab,"blocksTabHideContents");if(!tabNum){var ul=$n.node($tabs.cookieBlockTab,{nodeName:"ul",className:/tabs/});var lis=$n.nodes(ul,{nodeName:"li"});lis.each(function(li,index){if(li.className.match(/current/)){tabNum=index+1}})}if(!tabNum){tabNum=1}$tabs.change(tabNum,$tabs.cookieBlockTab)}}};var linesOfBlocks=[];function sizeBlocks(parentBlock,smoothResize){function size(block,size){if(size<=0){return}if(block){var body=block.className.match(/\bblock\b/)?$n.node(block,{nodeName:"div",className:"body"}):block;try{if(body){body.style[heightPropertyToUse]=body.offsetHeight+size-$s.getV(body)+"px"}}catch(e){}}}var arrayLines=linesOfBlocks;if(parentBlock){arrayLines=$n.nodes(parentBlock,{nodeName:"ul",className:"line"});arrayLines=arrayLines.concat($n.nodes(parentBlock,{nodeName:"div",className:"line"}))}arrayLines.eachInv(function(line){var units=getChildNodes(line,{className:"unit"});units.each(function(unit){var blocks=getChildNodes(unit,{className:"(block|line)"},{className:"noresize"});unit.blocks=blocks;var sizeToApply=line.clientHeight-unit.clientHeight;var sizePerBlock=parseInt(sizeToApply/blocks.length);if(blocks.length>1&&smoothResize){return}blocks.each(function(block){size(block,sizePerBlock)});if(blocks.length>1){size(blocks.last(),line.clientHeight-unit.clientHeight)}})})}var contentsArray=[];function contentAdd(ContainerAttr,childNodeAttr,numberPerLines){contentsArray.push({container:ContainerAttr,child:childNodeAttr,number:numberPerLines})}function contentSize(){contentsArray.each(function(attr){var containers=getNodes(document,attr.container);containers.each(function(container){var childs=getNodes(container,attr.child);var lineBreak=attr.number;var maxH=0,count=1,lineArray=[];function sizeElements(){lineArray.each(function(line){try{line.style[heightPropertyToUse]=maxH-$s.getV(line)+"px"}catch(e){line.style[heightPropertyToUse]=heightPropertyToUse=="height"?"auto":0}});lineArray=[];count=0;maxH=0}childs.each(function(child){if(count==1){child.parentNode.style.clear="left"}if(child.offsetHeight>maxH){maxH=child.offsetHeight}lineArray.push(child);if(count>=lineBreak){sizeElements()}count++});sizeElements()})})}contentAdd({nodeName:"ul",className:"list2cols "},{nodeName:"li",className:"item"},2);contentAdd({nodeName:"ul",className:"list3cols "},{nodeName:"li",className:"item"},3);var SWFObjectExpressInstallPath="/img/expressinstall.swf";if(typeof deconcept=="undefined"){var deconcept={}}if(typeof deconcept.util=="undefined"){deconcept.util={}}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil={}}deconcept.SWFObject=function(E,C,K,F,H,J,L,G,A,D){if(!document.getElementById){return}this.DETECT_KEY=D?D:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(E){this.setAttribute("swf",E)}if(C){this.setAttribute("id",C)}if(K){this.setAttribute("width",K)}if(F){this.setAttribute("height",F)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(J){this.addParam("bgcolor",J)}var B=L?L:"high";this.addParam("quality",B);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var I=(G)?G:window.location;this.setAttribute("xiRedirectUrl",I);this.setAttribute("redirectUrl","");if(A){this.setAttribute("redirectUrl",A)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]||""},addParam:function(A,B){this.params[A]=B},getParams:function(){return this.params},addVariable:function(A,B){this.variables[A]=B},getVariable:function(A){return this.variables[A]||""},getVariables:function(){return this.variables},getVariablePairs:function(){var A=[];var B;var C=this.getVariables();for(B in C){A[A.length]=B+"="+C[B]}return A},getSWFHTML:function(){var D="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}D='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'"';D+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var C=this.getParams();for(var A in C){D+=[A]+'="'+C[A]+'" '}var B=this.getVariablePairs().join("&");if(B.length>0){D+='flashvars="'+B+'"'}D+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}D='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'">';D+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var A in C){D+='<param name="'+A+'" value="'+C[A]+'" />'}var B=this.getVariablePairs().join("&");if(B.length>0){D+='<param name="flashvars" value="'+B+'" />'}D+="</object>"}return D},write:function(A){var D=this;if(this.getAttribute("useExpressInstall")){var B=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(B)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof A=="string")?document.getElementById(A):A;setTimeout(function(){C.innerHTML=D.getSWFHTML()},50);return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var C=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){C=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var D=1;var B=3;while(D){try{B++;D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);C=new deconcept.PlayerVersion([B,0,0])}catch(E){D=null}}}else{try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(E){try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");C=new deconcept.PlayerVersion([6,0,21]);D.AllowScriptAccess="always"}catch(E){if(C.major==6){return C}}try{D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(E){}}if(D!=null){C=new deconcept.PlayerVersion(D.GetVariable("$version").split(" ")[1].split(","))}}}return C};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(D){var C=document.location.search||document.location.hash;if(D==null){return C}if(C){var B=C.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==D){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var C=document.getElementsByTagName("OBJECT");for(var B=C.length-1;B>=0;B--){C[B].style.display="none";for(var A in C[B]){if(typeof C[B][A]=="function"){C[B][A]=function(){}}}}};if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var XHRConnexion=function(method,url,Async,callBackFunction,datas){function getXHR(){var xhr=null;if(window.XMLHttpRequest){xhr=new XMLHttpRequest()}else{if(window.ActiveXObject){try{xhr=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xhr=new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}}}return xhr}function addNoCache(str){if(str.indexOf("?")==-1){str+="?"}else{if(str.charAt(str.length-1)!="&"){str+="&"}}str+="nocache"+parseInt(Math.random()*10000+1000)+"="+Math.random();return str}function onready(){if(xhr.readyState==4){if(typeof callBackFunction=="function"){callBackFunction(xhr)}}}var xhr=getXHR();xhr.onreadystatechange=onready;url=decodeURIComponent(url);datas=datas?datas:"";switch(method){case"GET":try{url=(datas.length>0)?url+"?"+datas:url;xhr.open("GET",addNoCache(url),Async);xhr.send(null)}catch(error){return false}break;case"POST":try{xhr.open("POST",addNoCache(url),Async);xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xhr.send(datas)}catch(error){return false}break;default:return false}return xhr};function getPos(elm){var top=0,left=0;while(elm.offsetParent){top+=elm.offsetTop;left+=elm.offsetLeft;elm=elm.offsetParent}return[top,left]}function headerinit(){var _$=function(el){return document.getElementById(el)};function backgroudNone(){_$("hdnav_services").style.background="none";if(_$("hdnav_services").className=="collapse"){_$("hdnav_services").style.background="#FFF"}}if(_$("hdnav_services")!=null){if(_$("hdnav_services").getElementsByTagName("small").length>0){backgroudNone()}}var _Services={init:function(){var self=this;this.visible=false;this.timer=null;this.services=_$("hdnav_services");this.sublist=_$("hdnav_sublist");if(!this.services||!this.sublist){return}this.services.className="";this.sublist.style.display="none";$e.add(this.services,"click",function(){self.servicesClick()},false);$e.add(document,"click",function(){self.documentClick()},false)},toggle:function(el){if(el.style.display=="none"){el.style.display="block"}else{el.style.display="none"}},toggleClassName:function(el,name){if(el.className==name){el.className=""}else{el.className=name}},servicesClick:function(){var self=this;if(!this.visible){this.services.blur();if(typeof this.timer=="number"){window.clearTimeout(function(){self.toggleSublist()},10);delete this.timer}this.timer=window.setTimeout(function(){self.toggleSublist()},10);return false}},documentClick:function(){if(this.visible){this.services.blur();this.toggleSublist();this.visible=false}},toggleSublist:function(){this.toggle(this.sublist);this.toggleClassName(this.services,"collapse");this.toggleClassName(this.sublist,"enabled");if(_$("hdnav_services").getElementsByTagName("small").length>0){if(_$("hdnav_services").className=="collapse"){_$("hdnav_services").getElementsByTagName("small")[0].innerHTML="&#9650;"}else{_$("hdnav_services").getElementsByTagName("small")[0].innerHTML="&#9660;"}backgroudNone()}if(this.sublist.className=="enabled"){this.visible=true}if(this.timer){delete this.timer}}};_Services.init();var _CustomTab=function(target){this.target=_$(target);if(!this.target){return}this.tabsA=this.target.getElementsByTagName("a");this.tabsN=this.tabsA.length;this.init()};_CustomTab.prototype={init:function(){for(i=0;i<this.tabsN;++i){if(this.tabsA[i].className!="selected"){_$(this.tabsA[i].title).style.display="none"}else{_$(this.tabsA[i].title).style.display="block"}this.addTab(this.tabsA[i])}},resetTab:function(){for(i=0;i<this.tabsN;++i){this.tabsA[i].className="";_$(this.tabsA[i].title).style.display="none"}},switchTab:function(e){this.duplicateFieldValue();this.resetTab();e.className="selected";_$(e.title).style.display="block"},duplicateFieldValue:function(){var TabNameToDuplicate="";for(i=0;i<this.tabsN;++i){if(this.tabsA[i].className=="selected"){TabNameToDuplicate=this.tabsA[i].title}}if(TabNameToDuplicate!=""){var formToDuplicate=document.getElementById(TabNameToDuplicate);var valueToduplicate="";if(formToDuplicate){valueToduplicate=formToDuplicate.q.value}for(i=0;i<this.tabsN;++i){formId=this.tabsA[i].title;formObj=document.getElementById(formId);formObj.q.value=valueToduplicate}}},addTab:function(e){var self=this;$e.add(e,"click",function(){self.switchTab(e)})}};new _CustomTab("searchTabs")}$e.add("domready",function(){headerinit();generateElements();$tabs.selectFromCookie()});$e.add(window,"load",function(){afterLoad.start();contentSize();sizeBlocks();fixColumns();fixCorners();fixHeights()});function activeSel(radioButton){var sel1=document.getElementById("recherchesfrnav");var sel2=document.getElementById("recherchesfrbottom");var disabled=radioButton.value.toLowerCase()=="sfr"?"":"disabled";sel1.disabled=disabled;if(sel2){sel2.disabled=disabled}var selectedVal=radioButton.value;var selArr=[sel1,sel2];for(var i=0;i<selArr.length;i++){var s=selArr[i];if(s){var inp=s.form.getElementsByTagName("input");for(var j=0;j<inp.length;j++){var x=inp[j];if(x.type=="radio"){x.checked=x.value==selectedVal?"checked":""}}}}}function makeSameSel(sel,secondSelect){var sel2=document.getElementById(secondSelect);if(sel2){sel2.selectedIndex=sel.selectedIndex}}function changeTextToOther(input,otherInputId){for(i=0;i<otherInputId.length;i++){var input2name=otherInputId[i];var input2=document.getElementById(input2name);if(input2){input2.value=input.value}}}function SFR_AdBanner(tagId,size,params){var adserver="";var network="516";var sizes=new Array;sizes.sky=168;sizes.square=170;sizes.megaban=225;sizes.halfsquare=457;sizes["1pixel"]=16;(params)?params+=";":params="";(window.location.protocol=="https:")?adserver="https://adssl-dc2.adtech.de":adserver="http://adserver.aol.fr";document.write('<script language="javascript1.1" src="'+adserver+"/addyn|3.0|"+network+"|"+tagId+"|0|"+sizes[size]+"|ADTECH;loc=100;target=_blank;sub1=[subst];key=key1+key2+key3+key4;"+params+"grp=[group];misc="+new Date().getTime()+'"><\/script>')}(function($){$.extend({cookie:{create:function(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{var a=""}document.cookie=c+"="+d+a+"; path=/"},read:function(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null},erase:function(a){$.cookie.create(a,"",-1)}}});$.fn.panel=function(a){var b=$.extend({modules:[],modulo:3,icoPath:"",urlPath:"",moduleDelay:200,moduleTimeout:null,moduleError:"<p>Une erreur c'est produite pendant le chargement du module</p>",classLoading:"ajaxBlockLoading",classContent:"ajaxBlockContent",classModule:"ajaxBlock",classSelected:"selected",classLast:"last",textPosition:"right",slide:false},a);return this.each(function(){new $.panel($(this),b)})};$.panel=function(a,b){this.main=a;this.settings=b;this.run=true;this.loading=false;this.moduleLine,this.moduleActive,this.lineActive,this.lineCurrent;this.modules=[];this.moduleActive=null;this.init()};$.panel.prototype={init:function(){this.cache=$("<div/>").addClass(this.settings.classLoading).hide();this.content=$("<div/>").addClass(this.settings.classContent).addClass("clear").hide();this.main.append(this.cache);this.getModule();this.getPanel()},getModule:function(){var a=this;$(this.settings.modules).each(function(b,d){if(d&&d.title){var c=new $.panel.Module(d,a);a.modules.push(c)}})},getPanel:function(b){var a=this,c=this.modules.length;$(this.modules).each(function(d,g){var f=g;if(d%a.settings.modulo==0){a.moduleLine=$("<ul/>").addClass(a.settings.classModule).addClass("clear");a.main.append(a.moduleLine);if(f.params.active&&a.settings.slide){a.lineActive=a.moduleLine.get(0)}}f.init(d,a.moduleLine.get(0));a.moduleLine.append(f.create());if(f.params.active){a.moduleActive=f;a.moduleActive.open()}})}};$.panel.Module=function(b,a){this.panel=a;this.params=b;this.content=null;this.listItem=null;this.listLink=null};$.panel.Module.prototype={init:function(b,a){this.index=b;this.line=a;this.setListLink();this.setListItem()},create:function(){return this.listItem.append(this.listLink)},load:function(){var a=this;if(a.content!=null){a.panel.cache.html(a.content);a.panel.content.height(a.panel.content.height());a.panel.content.hide().empty();if(!a.panel.settings.slide||a.panel.settings.slide&&a.panel.lineActive!=a.line||a.panel.run){a.panel.content.animate({height:a.panel.cache.height()+"px"},a.panel.settings.moduleDelay,function(){a.panel.content.html(a.content);a.finish()})}else{a.panel.content.height("auto");a.panel.content.html(a.content).show();a.finish()}}else{$.ajax({type:"GET",url:a.params.url,cache:false,beforeSend:function(){if(!a.panel.settings.slide||a.panel.settings.slide&&a.panel.lineActive!=a.line||a.panel.run){if(a.panel.content.height()==0){a.panel.content.height(100)}else{a.panel.content.height(a.panel.content.height())}a.panel.content.hide().empty().addClass(a.panel.settings.classLoading).show()}else{a.panel.content.height(a.panel.content.height()).empty().addClass(a.panel.settings.classLoading)}},success:function(b,c){a.panel.cache.html(b);a.panel.content.html(b);if(!a.panel.settings.slide||a.panel.settings.slide&&a.panel.lineActive!=a.line||a.panel.run){a.panel.content.removeClass(a.panel.settings.classLoading).animate({height:a.panel.cache.height()+"px"},a.panel.settings.moduleDelay,function(){a.finish()})}else{a.panel.content.removeClass(a.panel.settings.classLoading);a.panel.content.height("auto").show();a.finish()}a.content=b},error:function(b,d,c){a.panel.content.removeClass(a.panel.settings.classLoading).html(a.panel.settings.moduleError);a.panel.loading=false}})}},open:function(){if(this.panel.loading||this.listLink.hasClass(this.panel.settings.classSelected)){return}var a=this;this.panel.loading=true;this.panel.lineCurrent=this.line;this.close();this.panel.moduleActive=this;this.load();this.listLink.addClass(this.panel.settings.classSelected);this.listLink.closest("ul").after(this.panel.content)},close:function(){if(this.panel.moduleActive!=null){this.panel.moduleActive.listLink.removeClass(this.panel.settings.classSelected)}},finish:function(){this.panel.lineActive=this.line;this.panel.loading=false;this.panel.run=false},setListItem:function(){this.listItem=$("<li/>").addClass(this.index%this.panel.settings.modulo==this.panel.settings.modulo-1?this.panel.settings.classLast:"")},setListLink:function(){var a=this;this.listLink=$("<a/>").bind("mouseover",function(){if(a.panel.settings.moduleTimeout!=null){clearTimeout(a.panel.settings.moduleTimeout)}a.panel.settings.moduleTimeout=setTimeout(function(){a.open()},50);return false}).bind("mouseout",function(){clearTimeout(a.panel.settings.moduleTimeout)}).attr("href",this.panel.settings.urlPath+this.params.link).append($("<span/>").append($("<span/>").addClass(this.params.textPosition).css({"background-image":"url("+this.panel.settings.icoPath+this.params.ico+")"}).html(this.params.title)))}};$.fn.extend({tabs:function(a){var b=$.extend({cookie:true,cookieName:"sfrTabsCookie",index:0},a);return this.each(function(d,f){var c=new $.tabs($(f),d,b);c.init()})}});$.extend({tabs:function(b,a,c){this.tabsBlock=b;this.tabsCurrent=c.index;this.cookie=c.cookie;this.cookieName=c.cookieName;this.tabsIndex=a}});$.tabs.prototype={init:function(){this.tabsList=this.tabsBlock.find("ul:first");this.tabsA=this.tabsList.find("a");this.tabsLI=this.tabsList.children("li");this.tabsDIV=this.tabsBlock.find("div.tabsCtn");this.tabsBind();if(this.cookie){if(!$.cookie.read(this.cookieName+this.tabsIndex)){$.cookie.create(this.cookieName+this.tabsIndex,this.tabsCurrent,365)}else{this.tabsChange(this.tabsA.eq($.cookie.read(this.cookieName+this.tabsIndex)))}}},tabsBind:function(){var a=this;this.tabsA.each(function(b,c){$(this).click(function(){a.tabsChange($(this));return false})})},tabsChange:function(b){var a=this;var c=b.parent();if(c.hasClass("current")){return}this.tabsList.find("li.current").removeClass("current");c.addClass("current");b.blur();this.tabsBlock.find("div.tabsCurrent").removeClass("tabsCurrent");this.tabsCurrent=this.tabsLI.index(c);if(this.cookie){$.cookie.create(this.cookieName+this.tabsIndex,this.tabsCurrent,365)}var d=this.tabsDIV.eq(this.tabsCurrent);d.addClass("tabsCurrent");if(!d.get(0).imageTransform){this.tabsImageTransform(d)}},tabsImageTransform:function(a){a.find("span.img").each(function(){if($(this).attr("title")){var b=$("<img/>").attr("src",$(this).attr("title")).attr("alt",$(this).text()).addClass($(this).removeClass("img").attr("class"));$(this).replaceWith(b)}});a.get(0).imageTransform=true}};$.fn.extend({carrousel:function(a){var b=$.extend({autoStart:true,animate:false,duration:10000},a);return this.each(function(d,f){var c=new $.carrousel($(f),b);c.init()})}});$.extend({carrousel:function(a,b){this.reference=a;this.wrapper=a.find("div.carrouselContent div.carrouselWrapper");this.width=this.wrapper.parent().width();this.items=this.wrapper.find("div.carrouselItem");this.current=this.wrapper.find("div.carrouselCurrent");this.btnNext=a.find("div.carrouselAction a.carrouselNext");this.btnPrevious=a.find("div.carrouselAction a.carrouselPrevious");this.btnPause=a.find("div.carrouselAction a.carrouselPause");this.btnPlay=a.find("div.carrouselAction a.carrouselPlay");this.page=a.find("div.carrouselAction span.carrouselPage");this.rub=a.find("div.carrouselAction span.carrouselRub");this.label=a.find("div.carrouselAction a.carrouselLabel");this.timer=null;this.index=this.items.index(this.current);this.limit=this.items.length-1;this.duration=b.duration;this.animate=b.animate;this.autoStart=b.autoStart}});$.carrousel.prototype={init:function(){var a=this;this.items.width(this.width);this.pageUpdate();this.labelUpdate();this.btnNext.bind("click",function(){$(this).blur();a.pause();a.next();a.pageUpdate();a.labelUpdate();return false});this.btnPrevious.bind("click",function(){$(this).blur();a.pause();a.previous();a.pageUpdate();a.labelUpdate();return false});this.btnPause.bind("click",function(){$(this).blur();(a.timer==null)?a.play():a.pause();return false});this.btnPlay.bind("click",function(){$(this).blur();a.play();return false});if(this.animate){this.items.show()}if(this.autoStart){this.play()}},next:function(){var a=this;if(this.animate){if(this.index==this.limit){this.wrapper.animate({left:"0px"},500);this.index=0}else{this.wrapper.animate({left:"-="+a.width+"px"},500);this.index++}}else{this.items.eq(this.index).removeClass("carrouselCurrent").end().eq((this.index==this.limit)?this.index=0:++this.index).addClass("carrouselCurrent")}},previous:function(){var a=this;if(this.index==0){return}if(this.animate){this.wrapper.animate({left:"+="+a.width+"px"},500);this.index--}else{this.items.eq(this.index).removeClass("carrouselCurrent").end().eq(--this.index).addClass("carrouselCurrent")}},play:function(){var a=this;this.timer=setInterval(function(){a.next();a.pageUpdate();a.labelUpdate()},this.duration)},pause:function(){clearInterval(this.timer);this.timer=null},pageUpdate:function(){this.page.text((this.index+1)+"/"+(this.limit+1))},labelUpdate:function(){this.rub.text(this.items.eq(this.index==this.limit?0:this.index+1).find("div.cRub").eq(0).text());this.label.text(this.items.eq(this.index==this.limit?0:this.index+1).find("div.cLabel").eq(0).text())}}})(jQuery);(function($){$(function(){$("#blockAjax").panel({modules:typeof(ajaxModules)=="undefined"?[]:ajaxModules,moduleDelay:300,slide:true,animate:true});$("#open_ctn, #close_ctn").bind("click",function(){$("#ctn_chaines").animate({height:"toggle",width:"toggle"},200)});$("div.tabsBox").tabs();$("div.carrousel").carrousel()})})(jQuery);
