document.documentElement.className+=" hasJS";
var $n={hasAttr:function(d,b,c){if(d.nodeType!=1&&c&&this.check(d,c)){return false
}if(this.check(d,b)){return true
}return false
},check:function(c,a){for(var b in a){if(!a[b].test(c[b])){return false
}}return true
},setAttr:function(a){for(var b in a){a[b]=(typeof(a[b])=="string")?new RegExp("\\b"+a[b]+"\\b"):a[b]
}return a
},getByTagName:function(b,a){return(a=="*"&&b.all)?b.all:b.getElementsByTagName(a)
},node:function(d,b,c){return this.nodes(d,b,c,true)
},nodes:function(b,j,e,k,d){var g=[];
if(!j){j={}
}if(typeof j=="string"){j={nodeName:j}
}if(j.nodeName&&j.nodeName=="*"){delete j.nodeName
}if(j.nodeName instanceof RegExp){var c=this.getByTagName(b,"*")
}else{var c=d||this.getByTagName(b,(j.nodeName||"*"))
}if(c.length>0){delete j.nodeName
}j=this.setAttr(j);
e=this.setAttr(e);
for(var f=0;
f<c.length;
f++){var h=c[f];
if(this.hasAttr(h,j,e)){if(k){return h
}else{g.push(h)
}}}if(k){return null
}return g
},childs:function(d,b,c){return this.nodes(d,b,c,false,d.childNodes)
},firstChild:function(d,b,c){return this.nodes(d,b,c,true,d.childNodes)
},lastChild:function(e,b,d){var c=this.nodes(e,b,d,false,e.childNodes);
return c[c.length-1]
},move:function(e,b,c,d){b=this.setAttr(b);
c=this.setAttr(c);
do{e=e[d]
}while(!this.hasAttr(e,b,c));
return e
},previous:function(d,b,c){return this.move(d,b,c,"previousSibling")
},next:function(d,b,c){return this.move(d,b,c,"nextSibling")
},parent:function(d,b,c){return this.move(d,b,c,"parentNode")
}};
if(!window.$extend){function $extend(c,a){for(var b in (a||{})){c[b]=a[b]
}return c
}}function $protoTypeExtend(c,a){for(var b in (a||{})){if(!c[b]){c[b]=a[b]
}}return c
}$protoTypeExtend(Array.prototype,{forEach:function(b){var a=this.length;
if(typeof b!="function"){throw new TypeError()
}var d=arguments[1];
for(var c=0;
c<a;
c++){if(c in this){b.call(d,this[c],c,this)
}}return this
},each:function(a){this.forEach.call(this,a);
return this
},map:function(b){var a=this.length;
if(typeof b!="function"){throw new TypeError()
}var e=new Array(a);
var d=arguments[1];
for(var c=0;
c<a;
c++){if(c in this){e[c]=b.call(d,this[c],c,this)
}}return e
}});
$protoTypeExtend(String.prototype,{trim:function(){return this.replace(/^\s+|\s+$/g,"")
}});
var FW=function(){return FW.$.apply(this,arguments)
};
FW.browser={ie:(document.all&&window.print&&!window.opera)||false,opera:window.opera||false,gecko:/Firefox/.test(navigator.userAgent),webkit:/AppleWebKit/.test(navigator.userAgent)};
FW.browser.ie6=(FW.browser.ie&&/MSIE [56]/.test(navigator.userAgent))||false;
FW.browser.ieQuirks=(FW.browser.ie6&&document.compatMode&&document.compatMode=="BackCompat")||false;
FW.capabilities={check:function(){var a=document.createElement("div");
a.style.width="1000px";
document.body.appendChild(a);
this.gotCSS=a.offsetWidth==1000?true:false;
this.gotImg=true
}};
FW.heightStyle=FW.browser.ieQuirks||FW.browser.ie6?"height":"minHeight";
FW.decoration=function(c,a,e,b,d){e=FW.strToNodes(e);
b=FW.strToNodes(b);
FW.Module("decoration_"+c,a,{initialize:function(f){FW.createDecorations(f,e,b,d)
}})
};
FW.createDecorations=function(d,g,b,f){if(f){f=FW(d).getElement(f).el;
if(f){var e=f.parentNode;
var a=f;
for(var c=g.length-1;
c>=0;
c--){a=e.insertBefore(g[c].cloneNode(true),a)
}if(f.nextSibling){c=b.length-1;
a=f.nextSibling
}else{c=b.length-2;
a=e.appendChild(b[b.length-1].cloneNode(true))
}for(;
c>=0;
c--){a=e.insertBefore(b[c].cloneNode(true),a)
}}}else{for(var c=b.length-1;
c>=0;
c--){d.appendChild(b[c].cloneNode(true))
}for(var c=0;
c<g.length;
c++){if(!d.firstChild){d.appendChild(g[c].cloneNode(true))
}else{d.insertBefore(g[c].cloneNode(true),d.firstChild)
}}}};
FW.strToNodes=function(b){if(!b){return[]
}var c=document.createElement("div");
c.innerHTML=b;
var a=[];
while(c.firstChild){a.push(c.removeChild(c.firstChild))
}return a
};
FW.initAttributes=function(a){for(var b in a){a[b]=(typeof(a[b])=="string")?new RegExp("\\b("+a[b].replace(/,/g,"|")+")\\b"):a[b]
}return a
};
FW.modules=[];
FW.Module=function(b,a,f){if(a.nodeName){FW.initializer.addNodeName(a.nodeName)
}try{delete a.nodeName
}catch(d){a.nodeName=null
}a=FW.initAttributes(a);
var c=function(){this.initialize.apply(this,arguments)
};
c.prototype=f;
FW.modules.push({name:b,attributes:a,moduleObject:c})
};
FW.initializer={nodeNames:[],launch:function(e){e=e||document.body;
for(var d=0;
d<this.nodeNames.length;
d++){var b=e.getElementsByTagName(this.nodeNames[d]);
for(var c=0;
c<b.length;
c++){for(var a=0;
a<FW.modules.length;
a++){if(this.check(b[c],FW.modules[a].attributes)){new FW.modules[a].moduleObject(b[c])
}}}}},addNodeName:function(b){if(b=="*"){return
}b=b.toLowerCase();
for(var a=0;
a<this.nodeNames.length;
a++){if(this.nodeNames[a]==b){return
}}this.nodeNames.push(b)
},check:function(c,a){for(var b in a){if(a[b].test(c[b])){return true
}}return false
}};
FW.$=function(){var a=arguments;
if(a.length>1&&typeof a[1]=="string"){return new FW.Wrap(typeof a[0]=="string"?document.getElementById(a[0]).getElementsByTagName(a[1]):a[0].getElementsByTagName(a[1]))
}else{switch(typeof a[0]){case"string":return new FW.Wrap(document.getElementById(a[0]));
case"object":return new FW.Wrap(a[0])
}}return false
};
FW.Wrap=function(a){this.el=a
};
FW.Wrap.prototype={removeClass:function(b){var a=this.el.className.match(" "+b)?" "+b:b;
this.el.className=this.el.className.replace(a,"");
return this
},addClass:function(a){if(!this.hasClass(a)){this.el.className+=this.el.className?" "+a:a
}return this
},swapClass:function(b,a){this.el.className=this.hasClass(b)?this.el.className.replace(b,a):this.el.className.replace(a,b);
return this
},toggleClass:function(a){this.hasClass(a)?this.removeClass(a):this.addClass(a);
return this
},hasClass:function(a){return typeof a=="string"?new RegExp("\\b"+a+"\\b").test(this.el.className):a.test(this.el.className)
},addEvent:function(c,b,a){if(c=="domready"&&this.el==window){FW.event.domready(b)
}document.addEventListener?this.el.addEventListener(c,b,a||false):this.el.attachEvent?this.el.attachEvent("on"+c,b):false;
return this
},removeEvent:function(c,a,b){document.addEventListener?this.el.removeEventListener(c,a,b||false):this.el.detachEvent?this.el.detachEvent("on"+c,a):false;
return this
},getElement:function(a,b){return new FW.Wrap($n.node(this.el,a,b))
},getElements:function(a,b){return $n.nodes(this.el,a,b)
},getParent:function(a,c){var b=$n.parent(this.el,a,c);
return b?new FW.Wrap(b):null
},getNext:function(a,c){var b=$n.next(this.el,a,c);
return b?new FW.Wrap(b):null
},getChildsNodes:function(a,b){return $n.childs(this.el,a,b)
},getStyle:function(b){var a=this.el;
var d="";
if(document.defaultView&&document.defaultView.getComputedStyle){try{d=document.defaultView.getComputedStyle(a,null).getPropertyValue(b)
}catch(c){d=""
}}else{if(a.currentStyle){try{b=b.replace(/\-(\w)/g,function(e,f){return f.toUpperCase()
});
d=a.currentStyle[b]
}catch(c){d=""
}}}return d
},getIntStyle:function(a){var b=parseInt(this.getStyle(a));
if(isNaN(b)){b=0
}return b
},getVStyle:function(a){return FW.browser.ieQuirks?0:this.getIntStyle("padding-top")+this.getIntStyle("padding-bottom")+this.getIntStyle("border-top-width")+this.getIntStyle("border-bottom-width")
},getHStyle:function(a){return FW.browser.ieQuirks?0:this.getIntStyle("padding-left")+this.getIntStyle("padding-right")+this.getIntStyle("border-left-width")+this.getIntStyle("border-right-width")
},getPosition:function(a){var c=this.el;
var d=0,b=0;
if(c.offsetParent){do{d+=c.offsetLeft+(a?-c.scrollLeft:0);
b+=c.offsetTop+(a?-c.scrollTop:0)
}while(c=c.offsetParent);
return{x:d,y:b}
}}};
FW.event={domready:function(a){if(window.attachEvent){document.write('<script id="ieScriptLoad" defer src="//:"><\/script>');
document.getElementById("ieScriptLoad").onreadystatechange=function(){if(this.readyState=="complete"){FW.event.init(a)
}}
}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){FW.event.init(a)
},false)
}if(navigator.userAgent.search(/WebKit/i)!=-1){FW.event.loadTimer=setInterval(function(){if(document.readyState.search(/loaded|complete/i)!=-1){FW.event.init(a)
}},10)
}FW.$(window).addEvent("load",function(){FW.event.init(a)
})
},init:function(a){if(arguments.callee.done){return
}arguments.callee.done=true;
if(FW.event.loadTimer){clearInterval(FW.event.loadTimer)
}a()
},stop:function(a){if(a&&a.stopPropagation&&a.preventDefault){a.stopPropagation();
a.preventDefault()
}else{if(a&&window.event){window.event.cancelBubble=true;
window.event.returnValue=false
}}return false
},getSrc:function(a){return a.target||a.srcElement
},relSrc:function(a){switch(a.type){case"mouseover":return a.relatedTarget||a.fromElement;
case"mouseout":return a.relatedTarget||a.toElement
}}};
FW.$(window).addEvent("domready",function(){FW.initializer.launch()
});
FW.decoration("corners",{nodeName:"div",className:"F6_blockSimple"},'<span class="F6_topCorners"><span class="F6_tl"></span><span class="F6_tr"></span></span>','<span class="F6_bottomCorners"><span class="F6_bl"></span><span class="F6_br"></span></span>',{nodeName:"div",className:"F6_blockInside"});
FW.decoration("sides",{nodeName:"div",className:"blockShadowSimple,blockTabSub"},'<span class="F6_sideL"></span><span class="F6_sideR"></span><span class="F6_sideT"><span class="F6_cornerRight"></span></span>','<span class="F6_sideB"><span class="F6_cornerRight"></span></span>',{nodeName:"div",className:"F6_blockInside"});
FW.decoration("pageCorners",{nodeName:"div",id:"page"},'<span class="pageTop"><span class="F6_cornerRight"></span></span>','<span class="pageBottom"><span class="F6_cornerRight"></span></span>',{nodeName:"div",id:"pageInside"});
function log(a){if(window.console&&window.console.firebug&&FW.browser.gecko){console.log(a)
}}function dir(a){if(window.console&&window.console.firebug&&FW.browser.gecko){console.dir(a)
}}var Ajax=function(){this.initialize.apply(this,arguments)
};
Ajax.prototype={options:{method:"get",url:"",async:true,noCache:true,data:{}},constructor:Ajax,initialize:function(b){var a=this;
this.setOptions(b);
this.xhr=this.getXHR();
this.xhr.onreadystatechange=function(){a.onReadyStateChange()
}
},onReadyStateChange:function(a){if(!this.options.async&&!a){return
}if(this.xhr.readyState==4){if(this.xhr.status==200){this.fireEvent("onSuccess")
}else{this.fireEvent("onError")
}}},send:function(b){var c=this.options;
this.setData(b);
this.fireEvent("onStart");
switch(this.options.method.toLowerCase()){case"get":var a=this.dataStr.length>0?c.url+"?"+this.dataStr:c.url;
this.xhr.open("GET",this.addNoCache(a),c.async);
this.xhr.send(null);
break;
case"post":this.xhr.open("POST",this.addNoCache(c.url),c.async);
this.xhr.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
this.xhr.send(this.dataStr);
break;
default:return false
}if(!c.async){this.onReadyStateChange(true)
}},addData:function(d){var a;
if(!d){return
}if(typeof d=="string"){var b=d.split("&");
d={};
for(a=0;
a<b.length;
a++){var c=b[a].split("=");
d[c[0]]=c[1]
}}for(a in d){if(d[a]!==null){this.options.data[a]=d[a]
}}},setData:function(c){if(typeof c=="string"){this.dataStr=c
}else{this.addData(c);
var b=[];
for(var a in this.options.data){if(typeof this.options.data[a]!="function"){b.push(a+"="+this.options.data[a])
}}this.dataStr=b.join("&")
}},addNoCache:function(a){if(this.options.noCache){if(a.indexOf("?")==-1){a+="?"
}else{if(a.charAt(a.length-1)!="&"){a+="&"
}}a+="nocache"+parseInt(Math.random()*1000000,10)+"="+parseInt(Math.random()*1000000,10)
}return a
},fireEvent:function(a){if(this.options[a]&&typeof this.options[a]=="function"){this.options[a](this.xhr)
}},getXHR:function(){if(window.XMLHttpRequest){return new XMLHttpRequest()
}else{if(window.ActiveXObject){var a=["Msxml2","Microsoft"];
for(var b=0;
b<a.length;
b++){try{return new ActiveXObject(a[b]+".XMLHTTP")
}catch(c){}}}}return null
},setOptions:function(a){if(!a){return
}var c=this.options;
this.options={};
for(var b in c){this.options[b]=c[b]
}for(var b in a){this.options[b]=a[b]
}}};
var F6_underNavHover={init:function(){var a=this;
this.elms=FW("nav_top").getElements("li");
this.elms.each(function(b){b.F6_underNav=FW(b).getElement({nodeName:"div",className:"F6_underNav"});
FW(b).addEvent("mouseover",function(c){a.show(b)
});
FW(b).addEvent("mouseout",function(c){a.hide(b)
})
})
},show:function(a){FW(a).addClass("F6_hover")
},hide:function(a){FW(a).removeClass("F6_hover")
}};
if(FW("nav_top").el){FW.$(window).addEvent("load",function(){F6_underNavHover.init();
cleanInput.init("ctn_hd")
})
}var $layer={options:{id:"insidePopup",templateHTML:['<span class="layerTopCorners"><span></span></span>','<div class="insidePopupContent">','<a href="#" class="close popupCloseButton">__CLOSINGWORDING__</a>',"<div>","__CONTENT__","</div>","</div>",'<span class="layerBottomCorners"><span></span></span>'].join(""),styles:{width:"700px"},position:"center",mask:false,maskPosition:null,maskClickClose:true,content:"",contentFrom:null,elmToShow:null,parent:null,fixLayerOnParent:false,className:"",timerInterval:100,offsetTop:10,offsetLeft:10,closingWording:""},F6_currentOptions:{},resetOptions:function(){this.F6_currentOptions={};
$extend(this.F6_currentOptions,this.options)
},lastPositions:{},open:function(b){var a=this;
var d;
this.close();
this.resetOptions();
if(b.styles&&b.styles.opacity!=null){b.styles.filter="alpha(opacity="+b.styles.opacity*100+")"
}if(b.contentFrom!=null){b.contentFrom=FW(b.contentFrom).el;
b.content=b.contentFrom.innerHTML
}if(b.elmToShow!=null){b.content="";
this.F6_currentElmId=b.elmToShow
}if(this.F6_currentOptions.over){this.F6_currentOptions.over=FW(this.F6_currentOptions.over).el
}for(var c in b){if(c!="styles"){this.F6_currentOptions[c]=b[c]
}}if(b.styles){for(var c in b.styles){this.F6_currentOptions.styles[c]=b.styles[c]
}}this.options.lastScrollTop=this.options.offsetTop;
this.options.lastScrollLeft=this.options.offsetLeft;
if(!FW(this.F6_currentOptions.id).el){this.createLayer()
}if(this.F6_currentOptions.mask){this.createMask()
}this.layer.innerHTML=this.layer.innerHTML.replace(/__CONTENT__/g,this.F6_currentOptions.content).replace(/__CLOSINGWORDING__/,this.F6_currentOptions.closingWording);
if(this.F6_currentOptions.elmToShow){FW(this.F6_currentOptions.elmToShow).el.style.display="block"
}this.correctIE(this.layer);
this.initActionsButtonsOnLayer();
this.layer.style.width=this.layer.clientWidth-FW(this.layer).getHStyle()+"px";
this.setSize();
this.setPosition();
this.timerRefresh=setInterval(function(){a.refreshSizeAndPosition()
},this.options.timerInterval);
this.lastPositions={scrollLeft:document.documentElement.scrollLeft,scrollTop:document.documentElement.scrollTop};
this.refreshSizeAndPosition();
this.layer.style.visibility="visible"
},close:function(){if(this.timerRefresh){clearInterval(this.timerRefresh)
}var a=FW(this.F6_currentOptions.id);
if(a.el){a.el.parentNode.removeChild(a.el)
}if(this.F6_currentOptions.parent){this.F6_currentOptions.parent.style.height=""
}if(this.mask){if(this.mask.$layerIframe){this.mask.$layerIframe.parentNode.removeChild(this.mask.$layerIframe)
}this.mask.parentNode.removeChild(this.mask)
}try{delete this.layer;
delete this.content;
delete this.mask
}catch(b){}if(typeof window.CollectGarbage=="function"){CollectGarbage()
}if(this.F6_currentElmId){FW(this.F6_currentElmId).el.style.display="none";
FW(this.F6_currentElmId).removeClass("layered");
this.F6_currentElmId=null
}},createLayer:function(){var a=document.createElement("div");
a.className+=" "+this.F6_currentOptions.className||"";
a.id=this.F6_currentOptions.id;
$extend(a.style,this.F6_currentOptions.styles);
$extend(a.style,{left:0,top:0,display:"block",visibility:"hidden"});
a.innerHTML=this.F6_currentOptions.templateHTML;
if(this.F6_currentOptions.over){(this.F6_currentOptions.parent||document.body).appendChild(a);
if(this.F6_currentOptions.fixLayerOnParent){this.F6_currentOptions.parent.style.position="relative"
}else{this.F6_currentOptions.position="byElement"
}}else{document.body.appendChild(a)
}this.layer=a;
FW(this.layer).addEvent("click",function(b){FW.event.stop(b)
});
this.layerContent=FW(a).getElement({nodeName:"div",className:"insidePopupContent"}).el;
return this.layer
},createMask:function(){var a=document.createElement("div");
this.mask=a;
a.id="insidePopupMask";
this.correctIE(a);
document.body.appendChild(a);
if(this.F6_currentOptions.maskClickClose){FW(a).addEvent("click",function(b){FW.event.stop(b);
$layer.close()
})
}},setPosition:function(){var a={};
var f=this.F6_currentOptions.styles;
switch(this.F6_currentOptions.position){case"center":var d=window.opera?document.body:document.documentElement;
var c=(d.clientHeight-this.layer.offsetHeight)/2+document.documentElement.scrollTop;
var b=(d.clientWidth-this.layer.offsetWidth)/2+document.documentElement.scrollLeft;
if(this.layer.offsetHeight>d.clientHeight){c=(this.lastPositions.scrollTop||0)+this.options.offsetTop
}else{this.lastPositions.scrollTop=document.documentElement.scrollTop
}if(this.layer.offsetWidth>d.clientWidth){b=(this.lastPositions.scrollLeft||0)+this.options.offsetLeft
}else{this.lastPositions.scrollLeft=document.documentElement.scrollLeft
}a={left:b+"px",top:c+"px"};
break;
case"user":a={left:f.left,top:f.top};
break;
case"byElement":var e=FW(this.F6_currentOptions.over).getPosition();
a={left:e.x+"px",top:e.y+"px"};
break;
default:break
}$extend(this.layer.style,a)
},setSize:function(){if(!isNaN(parseInt(this.F6_currentOptions.styles.height))){this.layer.style.height="auto";
var a=FW(this.layer).getElement({nodeName:"div",className:"insidePopupContent"}).el;
if(this.F6_currentOptions.parent&&a&&FW(a).getStyle("position")!="absolute"&&a.offsetHeight>this.F6_currentOptions.parent.offsetHeight){this.F6_currentOptions.parent.style.height=this.layer.offsetHeight+"px"
}if(this.layer.offsetHeight<parseInt(this.F6_currentOptions.styles.height)){this.layer.style.height=parseInt(this.F6_currentOptions.styles.height)-FW(this.layer).getVStyle(this.layer)+"px"
}}},refreshSizeAndPosition:function(){var b=window.opera?document.body:document.documentElement;
if((this.mask&&this.mask.offsetHeight<this.layer.offsetHeight)||this.lastPositions.layerHeight!=this.layer.offsetHeight||this.lastPositions.width!=b.clientWidth||this.lastPositions.height!=b.clientHeight||this.lastPositions.scrollLeft!=document.documentElement.scrollLeft||this.lastPositions.scrollTop!=document.documentElement.scrollTop){this.setPosition();
if(this.mask&&(this.lastPositions.width!=document.documentElement.clientWidth||this.lastPositions.height!=document.documentElement.clientHeight)){var a=(document.body.clientHeight<document.documentElement.clientHeight?document.documentElement.clientHeight:(document.body.scrollHeight>document.documentElement.scrollHeight?document.body.scrollHeight:document.documentElement.scrollHeight));
if(!a){a=document.documentElement.scrollHeight
}$extend(this.mask.style,{height:a+"px",width:document.documentElement.scrollWidth>document.documentElement.clientWidth?document.documentElement.scrollWidth+"px":"100%"})
}this.lastPositions.layerHeight=this.layer.offsetHeight;
this.lastPositions.width=b.clientWidth;
this.lastPositions.height=b.clientHeight;
this.correctIE(this.layer);
this.correctIE(this.mask)
}},initActionsButtonsOnLayer:function(){var a=FW(this.layer).getElements({className:"(close|insidePopupCloseButton)"});
if(this.F6_currentElmId){a=FW(this.F6_currentElmId).getElements({className:"(close|insidePopupCloseButton)"})
}a.each(function(b){b.onclick=function(){$layer.close();
return false
}
})
},correctIE:function(a){if(!a){return
}if(!a.$layerIframe&&FW.browser.ie6){var b=document.createElement('<iframe style="filter:alpha(opacity=0);width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1;">');
a.$layerIframe=(this.options.maskClickClose&&a==this.mask?document.body:a).appendChild(b);
if(a==this.mask){a.$layerIframe.style.zIndex=1
}}if(a.$layerIframe){a.$layerIframe.style.height=a.offsetHeight+"px"
}}};
function pngFix(elm,noOverflow){elm.style.filter=" ";
if(!(document.all&&window.print&&/MSIE [56]/.test(navigator.userAgent))){return
}var exec=(function(elm,noOverflow,scale){return function(){var options={noOverflow:noOverflow};
var repeat=elm.currentStyle.backgroundRepeat.toLowerCase()=="repeat";
elm.style.filter=" ";
if(elm.nodeName.match(/^(IMG|INPUT)$/)){if(!elm.src.match(/.*\.png$/)){return
}elm.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod='image', src='"+elm.src+"')";
elm.width=elm.offsetWidth;
elm.height=elm.offsetHeight;
var url=elm.currentStyle.backgroundImage.match(/^url\(["'](.*\.gif)["']\)$/);
elm.src=url[1];
elm.className=elm.className.replace(/pngFix/g,"")
}else{if(elm.currentStyle.backgroundImage==""||elm.currentStyle.backgroundImage=="url()"){return
}var url=elm.currentStyle.backgroundImage.match(/^url\(["'](.*\.png)["']\)$/);
if(!url||url.length<2){return
}var pngLayer=document.createElement("i");
with(pngLayer.style){if(options.noOverflow){width=elm.offsetWidth+"px";
height=elm.offsetHeight+"px"
}else{width="32000px";
height="32000px"
}position="absolute";
zIndex=-1;
fontSize="1%";
filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod='"+(options.noOverflow?"crop":"image")+"', src='"+url[1]+"')";
background="none";
if(!repeat){switch((elm.currentStyle.backgroundPositionX+"").toLowerCase()){case"left":left=0;
break;
case"right":right=0;
break;
case"center":left="50%";
setTimeout(function(pngLayer){return function(){pngLayer.style.marginLeft=-(pngLayer.offsetWidth/2)+"px"
}
}(pngLayer),50);
break;
default:left=elm.F6_currentStyle.backgroundPositionX
}switch((elm.F6_currentStyle.backgroundPositionY+"").toLowerCase()){case"top":top=0;
break;
case"bottom":bottom=0;
break;
case"center":top="50%";
setTimeout(function(pngLayer){return function(){pngLayer.style.F6_marginTop=-(pngLayer.offsetHeight/2)+"px"
}
}(pngLayer),100);
break;
default:top=elm.F6_currentStyle.backgroundPositionY||0
}}else{left=0;
top=0
}}setTimeout(function(elmN,pngLayerN,repeatN){return function(){if(!elmN||elmN.parentNode||!pngLayerN||!pngLayerN.parentNode){return
}if(pngLayerN.filters["DXImageTransform.Microsoft.AlphaImageLoader"].sizingMethod=="image"){if(pngLayerN.offsetWidth<elmN.offsetWidth&&repeatN){pngLayerN.filters["DXImageTransform.Microsoft.AlphaImageLoader"].sizingMethod="scale"
}else{if(pngLayerN.offsetWidth>elmN.offsetWidth&&elm.F6_currentStyle.backgroundPositionX.match(/^(left|0%|0px|0)$/)||elm.currentStyle.backgroundPositionY.match(/^(top|0%|0px|0)$/)){pngLayerN.filters["DXImageTransform.Microsoft.AlphaImageLoader"].sizingMethod="crop"
}}}else{pngLayerN.sizingMethod="image"
}if(elm.currentStyle.width.match(/^(0|[12](%|px)?)$/)){pngLayerN.filters["DXImageTransform.Microsoft.AlphaImageLoader"].sizingMethod="image"
}if(pngLayerN.style.right!="auto"&&pngLayerN.style.right!=""){setTimeout(function(){pngLayerN.style.right=parseInt(pngLayerN.style.right)-(elm.offsetWidth%2?1:0)+"px"
},50)
}}
}(elm,pngLayer,repeat),200);
with(elm.style){position=elm.currentStyle.position=="static"||elm.currentStyle.position==""?"relative":position;
if(elm.currentStyle.overflow!="auto"&&elm.currentStyle.overflow!="hidden"){overflow=options.noOverflow?"visible":(elm.currentStyle.width.match(/^(0|[12](%|px)?)$/)?"visible":"hidden")
}backgroundImage="none"
}elm.appendChild(pngLayer)
}}
})(elm,noOverflow);
try{pngFixLoader.useOnload?pngFixLoader.addFunc(exec):exec()
}catch(e){}}var pngFixLoader={useOnload:true,functions:[],addFunc:function(a){pngFixLoader.functions.push(a)
},launch:function(){pngFixLoader.useOnload=false;
var a=1;
while(pngFixLoader.functions.length>0){pngFixLoader.functions.pop()();
a++
}},init:function(){if(pngFixLoader.useOnload&&window.attachEvent&&document.all){window.attachEvent("onload",function(){setTimeout(pngFixLoader.launch,100)
})
}}};
pngFixLoader.init();
var blocMeteo={init:function(a){this.formulaire=FW("formMeteo");
this.myElm=a;
if(!this.formulaire){return
}this.remote("/elements/xsl/villesMeteo.xml");
this.groupForm=this.formulaire.getElement({nodeName:"div",className:"groupForm"})
},setToggle:function(d){var a=this;
var b=document.createElement("a");
b.innerHTML="Modifier";
b.href="#";
b.className="preferencesLink";
b.id="preferencesLink";
var c=d.getElement({nodeName:"div",className:"links"});
c.el.appendChild(b);
FW(b).addEvent("click",function(f){FW.event.stop(f);
c.el.removeChild(b);
a.formulaire.el.style.display="block"
});
if(!this.isReturnLink){this.returnLink=document.createElement("a");
this.returnLink.innerHTML="&gt; Annuler";
this.returnLink.href="#";
this.returnLink.className="returnLink";
FW("formMeteo").el.appendChild(this.returnLink);
this.isReturnLink=true
}FW(this.returnLink).addEvent("click",function(f){FW.event.stop(f);
a.formulaire.el.style.display="none";
c.el.appendChild(b)
})
},remote:function(b){var a=this;
new Ajax({url:b,onSuccess:function(c){a.delForm();
a.createForm(XMLF.xml2obj(c.responseXML))
}}).send()
},delForm:function(){this.groupForm.el.innerHTML=""
},createForm:function(e){var a=this;
var g=e.pays.region;
var c=document.createElement("label");
c.innerHTML="Choisissez votre r&eacute;gion";
var d=document.createElement("select");
g.each(function(i){var h=document.createElement("option");
h.innerHTML=i.attr.name;
d.appendChild(h)
});
this.groupForm.el.appendChild(c);
this.groupForm.el.appendChild(d);
var b=document.createElement("label");
b.innerHTML="Choisissez votre ville";
var f=document.createElement("select");
this.groupForm.el.appendChild(b);
this.groupForm.el.appendChild(f);
a.populateVille(e,0,f);
FW(d).addEvent("change",function(){var h=d.selectedIndex;
f.innerHTML="";
a.populateVille(e,h,f)
});
this.setToggle(this.myElm)
},populateVille:function(b,a,d){var c=b.pays.region[a].ville;
c.each(function(f){var e=document.createElement("option");
e.innerHTML=f.name;
e.value=f.id;
d.appendChild(e)
})
}};
FW(window).addEvent("load",function(){if(FW("meteo_widget").el){blocMeteo.init(FW("meteo_widget"))
}if(FW("nav_top").el){F6_underNavHover.init()
}if(FW("nav_top").el){cleanInput.init("ctn_hd")
}if(FW("F6_popup").el){cleanInput.init("F6_popup")
}});
function setCookie(d,b,a){var c=new Date();
c.setDate(c.getDate()+a);
document.cookie=d+"="+escape(b)+((a==null)?"":";expires="+c.toGMTString());
document.cookie+=("; path=/");
document.cookie+=("; domain=laposte.net")
}function remoteMeteo(d){var a="/elements/includes/bloc_meteo/meteo.jsp";
var c=FW("formMeteo").getElements("select")[1].value;
var b="?ville="+c;
new Ajax({url:a+b,onSuccess:function(f){var e=FW("mea_meteo");
e.el.innerHTML="";
e.el.innerHTML=f.responseText;
FW("formMeteo").el.style.display="none";
setCookie("villemeteo",c,365);
blocMeteo.setToggle(FW("mea_meteo"))
}}).send();
return false
}var XMLF={xml2obj:function(node,arrayForcedNodes){var arrayForced=arrayForcedNodes?new RegExp("\\b("+arrayForcedNodes.join("|")+")\\b"):null;
var x2o=XMLF.xml2obj;
var obj={};
var xmlNodes=0;
for(var i=0;
i<node.childNodes.length;
i++){var n=node.childNodes[i];
var name=n.nodeName;
if(n.nodeType==1){xmlNodes++;
if(obj[name]==null){var tmpObj=x2o(n,arrayForcedNodes);
obj[name]=arrayForced&&name.match(arrayForced)?[tmpObj]:tmpObj
}else{if(!(obj[name] instanceof Array)){obj[name]=[obj[name]]
}obj[name].push(x2o(n,arrayForcedNodes))
}}}if(xmlNodes==0){var val=XMLF.getContent(node);
if(!val){if(node.attributes.length==0){val=""
}else{var val=XMLF.getAttributes(node)
}}else{if(val.match(/^\s*true|false\s*$/)){val=eval(val)
}}return val
}else{if(node.attributes&&node.attributes.length>0){obj.attr=XMLF.getAttributes(node)
}}return obj
},getContent:function(b){var c=[];
for(var a=0;
a<b.childNodes.length;
a++){c.push(b.childNodes[a].nodeValue)
}return c.join("")
},getAttributes:function(c){var d={};
for(var b=0;
b<c.attributes.length;
b++){var a=c.attributes[b];
d[a.nodeName]=a.nodeValue
}return d
}};
var cleanInput={init:function(b){var a=this;
this.elms=FW(b).getElements({nodeName:"input",className:"cleanInput"});
this.elms.each(function(e,d){var c=(FW(e).el.id!="searchGoogle")?FW(e).el.value:"";
FW(e).addEvent("focus",function(){a.onFocus(c,FW(e))
});
FW(e).addEvent("blur",function(){a.onBlur(c,FW(e))
});
a.addEnterToNext(FW(e),a.elms,d)
})
},onFocus:function(b,a){if(a.el.value==b||a.el.value==""){a.el.value=""
}},onBlur:function(b,a){if(a.el.value==b||a.el.value==""){a.el.value=b
}},addEnterToNext:function(a,c,b){if(a.el.className.match(/toNextInput/g)){a.addEvent("keydown",function(d){if(d.keyCode==13){FW.event.stop(d);
c[b+1].focus()
}})
}}};
FW.Module("searchScroll",{nodeName:"div",className:"resultatRecherche"},{initialize:function(d){this.elm=d;
this.viewable=d.className.match(/resultsBy_[0-9]/)[0].split("_")[1];
this.btnUp=FW(d).getElement({nodeName:"a",className:"btnUp"}).el;
this.btnDw=FW(d).getElement({nodeName:"a",className:"btnDown"}).el;
this.table=FW(d).getElement({nodeName:"table",className:"searchResults"}).el;
this.ctn=FW(d).getElement({nodeName:"div",className:"scrollCtn"}).el;
this.trs=this.table.rows;
this.size2apply=0;
for(var b=0,a=this.trs.length;
b<a;
b++){if(this.trs[b].offsetHeight>this.size2apply){this.size2apply=this.trs[b].offsetHeight
}}for(var b=0,a=this.trs.length;
b<a;
b++){var c=this.trs[b].firstChild;
if(c.nodeType==3){c=this.trs[b].childNodes[1]
}c.style.height=this.size2apply+"px"
}this._height=this.viewable*this.size2apply;
this.ctn.style.height=this._height+"px";
this.ctn.style.overflow="hidden";
this.maxScroll=this.ctn.scrollHeight-this._height;
this.btnUp.onclick=function(e){return function(){if(!this.className.match(/inactive/)){e.scroll(-1)
}return false
}
}(this);
this.btnDw.onclick=function(e){return function(){if(!this.className.match(/inactive/)){e.scroll(1)
}return false
}
}(this);
this.check()
},scroll:function(a){if(!this.TO){this.conf={};
this.conf.endVal=this.ctn.scrollTop+(this.size2apply*a)
}else{clearInterval(this.TO);
this.conf.endVal+=(this.size2apply*a)
}this.conf.startTime=new Date().getTime();
this.conf.startVal=this.ctn.scrollTop;
this.conf.step=(this.conf.endVal-this.conf.startVal)/500;
this.engine()
},engine:function(){this.TO=setInterval(function(a){return function(){var b=new Date().getTime();
a.ctn.scrollTop=a.conf.startVal+(b-a.conf.startTime)*a.conf.step;
if(b>=a.conf.startTime+500){clearInterval(a.TO);
a.TO=null;
a.ctn.scrollTop=a.conf.endVal;
a.check()
}}
}(this),40)
},check:function(){if(this.ctn.scrollTop<this.size2apply){this.elm.scrollTop=0;
this.btnUp.className+=" inactive";
this.btnDw.className=this.btnDw.className.replace(/inactive/g,"")
}else{if(this.maxScroll-this.ctn.scrollTop<this.size2apply){this.elm.scrollTop=this.elm.scrollHeight;
this.btnDw.className+=" inactive";
this.btnUp.className=this.btnUp.className.replace(/inactive/g,"")
}else{this.btnDw.className=this.btnDw.className.replace(/inactive/g,"");
this.btnUp.className=this.btnUp.className.replace(/inactive/g,"")
}}}});
FW.tabs=[];
FW.Module("blockTabs",{nodeName:"div",className:"F6_blockTabs,blockTabSub"},{initialize:function(b){var a=this;
this.tabs=FW(b).getElement({nodeName:"ul",className:"F6_tabs"}).getElements("li");
this.tabsContent=FW(b).getElement({nodeName:"div",className:"body"}).getChildsNodes({nodeName:"div",className:"tabCtn"});
this.tabs.each(function(e,d){var c=FW(e).getElement("a",{className:"nochange"});
if(e.className.match("F6_current")){a.F6_currentTab=d
}if(c.el&&!FW(e).hasClass("nochange")){e.onclick=function(){a.changeTab(d)
};
c.el.onclick=function(){e.onclick();
return false
}
}});
this.changeTab(a.F6_currentTab)
},changeTab:function(a){this.tabs.each(function(c,b){FW(c).removeClass("F6_current")
});
this.tabsContent.each(function(c,b){FW(c).removeClass("tabCurrent")
});
FW(this.tabs[a]).addClass("F6_current");
FW(this.tabsContent[a]).addClass("tabCurrent")
}});
FW.colResize={colsId:["main","rightCol"],colsIdInside:[],colsClassInside:["","rightColInside"],colsInsidesByClass:[],timer:40,colsContainer:"content",elementNeededToRun:"",cols:[],colsInside:[],lastHeights:[],init:function(){var a=this;
this.colsContainer=document.getElementById(this.colsContainer);
if(!this.colsContainer){return
}this.colsId.each(function(e,d){var c=e!=null?document.getElementById(e):null;
a.cols.push(c);
a.colsInsidesByClass.push(a.colsClassInside[d]==""?null:FW(c).getElements({nodeName:"div",className:a.colsClassInside[d]}))
});
this.checker();
var b=setInterval(function(){a.checker()
},this.timer)
},checker:function(){if(this.resizing){return
}if(this.cssIsDisabled()){return
}var a=this.cols.map(function(b){return b?b.offsetHeight:0
});
if(this.lastHeights.join("")!=a.join("")){this.resize();
this.lastHeights=this.cols.map(function(b){return b?b.offsetHeight:0
})
}},resize:function(){this.resizing=true;
var a=this;
this.cols.each(function(d,c){if(d){var e=a.colsInside[c]||a.colsInsidesByClass[c]||d;
e=e instanceof Array?e:[e];
e.each(function(f){f.style[FW.heightStyle]=0
})
}});
var b=a.colsContainer.scrollHeight;
this.cols.each(function(d,c){if(d){if(d.offsetHeight!=b){a.resizeBlocks(a.colsInside[c]||a.colsInsidesByClass[c]||d,b-d.offsetHeight)
}}});
this.resizing=false
},resizeBlocks:function(c,b){if(c.length==0){return
}if(!(c instanceof Array)){c=[c]
}var a=parseInt(b/c.length,10);
c.each(function(d){d.style[FW.heightStyle]=d.offsetHeight+a-(FW.ieQuirks?0:FW(d).getIntStyle("padding-bottom")+FW(d).getIntStyle("padding-top"))+"px"
});
c[c.length-1].style[FW.heightStyle]=parseInt(c[c.length-1].style[FW.heightStyle],10)+(b%c.length)+"px"
},cssIsDisabled:function(){if(!this.cssCheckElement){this.cssCheckElement=document.createElement("span");
document.body.appendChild(this.cssCheckElement);
this.cssCheckElement.id="cssChecker";
var a=this.cssCheckElement.style;
a.backgroundColor="red";
a.height=0;
a.overflow="hidden"
}return this.cssCheckElement.style.backgroundColor!="red"
}};
FW(window).addEvent("load",function(){FW.colResize.init()
});
FW.Module("scrollH",{nodeName:"div",className:"F6_scroll"},{initialize:function(c){var b=this;
this.elm=FW(c);
this.speed=500;
this.infinite=c.className.match(/infiniteScroll/)?true:false;
this.viewable=c.className.match(/viewable_[0-9]*/)?c.className.match(/viewable_[0-9]*/)[0].split("_")[1]:3;
this.ul=FW(this.elm.getElements({nodeName:"ul",className:"scrollingContainer"})[0]);
this.mask=this.elm.getElements({nodeName:"div",className:"F6_scrollMask"})[0];
this.W=this.mask.offsetWidth;
this.lis=this.elm.getElements({nodeName:"li",className:"scrollingElms"});
this.btnL=FW(this.elm.getElements({nodeName:"a",className:"F6_btnLeft"})[0]);
this.btnR=FW(this.elm.getElements({nodeName:"a",className:"F6_btnRight"})[0]);
var a=FW(this.lis[0]);
this.liDelta=a.getHStyle()+a.getIntStyle("margin-right")+a.getIntStyle("margin-left");
this.liSize=(this.W/this.viewable);
this.lis.each(function(d){d.style.width=b.liSize-b.liDelta+"px"
});
this.mask.style.width=(this.liSize*this.viewable)+"px";
this.ul.el.style.width=(Math.round(this.liSize)*this.lis.length)+"px";
this.mask.scrollLeft=0;
this.maxScroll=this.mask.scrollWidth-this.mask.offsetWidth;
this.btnL.addEvent("click",function(d){return function(f){FW.event.stop(f);
d.dispatch(-1);
return false
}
}(this));
this.btnR.addEvent("click",function(d){return function(f){FW.event.stop(f);
d.dispatch(1);
return false
}
}(this))
},fixIE:function(){if(FW.browser.ie6){this.mask.scrollLeft=Math.floor(this.mask.scrollLeft/this.liSize)*this.liSize
}},scroll:function(a){if(!this.TO){this.conf={};
this.conf.endVal=this.mask.scrollLeft+(this.liSize*a)
}else{clearInterval(this.TO);
this.conf.endVal+=(this.liSize*a)
}this.conf.startTime=new Date().getTime();
this.conf.startVal=this.mask.scrollLeft;
this.conf.step=(this.conf.endVal-this.conf.startVal)/500;
this.engine()
},engine:function(){this.TO=setInterval(function(a){return function(){var b=new Date().getTime();
a.mask.scrollLeft=a.conf.startVal+(b-a.conf.startTime)*a.conf.step;
if(b>=a.conf.startTime+500){clearInterval(a.TO);
a.TO=null;
a.mask.scrollLeft=a.conf.endVal;
a.check();
a.fixIE()
}}
}(this),40)
},dispatch:function(a){if(this.mask.scrollLeft==0){switch(parseInt(a)){case 1:this.scroll(a);
break;
case -1:var b=document.createDocumentFragment();
b.appendChild(this.lis[this.lis.length-1]);
this.ul.el.insertBefore(b,this.lis[0]);
this.mask.scrollLeft=this.liSize;
this.scroll(a);
this.lis=this.elm.getElements({nodeName:"li",className:"scrollingElms"});
break
}}else{if(this.mask.scrollLeft==this.maxScroll||this.maxScroll-this.mask.scrollLeft<this.liSize){switch(parseInt(a)){case -1:this.scroll(a);
break;
case 1:var b=document.createDocumentFragment();
b.appendChild(this.lis[0]);
this.ul.el.appendChild(b);
this.mask.scrollLeft=this.maxScroll-this.liSize;
this.scroll(a);
this.lis=this.elm.getElements({nodeName:"li",className:"scrollingElms"});
break
}}else{this.scroll(a)
}}},check:function(){}});
function detectFlash(){if(navigator.mimeTypes.length>0){return navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin!=null;
var b=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin.description;
b=b.replace(/[a-zA-Z ]/g,"");
b=b.split(".")[0]
}else{if(window.ActiveXObject){try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
return true
}catch(c){return false
}}else{return false
}}}FW.$(window).addEvent("load",function(){if(FW("layerHomeCtn").el!=null){FW("layerHomeCtn").el.style.visibility="visible";
FW("layerHomeCtn").el.style.display="none"
}setTimeout(function(){if(FW("layerIframeCtn").el!=null){FW("layerIframeCtn").el.style.visibility="visible";
FW("layerIframeCtn").el.style.display="none"
}},2000)
});