var hasFlash=function(){var d=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write('<script language="VBScript"> \non error resume next \nhasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & '+d+"))) \n<\/script> \n");if(window.hasFlash!=null){return window.hasFlash}}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var c=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(c.substr(c.indexOf(".")-2,2),10)>=d}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var f=0,d=this.length,c=arguments.length;while(f<c){this[d++]=arguments[f++]}return this.length}}if(!Function.prototype.apply){Function.prototype.apply=function(a,b){var c=[];var d,e;if(!a){a=window}if(!b){b=[]}for(var i=0;i<b.length;i++){c[i]="b["+i+"]"}e="a.__applyTemp__("+c.join(",")+");";a.__applyTemp__=this;d=eval(e);a.__applyTemp__=null;return d}}function named(b){return new named.Arguments(b)}named.Arguments=function(b){this.oArgs=b};named.Arguments.prototype.constructor=named.Arguments;named.extract=function(g,f){var k,j;var h=g.length;while(h--){j=g[h];if(j!=null&&j.constructor!=null&&j.constructor==named.Arguments){k=g[h].oArgs;break}}if(k==null){return}for(e in k){if(f[e]!=null){f[e](k[e])}}return};var parseSelector=function(){var f=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;function g(l,k){var b=l.split(/\s*\,\s*/);var a=[];for(var j=0;j<b.length;j++){a=a.concat(d(b[j],k))}return a}function d(x,w,v){x=x.normalize().replace(" ","`");var u=x.match(f);var t,r,q,p,m,a;var b=[];if(u==null){u=[x,x]}if(u[1]==""){u[1]="*"}if(v==null){v="`"}if(w==null){w=document}switch(u[2]){case"#":m=u[3].match(f);if(m==null){m=[null,u[3]]}t=document.getElementById(m[1]);if(t==null||(u[1]!="*"&&!h(t,u[1]))){return b}if(m.length==2){b.push(t);return b}return d(m[3],t,m[2]);case".":if(v!=">"){r=c(w,u[1])}else{r=w.childNodes}for(q=0,a=r.length;q<a;q++){t=r[q];if(t.nodeType!=1){continue}m=u[3].match(f);if(m!=null){if(t.className==null||t.className.match("(\\s|^)"+m[1]+"(\\s|$)")==null){continue}p=d(m[3],t,m[2]);b=b.concat(p)}else{if(t.className!=null&&t.className.match("(\\s|^)"+u[3]+"(\\s|$)")!=null){b.push(t)}}}return b;case">":if(v!=">"){r=c(w,u[1])}else{r=w.childNodes}for(q=0,a=r.length;q<a;q++){t=r[q];if(t.nodeType!=1){continue}if(!h(t,u[1])){continue}p=d(u[3],t,">");b=b.concat(p)}return b;case"`":r=c(w,u[1]);for(q=0,a=r.length;q<a;q++){t=r[q];p=d(u[3],t,"`");b=b.concat(p)}return b;default:if(v!=">"){r=c(w,u[1])}else{r=w.childNodes}for(q=0,a=r.length;q<a;q++){t=r[q];if(t.nodeType!=1){continue}if(!h(t,u[1])){continue}b.push(t)}return b}}function c(b,a){if(a=="*"&&b.all!=null){return b.all}return b.getElementsByTagName(a)}function h(b,a){return a=="*"?true:b.nodeName.toLowerCase().replace("html:","")==a.toLowerCase()}return g}();var sIFR=function(){var N="http://www.w3.org/1999/xhtml";var M=false;var L=false;var K;var G=[];var y=document;var D=y.documentElement;var w=window;var i=y.addEventListener;var h=w.addEventListener;var H=function(){var a=navigator.userAgent.toLowerCase();var b={a:a.indexOf("applewebkit")>-1,b:a.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:a.indexOf("opera")>-1,e:y.contentType!=null&&y.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};b.l=b.a||b.c;b.m=!b.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(b.m&&a.match(/.*gecko\/(\d{8}).*/)){b.j=new Number(a.match(/.*gecko\/(\d{8}).*/)[1])}b.n=a.indexOf("msie")>-1&&!b.d&&!b.l&&!b.m;b.o=b.n&&a.match(/.*mac.*/)!=null;if(b.d&&a.match(/.*opera(\s|\/)(\d+\.\d+)/)){b.i=new Number(a.match(/.*opera(\s|\/)(\d+\.\d+)/)[2])}if(b.n||(b.d&&b.i<7.6)){b.g=false}if(b.a&&a.match(/.*applewebkit\/(\d+).*/)){b.k=new Number(a.match(/.*applewebkit\/(\d+).*/)[1])}if(w.hasFlash&&(!b.n||b.o)){var d=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;b.h=parseInt(d.substr(d.indexOf(".")-2,2),10)}if(a.match(/.*(windows|mac).*/)==null||b.o||b.c||(b.d&&(a.match(/.*mac.*/)!=null||b.i<7.6))||(b.b&&b.h<7)||(!b.b&&b.a&&b.k<312)||(b.m&&b.j<20020523)){b.f=false}if(!b.o&&!b.m&&y.createElementNS){try{y.createElementNS(N,"i").innerHTML=""}catch(c){b.e=true}}b.p=b.c||(b.a&&b.k<312);return b}();function n(){return{bIsWebKit:H.a,bIsSafari:H.b,bIsKonq:H.c,bIsOpera:H.d,bIsXML:H.e,bHasTransparencySupport:H.f,bUseDOM:H.g,nFlashVersion:H.h,nOperaVersion:H.i,nGeckoBuildDate:H.j,nWebKitVersion:H.k,bIsKHTML:H.l,bIsGecko:H.m,bIsIE:H.n,bIsIEMac:H.o,bUseInnerHTMLHack:H.p}}if(w.hasFlash==false||!y.getElementsByTagName||!y.getElementById||(H.e&&(H.p||H.n))){return{UA:n()}}function I(c){if((!z.bAutoInit&&(w.event||c)!=null)||!x(c)){return}M=true;for(var a=0,b=G.length;a<b;a++){B.apply(null,G[a])}G=[]}var z=I;function x(a){if(L==false||z.bIsDisabled==true||((H.e&&H.m||H.l)&&a==null&&M==false)||y.getElementsByTagName("body").length==0){return false}return true}function v(a){if(H.n){return a.replace(new RegExp("%\d{0}","g"),"%25")}return a.replace(new RegExp("%(?!\d)","g"),"%25")}function q(b,a){return a=="*"?true:b.nodeName.toLowerCase().replace("html:","")==a.toLowerCase()}function u(c,b,a,C,A){var m="";var l=c.firstChild;var k,j,f,d;if(C==null){C=0}if(A==null){A=""}while(l){if(l.nodeType==3){d=l.nodeValue.replace("<","&lt;");switch(a){case"lower":m+=d.toLowerCase();break;case"upper":m+=d.toUpperCase();break;default:m+=d}}else{if(l.nodeType==1){if(q(l,"a")&&!l.getAttribute("href")==false){if(l.getAttribute("target")){A+="&sifr_url_"+C+"_target="+l.getAttribute("target")}A+="&sifr_url_"+C+"="+v(l.getAttribute("href")).replace(/&/g,"%26");m+='<a href="asfunction:_root.launchURL,'+C+'">';C++}else{if(q(l,"br")){m+="<br/>"}}if(l.hasChildNodes()){f=u(l,null,a,C,A);m+=f.u;C=f.s;A=f.t}if(q(l,"a")){m+="</a>"}}}k=l;l=l.nextSibling;if(b!=null){j=k.parentNode.removeChild(k);b.appendChild(j)}}return{u:m,s:C,t:A}}function t(a){if(y.createElementNS&&H.g){return y.createElementNS(N,a)}return y.createElement(a)}function p(c,a,d){var b=t("param");b.setAttribute("name",a);b.setAttribute("value",d);c.appendChild(b)}function g(c,b){var a=c.className;if(a==null){a=b}else{a=a.normalize()+(a==""?"":" ")+b}c.className=a}function r(c){var b=D;if(z.bHideBrowserText==false){b=y.getElementsByTagName("body")[0]}if((z.bHideBrowserText==false||c)&&b){if(b.className==null||b.className.match(/\bsIFR\-hasFlash\b/)==null){g(b,"sIFR-hasFlash")}}}function B(aj,ai,ah,ag,af,ae,F,C,A,m,l,ak,k){if(!x()){return G.push(arguments)}r();named.extract(arguments,{sSelector:function(O){aj=O},sFlashSrc:function(O){ai=O},sColor:function(O){ah=O},sLinkColor:function(O){ag=O},sHoverColor:function(O){af=O},sBgColor:function(O){ae=O},nPaddingTop:function(O){F=O},nPaddingRight:function(O){C=O},nPaddingBottom:function(O){A=O},nPaddingLeft:function(O){m=O},sFlashVars:function(O){l=O},sCase:function(O){ak=O},sWmode:function(O){k=O}});var j=parseSelector(aj);if(j.length==0){return false}if(l!=null){l="&"+l.normalize()}else{l=""}if(ah!=null){l+="&textcolor="+ah}if(af!=null){l+="&hovercolor="+af}if(af!=null||ag!=null){l+="&linkcolor="+(ag||ah)}if(F==null){F=0}if(C==null){C=0}if(A==null){A=0}if(m==null){m=0}if(ae==null){ae="#FFFFFF"}if(k=="transparent"){if(!H.f){k="opaque"}else{ae="transparent"}}if(k==null){k=""}var al,f,d,c,b,a,ar,aq,ap;var ao=null;for(var am=0,an=j.length;am<an;am++){al=j[am];if(al.className!=null&&al.className.match(/\bsIFR\-replaced\b/)!=null){continue}f=al.offsetWidth-m-C;d=al.offsetHeight-F-A;ar=t("span");ar.className="sIFR-alternate";ap=u(al,ar,ak);a="txt="+v(ap.u).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+l+"&w="+f+"&h="+d+ap.t;g(al,"sIFR-replaced");if(ao==null||!H.g){if(!H.g){if(!H.n){al.innerHTML=['<embed class="sIFR-flash" type="application/x-shockwave-flash" src="',ai,'" quality="best" wmode="',k,'" bgcolor="',ae,'" flashvars="',a,'" width="',f,'" height="',d,'" sifr="true"></embed>'].join("")}else{al.innerHTML=['<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" sifr="true" width="',f,'" height="',d,'" class="sIFR-flash"><param name="movie" value="',ai,'"></param><param name="flashvars" value="',a,'"></param><param name="quality" value="best"></param><param name="wmode" value="',k,'"></param><param name="bgcolor" value="',ae,'"></param> </object>'].join("")}}else{if(H.d){aq=t("object");aq.setAttribute("data",ai);p(aq,"quality","best");p(aq,"wmode",k);p(aq,"bgcolor",ae)}else{aq=t("embed");aq.setAttribute("src",ai);aq.setAttribute("quality","best");aq.setAttribute("flashvars",a);aq.setAttribute("wmode",k);aq.setAttribute("bgcolor",ae)}aq.setAttribute("sifr","true");aq.setAttribute("type","application/x-shockwave-flash");aq.className="sIFR-flash";if(!H.l||!H.e){ao=aq.cloneNode(true)}}}else{aq=ao.cloneNode(true)}if(H.g){if(H.d){p(aq,"flashvars",a)}else{aq.setAttribute("flashvars",a)}aq.setAttribute("width",f);aq.setAttribute("height",d);aq.style.width=f+"px";aq.style.height=d+"px";al.appendChild(aq)}al.appendChild(ar);if(H.p){al.innerHTML+=""}}if(H.n&&z.bFixFragIdBug){setTimeout(function(){y.title=K},0)}}function E(){K=y.title}function J(){if(z.bIsDisabled==true){return}L=true;if(z.bHideBrowserText){r(true)}if(w.attachEvent){w.attachEvent("onload",I)}else{if(!H.c&&(y.addEventListener||w.addEventListener)){if(H.a&&H.k>=132&&w.addEventListener){w.addEventListener("load",function(){setTimeout("sIFR({})",1)},false)}else{if(y.addEventListener){y.addEventListener("load",I,false)}if(w.addEventListener){w.addEventListener("load",I,false)}}}else{if(typeof w.onload=="function"){var a=w.onload;w.onload=function(){a();I()}}else{w.onload=I}}}if(!H.n||w.location.hash==""){z.bFixFragIdBug=false}else{E()}}z.UA=n();z.bAutoInit=true;z.bFixFragIdBug=true;z.replaceElement=B;z.updateDocumentTitle=E;z.appendToClassName=g;z.setup=J;z.debug=function(){r(true)};z.debug.replaceNow=function(){J();z()};z.bIsDisabled=false;z.bHideBrowserText=true;return z}();if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac&&(!sIFR.UA.bIsWebKit||sIFR.UA.nWebKitVersion>=100)){sIFR.setup()}Object.extend=function(c,b,a){for(prop in b){if(a==false&&c[prop]!=null){continue}c[prop]=b[prop]}return c};Object.extend(Function.prototype,{apply:function(o,a){var r,x="__fapply";if(typeof o!="object"){o={}}o[x]=this;var s="r = o."+x+"(";for(var i=0;i<a.length;i++){if(i>0){s+=","}s+="a["+i+"]"}s+=");";eval(s);delete o[x];return r},bind:function(f){if(!Function.__objs){Function.__objs=[];Function.__funcs=[]}var c=f.__oid;if(!c){Function.__objs[c=f.__oid=Function.__objs.length]=f}var d=this;var b=d.__fid;if(!b){Function.__funcs[b=d.__fid=Function.__funcs.length]=d}if(!f.__closures){f.__closures=[]}var a=f.__closures[b];if(a){return a}f=null;d=null;return Function.__objs[c].__closures[b]=function(){return Function.__funcs[b].apply(Function.__objs[c],arguments)}}},false);Object.extend(Array.prototype,{push:function(a){this[this.length]=a},addRange:function(b){if(b.length>0){for(var a=0;a<b.length;a++){this.push(b[a])}}},clear:function(){this.length=0;return this},shift:function(){if(this.length==0){return null}var b=this[0];for(var a=0;a<this.length-1;a++){this[a]=this[a+1]}this.length--;return b}},false);Object.extend(String.prototype,{trimLeft:function(){return this.replace(/^\s*/,"")},trimRight:function(){return this.replace(/\s*$/,"")},trim:function(){return this.trimRight().trimLeft()},endsWith:function(a){if(this.length==0||this.length<a.length){return false}return(this.substr(this.length-a.length)==a)},startsWith:function(a){if(this.length==0||this.length<a.length){return false}return(this.substr(0,a.length)==a)},split:function(g){var b=[];if(this.length==0){return b}var f=0;for(var d=0;d<this.length;d++){if(this.charAt(d)==g){b.push(this.substring(f,d));f=++d}}b.push(s.substr(f));return b}},false);Object.extend(String,{format:function(b){for(var a=1;a<arguments.length;a++){b=b.replace("{"+(a-1)+"}",arguments[a])}return b},isNullOrEmpty:function(a){if(a==null||a.length==0){return true}return false}},false);if(typeof addEvent=="undefined"){addEvent=function(h,b,d,a){if(h==null){return false}if(h.addEventListener){h.addEventListener(b,d,a);return true}else{if(h.attachEvent){var c=h.attachEvent("on"+b,d);return c}else{try{h["on"+b]=d}catch(g){}}}}}if(typeof removeEvent=="undefined"){removeEvent=function(d,g,a,c){if(d==null){return false}if(d.removeEventListener){d.removeEventListener(g,a,c);return true}else{if(d.detachEvent){d.detachEvent("on"+g,a)}else{try{d["on"+g]=function(){}}catch(b){}}}}}Object.extend(Function.prototype,{getArguments:function(){var b=[];for(var a=0;a<this.arguments.length;a++){b.push(this.arguments[a])}return b}},false);var MS={Browser:{}};Object.extend(MS.Browser,{isIE:navigator.userAgent.indexOf("MSIE")!=-1,isFirefox:navigator.userAgent.indexOf("Firefox")!=-1,isOpera:window.opera!=null},false);var AjaxPro={};AjaxPro.IFrameXmlHttp=function(){};AjaxPro.IFrameXmlHttp.prototype={onreadystatechange:null,headers:[],method:"POST",url:null,async:true,iframe:null,status:0,readyState:0,responseText:null,abort:function(){},readystatechanged:function(){var a=this.iframe.contentDocument||this.iframe.document;if(a!=null&&a.readyState=="complete"&&a.body!=null&&a.body.res!=null){this.status=200;this.statusText="OK";this.readyState=4;this.responseText=a.body.res;this.onreadystatechange();return}setTimeout(this.readystatechanged.bind(this),10)},open:function(b,a,d){if(d==false){alert("Synchronous call using IFrameXMLHttp is not supported.");return}if(this.iframe==null){var c="hans";if(document.createElement&&document.documentElement&&(window.opera||navigator.userAgent.indexOf("MSIE 5.0")==-1)){var f=document.createElement("iframe");f.setAttribute("id",c);f.style.visibility="hidden";f.style.position="absolute";f.style.width=f.style.height=f.borderWidth="0px";this.iframe=document.getElementsByTagName("body")[0].appendChild(f)}else{if(document.body&&document.body.insertAdjacentHTML){document.body.insertAdjacentHTML("beforeEnd",'<iframe name="'+c+'" id="'+c+'" style="border:1px solid black;display:none"></iframe>')}}if(window.frames&&window.frames[c]){this.iframe=window.frames[c]}this.iframe.name=c;this.iframe.document.open();this.iframe.document.write("<html><body></body></html>");this.iframe.document.close()}this.method=b;this.url=a;this.async=d},setRequestHeader:function(c,a){for(var b=0;b<this.headers.length;b++){if(this.headers[b].name==c){this.headers[b].value=a;return}}this.headers.push({name:c,value:a})},getResponseHeader:function(b,a){return null},addInput:function(d,b,g,f){var c;var a="input";if(f.indexOf("\n")>=0){a="textarea"}if(d.all){c=d.createElement("<"+a+' name="'+g+'" />')}else{c=d.createElement(a);c.setAttribute("name",g)}c.setAttribute("value",f);b.appendChild(c);c=null},send:function(b){if(this.iframe==null){return}var c=this.iframe.contentDocument||this.iframe.document;var d=c.createElement("form");c.body.appendChild(d);d.setAttribute("action",this.url);d.setAttribute("method",this.method);d.setAttribute("enctype","application/x-www-form-urlencoded");for(var a=0;a<this.headers.length;a++){switch(this.headers[a].name.toLowerCase()){case"content-length":case"accept-encoding":case"content-type":break;default:this.addInput(c,d,this.headers[a].name,this.headers[a].value)}}this.addInput(c,d,"data",b);d.submit();setTimeout(this.readystatechanged.bind(this),1)}};var progids=["Msxml2.XMLHTTP","Microsoft.XMLHTTP"];var _progid=null;if(typeof ActiveXObject!="undefined"){var ie7xmlhttp=false;if(typeof XMLHttpRequest=="object"){try{var o=new XMLHttpRequest();ie7xmlhttp=true}catch(e){}}if(typeof XMLHttpRequest=="undefined"||!ie7xmlhttp){XMLHttpRequest=function(){var b=null;if(!AjaxPro.noActiveX){if(_progid){return new ActiveXObject(_progid)}for(var a=0;a<progids.length&&b==null;a++){try{b=new ActiveXObject(progids[a]);progid=progids[a]}catch(c){}}}if(b==null&&MS.Browser.isIE){return new AjaxPro.IFrameXmlHttp()}return b}}}Object.extend(AjaxPro,{noOperation:function(){},onLoading:function(){},onError:function(){},onTimeout:function(){},onStateChanged:function(){},cryptProvider:null,queue:null,token:"",version:"6.7.20.1",ID:"AjaxPro",noActiveX:false,timeoutPeriod:10*1000,queue:null,toJSON:function(g){if(g==null){return"null"}switch(g.constructor){case String:var a=[];for(var b=0;b<g.length;b++){var h=g.charAt(b);if(h>=" "){if(h=="\\"||h=='"'){a.push("\\")}a.push(h)}else{switch(h){case"\n":a.push("\\n");break;case"\r":a.push("\\r");break;case"\b":a.push("\\b");break;case"\f":a.push("\\f");break;case"\t":a.push("\\t");break;default:a.push("\\u00");a.push(h.charCodeAt().toString(16))}}}return'"'+a.join("")+'"';case Array:var a=[];for(var b=0;b<g.length;b++){a.push(AjaxPro.toJSON(g[b]))}return"["+a.join(",")+"]";case Number:return isFinite(g)?g.toString():AjaxPro.toJSON(null);case Boolean:return g.toString();case Date:var f=new Object();f.__type="System.DateTime";f.Year=g.getUTCFullYear();f.Month=g.getUTCMonth()+1;f.Day=g.getUTCDate();f.Hour=g.getUTCHours();f.Minute=g.getUTCMinutes();f.Second=g.getUTCSeconds();f.Millisecond=g.getUTCMilliseconds();return AjaxPro.toJSON(f);default:if(typeof g.toJSON=="function"){return g.toJSON()}if(typeof g=="object"){var a=[];for(attr in g){if(typeof g[attr]!="function"){a.push('"'+attr+'":'+AjaxPro.toJSON(g[attr]))}}if(a.length>0){return"{"+a.join(",")+"}"}return"{}"}return g.toString()}},dispose:function(){if(AjaxPro.queue!=null){AjaxPro.queue.dispose()}}},false);addEvent(window,"unload",AjaxPro.dispose);AjaxPro.Request=function(a){this.url=a;this.xmlHttp=null};AjaxPro.Request.prototype={url:null,callback:null,onLoading:AjaxPro.noOperation,onError:AjaxPro.noOperation,onTimeout:AjaxPro.noOperation,onStateChanged:AjaxPro.noOperation,args:null,context:null,isRunning:false,abort:function(){if(this.timeoutTimer!=null){clearTimeout(this.timeoutTimer)}if(this.xmlHttp){this.xmlHttp.onreadystatechange=AjaxPro.noOperation;this.xmlHttp.abort()}if(this.isRunning){this.isRunning=false;this.onLoading(false)}},dispose:function(){this.abort()},getEmptyRes:function(){return{error:null,value:null,request:{method:this.method,args:this.args},context:this.context,duration:this.duration}},endRequest:function(a){this.abort();if(a.error!=null){this.onError(a.error,this)}if(typeof this.callback=="function"){this.callback(a,this)}},mozerror:function(){if(this.timeoutTimer!=null){clearTimeout(this.timeoutTimer)}var a=this.getEmptyRes();a.error={Message:"Unknown",Type:"ConnectFailure",Status:0};this.endRequest(a)},doStateChange:function(){this.onStateChanged(this.xmlHttp.readyState,this);if(this.xmlHttp.readyState!=4||!this.isRunning){return}this.duration=new Date().getTime()-this.__start;if(this.timeoutTimer!=null){clearTimeout(this.timeoutTimer)}var a=this.getEmptyRes();if(this.xmlHttp.status==200&&this.xmlHttp.statusText=="OK"){a=this.createResponse(a)}else{a=this.createResponse(a,true);a.error={Message:this.xmlHttp.statusText,Type:"ConnectFailure",Status:this.xmlHttp.status}}this.endRequest(a)},createResponse:function(r,_4b){if(!_4b){var _4c=new String(this.xmlHttp.responseText);if(AjaxPro.cryptProvider!=null&&typeof AjaxPro.cryptProvider=="function"){_4c=AjaxPro.cryptProvider.decrypt(_4c)}if(this.xmlHttp.getResponseHeader("Content-Type")=="text/xml"){r.value=this.xmlHttp.responseXML}else{if(_4c!=null&&_4c.trim().length>0){r.json=_4c;eval("r.value = "+_4c+"*/")}}}return r},timeout:function(){this.duration=new Date().getTime()-this.__start;var a=this.onTimeout(this.duration,this);if(typeof a=="undefined"||a!=false){this.abort()}else{this.timeoutTimer=setTimeout(this.timeout.bind(this),AjaxPro.timeoutPeriod)}},invoke:function(g,d,f,c){this.__start=new Date().getTime();if(this.xmlHttp==null){this.xmlHttp=new XMLHttpRequest()}this.isRunning=true;this.method=g;this.args=d;this.callback=f;this.context=c;var b=typeof f=="function"&&f!=AjaxPro.noOperation;if(b){if(MS.Browser.isIE){this.xmlHttp.onreadystatechange=this.doStateChange.bind(this)}else{this.xmlHttp.onload=this.doStateChange.bind(this);this.xmlHttp.onerror=this.mozerror.bind(this)}this.onLoading(true)}var a=AjaxPro.toJSON(d)+"";if(AjaxPro.cryptProvider!=null){a=AjaxPro.cryptProvider.encrypt(a)}this.xmlHttp.open("POST",this.url,b);this.xmlHttp.setRequestHeader("Content-Type","text/plain; charset=utf-8");this.xmlHttp.setRequestHeader("X-"+AjaxPro.ID+"-Method",g);if(AjaxPro.token!=null&&AjaxPro.token.length>0){this.xmlHttp.setRequestHeader("X-"+AjaxPro.ID+"-Token",AjaxPro.token)}if(!MS.Browser.isIE){this.xmlHttp.setRequestHeader("Connection","close")}this.timeoutTimer=setTimeout(this.timeout.bind(this),AjaxPro.timeoutPeriod);try{this.xmlHttp.send(a)}catch(h){}if(!b){return this.createResponse({error:null,value:null})}return true}};AjaxPro.RequestQueue=function(a){this.queue=[];this.requests=[];this.timer=null;if(isNaN(a)){a=2}for(var b=0;b<a;b++){this.requests[b]=new AjaxPro.Request();this.requests[b].callback=function(c){var d=c.context;c.context=d[3][1];d[3][0](c,this)};this.requests[b].callbackHandle=this.requests[b].callback.bind(this.requests[b])}};AjaxPro.RequestQueue.prototype={process:function(){this.timer=null;if(this.queue.length==0){return}for(var a=0;a<this.requests.length&&this.queue.length>0;a++){if(this.requests[a].isRunning==false){var b=this.queue.shift();this.requests[a].url=b[0];this.requests[a].onLoading=b[3].length>2&&b[3][2]!=null&&typeof b[3][2]=="function"?b[3][2]:AjaxPro.onLoading;this.requests[a].onError=b[3].length>3&&b[3][3]!=null&&typeof b[3][3]=="function"?b[3][3]:AjaxPro.onError;this.requests[a].onTimeout=b[3].length>4&&b[3][4]!=null&&typeof b[3][4]=="function"?b[3][4]:AjaxPro.onTimeout;this.requests[a].onStateChanged=b[3].length>5&&b[3][5]!=null&&typeof b[3][5]=="function"?b[3][5]:AjaxPro.onStateChanged;this.requests[a].invoke(b[1],b[2],this.requests[a].callbackHandle,b);b=null}}if(this.queue.length>0&&this.timer==null){this.timer=setTimeout(this.process.bind(this),10)}},add:function(c,b,a,d){this.queue.push([c,b,a,d]);if(this.timer==null){this.timer=setTimeout(this.process.bind(this),1)}},abort:function(){this.queue.length=0;if(this.timer!=null){clearTimeout(this.timer)}this.timer=null;for(var a=0;a<this.requests.length;a++){if(this.requests[a].isRunning==true){this.requests[a].abort()}}},dispose:function(){for(var a=0;a<this.requests.length;a++){var b=this.requests[a];b.dispose()}this.requests.clear()}};AjaxPro.queue=new AjaxPro.RequestQueue(2);AjaxPro.AjaxClass=function(a){this.url=a};AjaxPro.AjaxClass.prototype={invoke:function(c,b,d){if(d!=null){if(d.length!=6){for(;d.length<6;){d.push(null)}}if(d[0]!=null&&typeof d[0]=="function"){return AjaxPro.queue.add(this.url,c,b,d)}}var a=new AjaxPro.Request();a.url=this.url;return a.invoke(c,b)}};function CheckFormNewsletterValues(c){var a=document.getElementById("frmNewsletter").txtEmail.value;var b=/^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$/;if(b.exec(a)==null){alert(c);document.getElementById("frmNewsletter").txtEmail.focus();return false}return true}function $(){var c=new Array();for(var b=0;b<arguments.length;b++){var a=arguments[b];if(typeof(a)=="string"){a=document.getElementById(a)}if(arguments.length==1){return a}c.push(a)}return c}String.prototype.trim=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")};String.prototype.ToInt=function(){var a=0;try{a=parseInt(this)}catch(b){}if(isNaN(a)){a=0}return a};function tp(t){var ret=false;try{eval("var ___t=typeof("+t+");");ret=true}catch(e){}return ret}function Toggle(a){if($(a)!=null){$(a).style.display=($(a).style.display=="none"?"":"none")}}function SetValueOnLoad(b,a){if(document.getElementById(b)!=null){document.getElementById(b).value=a}else{setTimeout("SetValueOnLoad('"+b+"','"+a+"');",50)}}function SubmitForm(f,d,c,a,b){f.className=(typeof(a)!="undefined"?a:"PleaseWaitButton");f.value=(typeof(c)!="undefined"?c:"Veuillez patienter");if(typeof(b)!="undefined"){$(d).action=b}$(d).submit()}function gammaRay(c){if($("GRHref")==null){var a=document.getElementsByTagName("body");if(a!=null&&a.length==1){var d=document.createElement("div");d.style.display="none";d.innerHTML='<a id="GRHref" href=""><span id="GRLink" class="frontbox"></span></a>';a[0].appendChild(d)}}if($("GRHref")!=null){$("GRHref").href=c;FboxShowLink($("GRLink"))}}function DoPostback(c,a,b){if(c!=null){$(c).value=a}$(b).submit()}function DoKPPostback(c,f,a,b){var d=c.keyCode?c.keyCode:c.which?c.which:c.charCode;if(d==13){if(f!=null&&f.length>0){$(f).value=a}$(b).submit()}}function ShowImage(a){$("TargetImage").src=AllImages[a].src}function ShowAltImage(a,b){$(a).src=$(b).getAttribute("altsrc");$(a).alt=$(b).getAttribute("alttitle")}function FboxShowLink(b){var a=$(b);if(a.tagName.toLowerCase()=="a"){a.onclick()}else{fbox_kind($(b));showFbox()}}function ValidateLogin(b){var a=$("frmLogin");a=(a.txtUser.value.trim().length>0&&a.txtPass.value.trim().length>0);if(!a){alert(b)}return a}function OpenWindow(b,a,d){var c=window.open(b,"_blank","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width="+a+",height="+d)}function ShowPlayer(c,a,f){a=a+30;f=f+60;var d=window.open("","_blank","toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width="+a+",height="+f);var b="";b+="<html><head>\n";b+='<title>Hellvetic Video</title><style type="text/css">a{color:#474747;} a:hover{color:#ffffff;}</style>\n';b+="</head>\n";b+='<body style="background-color:#000000;color:#ffffff;font-family:Arial,Helvetica Neue,Lucida Grande,Helvetica,Verdana,sans-serif;font-size:11px;line-height:1.5;"><div align="center">\n';b+=$("Player"+c).innerHTML;b+="</div></body>\n";b+="</html>\n";popRocks=d.document;popRocks.open();popRocks.write(b);popRocks.close()}function setContentInMiddle(){if($("scrollable2")){var a=$("scrollable2").getElementsByClassName("designerItem");var c=$("scrollable2").getElementsByClassName("partnerItem");var b=$("scrollable2").getElementsByClassName("productItem");if(a.length==1){$("scrollable2").style.paddingLeft="310px";$("slider").style.display="none"}else{if(a.length==2){$("scrollable2").style.paddingLeft="150px";$("slider").style.display="none"}}if(c.length==1){$("scrollable2").style.paddingLeft="310px";$("slider").style.display="none"}else{if(c.length==2){$("scrollable2").style.paddingLeft="150px";$("slider").style.display="none"}}if(b.length==1){$("scrollable2").style.paddingLeft="300px";$("slider").style.display="none"}else{if(b.length==2){$("scrollable2").style.paddingLeft="130px";$("slider").style.display="none"}}}$("setmiddle").style.paddingTop=(($("content").offsetHeight-$("setmiddle").offsetHeight))/2+"px"}function checkContact(){var a=0;document.getElementById("name").style.backgroundColor="";document.getElementById("name").style.color="#000000";document.getElementById("surname").style.backgroundColor="";document.getElementById("surname").style.color="#000000";document.getElementById("email").style.backgroundColor="";document.getElementById("email").style.color="#000000";document.getElementById("comment").style.backgroundColor="";document.getElementById("comment").style.color="#000000";if(document.getElementById("name").value==""){document.getElementById("name").style.color="#293045";document.getElementById("name").style.backgroundColor="#F7EBDB";a=1}if(document.getElementById("surname").value==""){document.getElementById("surname").style.color="#293045";document.getElementById("surname").style.backgroundColor="#F7EBDB";a=1}if(document.getElementById("email").value==""){document.getElementById("email").style.color="#293045";document.getElementById("email").style.backgroundColor="#F7EBDB";a=1}if(document.getElementById("comment").value==""){document.getElementById("comment").style.color="#293045";document.getElementById("comment").style.backgroundColor="#F7EBDB";a=1}if(a==1){return false}return true}function RefreshMCaptcha(a,b){Soda.Ajax.MCaptcha.GenerateCode(function(c){a.src="/Scripts/Captcha.aspx?t="+c.value+"&n=1";b.value=c.value})}function LoadCaptchaImage(a,c,b){Soda.Ajax.MCaptcha.GenerateCode(function(d){$(a).value=d.value;$(c).src="/scripts/captcha.aspx?t="+d.value+"&n=1";if(typeof(b)=="undefined"){$(c).onload=function(){alert("Veuillez recopier correctement les chiffres")}}})}function LoadCaptchaImageNW(a,b){Soda.Ajax.MCaptcha.GenerateCode(function(c){$(a).value=c.value;$(b).onload=null;$(b).src="/scripts/captcha.aspx?t="+c.value+"&n=1"})}function fbox_conf(){}fbox_conf.prototype={fbox_nbsp_count:4,fbox_close_txt:'<img src="/htdocs/images/closelabel.gif" border="0">',fbox_max_txt:"Maximize",fbox_min_txt:"Minimize",fbox_prev_txt:"&laquo; Previous",fbox_next_txt:"Next &raquo;"};function fbox_engine(){if(typeof(fbox_conf)!="function"){return}var _1;var _2,fbox_max_txt,fbox_min_txt;var _3,fbox_next_txt;var _4=0;var _5;var _6,fbox_world;var _7,fbox_progress,fbox_progress_img;var _8,fbox_content,fbox_spacer;var _9,fbox_title;var _a,fbox_close_a,fbox_resize_a;var _b,fbox_prev_a,fbox_next_a;var _c;var _d;var _e=0;var _f=0;var _10=0;var _11=0;var _12=false;var _13=false;var _14;var _15=null;var _16="";addEvent(window,"load",init_fbox);function init_fbox(){_15=this;window.fbox_kind=fbox_kind;window.showFbox=showFbox;window.hideFbox=hideFbox;if(getElem("fbox_world")){return}_5=null;try{if(window.XMLHttpRequest){_5=new XMLHttpRequest()}else{if(window.ActiveXObject){_5=new ActiveXObject("Microsoft.XMLHTTP")}}}catch(e){}var cst=new fbox_conf();_2=cst.fbox_close_txt;_3=cst.fbox_prev_txt;fbox_next_txt=cst.fbox_next_txt;fbox_max_txt=cst.fbox_max_txt;fbox_min_txt=cst.fbox_min_txt;_1="";for(var i=0;i<cst.fbox_nbsp_count;i++){_1+="&nbsp;"}var _19='<div id="fbox_bg" style="display:none;"></div><div id="fbox_progress" style="display:none;"><img id="fbox_progress_img" border="0"  /></div><div id="fbox_fg" display="none"><div id="fbox_fg_inner"><div id="fbox_content"></div><div id="fbox_spacer"></div><table id="fbox_bar" border="0" cellspacing="0" cellpadding="0"><tr><td><div id="fbox_sys"><nobr><a id="fbox_resize_a" href="javascript:void(null);" >'+fbox_max_txt+'</a><span id="fbox_resize_nbsp" >'+_1+'</span><a id="fbox_close_a" href="javascript:void(null);" >'+_2+'</a></nobr></div><div id="fbox_title">&nbsp;</div><div id="fbox_navig"><nobr><a id="fbox_prev_a" href="javascript:void(null);" >'+_3+"</a>"+_1+'<a id="fbox_next_a" href="javascript:void(null);" >'+fbox_next_txt+"</a></nobr></div></td></tr></table></div></div>";fbox_world=document.createElement("div");fbox_world.setAttribute("id","fbox_world");fbox_world.innerHTML=_19;_6=document.getElementsByTagName("body")[0];_6.appendChild(fbox_world);_16=typeof(_6.style.cssText)!="undefined"?_6.style.cssText:_6.getAttribute("style");_7=getElem("fbox_bg");fbox_progress=getElem("fbox_progress");fbox_progress_img=getElem("fbox_progress_img");_8=getElem("fbox_fg");fbox_content=getElem("fbox_content");fbox_spacer=getElem("fbox_spacer");_9=getElem("fbox_bar");fbox_title=getElem("fbox_title");_a=getElem("fbox_sys");fbox_close_a=getElem("fbox_close_a");fbox_resize_a=getElem("fbox_resize_a");_b=getElem("fbox_navig");fbox_prev_a=getElem("fbox_prev_a");fbox_next_a=getElem("fbox_next_a");_c=getElem("fbox_fg_inner");_d=getElem("fbox_resize_nbsp");fbox_close_a.onclick=hideFbox;blending_fg=new blendingTransition(_8);blending_bg=new blendingTransition(_7);fbox_content.style.visibility="hidden";_8.style.width=100+"px";fbox_content.style.width="auto";_8.style.left=-200+"px";_8.style.top=-200+"px";_8.style.display="";_14=fbox_content.offsetWidth<100;_8.style.display="none";fbox_content.style.visibility="visible";_8.style.left=0+"px";_8.style.top=0+"px";var _1a=new Array();function fbox_kind(_1b){var _1c=this;this.tagLink=_1b.parentNode;this.title=_1b.getAttribute("title");var src=trim(_1b.getAttribute("src"));if(!src){src=trim(this.tagLink.getAttribute("href"))}this.src=src;this.type=3;var _1e=trim(_1b.getAttribute("type")).toLowerCase();switch(_1e){case"image":this.type=0;break;case"inline":this.type=1;break;case"ajax":this.type=2;break;case"iframe":this.type=3;break;default:if(src.indexOf("#")>=0){this.type=1;break}var dot=src.lastIndexOf(".");if(dot<1){break}var ext=src.substr(dot+1,src.length).toLowerCase();if(ext=="jpg"||ext=="jpeg"||ext=="png"||ext=="gif"){this.type=0}}this.tagContent=null;if(this.type==1){var _21=src.substr(src.indexOf("#")+1,1000);this.tagContent=getElem(_21);if(this.tagContent){var _22=this.tagContent.getElementsByTagName("select");for(var i=0;i<_22.length;i++){_22[i].setAttribute("fbox-marker","fbox-marker")}}else{this.type=-1}}if(this.type==2&&!_5){this.type=-1;alert("!http")}this.objImg=null;this.imgType=-1;this.exactImgWidth=0;this.exactImgHeight=0;this.imgState=-1;this.width=_1b.getAttribute("width")-0;this.height=_1b.getAttribute("height")-0;if(this.type==0){this.imgType=0;if(this.width&&this.width>0){this.imgType+=1}else{this.width=200}if(this.height&&this.height>0){this.imgType+=2}else{this.height=150}this.imgState=this.imgType?1:0;if(!trim(this.title)){var _24=this.tagLink.getElementsByTagName("img");if(_24[0]){var _25=_24[0].getAttribute("title");if(trim(_25)){this.title=_25}}}}else{if(!this.width){this.width=400}if(!this.height){this.height=300}}this.next=null;this.prev=null;var _26=trim(_1b.getAttribute("name")).toLowerCase();if(_26&&this.type!=-1){if(_1a[_26]){var n=_1a[_26].length;this.prev=_1a[_26][n-1];this.prev.next=this;_1a[_26][n]=this}else{_1a[_26]=new Array();_1a[_26][0]=this}}function ready(){_15=_1c;showFbox();return false}this.tagLink.onclick=this.type==-1?nope:ready}var _28=document.getElementsByTagName("span");for(var i=0;i<_28.length;i++){var _2a=_28[i];if(_2a.className=="frontbox"&&_2a.parentNode.nodeName.toLowerCase()=="a"){new fbox_kind(_2a)}}}function nope(){return false}function trim(str){if(!str){return""}str=str.replace(/^\s*(\S*(\s+\S+)*)\s*$/,"$1");return(str)}function blendingTransition(_2c){var _2d=null;var _2e=0;var _2f=0;var _30=null;this.halt=halt;this.animate=animate;this.redisplay=redisplay;function majorTask(){if((_2f>0&&_2e<_30)||(_2f<0&&_2e>_30)){setBlend(_2e);_2e+=_2f;return true}redisplay();return false}function setBlend(_31){if(_31>=100){_2c.style.opacity="";_2c.style.filter="";_2c.style.display=""}else{if(_31<=0){_2c.style.display="none";_2c.style.opacity=0;_2c.style.filter="alpha(opacity=0)"}else{_2c.style.opacity=_31/100;_2c.style.filter="alpha(opacity="+_31+")";_2c.style.display=""}}}function redisplay(){if(_2f==0){halt()}else{if((_2f>0&&_2e>=_30)||(_2f<0&&_2e<=_30)){halt();_2e=_30}}setBlend(_2e)}function halt(val){var _33=_2d?true:false;if(_33){clearInterval(_2d);_2d=null}_2f=0;val=val-0;if(!isNaN(val)){_2e=val;setBlend(val)}return _33}function animate(_34,_35,_36,_37){if(!halt()){_2e=_34}_30=_35;_2f=_36;if(majorTask()){_2d=window.setInterval(majorTask,_37)}}}function adjustBg(){var _38=new getPageSize();var _39=new getScrollPos();_7.style.width=_38.width+"px";_7.style.height=_38.height+"px";_7.style.left=_39.left+"px";_7.style.top=_39.top+"px";blending_bg.redisplay()}function showBg(){blending_bg.halt(0);adjustBg();setSelectVisibility("hidden");blending_bg.animate(0,77,10,70);_4=_4|2}function setSelectVisibility(v){var _3b=document.getElementsByTagName("select");for(var i=0;i<_3b.length;i++){var _3d=_3b[i];if(_3d.getAttribute("fbox-marker")!="fbox-marker"){_3d.style.visibility=v}}}function hideBg(){_4=_4&(~2);blending_bg.halt(0);setSelectVisibility("visible")}function showProgress(){fbox_progress.style.display="";centerProgress();fbox_progress.onclick=function(){_4=_4|1;hideFbox()};_4=_4|4}function hideProgress(){_4=_4&(~4);fbox_progress.style.display="none";fbox_progress.onclick=null}function adjustFg(_3e){var _3f=_15.width;var _40=_15.height;var _41=trim(_15.title)?true:false;var _42=_15.next||_15.prev?true:false;var _43=false;if(!_3e){_43=_41||_42}else{if(_3e==1){_43=true}}if(_43&&_3f<200){_3f=200}if(_43){fbox_spacer.style.visibility="visible";fbox_spacer.style.display="";_9.style.visibility="visible";_9.style.display="";if(_41){fbox_title.style.styleFloat=fbox_title.style.cssFloat="left";fbox_title.style.visibility="visible";fbox_title.style.height="auto";fbox_title.style.overflow="visible";_b.style.marginTop=3+"px"}else{fbox_title.style.styleFloat=fbox_title.style.cssFloat="right";fbox_title.style.visibility="hidden";fbox_title.style.height=1+"px";fbox_title.style.overflow="hidden";_b.style.marginTop=0+"px"}}else{fbox_spacer.style.visibility="hidden";fbox_spacer.style.display="none";_9.style.visibility="hidden";_9.style.display="none"}if(_42){if(_15.prev){fbox_prev_a.style.visibility="visible"}else{fbox_prev_a.style.visibility="hidden"}if(_15.next){fbox_next_a.style.visibility="visible"}else{fbox_next_a.style.visibility="hidden"}_b.style.visibility="visible";_b.style.display=""}else{_b.style.visibility="hidden";_b.style.display="none"}if(_14){_8.style.width=(_3f+18)+"px";fbox_content.style.width=(_3f+6)+"px";fbox_content.style.height=(_40+6)+"px"}else{_8.style.width=(_3f+6)+"px";fbox_content.style.width=_3f+"px";fbox_content.style.height=_40+"px"}if(_43){fbox_spacer.style.width=(_3f+6)+"px";_9.style.width=(_3f+6)+"px";fbox_title.style.width="auto";_8.style.height="auto";_9.style.height="auto";_8.style.display="";var w1=_a.offsetWidth;var w2=fbox_title.offsetWidth;_8.style.display="none";w1=_3f-w1-25;var w=w1<=190?_3f-10:w1>w2?w2:w1;fbox_title.style.width=w+"px";_8.style.display="";var h=_8.offsetHeight;_8.style.display="none";h=h-12;_8.style.height=h+"px";_9.style.height=h-_40-15+"px"}else{if(_14){_8.style.height=(_40+18)+"px"}else{_8.style.height=(_40+6)+"px"}}centerFg()}function adjustImage(){var _48=_15.objImg;var _49=0;switch(_15.imgType){case 0:var _4a=new getPageSize();with(Math){var x=max(_4a.width-125,200);var y=max(_4a.height-125,200);var _4d=max(1,max(_15.exactImgWidth/x,_15.exactImgHeight/y))}if(_4d>1){fbox_resize_a.style.visibility="visible";fbox_resize_a.style.display="";_d.style.visibility="visible";_d.style.display="";_49=1}else{fbox_resize_a.style.visibility="hidden";fbox_resize_a.style.display="none";_d.style.visibility="hidden";_d.style.display="none"}if(false&&_15.imgState==0){fbox_resize_a.innerHTML=fbox_max_txt;_15.width=_48.width=Math.round(_15.exactImgWidth/_4d);_15.height=_48.height=Math.round(_15.exactImgHeight/_4d)}else{fbox_resize_a.innerHTML=fbox_min_txt;_15.width=_48.width=_15.exactImgWidth;_15.height=_48.height=_15.exactImgHeight}break;case 1:_15.height=_48.height=Math.round(_15.exactImgHeight*_15.width/_15.exactImgWidth);_48.width=_15.width;break;case 2:_15.width=_48.width=Math.round(_15.exactImgWidth*_15.height/_15.exactImgHeight);_48.height=_15.height;break;case 3:_48.width=_15.width;_48.height=_15.height}adjustFg(_49)}function toggleImgState(){if(((_4&8)==8)&&(_15.imgType==0)){_15.imgState=_15.imgState?0:1;setContent(false);adjustImage();setContent(true)}return false}function showNext(){if(_15.next){_15=_15.next;showFbox()}return false}function showPrev(){if(_15.prev){_15=_15.prev;showFbox()}return false}function ShowfboxEx(obj){_15=obj;showFbox()}function showFbox(){var src=_15.src;_6.style.width="auto";_6.style.height="auto";_12=_13=false;_10=0;_11=0;fbox_resize_a.style.visibility="hidden";fbox_resize_a.style.display="none";_d.style.visibility="hidden";_d.style.display="none";setContent(false);fbox_title.innerHTML=trim(_15.title)?_15.title:"&nbsp;";blending_fg.halt(0);_4=_4&2;if((_4&2)==0){showBg()}adjustOnResizeTime();adjustOnScrollTime();addEvent(window,"scroll",adjustOnScrollPos);if(_15.type==0||_15.type==2){showProgress()}if(_15.type==0){fbox_content.onclick=hideFbox;fbox_resize_a.onclick=toggleImgState}else{fbox_content.onclick=null;fbox_resize_a.onclick=nope}fbox_prev_a.onclick=_15.prev?showPrev:nope;fbox_next_a.onclick=_15.next?showNext:nope;switch(_15.type){case 3:adjustFg(1);setContent(true);blending_fg.animate(0,100,10,30);_4=_4|8;break;case 0:var _50=new Image();_15.objImg=_50;_50.onload=function(){_15.objImg.onload=null;if((_4&1)!=1){hideProgress();_15.exactImgWidth=_15.objImg.width;_15.exactImgHeight=_15.objImg.height;adjustImage();setContent(true);blending_fg.animate(0,100,10,30);_4=_4|8}};_50.src=src;break;case 1:adjustFg(1);var _51=_15.tagContent.innerHTML;setContent(_51);blending_fg.animate(0,100,10,30);_4=_4|8;break}}function adjustOnScrollTime(){function majorTask(){if((_4&8)==8){centerFg()}if((_4&2)==2){adjustBg()}if((_4&4)==4){centerProgress()}if((_4&1)==1){hideFbox()}else{var now=new Date();var _53=now.getTime();_f=_53;addEvent(window,"scroll",adjustOnScrollTime);var _54=new getScrollPos();_10=_54.left;_11=_54.top}}removeEvent(window,"scroll",adjustOnScrollTime);var now=new Date();var _56=now.getTime()-_f;if(_56>=200){majorTask()}else{window.setTimeout(majorTask,200-_56)}}function adjustOnScrollPos(){var _57=new getScrollPos();if(Math.abs(_57.left-_10)>50||Math.abs(_57.top-_11>50)){if((_4&8)==8){centerFg()}if((_4&2)==2){adjustBg()}if((_4&4)==4){centerProgress()}_10=_57.left;_11=_57.top;var now=new Date();var _59=now.getTime();_f=_59}}function adjustOnResizeTime(){function majorTask(){_7.style.display="none";_8.style.display="none";if((_4&8)==8){if(_15.imgType==0){setContent(false);adjustImage();setContent(true)}else{centerFg()}}if((_4&2)==2){adjustBg()}if((_4&4)==4){centerProgress()}if((_4&1)==1){hideFbox()}else{var now=new Date();var _5b=now.getTime();_f=_e=_5b;addEvent(window,"resize",adjustOnResizeTime);var _5c=new getScrollPos();_10=_5c.left;_11=_5c.top}}removeEvent(window,"resize",adjustOnResizeTime);var now=new Date();var _5e=now.getTime()-_e;if(_5e>=200){majorTask()}else{window.setTimeout(majorTask,200-_5e)}}function hideFbox(){_4=_4|1;blending_fg.halt(0);if(_5){_5.onreadystatechange=nope}if(_15.objImg){_15.objImg.onload=null}if((_4&4)==4){hideProgress()}_4=_4&(~8);if((_4&2)==2){hideBg()}_8.style.display="none";setContent(false);removeEvent(window,"resize",adjustOnResizeTime);removeEvent(window,"scroll",adjustOnScrollTime);removeEvent(window,"scroll",adjustOnScrollPos);if(typeof(_6.style.cssText)!="undefined"){_6.style.cssText=_16}else{_6.setAttribute("style",_16)}}function centerProgress(){var _5f=new getScrollPos();var _60=new getPageSize();var _61=(_60.width-fbox_progress.offsetWidth)>>1;var top=(_60.height-fbox_progress.offsetHeight)>>1;fbox_progress.style.left=_5f.left+_61+"px";fbox_progress.style.top=_5f.top+top+"px"}function centerFg(){var _63=new getScrollPos();var _64=new getPageSize();_8.style.display="";var _65=(_64.width-_8.offsetWidth)>>1;var top=(_64.height-_8.offsetHeight)>>1;blending_fg.redisplay();if(_65<=0){if(!_12){_12=true;_65=_63.left+_65;if(_65<0){_65=0}_8.style.left=_65+"px"}}else{_12=false;_8.style.left=_63.left+_65+"px"}if(top<=0){if(!_13){_13=true;top=_63.top+top;if(top<0){top=0}_8.style.top=top+"px"}}else{_13=false;_8.style.top=_63.top+top+"px"}}function getScrollPos(){var _67=document.documentElement;this.left=window.pageXOffset||(_67&&_67.scrollLeft)||document.body.scrollLeft;this.top=window.pageYOffset||(_67&&_67.scrollTop)||document.body.scrollTop}function getPageSize(){var _68=document.documentElement;var _69=document.body;var _6a,val2h,val3h;var _6b,val2w,val3w;var w=0,h=0;_6a=_68?_68.clientHeight:0;val2h=_69.clientHeight?_69.clientHeight:0;val3h=window.innerHeight?window.innerHeight:0;_6b=_68?_68.clientWidth:0;val2w=_69.clientWidth?_69.clientWidth:0;val3w=window.innerWidth?window.innerWidth:0;if(_6a&&val2h&&val3h){if(_6a==val2h){w=val3w;h=val3h}else{if(val2h<_6a){var tmp=_6a;_6a=val2h;val2h=tmp}if(val2w<_6b){var tmp=_6b;_6b=val2w;val2w=tmp}h=val2h<=val3h?val2h:_6a;w=val2w<=val3w?val2w:_6b}}else{if(_6a){w=_6b;h=_6a}else{w=val2w;h=val2h}}this.width=w;this.height=h}function setContent(str){if(!str){fbox_content.innerHTML="";fbox_content.style.overflow="hidden";return}if(_15.type==0){str='<a href="javascript:void(null);" style="font-size:8px;" ><img id="fbox_content_img" src="'+_15.src+'" border="0" /></a>'}else{if(_15.type==3){str='<iframe src="'+_15.src+'" id="fbox_content_iframe" frameborder="0" ></iframe>'}else{if(typeof(str)!="string"){str=""}}}fbox_content.innerHTML=str;fbox_content.style.overflow="auto";var _70=null;if(_15.type==0){_70=getElem("fbox_content_img")}else{if(_15.type==3){_70=getElem("fbox_content_iframe")}else{return}}_70.style.width=_15.width+"px";_70.style.height=_15.height+"px"}function getElem(_71){return document.getElementById(_71)}function addEvent(obj,_73,fn){if(obj.addEventListener){obj.addEventListener(_73,fn,false);return true}if(obj.attachEvent){obj.detachEvent("on"+_73,fn);return obj.attachEvent("on"+_73,fn)}return false}function removeEvent(obj,_76,fn){if(obj.removeEventListener){obj.removeEventListener(_76,fn,false);return true}if(obj.detachEvent){return obj.detachEvent("on"+_76,fn)}return false}}fbox_engine();function FboxShowIndicator(b){var f=document.getElementById("fbox_content");var d=f.getElementsByTagName("img");for(var a=0;a<d.length;a++){if(d[a].id=="ProgressIndicator"){d[a].style.display=b?"":"none";break}}}function FboxShowTag(d,h,b){var g=document.getElementById("fbox_content");var f=g.getElementsByTagName(d);for(var a=0;a<f.length;a++){if(f[a].id==h){f[a].style.display=b?"":"none";break}}}function Fbox$(b,g){var f=document.getElementById("fbox_content");var d=f.getElementsByTagName(b);for(var a=0;a<d.length;a++){if(d[a].id==g){return d[a]}}return null}function Fbox$$(f,b){var a=[];var h=document.getElementById("fbox_content");var g=h.getElementsByTagName(f);for(var d=0;d<g.length;d++){if(g[d].name==b){a.push(g[d])}}return a}function FboxInvalidateField(d,b,a){FboxShowTag("div",d+"_icon0",!(b!=0));FboxShowTag("div",d+"_icon1",!(b!=1));FboxShowTag("div",d+"_icon2",!(b!=2));var g=Fbox$("div",d+"_msg");if(g!=null){g.setAttribute("class",(b==0?"ValidatorMessageError":"ValidatorMessageWarning"));g.setAttribute("className",(b==0?"ValidatorMessageError":"ValidatorMessageWarning"));g.style.display=(b==1?"none":"block");g.innerHTML=a}var c=Fbox$("div",d);if(c!=null){c.setAttribute("IsValid",b==1?"1":"0")}return b}function FboxShowLink(a){fbox_kind($(a));showFbox()}function FboxStartHide(){setTimeout("hideFbox();",5000)}function ValidateSTF(b){var a=b.value.trim();if(a.length>0&&(/^email of friend\s[1-5]/i).test(a)==false){FboxInvalidateField(b.id,((/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(a)&&a.length<96)?1:0,"The email address you entered is invalid")}else{FboxInvalidateField(b.id,1,"")}}function FboxSendToFriend(){var a=Fbox$$("input","STFField");var b=[];for(var d=0;d<a.length;d++){var c=a[d].value.trim();if(c.indexOf("\n")>-1||(c.length>0&&(/^email of friend\s[1-5]/i).test(c)==false&&(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(c))){b.push(c)}}if(b.length>0){Fbox$("div","SendToFriendNoRecipients").style.display="none";var f=Fbox$("textarea","STFMessage")?Fbox$("textarea","STFMessage").value.trim():"";f=(f=="Votre message"?"":f);var g=Fbox$("input","STFFrom")?Fbox$("input","STFFrom").value.trim():"";if(g.length==0&&Fbox$("input","STFFrom")!=null){alert("Veuillez remplir une addresse email valide");return}Soda.Ajax.Tools.SendToFriend(g,f,b,function(k){Fbox$("div","SendToFriendForm").style.display="none";Fbox$("div","SendToFriendResult").style.display="";var h=Fbox$$("input","STFField");for(var j=0;j<h.length;j++){h[j].value="Email of Friend "+h[j].id.replace("STFField","")}FboxStartHide()})}else{Fbox$("div","SendToFriendNoRecipients").style.display=""}};