var DIR_ROOT = '/';var ER_DECIMAL=/^\d+(\.\d{0,3})?$/;var ER_ENTERO=/^[+-]?\d+$/;var ER_NATURAL=/^\d+$/;var ER_VACIO=/^$/;var ER_FECHA=/([0][1-9]|[12]\d|3[01])(\/|-)(0[1-9]|1[012])(\/|-)(\d{4})$/;var ER_ALFANUMERICO=/^[\wαινσϊΑΙΝΣΪρΡδλοφόΔΛΟΦά][\wαινσϊΑΙΝΣΪρΡδλοφόΔΛΟΦά \.\(\)]*[\wαινσϊΑΙΝΣΪρΡδλοφόΔΛΟΦά\.\(\)]$|^[\wαινσϊΑΙΝΣΪρΡδλοφόΔΛΟΦά]$/;var ER_STR=/^([^ \t\n\r]([ \t\n\r]|[^ \t\n\r])*[^ \t\n\r])+$|^[^ \t\n\r]$/;var ER_STR_ESPECIAL=/^([\S]([\S\s])*[\S])?$|^[\S]$/;var ER_EMAIL=/^[a-z0-9_\.\-]+@[a-z0-9_\-]+(\.[a-z0-9_\-]{2,20})*\.[a-z]{2,6}$/;var ER_HORA=/^(0?\d|1\d|2[0-3]):([0-5]\d)$/;var ER_NIF=/^([A-Za-z]-)?[0-9]{8}-[A-Za-z]{1}$/;var ER_NATURAL_NOCERO=/^[1-9]+[0-9]*$/;var SEP_AND="|&|";var SEP_IGUAL="|=|";function $(A){return document.getElementById(A)}function ltrim(A){return A.replace(/^(\s+)/g,"")}function rtrim(A){return A.replace(/(\s+)$/g,"")}function trim(A){return ltrim(rtrim(A))}Request=function(B,A){this.pedido=new crearXHR();this.reportar=true;this.respuestaXML=null;this.respuestaHTML=null;this.archivo=null;this.valores=null;this.listener=B;this.onError=null;this.onRetry=null;this.retrys=0;this.curRetry=0;if(!A){this.metodo="POST"}else{this.metodo=A}};Request.prototype.pedir=function(B,C,A,D){if(!!B){this.archivo=B}if(!!C){this.valores=C}if(!!A){this.metodo=A}if(!D){this.curRetry=0}this.respuestaXML=null;this.respuestaHTML=null;this.cancelar(this.pedido);this.pedido.onreadystatechange=this.procesar.closure(this);this.pedido.open(this.metodo,this.archivo,true);if(this.valores){this.valores=this.valores.puntualChars();this.pedido.send(this.valores)}else{this.pedido.send()}};Request.prototype.procesar=function(){var B=false;if(this.pedido&&this.pedido.readyState==4){var A=this.pedido.status;if((A>=200&&A<300)||A==304||A==1223){if(this.pedido.responseXML){this.respuestaXML=this.pedido.responseXML.documentElement}this.respuestaHTML=this.pedido.responseText;this.cancelar();if(this.listener&&this.listener.onRequestLoad){this.listener.onRequestLoad()}else{if(typeof (this.listener)=="function"){this.listener()}}}else{if(A==401){window.top.oLogin.requestInfo={request:this};window.top.oLogin.open()}else{if(this.curRetry<this.retrys){this.curRetry++;this.pedir(false,false,false,true);if(typeof (this.onRetry)=="function"){this.onRetry()}else{if(typeof (this.onError)=="function"){this.onError()}}}else{if(this.reportar){ERROR.reportar("Error en clase Request.\nESTADO: "+this.pedido.status+" "+this.pedido.statusText+"\nARCHIVO: "+this.archivo+"\nMETODO: "+this.metodo)}if(this.onError&&(typeof (this.onError)=="function"||typeof (this.onError)=="object")){this.onError()}this.cancelar()}}}}};Request.prototype.cancelar=function(){cancelarPedido(this.pedido)};crearXHR=function(){var C=null;if(window.XMLHttpRequest){C=new XMLHttpRequest()}else{if(window.ActiveXObject){var A=new Array("Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP");for(var B=0;B<A.length;B++){try{C=new ActiveXObject(A[B])}catch(D){}}}}return C};cancelarPedido=function(A){if(A!=null){A.onreadystatechange=new Function();A.abort()}};String.prototype.puntualChars=function(){var B=new Array({chr:"€",ent:"&euro;"}),A,C=this.toString();for(A=0;A<B.length;A++){C=C.replace(RegExp(B[A]["chr"],"g"),B[A]["ent"])}return C};String.prototype.unPuntualChars=function(){var B=new Array({chr:"€",ent:"&euro;"}),A,C=this.toString();for(A=0;A<B.length;A++){C=C.replace(RegExp(B[A]["ent"],"g"),B[A]["chr"])}return C};var Navegador=function(){this.esIE=false;this.esIE6=false;this.esIE7=false;this.esIE8=false;this.esFf=false;this.esOp=false;this.esNs=false;if(window.navigator.userAgent.search(RegExp("MSIE","im"))!=-1){this.esIE=true;if(window.navigator.userAgent.search(RegExp("MSIE 8","im"))!=-1){this.esIE8=true}else{if(window.navigator.userAgent.search(RegExp("MSIE 7","im"))!=-1){this.esIE7=true}else{if(window.navigator.userAgent.search(RegExp("MSIE 6","im"))!=-1){this.esIE6=true}}}}else{if(window.navigator.userAgent.search(RegExp("Firefox","im"))!=-1){this.esFf=true}else{if(window.navigator.userAgent.search(RegExp("Opera","im"))!=-1){this.esOp=true}else{if(window.navigator.userAgent.search(RegExp("Safari","im"))!=-1){this.esSa=true}else{if(window.navigator.userAgent.search(RegExp("Netscape","im"))!=-1){this.esNs=true}}}}}};var Nav=new Navegador();function AddEvent(C,B,A){if(Nav.esIE){C.attachEvent("on"+B,A)}else{C.addEventListener(B,A,((Nav.esOp)?false:true))}}function RemEvent(C,B,A){if(Nav.esIE){C.detachEvent("on"+B,A)}else{C.removeEventListener(B,A,((Nav.esOp)?false:true))}}function FireEvent(C,B){var A=null;if(Nav.esIE){C.fireEvent("on"+B)}else{if(B=="click"||B=="dblclick"||B=="mousedown"||B=="mousemove"||B=="mouseout"||B=="mouseover"||B=="mouseup"){A=document.createEvent("MouseEvents");A.initMouseEvent(B,true,true,window,0,0,0,0,0,false,false,false,false,0,null)}else{if(B=="keydown"||B=="keypress"||B=="keyup"){A=document.createEvent("KeyboardEvent");A.initKeyEvent(B,true,true,null,false,false,false,false,9,0)}else{A=document.createEvent("Event");A.initEvent(B,true,false)}}C.dispatchEvent(A)}}function StopEvent(A){if(Nav.esIE){A.returnValue=false;A.cancelBubble=true}else{A.preventDefault();A.stopPropagation()}}Function.prototype.closure=function(C){if(!window.__objs){window.__objs=[];window.__funs=[]}var A=this;var B=C.__objId;if(!B){__objs[B=C.__objId=__objs.length]=C}var E=A.__funId;if(!E){__funs[E=A.__funId=__funs.length]=A}if(!C.__closures){C.__closures=[]}var F=C.__closures[E];if(F){return F}C=null;A=null;var D=__objs[B].__closures[E]=function(){if(!!__funs[E]&&!!__objs[B]){return __funs[E].apply(__objs[B],arguments)}else{return false}};D.__funId=E;return D};var EliminarClosures=function(B){var A=0;if(B){if(B.__objId){for(A in B.__closures){delete (window.__funs[A]);delete (B.__closures[A])}delete (window.__objs[B.__objId]);B.__closures=null;B.__objId=null}}A=null};var LimpiarClosures=function(){if(!!Nav&&!Nav.esIE){window.addEventListener("unload",LimpiarClosures,false)}else{window.detachEvent("onunload",LimpiarClosures)}if(window.__objs){for(i in window.__objs){EliminarClosures(window.__objs[i])}}window.__objs=[];window.__funs=[]};var Limpiar=function(){if(!!Nav&&!Nav.esIE){window.addEventListener("unload",LimpiarClosures,false)}else{window.attachEvent("onunload",LimpiarClosures)}}();document.LimpiarClosures=LimpiarClosures;Cookie=function(){this.init()};var p=Cookie.prototype;p.path=DIR_ROOT;p.init=function(){};p.set=function(D,A){var C=new Date();C.setMonth(C.getMonth()+1);var B=C.toGMTString();document.cookie=D+"="+escape(A)+"; expires="+B+"; path="+this.path+";"};p.unset=function(A){document.cookie=A+"=; expires=Fri, 21 Dec 1976 04:31:24 GMT; path="+this.path+";"};p.get=function(D){var B=0,A=0,C="";if(document.cookie.length>0){var B=document.cookie.indexOf(D+"=");if(B!=-1){B=B+D.length+1;A=document.cookie.indexOf(";",B);if(A==-1){A=document.cookie.length}C=unescape(document.cookie.substring(B,A))}}return C};var oCookie=new Cookie();function opacidad(A,C){var B=(typeof (A)=="object")?A:document.getElementById(A);if(!!B){if(Nav.esIE){B.style.filter="alpha(opacity="+C+")"}else{if(Nav.esFf){B.style.MozOpacity=(C<100)?"."+C:1}else{if(Nav.esOp){B.style.opacity=(C<100)?"."+C:1}}}}B=null}function getBodyDims(){if(Nav.esOp){return{w:document.body.clientWidth,h:document.body.clientHeight}}else{if(Nav.esFf){return{w:self.innerWidth,h:self.innerHeight,a:"Mz"}}else{if(Nav.esIE){return{w:document.body.offsetWidth,h:document.body.offsetHeight,a:"b"}}else{return{w:0,h:0}}}}}function WScreen(){return(Nav.esIE)?document.documentElement.clientWidth:window.innerWidth}function HScreen(){return(Nav.esIE)?document.documentElement.clientHeight:window.innerHeight}function YPos(){return(Nav.esIE)?document.documentElement.scrollTop:window.pageYOffset}function XPos(){return(Nav.esIE)?document.documentElement.scrollLeft:window.pageXOffset}function HBody(){return document.documentElement.scrollHeight}function WBody(){return document.documentElement.scrollWidth}function Delegate(){}Delegate.create=function(E,D){var B=new Array();var A=arguments.length;for(var C=2;C<A;C++){B[C-2]=arguments[C]}return function(){var F=[].concat(arguments,B);D.apply(E,F)}};Tween=function(F,G,D,C,B,E,A){this.init(F,G,D,C,B,E,A)};var t=Tween.prototype;t.obj=new Object();t.prop="";t.func=function(B,A,D,C){return D*B/C+A};t.begin=0;t.change=0;t.prevTime=0;t.prevPos=0;t.looping=false;t._duration=0;t._time=0;t._pos=0;t._position=0;t._startTime=0;t._finish=0;t.name="";t.suffixe="";t._listeners=new Array();t.setTime=function(A){this.prevTime=this._time;if(A>this.getDuration()){if(this.looping){this.rewind(A-this._duration);this.update();this.broadcastMessage("onMotionLooped",{target:this,type:"onMotionLooped"})}else{this._time=this._duration;this.update();this.stop();this.broadcastMessage("onMotionFinished",{target:this,type:"onMotionFinished"})}}else{if(A<0){this.rewind();this.update()}else{this._time=A;this.update()}}};t.getTime=function(){return this._time};t.setDuration=function(A){this._duration=(A==null||A<=0)?100000:A};t.getDuration=function(){return this._duration};t.setPosition=function(B){this.prevPos=this._pos;var A=this.suffixe!=""?this.suffixe:"";this.obj[this.prop]=Math.round(B)+A;this._pos=B;this.broadcastMessage("onMotionChanged",{target:this,type:"onMotionChanged"})};t.getPosition=function(A){if(A==undefined){A=this._time}return this.func(A,this.begin,this.change,this._duration)};t.setFinish=function(A){this.change=A-this.begin};t.geFinish=function(){return this.begin+this.change};t.init=function(F,G,D,C,B,E,A){if(!arguments.length){return }this._listeners=new Array();this.addListener(this);if(A){this.suffixe=A}this.obj=F;this.prop=G;this.begin=C;this._pos=C;this.setDuration(E);if(D!=null&&D!=""){this.func=D}this.setFinish(B)};t.start=function(){this.rewind();this.startEnterFrame();this.broadcastMessage("onMotionStarted",{target:this,type:"onMotionStarted"})};t.rewind=function(A){this.stop();this._time=(A==undefined)?0:A;this.fixTime();this.update()};t.fforward=function(){this._time=this._duration;this.fixTime();this.update()};t.update=function(){this.setPosition(this.getPosition(this._time))};t.startEnterFrame=function(){this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame()};t.onEnterFrame=function(){if(this.isPlaying){this.nextFrame();setTimeout(Delegate.create(this,this.onEnterFrame),0)}};t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1000)};t.stop=function(){this.stopEnterFrame();this.broadcastMessage("onMotionStopped",{target:this,type:"onMotionStopped"})};t.stopEnterFrame=function(){this.isPlaying=false};t.continueTo=function(A,B){this.begin=this._pos;this.setFinish(A);if(this._duration!=undefined){this.setDuration(B)}this.start()};t.resume=function(){this.fixTime();this.startEnterFrame();this.broadcastMessage("onMotionResumed",{target:this,type:"onMotionResumed"})};t.yoyo=function(){this.continueTo(this.begin,this._time)};t.addListener=function(A){this.removeListener(A);return this._listeners.push(A)};t.removeListener=function(C){var A=this._listeners;var B=A.length;while(B--){if(A[B]==C){A.splice(B,1);return true}}return false};t.broadcastMessage=function(){var A=new Array();for(var D=0;D<arguments.length;D++){A.push(arguments[D])}var E=A.shift();var C=this._listeners;var B=C.length;for(var D=0;D<B;D++){if(C[D][E]){C[D][E].apply(C[D],A)}}};t.fixTime=function(){this._startTime=this.getTimer()-this._time*1000};t.getTimer=function(){return new Date().getTime()-this._time};Tween.backEaseIn=function(C,A,G,F,B,E){if(D==undefined){var D=1.70158}return G*(C/=F)*C*((D+1)*C-D)+A};Tween.backEaseOut=function(C,A,G,F,B,E){if(D==undefined){var D=1.70158}return G*((C=C/F-1)*C*((D+1)*C+D)+1)+A};Tween.backEaseInOut=function(C,A,G,F,B,E){if(D==undefined){var D=1.70158}if((C/=F/2)<1){return G/2*(C*C*(((D*=(1.525))+1)*C-D))+A}return G/2*((C-=2)*C*(((D*=(1.525))+1)*C+D)+2)+A};Tween.elasticEaseIn=function(C,A,G,F,B,E){if(C==0){return A}if((C/=F)==1){return A+G}if(!E){E=F*0.3}if(!B||B<Math.abs(G)){B=G;var D=E/4}else{var D=E/(2*Math.PI)*Math.asin(G/B)}return -(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A};Tween.elasticEaseOut=function(C,A,G,F,B,E){if(C==0){return A}if((C/=F)==1){return A+G}if(!E){E=F*0.3}if(!B||B<Math.abs(G)){B=G;var D=E/4}else{var D=E/(2*Math.PI)*Math.asin(G/B)}return(B*Math.pow(2,-10*C)*Math.sin((C*F-D)*(2*Math.PI)/E)+G+A)};Tween.elasticEaseInOut=function(C,A,G,F,B,E){if(C==0){return A}if((C/=F/2)==2){return A+G}if(!E){var E=F*(0.3*1.5)}if(!B||B<Math.abs(G)){var B=G;var D=E/4}else{var D=E/(2*Math.PI)*Math.asin(G/B)}if(C<1){return -0.5*(B*Math.pow(2,10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E))+A}return B*Math.pow(2,-10*(C-=1))*Math.sin((C*F-D)*(2*Math.PI)/E)*0.5+G+A};Tween.bounceEaseOut=function(B,A,D,C){if((B/=C)<(1/2.75)){return D*(7.5625*B*B)+A}else{if(B<(2/2.75)){return D*(7.5625*(B-=(1.5/2.75))*B+0.75)+A}else{if(B<(2.5/2.75)){return D*(7.5625*(B-=(2.25/2.75))*B+0.9375)+A}else{return D*(7.5625*(B-=(2.625/2.75))*B+0.984375)+A}}}};Tween.bounceEaseIn=function(B,A,D,C){return D-Tween.bounceEaseOut(C-B,0,D,C)+A};Tween.bounceEaseInOut=function(B,A,D,C){if(B<C/2){return Tween.bounceEaseIn(B*2,0,D,C)*0.5+A}else{return Tween.bounceEaseOut(B*2-C,0,D,C)*0.5+D*0.5+A}};Tween.strongEaseInOut=function(B,A,D,C){return D*(B/=C)*B*B*B*B+A};Tween.regularEaseIn=function(B,A,D,C){return D*(B/=C)*B+A};Tween.regularEaseOut=function(B,A,D,C){return -D*(B/=C)*(B-2)+A};Tween.regularEaseInOut=function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B+A}return -D/2*((--B)*(B-2)-1)+A};Tween.strongEaseIn=function(B,A,D,C){return D*(B/=C)*B*B*B*B+A};Tween.strongEaseOut=function(B,A,D,C){return D*((B=B/C-1)*B*B*B*B+1)+A};Tween.strongEaseInOut=function(B,A,D,C){if((B/=C/2)<1){return D/2*B*B*B*B*B+A}return D/2*((B-=2)*B*B*B*B+2)+A};strongEaseInOut=Tween.strongEaseInOut;var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF&&typeof doc.appendChild!=UNDEF&&typeof doc.replaceChild!=UNDEF&&typeof doc.removeChild!=UNDEF&&typeof doc.cloneNode!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")}catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"}catch(e){if(playerVersion[0]==6){fp6Crash=true}}if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)}catch(e){}}}if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}}catch(e){}}}}var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);
/*@cc_on
			ie = true;
			@if (@_win32)
				windows = true;
			@elif (@_mac)
				mac = true;
			@end
		@*/
