qTipDefaults={position:{corner:{target:"center",tooltip:"topLeft"}},style:{name:"light"},show:{effect:{type:function(){if(!$.browser.msie){$(this).fadeIn()}else{$(this).show()}}}},hide:{fixed:true,effect:{type:function(){if(!$.browser.msie){$(this).fadeOut()}else{$(this).hide()}}}}};$(document).ready(function(){var a='"key": "2c8e2140d174ad102cd","logo": {    "url": "'+_rootWeb+'/imagenes/video/logo.png",    "bottom": 22,    "right": 22,    "width": 40,    "height": 40,    "opacity": 0.8,    "fullscreenOnly": false,    "displayTime": 10,    "fadeSpeed": 300},"plugins":  {    "controls": {        "autoHide": "always",        "stop": true,        "tooltips": {            "buttons": true,             "play" : "'+FlowPlayer.TT.PLAY+'",             "pause" : "'+FlowPlayer.TT.PAUSE+'",             "mute" : "'+FlowPlayer.TT.MUTE+'",             "unmute" : "'+FlowPlayer.TT.UNMUTE+'",             "stop" : "'+FlowPlayer.TT.STOP+'",             "fullscreen" : "'+FlowPlayer.TT.FULLSCREEN+'",             "fullscreenExit" : "'+FlowPlayer.TT.FULLSCREEN_EXIT+'",             "next" : "'+FlowPlayer.TT.NEXT+'",             "previous" : "'+FlowPlayer.TT.PREVIOUS+'"        }    }}, "clip": {    "url": "{path}",    "scaling": "orig",    "accelerated": false,    "linkWindow": "_blank"},"contextMenu": [    "Proxia CMS 6.3",    "Powered by Flowplayer"]';if(typeof($.fn.prettyPhoto)=="function"&&$("a[rel^='prettyPhoto']").size()>0){$("a[rel^='prettyPhoto']").prettyPhoto({flowplayerSettings:a})}if($("a.cmAutoVideo,a.cmAutoAudio,a.cmAutoVideoNoAlt").size()>0){$("a.cmAutoAudio").addClass("cmAutoAudioShown");$("a.cmAutoVideoNoAlt").css("display","block");$("a.cmAutoAudio,a.cmAutoVideoNoAlt").empty();$("a.cmAutoVideo,a.cmAutoAudio").attr("href",function(){var l=this.href;var k=l.indexOf("tkShowResource");if(k!=-1){var i=l.indexOf("path");if(i!=-1){var e=l.indexOf("&",i);var d=false;if(e!=-1){d=l.substring(i+5,e)}else{d=l.substring(i+5)}return d}else{var g=l.indexOf("idMmedia=");var e=l.indexOf("&",g);var f=l.substring(0,k)+"images?idMmedia=";if(e!=-1){f+=l.substring(g+9,e)}else{f+=l.substring(g+9)}return f}}else{var j=l;var h="";if(j.indexOf("/")!=-1){h=j.substring(0,j.lastIndexOf("/")+1);j=j.substring(j.lastIndexOf("/")+1)}if(j.indexOf("g,")==0||j.indexOf("s,")==0||j.indexOf("f,")==0){j=j.substring(2)}return h+j}});flowplayer("a.cmAutoVideo",_rootWeb+"/javaScript/flowplayer/flowplayer.unlimited-3.1.5.swf",{key:"2c8e2140d174ad102cd",logo:{url:_rootWeb+"/imagenes/video/logo.png",bottom:22,right:22,width:40,height:40,opacity:0.8,fullscreenOnly:false,displayTime:10,fadeSpeed:300},plugins:{controls:{tooltipColor:"#70c6a9",tooltipTextColor:"#000000",sliderColor:"#70c6a9",volumeSliderColor:"#70c6a9",autoHide:"always",stop:true,tooltips:{buttons:true,play:FlowPlayer.TT.PLAY,pause:FlowPlayer.TT.PAUSE,mute:FlowPlayer.TT.MUTE,unmute:FlowPlayer.TT.UNMUTE,stop:FlowPlayer.TT.STOP,fullscreen:FlowPlayer.TT.FULLSCREEN,fullscreenExit:FlowPlayer.TT.FULLSCREEN_EXIT,next:FlowPlayer.TT.NEXT,previous:FlowPlayer.TT.PREVIOUS}}},clip:{scaling:"orig",accelerated:false,linkWindow:"_blank"},contextMenu:["Proxia CMS 6.3","Powered by Flowplayer"]});flowplayer("a.cmAutoAudio",_rootWeb+"/javaScript/flowplayer/flowplayer.unlimited-3.1.5.swf",{key:"2c8e2140d174ad102cd",plugins:{controls:{fullscreen:false,height:30,tooltips:{buttons:true,play:FlowPlayer.TT.PLAY,pause:FlowPlayer.TT.PAUSE,mute:FlowPlayer.TT.MUTE,unmute:FlowPlayer.TT.UNMUTE,stop:FlowPlayer.TT.STOP,fullscreen:FlowPlayer.TT.FULLSCREEN,fullscreenExit:FlowPlayer.TT.FULLSCREEN_EXIT,next:FlowPlayer.TT.NEXT,previous:FlowPlayer.TT.PREVIOUS}}},clip:{autoPlay:false},contextMenu:["Proxia CMS 6.3","Powered by Flowplayer"]})}if($("#videoteca").length!=0&&$("#videotecaPlayer").length!=0){$("#videoteca").scrollable({items:"div.entries",size:4,clickable:false});flowplayer("videotecaPlayer",_rootWeb+"/javaScript/flowplayer/flowplayer.unlimited-3.1.5.swf",{key:"2c8e2140d174ad102cd",logo:{url:_rootWeb+"/imagenes/video/logo.png",bottom:22,right:22,width:40,height:40,opacity:0.8,fullscreenOnly:false,displayTime:10,fadeSpeed:300},plugins:{controls:{autoHide:"always",stop:true,tooltips:{buttons:true,play:FlowPlayer.TT.PLAY,pause:FlowPlayer.TT.PAUSE,mute:FlowPlayer.TT.MUTE,unmute:FlowPlayer.TT.UNMUTE,stop:FlowPlayer.TT.STOP,fullscreen:FlowPlayer.TT.FULLSCREEN,fullscreenExit:FlowPlayer.TT.FULLSCREEN_EXIT,next:FlowPlayer.TT.NEXT,previous:FlowPlayer.TT.PREVIOUS}}},clip:{scaling:"orig",accelerated:false,linkWindow:"_blank",baseUrl:_rootWeb+"/cm/"},contextMenu:["Proxia CMS 6.3","Powered by Flowplayer"]}).playlist("div.entries")}$("a.cmAutoVideoNoAlt").flowplayer().each(function(){this.onLoad(function(){this.getClip(0).update({autoPlay:false})})});var c=$(".calendarWithTooltip");if(c.length>0){c.each(function(){var d=$(this);$(this).addClass("activatedTooltip");$(".cmCalendarTable .calendarDayWithEvents .cmEventInCalendar .cmContentLink span",d).removeAttr("title");$(".cmCalendarTable .calendarDayWithEvents",d).each(function(){$(this).qtip({content:{text:$($(this).find(".dayNumber a").attr("href")).html()},position:qTipDefaults.position,style:qTipDefaults.style,show:qTipDefaults.show,hide:qTipDefaults.hide})})})}var b=$(".calendarWithClick");if(b.length>0){b.each(function(){var e=$(this);$(".cmMonthEventsContainer li.cmCalendarDay",e).hide();$(".cmCalendarTable .calendarDayWithEvents",e).click(function(){var f=$(this).find(".dayNumber a").attr("href");$(".cmCalendarNoEvents",e).hide();$(".cmMonthEventsContainer li.cmCalendarDay:visible",e).hide();$(f).show();return false});var d=$(".cmCalendarTable .calendarToday a");if(d.length>0){$(".cmCalendarNoEvents",e).hide();$(d.attr("href")).show()}})}});$(window).load(function(){});
