var validarformulariocount=temp_idu=1,FlashDetect=new function(){var a=this;a.installed=!1;a.raw="";a.major=-1;a.minor=-1;a.revision=-1;a.revisionStr="";var b=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(b){return d(b)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(b){var a="6,0,21";try{b.AllowScriptAccess="always",a=d(b)}catch(g){}return a}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(b){return d(b)}}],d=function(b){var a=-1;try{a=b.GetVariable("$version")}catch(d){}return a};
a.majorAtLeast=function(b){return a.major>=b};a.minorAtLeast=function(b){return a.minor>=b};a.revisionAtLeast=function(b){return a.revision>=b};a.versionAtLeast=function(b){var d=[a.major,a.minor,a.revision],g=Math.min(d.length,arguments.length);for(i=0;i<g;i++)if(d[i]>=arguments[i]){if(!(i+1<g&&d[i]==arguments[i]))return!0}else return!1};a.FlashDetect=function(){var c,d,g,h,k;if(navigator.plugins&&0<navigator.plugins.length){var e=navigator.mimeTypes;if(e&&e["application/x-shockwave-flash"]&&e["application/x-shockwave-flash"].enabledPlugin&&
e["application/x-shockwave-flash"].enabledPlugin.description){c=e=e["application/x-shockwave-flash"].enabledPlugin.description;var e=c.split(/ +/),j=e[2].split(/\./),e=e[3];d=parseInt(j[0],10);g=parseInt(j[1],10);h=e;k=parseInt(e.replace(/[a-zA-Z]/g,""),10)||a.revision;a.raw=c;a.major=d;a.minor=g;a.revisionStr=h;a.revision=k;a.installed=!0}}else if(-1==navigator.appVersion.indexOf("Mac")&&window.execScript){e=-1;for(j=0;j<b.length&&-1==e;j++){c=-1;try{c=new ActiveXObject(b[j].name)}catch(l){c={activeXError:!0}}c.activeXError||
(a.installed=!0,e=b[j].version(c),-1!=e&&(c=e,h=c.split(","),d=parseInt(h[0].split(" ")[1],10),g=parseInt(h[1],10),k=parseInt(h[2],10),h=h[2],a.raw=c,a.major=d,a.minor=g,a.revision=k,a.revisionStr=h))}}}()};FlashDetect.JS_RELEASE="1.0.4";var TINY={};function T$(a){return document.getElementById(a)}function T$$(a,b){return b.getElementsByTagName(a)}
TINY.slider=function(){function a(b,a){this.n=b;this.init(a)}a.prototype.init=function(b){var a=this.x=T$(b.id),c=this.u=T$$("ul",a)[0],f=this.m=T$$("li",c),g=f.length,h=this.l=this.c=0;this.b=1;b.navid&&b.activeclass&&(this.g=T$$("li",T$(b.navid)),this.s=b.activeclass);this.a=b.auto||0;this.p=b.resume||0;this.r=b.rewind||0;this.e=b.elastic||!1;this.v=b.vertical||0;a.style.overflow="hidden";for(h;h<g;h++)f[h].parentNode==c&&this.l++;this.v?(c.style.top=0,this.h=b.height||f[0].offsetHeight,c.style.height=
this.l*this.h+"px"):(c.style.left=0,this.w=b.width||f[0].offsetWidth,c.style.width=this.l*this.w+"px");this.nav(b.position||0);b.position?this.pos(b.position||0,this.a?1:0,1):this.a&&this.auto();b.left&&this.sel(b.left);b.right&&this.sel(b.right)};a.prototype.auto=function(){this.x.ai=setInterval(new Function(this.n+".move(1,1,1)"),1E3*this.a)};a.prototype.move=function(b,a){var c=this.c+b;this.r&&(c=1==b?c==this.l?0:c:0>c?this.l-1:c);this.pos(c,a,1)};a.prototype.pos=function(b,a,c){var f=b;clearInterval(this.x.ai);
clearInterval(this.x.si);if(!this.r)if(c){if(-1==b||0!=b&&0==Math.abs(b)%this.l){this.b++;for(c=0;c<this.l;c++)this.u.appendChild(this.m[c].cloneNode(1));this.v?this.u.style.height=this.l*this.h*this.b+"px":this.u.style.width=this.l*this.w*this.b+"px"}if(-1==b||0>b&&0==Math.abs(b)%this.l)this.v?this.u.style.top=-1*this.l*this.h+"px":this.u.style.left=-1*this.l*this.w+"px",f=this.l-1}else this.c>this.l&&1<this.b&&(b=f=this.l*(this.b-1)+b);c=this.v?-1*f*this.h:-1*f*this.w;b=b<this.c?-1:1;this.c=f;this.nav(this.c%
this.l);this.e&&(c-=8*b);this.x.si=setInterval(new Function(this.n+".slide("+c+","+b+",1,"+a+")"),10)};a.prototype.nav=function(b){if(this.g)for(var a=0;a<this.l;a++)this.g[a].className=a==b?this.s:""};a.prototype.slide=function(b,a,c,f){var g=this.v?parseInt(this.u.style.top):parseInt(this.u.style.left);g==b?(clearInterval(this.x.si),this.e&&3>c?this.x.si=setInterval(new Function(this.n+".slide("+(1==c?b+12*a:b+4*a)+","+(1==c?-1*a:-1*a)+","+(1==c?2:3)+","+f+")"),10):((f||this.a&&this.p)&&this.auto(),
1<this.b&&0==this.c%this.l&&this.clear())):(b=g-Math.ceil(0.1*Math.abs(b-g))*a+"px",this.v?this.u.style.top=b:this.u.style.left=b)};a.prototype.clear=function(){var a=T$$("li",this.u),d=i=a.length;this.v?this.u.style.top=0:this.u.style.left=0;this.b=1;this.c=0;for(i;0<i;i--){var c=a[i-1];d>this.l&&c.parentNode==this.u&&(this.u.removeChild(c),d--)}};a.prototype.sel=function(a){a=T$(a);a.onselectstart=a.onmousedown=function(){return!1}};return{slide:a}}();
function reloadtodo(){document.location.href=urlweb}function abrir(){window.open("gestion/condiciones.aspx","Disclamer","width=600,height=400,toolbar=no,menubar=no,status=yes,scrollbars=yes, top=25, left=25, location=no,resizable=yes")}function comenzando(){""==document.getElementById("dlSexo").value?ErrorMensaje("dlSexo","diverrSex"):document.location.href=urlweb+"a_tot.aspx?u="+document.getElementById("dlSexo").value}function Registrate(){document.location.href=urlweb+"register.aspx"}
function get_pos_X(a){var b=0;if(a.offsetParent)for(;a.offsetParent;)b+=a.offsetLeft,a=a.offsetParent;else a.x&&(b+=a.x);return b}function get_pos_Y(a){var b=0;if(a.offsetParent)for(;a.offsetParent;)b+=a.offsetTop,a=a.offsetParent;else a.y&&(b+=a.y);return b}
function ErrorMensaje(a,b){var d=document.getElementById(a),c=document.getElementById(b);c.style.display="";c.style.position="absolute";c.style.left=get_pos_X(d)+document.getElementById(a).offsetWidth+15+"px";c.style.top=get_pos_Y(d)+4+"px";c.style.display="inline"}
function ERRORusupass(){var a=document.getElementById("txtUsuarioRegistrado"),b=document.getElementById("diverrRegUP");b.style.left=get_pos_X(a)-100+"px";b.style.top=get_pos_Y(a)+45+"px";b.style.position="absolute";b.style.display="inline"}function CarProhibidos(){if(-1!="&\u00bf?#\u00b7|'%*<>\"".indexOf(String.fromCharCode(event.keyCode).toUpperCase()))return!1}function trimjs(a){1==a.length&&160==a.charCodeAt(0)&&(a="");return a=a.replace(/^\s*/,"").replace(/\s*$/,"").replace("\u00a0","")}var slideshow;
function onLoad(){var a=Cookie_get("cookmeeu"),b=Cookie_get("cookmeep");"s"==Cookie_get("cookchck")&&(document.getElementById("chkRecordar").checked=!0,""!=a&&(document.getElementById("txtUsuarioRegistrado").value=a,""!=b&&(document.getElementById("txtPasswordRegistrado").value=b)));slideshow=new TINY.slider.slide("slideshow",{id:"slider",auto:7,resume:!1,vertical:!1,navid:"pagination",activeclass:"current",position:0,rewind:!1,elastic:!0,left:"slideleft",right:"slideright"});imprimirlogo()}
function grabarcookies(){document.getElementById("chkRecordar").checked?(Cookie_set("cookmeeu",document.getElementById("txtUsuarioRegistrado").value.toLowerCase(),9999999),Cookie_set("cookmeep",document.getElementById("txtPasswordRegistrado").value.toLowerCase(),9999999),Cookie_set("cookchck","s",9999999)):(Cookie_set("cookmeeu",document.getElementById("txtUsuarioRegistrado").value.toLowerCase(),9999999),Cookie_set("cookmeep",document.getElementById("txtPasswordRegistrado").value.toLowerCase(),9999999),
Cookie_set("cookchck","",0))}function Cookie_set(a,b,d){var c=new Date;c.setSeconds(c.getSeconds()+d);document.cookie=a+"="+escape(b)+(null==d?"":";expires="+c.toUTCString())}function Cookie_get(a){return 0<document.cookie.length&&(c_start=document.cookie.indexOf(a+"="),-1!=c_start)?(c_start=c_start+a.length+1,c_end=document.cookie.indexOf(";",c_start),-1==c_end&&(c_end=document.cookie.length),unescape(document.cookie.substring(c_start,c_end))):""}
function FlashImagen(a,b,d,c,f){return"<img src='"+urlweb+a+"' style='border:solid 0px #eee;width:"+f+"px;height:"+c+"px'/>"};