return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return }addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var s=getElementById("__ie_ondomload");if(s){s.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);callDomLoadFunctions()}}}}catch(e){}}if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions()}},10)}if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null)}addLoadEvent(callDomLoadFunctions)}();function callDomLoadFunctions(){if(isDomLoaded){return }if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t)}catch(e){return }}isDomLoaded=true;if(timer){clearInterval(timer);timer=null}var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]()}}function addDomLoadEvent(fn){if(isDomLoaded){fn()}else{domLoadFnArr[domLoadFnArr.length]=fn}}function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false)}else{if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false)}else{if(typeof win.attachEvent!=UNDEF){win.attachEvent("onload",fn)}else{if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn()}}else{win.onload=fn}}}}}function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj)}setVisibility(id,true)}else{if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i])}else{displayAltContent(obj)}}}}else{setVisibility(id,true)}}}function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName.toLowerCase()=="data"){e.setAttribute("src",a[i].nodeValue)}else{e.setAttribute(a[i].nodeName,a[i].nodeValue)}}}var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName.toLowerCase()=="param"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"))}}}obj.parentNode.replaceChild(e,obj)}}function fixObjectLeaks(id){if(ua.ie&&ua.win&&hasPlayerVersion("8.0.0")){win.attachEvent("onunload",function(){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=function(){}}}obj.parentNode.removeChild(obj)}})}}function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId}}else{storedAltContent=abstractAltContent(obj)}if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310"}if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137"}doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";win.attachEvent("onload",function(){obj.parentNode.removeChild(obj)})}createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId)}}function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";win.attachEvent("onload",function(){obj.parentNode.removeChild(obj)})}else{obj.parentNode.replaceChild(abstractAltContent(obj),obj)}}function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML}else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName.toLowerCase()=="param")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true))}}}}}return ac}function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(typeof attObj.id==UNDEF){attObj.id=id}if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i=="data"){parObj.movie=attObj[i]}else{if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"'}else{if(i!="classid"){att+=" "+i+'="'+attObj[i]+'"'}}}}}var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />'}}el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>";fixObjectLeaks(attObj.id);r=getElementById(attObj.id)}else{if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k=="data"){e.setAttribute("src",attObj[k])}else{if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k])}else{if(k!="classid"){e.setAttribute(k,attObj[k])}}}}}for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l!="movie"){e.setAttribute(l,parObj[l])}}}el.parentNode.replaceChild(e,el);r=e}else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m])}else{if(m!="classid"){o.setAttribute(m,attObj[m])}}}}for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n!="movie"){createObjParam(o,n,parObj[n])}}el.parentNode.replaceChild(o,el);r=o}}return r}function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p)}function getElementById(id){return doc.getElementById(id)}function createElement(el){return doc.createElement(el)}function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10);v[2]=parseInt(v[2],10);return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false}function createCSS(sel,decl){if(ua.ie&&ua.mac){return }var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"))}h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl)}}}function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded){getElementById(id).style.visibility=v}else{createCSS("#"+id,"visibility:"+v)}}function getTargetVersion(obj){if(!obj){return 0}var c=obj.childNodes;var cl=c.length;for(var i=0;i<cl;i++){if(c[i].nodeType==1&&c[i].nodeName.toLowerCase()=="object"){c=c[i].childNodes;cl=c.length;i=0}if(c[i].nodeType==1&&c[i].nodeName.toLowerCase()=="param"&&c[i].getAttribute("name")=="swfversion"){return c[i].getAttribute("value")}}return 0}function getExpressInstall(obj){if(!obj){return""}var c=obj.childNodes;var cl=c.length;for(var i=0;i<cl;i++){if(c[i].nodeType==1&&c[i].nodeName.toLowerCase()=="object"){c=c[i].childNodes;cl=c.length;i=0}if(c[i].nodeType==1&&c[i].nodeName.toLowerCase()=="param"&&c[i].getAttribute("name")=="expressinstall"){return c[i].getAttribute("value")}}return""}return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr){return }var obj=document.getElementById(objectIdStr);var xi=getExpressInstall(obj);var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr?swfVersionStr:getTargetVersion(obj);regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:((xi!="")?xi:false);regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false)},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom&&isDomLoaded){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o}else{if(typeof n.SetVariable!=UNDEF){r=n}}}}return r},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return }widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att=(typeof attObj==OBJECT)?attObj:{};att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par=(typeof parObj==OBJECT)?parObj:{};if(typeof flashvarsObj==OBJECT){for(var i in flashvarsObj){if(flashvarsObj[i]!=Object.prototype[i]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+i+"="+flashvarsObj[i]}else{par.flashvars=i+"="+flashvarsObj[i]}}}}addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true)}})}else{if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj)})}}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom&&isDomLoaded){return createSWF(attObj,parObj,replaceElemIdStr)}else{return undefined}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl)}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return q}if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return pairs[i].substring((pairs[i].indexOf("=")+1))}}}return""},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block"}}storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false}}}}}();function showFocus(A){if(!document.getElementById){return }A.style.border="1px solid #56a4f5"}function showBlur(A){if(!document.getElementById){return }A.style.border="1px solid #999999"}var seleccionada="";function seleccionar(A){if(seleccionada!=undefined&&seleccionada!=""){seleccionada.onmouseout=new Function("this.style.backgroundColor=''");seleccionada.style.backgroundColor=""}A.onmouseout="";A.style.backgroundColor="#33cc00";return A}function darFoco(A,B){obj=document.forms[A].elements[B];obj.focus()}function validarER(B,D,C,A){if(B.search(A)==-1){mostrarError(D,C);return false}else{return true}}function hideShowCovered(B){is_khtml=/Konqueror|Safari|KHTML/i.test(navigator.userAgent);function A(){function N(X){var T=0,W=0;var V=/^div$/i.test(X.tagName);if(V&&X.scrollLeft){T=X.scrollLeft}if(V&&X.scrollTop){W=X.scrollTop}var Y={x:X.offsetLeft-T,y:X.offsetTop-W};if(X.offsetParent){var U=N(X.offsetParent);Y.x+=U.x;Y.y+=U.y}return Y}function D(U){var T=U.style.visibility;if(!T){if(document.defaultView&&typeof (document.defaultView.getComputedStyle)=="function"){if(!is_khtml){T=document.defaultView.getComputedStyle(U,"").getPropertyValue("visibility")}else{T=""}}else{if(U.currentStyle){T=U.currentStyle.visibility}else{T=""}}}return T}var S=new Array("applet","iframe","select");var E=B;var C=N(E);var H=C.x;var F=E.offsetWidth+H;var R=C.y;var Q=E.offsetHeight+R;for(var J=S.length;J>0;){var I=document.getElementsByTagName(S[--J]);var G=null;for(var L=I.length;L>0;){G=I[--L];C=N(G);var P=C.x;var O=G.offsetWidth+P;var M=C.y;var K=G.offsetHeight+M;if(B.hidden||(P>F)||(O<H)||(M>Q)||(K<R)){if(!G.__msh_save_visibility){G.__msh_save_visibility=D(G)}G.style.visibility=G.__msh_save_visibility}else{if(!G.__msh_save_visibility){G.__msh_save_visibility=D(G)}G.style.visibility="hidden"}}}}if(is_khtml){setTimeout("continuation_for_the_fucking_khtml_browser()",10)}else{A()}}function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]}}}}function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc}}function MM_findObj(E,D){var C,B,A;if(!D){D=document}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E]}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document)}if(!A&&D.getElementById){A=D.getElementById(E)}return A}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src}A.src=B[D+2]}}}function MM_openBrWindow(C,A,B){window.open(C,A,B)}var centrarContenidoPantalla=function(A){var E=document.getElementById(A);if(E.style.display!="none"){var D=getBodyWHAvaible();var C=Math.round((D.h-E.offsetHeight)/2);var B=Math.round((D.w-E.offsetWidth)/2);E.style.top=C+"px";E.style.left=B+"px"}};var centrarContenidoPantalla2=function(A){objeto=document.getElementById(A);if(objeto.style.display=="block"){var D=getBodyWHAvaible();var C=Math.round((D.h-objeto.offsetHeight)/2);var B=Math.round((D.w-objeto.offsetWidth)/2);objeto.style.marginTop=C+"px";objeto.style.marginLeft=B+"px"}};var reubicar=function(){var B=getBodyWHAvaible();var A=$("contenedorPrincipal");if(A){A.style.width=B.w+"px";A.style.height=B.h+"px"}if($("main")){centrarContenidoPantalla("main")}};var centrarContenido=function(E,C){if(C){var D=getBodyDims()}else{var D=getBodyWHAvaible()}if(D.h==0){D=getWindowDims()}var B=Math.round((D.h-E.offsetHeight)/2);var A=Math.round((D.w-E.offsetWidth)/2);E.style.top=B+"px";E.style.left=A+"px"};function getScrollPos(){if(Nav.esOp){return{y:window.pageYOffset,x:window.pageXOffset}}else{if(Nav.esFf||Nav.esIE){return{y:document.documentElement.scrollTop,x:document.documentElement.scrollLeft}}else{return{x:0,y:0}}}}function getWindowDims(){if(Nav.esOp){return{w:window.innerWidth,h:window.innerHeight}}else{if(Nav.esFf){return{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}}else{if(Nav.esIE){return{w:document.body.clientWidth,h:document.body.clientHeight}}else{return{w:0,h:0}}}}}function getBodyWHAvaible(){if(Nav.esOp){return{w:window.innerWidth,h:window.innerHeight}}else{if(Nav.esIE||Nav.esFf){return{w:document.documentElement.clientWidth,h:document.documentElement.clientHeight}}else{return{w:0,h:0}}}}var mostrarBlockeador=function(B){var A=$("blockeador");if(A){if(B){if(Nav.esIE||Nav.esIE7){A.style.filter="alpha(opacity=45)"}else{A.style.MozOpacity=".45"}d=getBodyWHAvaible();if(d.h==0){d=getWindowDims()}A.style.width=d.w+"px";A.style.height=d.h+"px";A.style.display="block"}else{A.style.display="none"}}};var ocultarContenido=function(B,A){B.style.visibility="hidden";B.style.top="-5000px";if(A){mostrarBlockeador()}};var centrarContenidoScroll=function(E){var C=getScrollPos();var D=getBodyWHAvaible();var B=Math.round((D.h-E.offsetHeight)/2)+C.y;var A=Math.round((D.w-E.offsetWidth)/2);E.style.top=B+"px";E.style.left=A+"px"};var mostrarBlockGeneral=function(){var A=$("blockGeneral");A.style.height=(HBody())+"px";A.style.width=(WBody())+"px";A.style.visibility="visible"};var aceptarMostrarEncuestas=function(){var A=$("blockGeneral");A.style.height=(HBody())+"px";A.style.width=(WBody())+"px";A.style.visibility="visible";centrarContenido($("solapaEncuesta"),true);$("solapaEncuesta").style.visibility="visible";ocultarContenido($("preguntarEncuesta"))};var cancelarMostrarEncuestas=function(){ocultarContenido($("preguntarEncuesta"));var A=new Request(null);A.pedir("requests/blockearEncuesta.php","blockear"+SEP_IGUAL+1+SEP_AND)};var mostrarPreguntarEncuesta=function(){centrarContenido($("preguntarEncuesta"),true);$("preguntarEncuesta").style.visibility="visible";if(!Nav.esIE){$("preguntarEncuestaFondo").style.marginLeft="0px"}};var cerrarListaEncuestas=function(){ocultarContenido($("solapaEncuesta"));$("blockGeneral").style.visibility="hidden"};function loadTab(){this.sHTML="";this.sScript="";this.bHideLoad=true;this.init=function(A,B,C){this.sHTML=A;this.sScript=B;this.bHideLoad=(!C)?false:true;this.loadHTML()};this.loadHTML=function(){this.showLoading();this.req.pedir(this.sHTML,"nada=si")};this.loadScript=function(){var A=document.createElement("script");document.body.appendChild(A);A.type="text/javascript";A.src=this.sScript;if(this.bHideLoad){this.hideLoading()}};this.showLoading=function(){var A=$("blockGeneral");A.style.height=(HBody())+"px";A.style.width=(WBody())+"px";A.style.visibility="visible";A=$("cargador");centrarContenido(A,true);A.style.visibility="visible"};this.hideLoading=function(){$("cargador").style.visibility="hidden"};this.req=new Request();this.req.listener=function(){var B=this.req.respuestaXML,A=null;if(!B){alert("Ha ocurrido un error.");alert("-"+this.req.respuestaHTML)}else{A=document.createElement("span");document.body.appendChild(A);A.innerHTML=B.firstChild.data;this.loadScript()}A=null}.closure(this)}var argEncuesta=null;oEncuesta={pedirEncuesta:function(){var A=null;if(!!argEncuesta){return false}A=new loadTab();argEncuesta=arguments;if(argEncuesta[argEncuesta.length-1]){StopEvent(argEncuesta[argEncuesta.length-1]);argEncuesta[argEncuesta.length-1]=null}A.init(DIR_ROOT+"requests/cargar.php?file=../oEncuesta.php",DIR_ROOT+"js/oEncuesta.js",true)}};GeoGalInitConf=false;var GeoGal=new function(){var A=false;this.open=function(D){if(A){return false}A=true;GeoGalInitConf=D;var C=document.getElementsByTagName("head");C=C[0];var B=document.createElement("script");B.type="text/javascript";B.src=DIR_ROOT+"geoGaleria/geoGal.js";C.appendChild(B)}};