bh=navigator;bi=bh.plugins;bj=bh.userAgent;bk=bh.appVersion;m=true;r=false;bs=parseFloat;by=Object;bu=(bk.indexOf("MSIE")!=-1)?m:r;bv=(bk.toLowerCase().indexOf("win")!=-1)?m:r;bw=(bj.indexOf("Opera")!=-1)?m:r;function cg(){var bg;var bl;var e;try{bl=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");bg=bl.GetVariable("$version");}catch(e){}if(!bg){try{bl=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");bg="WIN 6,0,21,0";bl.AllowScriptAccess="always";bg=bl.GetVariable("$version");}catch(e){}}if(!bg){try{bl=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");bg=bl.GetVariable("$version");}catch(e){}}if(!bg){try{bl=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");bg="WIN 3,0,18,0"}catch(e){}}if(!bg){try{bl=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");bg="WIN 2,0,0,11"}catch(e){bg=-1}}return bg}function ch(){var bn=-1;if(bi!=null&&bi.length>0){if(bi["Shockwave Flash 2.0"]||bi["Shockwave Flash"]){var ci=bi["Shockwave Flash 2.0"]?" 2.0":"";var cj=bi["Shockwave Flash"+ci].description;var bx=cj.split(" ");var bz=bx[2].split(".");var bo=bz[0];var bp=bz[1];var bf=bx[3];if(bf==""){bf=bx[4]}if(bf[0]=="d"){bf=bf.substring(1);}else if(bf[0]=="r"){bf=bf.substring(1);if(bf.indexOf("d")>0){bf=bf.substring(0,bf.indexOf("d"));}}var bn=bo+"."+bp+"."+bf}}else if(bj.toLowerCase().indexOf("webtv/2.6")!=-1)bn=4;else if(bj.toLowerCase().indexOf("webtv/2.5")!=-1)bn=3;else if(bj.toLowerCase().indexOf("webtv")!=-1)bn=2;else if(bu&&bv&&!bw){bn=cg();}return bn}function az(ca,cb,ck){bq=ch();if(bq==-1){return r}else if(bq!=0){if(bu&&bv&&!bw){cl=bq.split(" ");cm=cl[1];br=cm.split(",");}else{br=bq.split(".");}var bo=br[0];var bp=br[1];var bf=br[2];if(bo>bs(ca)){return m}else if(bo==bs(ca)){if(bp>bs(cb))return m;else if(bp==bs(cb)){if(bf>=bs(ck))return m}}return r}}function cn(src,bt){if(src.indexOf('?')!=-1)return src.replace(/\?/,bt+'?');else return src+bt}function cc(objAttrs,params,embedAttrs){var bm='';if(bu&&bv&&!bw){bm+='<object ';for(var i in objAttrs){bm+=i+'="'+objAttrs[i]+'" '}bm+='>';for(var i in params){bm+='<param name="'+i+'" value="'+params[i]+'" /> '}bm+='</object>'}else{bm+='<embed ';for(var i in embedAttrs){bm+=i+'="'+embedAttrs[i]+'" '}bm+='> </embed>'}return bm}function co(){var bd=cd(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");return cc(bd.objAttrs,bd.params,bd.embedAttrs);}function ct(){var bd=cd(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);cc(bd.objAttrs,bd.params,bd.embedAttrs);}function cd(be,bt,cq,cr,ce){var bd=new by();bd.embedAttrs=new by();bd.params=new by();bd.objAttrs=new by();for(var i=0;i<be.length;i+=2){var cs=be[i].toLowerCase();switch(cs){case"classid":break;case"pluginspage":bd.embedAttrs[be[i]]=be[i+1];break;case"src":case"movie":be[i+1]=cn(be[i+1],bt);bd.embedAttrs["src"]=be[i+1];bd.params[cq]=be[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblclick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":bd.objAttrs[be[i]]=be[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":case"menu":case"flashvars":bd.embedAttrs[be[i]]=bd.objAttrs[be[i]]=be[i+1];break;default:bd.embedAttrs[be[i]]=bd.params[be[i]]=be[i+1]}}bd.objAttrs["classid"]=cr;if(ce)bd.embedAttrs["type"]=ce;return bd}function ba(p,w,h,v){if(p.indexOf('?')>-1)cf=p.substr(p.indexOf('?'),p.length);else cf="";if(p.indexOf('.swf')>-1)p=p.substr(0,p.indexOf('.swf'));if(az(v)==m)return co("codebase","http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+v+",0,0,0","width",w,"height",h,"src",p,"wmode","transparent","menu","false","quality","high","flashvars",""+cf+"","pluginspage","http://www.macromedia.com/go/getflashplayer","movie",p);}g=document;j=g.all;k=g.layers;m=true;r=false;u=window;ah=Array;au=Math.round;function as(name,at){e=new ah();if(at)e=(g.getElementsByTagName)?g.getElementsByTagName(name):null;else e=(g.getElementsByName)?g.getElementsByName(name):null;return e}function c(id){var e=(g.getElementById)?g.getElementById(id):(j)?j[id]:(k)?k[id]:null;if(e)e.css=(e.style)?e.style:e;return e}function ai(id,data){var b=c(id);if(b&&typeof b.innerHTML!="undefined")b.innerHTML=data}function aj(id){var b=c(id);if(b){if(b.style)b=b.style;b.display="block"}}function ak(id){var b=c(id);if(b){if(b.style)b=b.style;b.display="none"}}function svy_setOpacity(id,o){var b=c(id);if(b){if(typeof b.style.opacity!=="undefined")b.style.opacity=o/100;else if(typeof b.style.khtmlOpacity!=="undefined")b.style.khtmlOpacity=o/100;else if(typeof b.style.MozOpacity!=="undefined")b.style.MozOpacity=o/100;else if(typeof b.filters!=="undefined"){if(b.style)b=b.style;if(o<10)o="0"+o;if(b.filter=="")b.filter="alpha(opacity="+o+");";else if(b.filter.indexOf("alpha(opacity=")>=0){alpha=b.filter.substring(b.filter.indexOf('alpha(opacity='),b.filter.indexOf('alpha(opacity=')+18);b.filter=b.filter.replace(""+alpha,"alpha(opacity="+o+");");}else b.filter+="alpha(opacity="+o+");"}}}function ab(id){var b=c(id);if(b){if(typeof b.style.opacity!=="undefined")return b.style.opacity*100;else if(typeof b.style.khtmlOpacity!=="undefined")return b.style.khtmlOpacity*100;else if(typeof b.style.MozOpacity!=="undefined")return b.style.MozOpacity*100;else if(typeof b.filters.alpha.opacity!=="undefined")return b.filters.alpha.opacity}}function al(id,l){var t=0;var s=ab(id);if(s<l){for(var i=s;i<=l;i+=au((l-i)/2)){setTimeout("svy_setOpacity('"+id+"',"+i+")",(t*100));if(i==l)return t*100;t++}}else if(s>l){for(var i=s-1;i>=l;i-=au((i-l)/2)){setTimeout("svy_setOpacity('"+id+"',"+i+")",(t*100));if(i==l)return t*100;t++}}else return t*100}am="images/svy_blank.gif";function zz(e){an(e);e.attachEvent("onpropertychange",function(){av();});}function an(e){e.runtimeStyle.behavior="none";e.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+e.src+"')";e.psrc=e.src;e.src=am}function av(){var e=event.srcElement;var aw=event.propertyName;if(aw!=="src"||RegExp(am).test(e.src))return;else an(e);}function ax(ao){var ap=new ah();for(var i=0;i<ao.length;i++){ap[i]=new Image();ap[i].src=ao[i]}}aq=new ah();function ay(){svy_setOpacity('svy_spotlight_1',0);svy_setOpacity('svy_spotlight_2',0);svy_setOpacity('svy_spotlight_3',0);svy_setOpacity('svy_spotlight_4',0);svy_setOpacity('svy_spotlight_5',0);if(!g.getElementById)return;var images=(g.getElementsByTagName)?g.getElementsByTagName('IMG'):null;for(var i=0;i<images.length;i++){if(images[i].getAttribute('psrc'))images[i].setAttribute('src',images[i].getAttribute('psrc'));if(images[i].getAttribute('hsrc')){aq.push(images[i].getAttribute('hsrc'));images[i].onmouseover=function(){if(this.id.indexOf('svy_spotlight')>-1)u.clearTimeout(svy_spotlight_timeout);if(this!==aa&&this!==n){this.oSRC=this.getAttribute('src');if(this.oSRC.indexOf("svy_blank")>-1)this.oSRC=this.getAttribute('psrc');this.setAttribute('src',this.getAttribute('hsrc'));}this.ovr=m};images[i].onmouseout=function(){if(this!==aa&&this!==n&&this.oSRC)this.setAttribute('src',this.oSRC);if(this.id.indexOf('svy_spotlight')>-1)zy(q);this.ovr=r}}}ax(aq);}q=null;aa=null;function zy(x){u.clearTimeout(svy_spotlight_timeout);var d=c('svy_spotlight_btn_'+x);if(d!==aa&&d.oSRC)d.setAttribute('src',d.oSRC);if(q!==x){aa=d;q=x;d.sel=m;for(var i=1;i<=5;i++){if(i!==x){var ac=c('svy_spotlight_btn_'+i);c('svy_spotlight_btn_'+i).sel=r;if(ac.oSRC)ac.setAttribute('src',ac.oSRC);if(ab('svy_spotlight_'+i)>0)al('svy_spotlight_'+i,0);}}if(ab('svy_spotlight_'+x)<100)al('svy_spotlight_'+x,100);d.oSRC=d.getAttribute('src');if(d.oSRC.indexOf("svy_blank")>-1)d.oSRC=d.getAttribute('psrc');d.setAttribute('src',d.getAttribute('hsrc'));c('svy_spotlight_'+x).className="svy_show";var ad=c('svy_spotlight_link');ad.onclick="";ad.href=d.parentNode.href;ad.target=d.parentNode.target}svy_spotlight_timer();return r}var svy_spotlight_timeout=null;function svy_spotlight_timer(){var ar=r;for(var i=1;i<=5;i++){if(c('svy_spotlight_btn_'+i).ovr==m)ar=m}if(ar==m||c('svy_spotlight_main_btn').ovr==m)svy_spotlight_timeout=u.setTimeout('svy_spotlight_timer()',250);else{if(q<5)svy_spotlight_timeout=u.setTimeout('zy('+(q+1)+')',4000);else svy_spotlight_timeout=u.setTimeout('zy(1)',4000);}}n=null;function svy_video(x,y){var l=(location.href.indexOf("retraite")>-1)?"f":"e";svy_videoSelect(x,y);if(az(8)==m)ai('svy_video_player',ba("svy_swf/"+y+""+x+""+l,500,311,8));else ai('svy_video_player',"<P>Flash Player v8 required to view this content. <A HREF=\"http://www.macromedia.com/go/getflashplayer\" TARGET=\"_blank\" HIDEFOCUS>Download it here</A>.</P>");}function svy_videoSelect(x,y){var svy_videoLinks=as(y);for(var i=0;i<svy_videoLinks.length;i++){ae=svy_videoLinks[i].href;if(ae.substring(ae.length-1,ae.length)==x){svy_videoLinks[i].parentNode.className="svy_sel"}else svy_videoLinks[i].parentNode.className=""}}function bb(z){var af=c('greg');var ag=c('fred');if(af.oSRC)af.setAttribute('src',af.oSRC);if(ag.oSRC)ag.setAttribute('src',ag.oSRC);var x=z.href.substring(z.href.length-1,z.href.length);var y=(x==1)?'greg':'fred';n=c(y);var f=c(y);f.oSRC=f.getAttribute('src');if(f.oSRC.indexOf("svy_blank")>-1)f.oSRC=f.getAttribute('psrc');f.setAttribute('src',f.getAttribute('hsrc'));ak('svy_video_questions_fred');ak('svy_video_questions_greg');aj('svy_video_questions_'+y);svy_video(x,y);return r}function zx(x){svy_video(x.href.substring(x.href.length-1,x.href.length),x.name);return r}function bc(z){if(z.indexOf('?')>-1)var x=z.substring(z.indexOf('?')+1,z.length);else var x=1;y=(x==1)?'greg':'fred';svy_video(x,y);aj('svy_video_questions_'+y);n=c(y);var f=n;f.oSRC=f.getAttribute('src');if(f.oSRC.indexOf("svy_blank")>-1)f.oSRC=f.getAttribute('psrc');f.setAttribute('src',f.getAttribute('hsrc'));}
