var agt=navigator.userAgent.toLowerCase();var is_major=parseInt(navigator.appVersion);var is_minor=parseFloat(navigator.appVersion);var is_nav=((agt.indexOf('mozilla')!=-1)&&(agt.indexOf('spoofer')==-1)
&&(agt.indexOf('compatible')== -1)&&(agt.indexOf('opera')==-1)
&&(agt.indexOf('webtv')==-1));var is_nav2=(is_nav&&(is_major==2));var is_nav3=(is_nav&&(is_major==3));var is_nav4=(is_nav&&(is_major==4));var is_nav4up=(is_nav&&(is_major>=4));var is_navonly=(is_nav&&((agt.indexOf(";nav")!= -1)||(agt.indexOf("; nav")!= -1)));var is_nav5=(is_nav&&(is_major==5));var is_nav5up=(is_nav&&(is_major>=5));var is_ie=(agt.indexOf("msie")!= -1);var is_ie3=(is_ie&&(is_major<4));var is_ie4=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")==-1));var is_ie4up=(is_ie&&(is_major>=4));var is_ie5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")!=-1));var is_ie5up=(is_ie&&!is_ie3&&!is_ie4);var is_ie7=(is_ie&&(is_major==4)&&(agt.indexOf("msie 7.0")!=-1));var is_opera=(!is_ie&&agt.indexOf('opera')!=-1);if(document.all&&!is_ie7){document.write('<style type="text/css"><!-- img{ behavior: url(js/png.htc); } --></style>');}function $(Id){return document.getElementById(Id);}function verif_email(Formu){var error=false;if(!/^[a-z0-9]{1,}@[a-z0-9]{1,}\.[a-z]{1,}$/i.test(Formu.email.value)){error=true;Formu.email.style.backgroundColor="red";}else{Formu.email.style.backgroundColor="";}if(Formu.nom.value.length==0){error=true;Formu.nom.style.backgroundColor="red";}else{Formu.nom.style.backgroundColor="";}if(Formu.message.value.length==0){error=true;Formu.message.style.backgroundColor="red";}else{Formu.message.style.backgroundColor="";}if(error){$('formError').innerHTML="Por favor, rellena los campos en rojo.";return false;}else{$('formError').innerHTML="";return true;}}document.AjaxHandler=function(){};function createRequestObject()
{var xhr;if(window.XMLHttpRequest){xhr=new XMLHttpRequest();}else if(window.ActiveXObject){xhr=new ActiveXObject("Microsoft.XMLHTTP");}return xhr;}function ajaxRequest(Page,Datas){var http=createRequestObject();http.onreadystatechange=function(e){if(http.readyState==4){if(http.status==200){document.AjaxHandler(http.responseXML);}else{window.status='Ajax Engine error';}}};if(arguments.length==1||!Datas||Datas.length==0){http.open('GET',Page,true);http.send(null);}else{http.open('POST',Page,true);http.setRequestHeader("Content-Type","application/x-www-form-urlencoded");http.send(Datas);}}var fade_settings={steps : 14,
interval	: 35,
currentOpa	: 100,
minValue	: 0,
maxValue	: 100,
accel : 40,
onfadestart	: function(){},
onfade : function(){},
onfadestop	: function(){}};var fade_maker={};fade_maker.makeFade=function(el){el.fade={steps : fade_settings.steps,
interval	: fade_settings.interval,
intervalObj	: false,
currentOpa	: fade_settings.currentOpa,
minValue	: fade_settings.minValue,
maxValue	: fade_settings.maxValue,
accel : fade_settings.accel,
inFade : false
};el.onfadestart=fade_settings.onfadestart;el.onfade=fade_settings.onfade;el.onfadestop=fade_settings.onfadestop;el.fadein=function(){if(this.fade.currentOpa==this.fade.maxValue){return false;}if(this.fade.inFade){clearInterval(this.fade.intervalObj);}this.fade.inFade=true;this.onfadestart();var El=this;this.fade.intervalObj=setInterval(function(){fade_maker.playFade(El,"in");},this.fade.interval);};el.fadeout=function(){if(this.fade.currentOpa==this.fade.minValue){return false;}if(this.fade.inFade){clearInterval(this.fade.intervalObj);}this.fade.inFade=true;this.onfadestart();var El=this;this.fade.intervalObj=setInterval(function(){fade_maker.playFade(El,"out");},this.fade.interval);};};fade_maker.stopFade=function(el){clearInterval(el.fade.intervalObj);el.fade.inFade=false;el.onfadestop();};fade_maker.playFade=function(el,type){el.onfade();if(type=="in"){if(el.style.visibility=="hidden"){el.style.visibility="visible";}if(el.fade.currentOpa+el.fade.steps>=el.fade.maxValue){fade_maker.setOpacity(el,el.fade.maxValue);if(el.fade.maxValue==100){el.style['filter']="none";}fade_maker.stopFade(el);}else{fade_maker.setOpacity(el,el.fade.currentOpa+el.fade.steps+Math.round(Math.sqrt(el.fade.currentOpa/el.fade.accel)));}}else if(type=="out"){if(el.fade.currentOpa-el.fade.steps<=el.fade.minValue){fade_maker.setOpacity(el,el.fade.minValue);el.style.visibility="hidden";fade_maker.stopFade(el);}else{fade_maker.setOpacity(el,el.fade.currentOpa-el.fade.steps-Math.round(Math.sqrt(el.fade.currentOpa/el.fade.accel)));}}};fade_maker.setOpacity=function(el,a){if(el.fade){el.fade.currentOpa=a;}if(a==100){var Val="1";}else if(a<100){var Val="0."+a;}if(a<10){var Val="0.0"+a;}el.style["-moz-opacity"]=Val;el.style["opacity"]=Val;el.style["filter"]="alpha(opacity="+a+");";return true;};var animations_default={steps : 20,
interval	: 30,
currentOpa	: 100,
minHeight	: 0,
maxHeight	: 2000,
accel : 6,
onanimstart	: function(){},
onanimplay	: function(){},
onanimfinish	: function(){},
onanimstop	: function(){}};var animations={};animations.makeAnim=function(el){el.anim={steps : animations_default.steps,
interval	: animations_default.interval,
intervalObj	: false,
currentOpa	: animations_default.currentOpa,
minHeight	: animations_default.minHeight,
maxHeight	: animations_default.maxHeight,
accel : animations_default.accel,
inAnim : false
};el.onanimstart=animations_default.onanimstart;el.onanimplay=animations_default.onanimplay;el.onanimfinish=animations_default.onanimfinish;el.onanimstop=animations_default.onanimstop;el.makeAnim=function(coord){if(typeof coord!="object"){alert("the Element : '"+this.id+"' as wrong coord datas");return false;}if(this.anim.inAnim){this.onanimstop();animations.stopAnim(this);}else{animations.resetElements(el);}if(coord.steps){this.anim.steps=coord.steps}else{this.anim.steps=animations_default.steps;}if(coord.width!==false){this.anim.newWidth=coord.width;this.anim.distWidth=this.anim.newWidth-this.offsetWidth;}if(coord.height!==false){this.anim.newHeight=coord.height;if(this.anim.newHeight<this.anim.minHeight){this.anim.newHeight=this.anim.minHeight;}if(this.anim.newHeight>this.anim.maxHeight){this.anim.newHeight=this.anim.maxHeight;}this.anim.distHeight=this.anim.newHeight-this.offsetHeight;}if(coord.top!==false){this.anim.newTop=coord.top;this.anim.distTop=this.anim.newTop-this.offsetTop;}if(coord.left!==false){this.anim.newLeft=coord.left;this.anim.distLeft=this.anim.newLeft-this.offsetLeft;}this.onanimstart();var El=this;this.anim.intervalObj=setInterval(function(){animations.playAnim(El);},this.anim.interval);this.anim.inAnim=true;};};animations.stopAnim=function(el){clearInterval(el.anim.intervalObj);animations.resetElements(el);el.anim.inAnim=false;el.onanimfinish();};animations.playSet=function(el,setting){var Stop=true;if(el.anim['new'+setting]-el['offset'+setting]>0){var restDist=Math.round(Math.sqrt((el.anim['new'+setting]-el['offset'+setting])*(el.anim.accel)));}else if(el.anim['new'+setting]-el['offset'+setting]<0){var restDist=Math.round(Math.sqrt((el['offset'+setting]-el.anim['new'+setting])*(el.anim.accel)));}else{var restDist=0;}if(el.anim['dist'+setting]>0){var decal=0;if(el['offset'+setting]+decal+restDist>=el.anim['new'+setting]){this.setValue(el,setting.toLowerCase(),el.anim['new'+setting]);}else{this.setValue(el,setting.toLowerCase(),el['offset'+setting]+decal+restDist);Stop=false;}}else if(el.anim['dist'+setting]<0){var decal=0;if(el['offset'+setting]+decal-restDist<=el.anim['new'+setting]){this.setValue(el,setting.toLowerCase(),el.anim['new'+setting]);}else{this.setValue(el,setting.toLowerCase(),el['offset'+setting]+decal-restDist);Stop=false;}}return Stop;};animations.playAnim=function(el){var StopWidth=this.playSet(el,"Width");var StopHeight=this.playSet(el,"Height");var StopTop=this.playSet(el,"Top");var StopLeft=this.playSet(el,"Left");if(StopWidth&&StopHeight&&StopTop&&StopLeft){animations.stopAnim(el);}el.onanimplay();};animations.resetElements=function(el){this.resetElement(el,"Width");this.resetElement(el,"Height");this.resetElement(el,"Top");this.resetElement(el,"Left");};animations.resetElement=function(el,setting){el.anim['default'+setting]=eval(el['offset'+setting]);el.anim['new'+setting]=false;el.anim['dist'+setting]=false;};animations.setValue=function(el,setting,value){el.style[setting]=value+"px";};var viewer_default={anims : true,
container :'divContainer',
viewerDefaultWidth :'223px',
viewerDefaultHeight :'238px',
viewerFlashWidth :'103px'
};function viewer(){viewer_default.container==document.body ? this.Parent=document.body : this.Parent=$(viewer_default.container);this.imgList=new Array();this.currentImg=false;this.inLoad=false;this.firstLoad=true;this.make();document.viewer=this;}viewer.prototype.addImg=function(path,fryv,author){var Img={id	: this.imgList.length,
path	: path,
fryv	: fryv ? fryv : false,
author	: author ? author : false
};this.imgList[this.imgList.length]=Img;};viewer.prototype.cleanImgs=function(){this.imgList=new Array();this.currentImg=false;};viewer.prototype.make=function(){this.blackdiv=document.createElement("div");this.blackdiv.className="viewerblackdiv";this.blackdiv.innerHTML="&nbsp;";this.blackdiv.nodeElement=this;this.Parent.appendChild(this.blackdiv);fade_maker.makeFade(this.blackdiv);this.blackdiv.fade.currentOpa=0;this.blackdiv.fade.maxValue=65;this.blackdiv.fade.steps=15;this.transpdiv=document.createElement("div");this.transpdiv.nodeElement=this;this.transpdiv.className="viewertranspdiv";this.Parent.appendChild(this.transpdiv);this.image=document.createElement("img");this.image.className="viewerImg";this.image.nodeElement=this;this.image.isActive=false;fade_maker.makeFade(this.image);this.image.fade.currentOpa=0;this.image.fade.maxValue=100;this.transpdiv.appendChild(this.image);this.mainDiv=document.createElement("div");this.mainDiv.className="viewer";this.mainDiv.nodeElement=this;fade_maker.makeFade(this.mainDiv);this.mainDiv.fade.currentOpa=0;this.mainDiv.fade.maxValue=100;animations.makeAnim(this.mainDiv);this.transpdiv.appendChild(this.mainDiv);this.headerTable=document.createElement("table");this.headerTable.cellSpacing="0";this.headerTable.cellPadding="0";this.headerTable.border="0";this.headerTable.width="100%";this.HTtr=this.headerTable.insertRow(0);this.tdlogo=document.createElement("td");this.tdlogo.width="125";this.HTtr.appendChild(this.tdlogo);this.logo=document.createElement("img");this.logo.className="viewerLogo";this.logo.width="115";this.logo.height="25";this.logo.src="viewer/skin/logo.gif";this.tdlogo.appendChild(this.logo);this.tdtext=document.createElement("td");this.tdtext.className="viewerNum";this.tdtext.vAlign="bottom";this.tdtext.align="left";this.tdtext.innerHTML="&nbsp;";this.HTtr.appendChild(this.tdtext);this.tdclose=document.createElement("td");this.tdclose.width="125";this.tdclose.align="right";this.HTtr.appendChild(this.tdclose);this.Close=document.createElement("img");this.Close.nodeElement=this;this.Close.className="viewerClose";this.Close.width="16";this.Close.height="16";this.Close.title="Close";this.Close.src="viewer/skin/close_out.gif";this.Close.onmouseover=function(){this.src="viewer/skin/close_over.gif";};this.Close.onmouseout=function(){this.src="viewer/skin/close_out.gif";};this.Close.onclick=function(){this.nodeElement.close();};this.tdclose.appendChild(this.Close);this.mainDiv.appendChild(this.headerTable);this.flashDiv=document.createElement("div");this.flashDiv.id="viewerLoadingDiv";this.flashDiv.className="viewerflashload";this.flashDiv.nodeElement=this;fade_maker.makeFade(this.flashDiv);this.flashDiv.fade.currentOpa=0;this.flashDiv.fade.maxValue=99;this.flashDiv.fade.steps=20;this.mainDiv.appendChild(this.flashDiv);var so=new SWFObject("viewer/skin/loading_viewer.swf","viewerLoading","103","107","8","#FFFFFF");so.addParam("wmode","transparent");so.addParam("id","viewerLoading");so.addParam("name","viewerLoading");so.write("viewerLoadingDiv");this.imgDecaler=document.createElement("div");this.imgDecaler.className="viewerImgDecal";this.imgDecaler.nodeElement=this;animations.makeAnim(this.imgDecaler);this.mainDiv.appendChild(this.imgDecaler);this.bottomDiv=document.createElement("div");this.bottomDiv.className="viewerBottomDiv";this.mainDiv.appendChild(this.bottomDiv);this.imgNDiv=document.createElement("div");this.imgNDiv.className="viewerTzone";this.bottomDiv.appendChild(this.imgNDiv);this.pagerDiv=document.createElement("div");this.pagerDiv.className="viewerPagerDiv";this.bottomDiv.appendChild(this.pagerDiv);this.previous=document.createElement("img");this.previous.nodeElement=this;this.previous.className="viewerPrevious";this.previous.width="20";this.previous.height="17";this.previous.src="viewer/skin/previous_out.gif";this.previous.onmouseout=function(){this.src="viewer/skin/previous_out.gif";};this.previous.onmouseover=function(){this.src="viewer/skin/previous_over.gif";};this.previous.onclick=function(){this.nodeElement.Previous();};fade_maker.makeFade(this.previous);this.previous.fade.currentOpa=0;this.previous.fade.maxValue=100;this.previous.fade.steps=20;this.pagerDiv.appendChild(this.previous);this.courtDiv=document.createElement("div");this.courtDiv.className="viewerCourt";this.pagerDiv.appendChild(this.courtDiv);this.next=document.createElement("img");this.next.nodeElement=this;this.next.className="viewerNext";this.next.width="20";this.next.height="17";this.next.src="viewer/skin/next_out.gif";fade_maker.makeFade(this.next);this.next.fade.currentOpa=0;this.next.fade.maxValue=100;this.next.fade.steps=20;this.next.onmouseout=function(){this.src="viewer/skin/next_out.gif";};this.next.onmouseover=function(){this.src="viewer/skin/next_over.gif";};this.next.onclick=function(){this.nodeElement.Next();};this.pagerDiv.appendChild(this.next);this.enlargeDiv=document.createElement("div");this.enlargeDiv.className="viewerEnlarger";this.bottomDiv.appendChild(this.enlargeDiv);this.imgHidder=document.createElement("div");this.imgHidder.className="viewerImghidder";this.imgHidder.nodeElement=this;this.imgHidder.onmousemove=function(e){if(this.nodeElement.inLoad){return false;}var leftCrop=this.nodeElement.mainDiv.offsetLeft+10;var imgSize=this.nodeElement.image.offsetWidth;if(document.all){var event=window.event;}else{var event=e;}if(document.body&&event.clientX<document.body.offsetWidth/2){if(this.nodeElement.currentImg>0){this.nodeElement.previous.src="viewer/skin/previous_over.gif";}this.nodeElement.next.src="viewer/skin/next_out.gif";}else{if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.next.src="viewer/skin/next_over.gif";}this.nodeElement.previous.src="viewer/skin/previous_out.gif";}};this.imgHidder.onclick=function(e){if(this.nodeElement.inLoad){return false;}var leftCrop=this.nodeElement.mainDiv.offsetLeft+10;var imgSize=this.nodeElement.image.offsetWidth;if(document.all){var event=window.event;}else{var event=e;}if(document.body&&event.clientX<document.body.offsetWidth/2){this.nodeElement.Previous();}else{this.nodeElement.Next();}};this.imgHidder.onmouseout=function(){this.nodeElement.previous.src="viewer/skin/previous_out.gif";this.nodeElement.next.src="viewer/skin/next_out.gif";};this.transpdiv.appendChild(this.imgHidder);};viewer.prototype.loadImg=function(Img){this.enlargeDiv.style.visibility="hidden";this.imgNDiv.innerHTML="";this.courtDiv.innerHTML="";this.inLoad=true;this.image.onload=function(){this.nodeElement.hideLoad();var imgDecaler=this.nodeElement.imgDecaler;if(viewer_default.anims&&!is_opera){this.onfadestop=function(){this.nodeElement.resize();this.nodeElement.inLoad=false;};this.style.visibility="hidden";this.style.display="block";imgDecaler.onanimfinish=function(){var Elw=this.nodeElement.image.offsetWidth+20;this.nodeElement.mainDiv.makeAnim({width:Elw});this.nodeElement.mainDiv.onanimfinish=function(){this.nodeElement.showImg();this.nodeElement.firstLoad=false;this.nodeElement.setImgNb();this.nodeElement.setEnlarge();if(this.nodeElement.currentImg>0){this.nodeElement.showNP(this.nodeElement.previous);}if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.showNP(this.nodeElement.next);}this.onanimfinish=function(){};};};var Elh=this.offsetHeight+3;this.nodeElement.imgDecaler.makeAnim({height:Elh});}else{this.style.visibility="hidden";this.style.display="block";this.nodeElement.mainDiv.style.width=(this.offsetWidth+20)+"px";this.nodeElement.imgDecaler.style.height=(this.offsetHeight+3)+"px";this.nodeElement.resize();this.nodeElement.showImg();this.nodeElement.setEnlarge();this.nodeElement.setImgNb();if(this.nodeElement.currentImg>0){this.nodeElement.showNP(this.nodeElement.previous);}if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.showNP(this.nodeElement.next);}this.nodeElement.firstLoad=false;this.nodeElement.inLoad=false;}};if(!this.firstLoad){if(viewer_default.anims&&!is_opera){this.image.Img=Img;this.image.onfadestop=function(){this.style.left=0;this.style.top=0;this.nodeElement.showLoad();this.src=this.Img;};this.image.fadeout();}else{this.image.Img=Img;this.image.style.left=0;this.image.style.top=0;this.showLoad();this.image.src=Img;if(this.inLoad){this.image.style.visibility="hidden";}}}else{this.image.style.left=0;this.image.style.top=0;this.image.src=Img;}};viewer.prototype.setEnlarge=function(){this.enlargeDiv.style.visibility="visible";};viewer.prototype.setImgNb=function(){this.courtDiv.innerHTML=(this.currentImg+1)+" / "+this.imgList.length;if(this.imgList[this.currentImg].author){}else{this.imgNDiv.innerHTML="&nbsp;";}};viewer.prototype.showLoad=function(){this.flashDiv.style.visibility="visible";};viewer.prototype.hideLoad=function(a){this.flashDiv.style.visibility="hidden";};viewer.prototype.showImg=function(){this.replaceImg();if(viewer_default.anims&&!is_opera){this.image.fadein();}else{this.image.style.visibility="visible";fade_maker.setOpacity(this.image,100);this.image.fade.currentOpa=100;}};viewer.prototype.replaceImg=function(){this.image.style.top=(this.mainDiv.offsetTop+32)+"px";this.image.style.left=(this.mainDiv.offsetLeft+10)+"px";this.enlargeDiv.style.left=(this.image.offsetWidth-14)+"px";};viewer.prototype.hideImg=function(){this.image.style.display="none";this.image.style.left=0;this.image.style.top=0;this.image.isActive=false;};viewer.prototype.showNP=function(el){el.style.visibility="visible";};viewer.prototype.hideNP=function(el){el.style.visibility="hidden";};viewer.prototype.show=function(){this.blackdiv.style.display="block";this.transpdiv.style.display="block";this.mainDiv.style.width="223px";this.imgDecaler.style.height="200px";this.setTop(document.documentElement.scrollTop);this.transpdiv.style.top=document.documentElement.scrollTop+"px";this.resize();this.image.style.left=0;this.image.style.top=0;if(viewer_default.anims&&!is_opera){this.blackdiv.onfadestop=function(){var el=this.nodeElement.mainDiv;el.onfadestop=function(){this.nodeElement.showLoad();this.nodeElement.loadImg(this.nodeElement.imgList[this.nodeElement.currentImg].path);};setTimeout(function(){el.fadein();},200);this.onfadestop=function(){};};this.blackdiv.fadein();}else{fade_maker.setOpacity(this.blackdiv,65);fade_maker.setOpacity(this.mainDiv,100);this.showLoad();this.loadImg(this.imgList[this.currentImg].path);}};viewer.prototype.setTop=function(Top){this.blackdiv.style.top=Top+"px";};viewer.prototype.hide=function(){this.enlargeDiv.style.visibility="hidden";this.imgNDiv.innerHTML="";this.courtDiv.innerHTML="";this.imgHidder.style.width="0";this.imgHidder.style.height="0";this.imgHidder.style.left="0";this.imgHidder.style.top="0";this.hideLoad(true);this.hideImg();this.hideNP(this.previous);this.hideNP(this.next);if(viewer_default.anims&&!is_opera){this.blackdiv.onfadestop=function(){this.style.display="none";this.onfadestop=function(){};};fade_maker.setOpacity(this.mainDiv,0);this.mainDiv.fade.currentOpa=0;this.transpdiv.style.display="none";this.blackdiv.fadeout();}else{this.blackdiv.style.display="none";fade_maker.setOpacity(this.mainDiv,0);this.transpdiv.style.display="none";}};viewer.prototype.close=function(){this.hide();};viewer.prototype.resize=function(){this.imgHidder.style.width=this.image.offsetWidth+"px";this.imgHidder.style.height=this.image.offsetHeight+"px";this.imgHidder.style.left=(this.mainDiv.offsetLeft+10)+"px";this.imgHidder.style.top=(this.mainDiv.offsetTop+32)+"px";};viewer.prototype.Previous=function(){if(this.inLoad||this.currentImg==0){return false;}this.hideNP(this.previous);this.hideNP(this.next);this.loadImg(this.imgList[this.currentImg-1].path);this.currentImg--;};viewer.prototype.Next=function(){if(this.inLoad||this.currentImg+1>=this.imgList.length){return false;}this.hideNP(this.previous);this.hideNP(this.next);this.loadImg(this.imgList[this.currentImg+1].path);this.currentImg++;};viewer.prototype.setImg=function(Id){if(this.imgList.length==0){alert("no image set in the viewer");return false;}if(!Id){Id=0};if(Id.toString().indexOf(".")== -1&&this.imgList[Id]){this.currentImg=Id;}else if(Id.indexOf(".")!= -1){var found=false;for(var i=0;this.imgList[i];i++){if(this.imgList[i]==Id){this.currentImg=i;found=true;}}if(!found){alert("invalid img, add the image first with the command 'document.viewer.addImg(path)'.");return false;}}else{alert("invalid img, add the image first with the command 'document.viewer.addImg(path)'.");return false;}this.show();return true;};window.onload=function(){contextual.make();};window.onresize=function(e){if(document.viewer){document.viewer.replaceImg();document.viewer.resize();};};if(document.all){document.documentElement.onscroll=function(e){if(document.viewer){document.viewer.replaceImg();document.viewer.resize();};};}else{document.onscroll=function(e){if(document.viewer){document.viewer.replaceImg();document.viewer.resize();};};}document.onmousemove=function(e){var event=document.all?window.event:e;var target=document.all?event.srcElement:e.target;var decalX=12;var decalY=12;if(target.contextual||(typeof target.hasAttribute=="function"&&target.hasAttribute("contextual"))){if(contextual&&contextual.built){if(target.tagName=="INPUT"){decalY=0;}contextual.move(event.clientX+decalX,event.clientY+decalY);}}};window.onscroll=function(e){if(document.viewer){document.viewer.setTop(document.documentElement.scrollTop);}};document.onmouseover=function(e){var event=document.all?window.event:e;var target=document.all?event.srcElement:e.target;if(target.contextual||(typeof target.hasAttribute=="function"&&target.hasAttribute("contextual"))){contextual.setText(target.getAttribute("contextual"));contextual.show();}};document.onmouseout=function(e){var event=document.all?window.event:e;var target=document.all?event.srcElement:e.target;if(target.contextual||(typeof target.hasAttribute=="function"&&target.hasAttribute("contextual"))){contextual.hide();}};var isIE=(navigator.appVersion.indexOf("MSIE")!= -1)? true : false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!= -1)? true : false;var isOpera=(navigator.userAgent.indexOf("Opera")!= -1)? true : false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version= -1;}}return version;}function GetSwfVer(){var flashVer= -1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4];}if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1);}else if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"));}}var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!= -1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!= -1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!= -1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}return flashVer;}function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr== -1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true;}else if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer))
return true;else if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision))
return true;}}return false;}}function AC_AddExtension(src,ext)
{if(src.indexOf('?')!= -1)
return src.replace(/\?/,ext+'?');else
return src+ext;}function AC_Generateobj(objAttrs,params,embedAttrs)
{var str='';if(isIE&&isWin&&!isOpera)
{str+='<object ';for(var i in objAttrs)
{str+=i+'="'+objAttrs[i]+'" ';}str+='>';for(var i in params)
{str+='<param name="'+i+'" value="'+params[i]+'" /> ';}str+='</object>';}else
{str+='<embed ';for(var i in embedAttrs)
{str+=i+'="'+embedAttrs[i]+'" ';}str+='> </embed>';}document.write(str);}function AC_FL_RunContent(){var ret=AC_GetArgs
(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
,"application/x-shockwave-flash"
);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}function AC_SW_RunContent(){var ret=AC_GetArgs
(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000"
,null
);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":
break;case"pluginspage":
ret.embedAttrs[args[i]]=args[i+1];break;case"src":
case"movie":
args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[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":
ret.objAttrs[args[i]]=args[i+1];break;case"width":
case"height":
case"align":
case"vspace":
case"hspace":
case"class":
case"title":
case"accesskey":
case"name":
case"tabindex":
ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:
ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret;}if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.createElement||!document.getElementById){return;}this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);if(c){this.addParam("bgcolor",c);}var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a);}};deconcept.SWFObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key]);}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){var _25=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var i=3;axo!=null;i++){axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);_25=new deconcept.PlayerVersion([i,0,0]);}}catch(e){}if(_23&&_25.major>_23.major){return _25;}if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}catch(e){}}}return _25;};deconcept.PlayerVersion=function(_29){this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0;this.minor=parseInt(_29[1])||0;this.rev=parseInt(_29[2])||0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(q){var _2d=q.indexOf(_2b+"=");var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length;if(q.length>1&&_2d>-1){return q.substring(q.indexOf("=",_2d)+1,_2e);}}return"";}};if(Array.prototype.push==null){Array.prototype.push=function(_2f){this[this.length]=_2f;return this.length;};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var contextual_default={anims: true
};var contextual={parentObj: document.body,
built	: false,
timeout : false,
shown	: false
};contextual.make=function(){this.mainDiv=document.createElement("div");this.mainDiv.className="contextMainDiv";this.mainDiv.innerHTML="";if(contextual_default.anims){fade_maker.makeFade(this.mainDiv);this.mainDiv.fade.steps=25;this.mainDiv.fade.maxValue=100;fade_maker.setOpacity(this.mainDiv,0);this.mainDiv.style.visibility="visible";}document.body.appendChild(this.mainDiv);this.built=true;};contextual.move=function(x,y){if(this.mainDiv){this.mainDiv.style.left=(document.documentElement.scrollLeft+x)+"px";this.mainDiv.style.top=(document.documentElement.scrollTop+y)+"px";}};contextual.hide=function(){clearTimeout(contextual.timeout);if(contextual_default.anims){fade_maker.setOpacity(this.mainDiv,0);}else{this.mainDiv.style.visibility="hidden";}this.mainDiv.style.display="none";this.shown=false;};contextual.show=function(){var El=this.mainDiv;contextual.timeout=setTimeout(function(){El.style.display="block";if(contextual_default.anims){El.fadein();}else{El.style.visibility="visible";}contextual.shown=true;},400);};contextual.setText=function(Texte){if(Texte===false){return false;}if(Texte.indexOf("#")!= -1&&$(Texte.substr(1))){this.mainDiv.innerHTML=$(Texte.substr(1)).innerHTML;}else{this.mainDiv.innerHTML=Texte;}};