jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m)==1){return e+n}if(!l){l=m*0.3}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l))+e},easeOutElastic:function(f,h,e,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m)==1){return e+n}if(!l){l=m*0.3}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}return g*Math.pow(2,-10*h)*Math.sin((h*m-k)*(2*Math.PI)/l)+n+e},easeInOutElastic:function(f,h,e,n,m){var k=1.70158;var l=0;var g=n;if(h==0){return e}if((h/=m/2)==2){return e+n}if(!l){l=m*(0.3*1.5)}if(g<Math.abs(n)){g=n;var k=l/4}else{var k=l/(2*Math.PI)*Math.asin(n/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*m-k)*(2*Math.PI)/l)*0.5+n+e},easeInBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}return k*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}return k*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,k,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return k/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return k/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});(function(c){c.phoenix=c.phoenix||{};c.phoenix.menu={version:"1.0.0",conf:{current:"current",effect:"toggle",direction:"up",inSpeed:100,outSpeed:50,event:"click",easing:"linear",toggled:false,api:false},addEffect:function(d,f,e){b[d]=[f,e]}};var b={toggle:[function(d){this.getPane().show();d.call()},function(d){this.getPane().hide();d.call()}],fade:[function(d){this.getPane().fadeIn(this.getConf().inSpeed,d)},function(d){this.getPane().fadeOut(this.getConf().outSpeed,d)}],slideup:[function(d){this.getPane().slideUp(this.getConf().inSpeed,d)},function(d){this.getPane().slideDown(this.getConf().outSpeed,d)}],slide:[function(d){params={};var e=this.getConf();if(e.direction=="up"||e.direction=="down"){params.height=this.getHeight()}else{if(e.direction=="left"||e.direction=="right"){params.width=this.getWidth()}}this.getPane().animate(params,e.inSpeed,e.easing,d)},function(d){params={};var e=this.getConf();if(e.direction=="up"||e.direction=="down"){params.height=0}else{if(e.direction=="left"||e.direction=="right"){params.width=0}}this.getPane().animate(params,e.outSpeed,e.easing,d)}]};function a(h,d){var o=this,f=d.toggled,g,n,e;var k=h.attr("rel");g=k?c(k):null;n=g.height();e=g.width();if(h){h.bind(d.event,function(m){o.toggle();if(!o.isToggled()){c(this).addClass(d.current)}else{c(this).removeClass(d.current)}return m.preventDefault()})}function l(m,p){c(o).bind(m,function(r,q){if(p&&p.call(this,q.index)===false&&q){q.proceed=false}});return o}c.each(d,function(m,p){if(c.isFunction(p)){l(m,p)}});c.extend(o,{toggle:function(){var m={proceed:true};c(o).trigger("onBeforeToggle",m);if(!m.proceed){return o}if(o.isToggled()){b[d.effect][0].call(o,function(){c(o).trigger("onToggle");c(o).trigger("onHide");f=false})}else{b[d.effect][1].call(o,function(){c(o).trigger("onToggle");c(o).trigger("onShow");f=true})}return o},hide:function(){o.getPane().hide()},getPane:function(){return g},getWidth:function(){return e},getHeight:function(){return n},getTrigger:function(){return h},isToggled:function(){return f},getEffect:function(){return d.effect},setEffect:function(m){d.effect=m},getConf:function(){return d},onBeforeShow:function(m){return l("onBeforeShow",m)},onBeforeToggle:function(m){return l("onBeforeToggle",m)},onToggle:function(m){return l("onToggle",m)},onShow:function(m){return l("onShow",m)},onHide:function(m){return l("onHide",m)}})}c.fn.menu=function(d){var e=this.eq(typeof d=="number"?d:0).data("panel");if(e){return e}if(c.isFunction(d)){d={onBeforeShow:d}}if(typeof d=="string"){d={direction:d}}var f=c.extend({},c.phoenix.menu.conf);c.extend(f,d);this.each(function(){if(c(this).attr("direction")!=null){f.direction=c(this).attr("direction")}e=new a(c(this),f);if(e.isToggled()){e.hide()}c(this).data("panel",e)});return f.api?e:this}})(jQuery);(function(b){b.phoenix=b.phoenix||{};b.phoenix.imagemenu={version:"1.0.0",conf:{isVertical:false,sticky:false,defaultPane:0,event:"mouseover",effect:"defaul",current:"current",spacing:0,duration:500,api:false}};function a(c,f){var d=this,e=c.children("li");var l=(f.isVertical)?"height":"width";var h=(f.isVertical)?"top":"left";var g=e.eq(0).css(l).replace(/px/,"");if(!f.max){f.max=(g*e.size())-(f.min*(e.size()-1))}else{f.min=((g*e.size())-f.max)/(e.size()-1)}function k(m,n){b(d).bind(m,function(p,o){if(n&&n.call(this,o.index)===false&&o){o.proceed=false}});return d}b.each(f,function(m,n){if(b.isFunction(n)){k(m,n)}});b.extend(d,{getConf:function(){return f},getPanes:function(){return e},slidePanes:function(){if(f.isVertical){c.css({width:e.eq(0).css("width"),height:(g*e.size())+(f.spacing*(e.size()-1))+"px"})}else{c.css({width:(g*e.size())+(f.spacing*(e.size()-1))+"px",height:e.eq(0).css("height")})}var m=[];for(i=0;i<e.size();i++){m[i]=[];for(j=1;j<e.size()-1;j++){if(i==j){m[i][j]=f.isVertical?j*f.min+(j*f.spacing):j*f.min+(j*f.spacing)}else{m[i][j]=(j<=i?(j*f.min):(j-1)*f.min+f.max)+(j*f.spacing)}}}e.each(function(n){var o=b(this);if(n===0){o.css(h,"0px")}else{if(n==e.size()-1){o.css(f.isVertical?"bottom":"right","0px")}else{if(f.sticky){o.css(h,m[f.defaultPane][n])}else{o.css(h,(n*g)+(n*f.spacing))}}}if(f.sticky){if(f.defaultPane==n){o.css(l,f.max+"px");o.addClass(f.current)}else{o.css(l,f.min+"px")}}o.css({margin:0,position:"absolute"});o.bind(f.event,function(){var r=[];var t=[];e.stop().removeClass(f.current);for(j=0;j<e.size();j++){r[j]=e.eq(j).css(l).replace(/px/,"");t[j]=e.eq(j).css(h).replace(/px/,"")}var q={};q[l]=f.max;var s=f.max-r[n];var p=r[n]/s;o.addClass(f.current).animate(q,{step:function(u){var v=s!=0?u/s-p:1;e.each(function(w){if(w!=n){e.eq(w).css(l,r[w]-((r[w]-f.min)*v)+"px")}if(w>0&&w<e.size()-1){e.eq(w).css(h,t[w]-((t[w]-m[n][w])*v)+"px")}})},duration:f.duration,easing:f.easing})})});if(!f.sticky){c.bind("mouseleave",function(){var o=[];var p=[];e.removeClass(f.current).stop();for(i=0;i<e.size();i++){o[i]=e.eq(i).css(l).replace(/px/,"");p[i]=e.eq(i).css(h).replace(/px/,"")}var n={};n[l]=g;var q=g-o[0];e.eq(0).animate(n,{step:function(r){var s=q!=0?(r-o[0])/q:1;for(i=1;i<e.size();i++){e.eq(i).css(l,o[i]-((o[i]-g)*s)+"px");if(i<e.size()-1){e.eq(i).css(h,p[i]-((p[i]-((i*g)+(i*f.spacing)))*s)+"px")}}},duration:f.duration,easing:f.easing})})}return d},onBeforeShow:function(m){return k("onBeforeShow",m)},onShow:function(m){return k("onShow",m)},onHide:function(m){return k("onHide",m)},onClick:function(m){return k("onClick",m)},})}b.fn.imagemenu=function(c){var d=this.eq(typeof c=="number"?c:0).data("imagepane");if(d){return d}if(b.isFunction(c)){c={onBeforeShow:c}}var e=b.extend({},b.phoenix.imagemenu.conf);b.extend(e,c);this.each(function(){container=b(this);d=new a(container,e);d.slidePanes();b(this).data("imagepane",d)});return e.api?d:this}})(jQuery);(function(b){b.phoenix=b.phoenix||{};b.phoenix.slidebox={version:"1.0.0",conf:{effect:"slide",direction:"top",duration:300,events:"mouseover,mouseout",api:false},addEffect:function(d,f,e){a[d]=[f,e]}};var a={slide:[function(d){var e=this.getConf();params={};if(typeof e.direction!="string"){params[e.direction[0]]=e.max[0];params[e.direction[1]]=e.max[1]}else{params[e.direction]=this.getCoverLength()}this.getBox().stop().animate(params,{queue:false,duration:e.duration});d.call()},function(d){var e=this.getConf();params={};if(typeof e.direction!="string"){if(e.min){params[e.direction[0]]=e.min[0];params[e.direction[1]]=e.min[1]}else{params[e.direction[0]]="0px";params[e.direction[1]]="0px"}}else{params[e.direction]=this.getMinCoverLength()}this.getBox().stop().animate(params,{queue:false,duration:e.duration});d.call()}]};function c(f,h){var e=this,g;f.data("slidebox",e);var d=b(".cover",f);g=d?d:null;if(f){evt=h.events.split(/,\s*/);f.bind(evt[0],function(k){k.target=this;e.show(k);g.hover(e.show,function(l){e.hide()})});f.bind(evt[1],function(){e.hide()})}b.extend(e,{show:function(l){if(l){f=b(l.target)}function k(){var m={proceed:true};b(e).trigger("onBeforeShow",m);if(m.proceed===false){return e}a[h.effect][0].call(e,function(){b(e).trigger("onShow")})}k();return e},hide:function(){function k(){var l={proceed:true};b(e).trigger("onBeforeHide",l);if(l.proceed===false){return}a[h.effect][1].call(e,function(){b(e).trigger("onHide")})}k();return e},getConf:function(){return h},getBox:function(){return g},getTrigger:function(){return f},getCoverLength:function(){if(!h.max){width=g.parent().width();height=g.parent().height();return(h.direction=="left"||h.direction=="right")?width:height}else{return h.max}},getMinCoverLength:function(){if(!h.min){return 0}else{return h.min}},onBeforeShow:function(k){return bind("onBeforeShow",k)},onBeforeHide:function(k){return bind("onBeforeHide",k)},onShow:function(k){return bind("onShow",k)},onHide:function(k){return bind("onHide",k)}})}b.prototype.slidebox=function(d){var e=this.eq(typeof d=="number"?d:0).data("slidebox");if(e){return e}var f=b.extend(true,{},b.phoenix.slidebox.conf);if(b.isFunction(d)){d={onBeforeShow:d}}b.extend(true,f,d);this.each(function(){e=new c(b(this),f)});return f.api?e:this}})(jQuery);var OpenPhoenix=function(){var a=jQuery;return{init:function(){var b=this;b.dropDownMenu()},dropDownMenu:function(){a(".menu-item").hoverIntent({interval:25,timeout:0,over:function(){var b=a(this);var c=a(".child-menu",this);b.addClass("init");c.slideDown(100)},out:function(){var b=a(this);var c=a(".child-menu",this);c.slideUp(50);b.removeClass("init")}})}}}();jQuery(document).ready(function(){if(Liferay.Browser.isIe()&&Liferay.Browser.getMajorVersion()<6){alert("Se ha detectado navegador Internet Explorer version menor de ie6.\nInternet Explorer no se adapta a los estandares ni siquiera en su versión 6.\nSi quiere poder visualizar correctamente esta página debe de utilizar al menos\nla versión 6 del mismo, aunque recomendamos Firefox para navegar por el sitio.")}OpenPhoenix.init();if(Liferay.Browser.isSafari()){var a={position:"relative",left:"753px",top:"-35px",width:"250px"};jQuery(".interactive-mode").css(a);jQuery("#add-page").css("right","107px")}});Liferay.Portlet.ready(function(b,a){});jQuery(document).last(function(){});