var UFO={req:["movie","width","height","majorversion","build"],opt:["play","loop","menu","quality","scale","salign","wmode","bgcolor","base","flashvars","devicefont","allowscriptaccess","seamlesstabbing","allowfullscreen","allownetworking"],optAtt:["id","name","align"],optExc:["swliveconnect"],ximovie:"ufo.swf",xiwidth:"215",xiheight:"138",ua:navigator.userAgent.toLowerCase(),pluginType:"",fv:[0,0],foList:[],create:function(A,B){if(!UFO.uaHas("w3cdom")||UFO.uaHas("ieMac")){return }UFO.getFlashVersion();UFO.foList[B]=UFO.updateFO(A);UFO.createCSS("#"+B,"visibility:hidden;");UFO.domLoad(B)},updateFO:function(A){if(typeof A.xi!="undefined"&&A.xi=="true"){if(typeof A.ximovie=="undefined"){A.ximovie=UFO.ximovie}if(typeof A.xiwidth=="undefined"){A.xiwidth=UFO.xiwidth}if(typeof A.xiheight=="undefined"){A.xiheight=UFO.xiheight}}A.mainCalled=false;return A},domLoad:function(B){var A=setInterval(function(){if((document.getElementsByTagName("body")[0]!=null||document.body!=null)&&document.getElementById(B)!=null){UFO.main(B);clearInterval(A)}},250);if(typeof document.addEventListener!="undefined"){document.addEventListener("DOMContentLoaded",function(){UFO.main(B);clearInterval(A)},null)}},main:function(B){var A=UFO.foList[B];if(A.mainCalled){return }UFO.foList[B].mainCalled=true;document.getElementById(B).style.visibility="hidden";if(UFO.hasRequired(B)){if(UFO.hasFlashVersion(parseInt(A.majorversion,10),parseInt(A.build,10))){if(typeof A.setcontainercss!="undefined"&&A.setcontainercss=="true"){UFO.setContainerCSS(B)}UFO.writeSWF(B)}else{if(A.xi=="true"&&UFO.hasFlashVersion(6,65)){UFO.createDialog(B)}}}document.getElementById(B).style.visibility="visible"},createCSS:function(A,E){var D=document.getElementsByTagName("head")[0];var C=UFO.createElement("style");if(!UFO.uaHas("ieWin")){C.appendChild(document.createTextNode(A+" {"+E+"}"))}C.setAttribute("type","text/css");C.setAttribute("media","screen");D.appendChild(C);if(UFO.uaHas("ieWin")&&document.styleSheets&&document.styleSheets.length>0){var B=document.styleSheets[document.styleSheets.length-1];if(typeof B.addRule=="object"){B.addRule(A,E)}}},setContainerCSS:function(D){var C=UFO.foList[D];var A=/%/.test(C.width)?"":"px";var B=/%/.test(C.height)?"":"px";UFO.createCSS("#"+D,"width:"+C.width+A+"; height:"+C.height+B+";");if(C.width=="100%"){UFO.createCSS("body","margin-left:0; margin-right:0; padding-left:0; padding-right:0;")}if(C.height=="100%"){UFO.createCSS("html","height:100%; overflow:hidden;");UFO.createCSS("body","margin-top:0; margin-bottom:0; padding-top:0; padding-bottom:0; height:100%;")}},createElement:function(A){return(UFO.uaHas("xml")&&typeof document.createElementNS!="undefined")?document.createElementNS("http://www.w3.org/1999/xhtml",A):document.createElement(A)},createObjParam:function(C,D,B){var A=UFO.createElement("param");A.setAttribute("name",D);A.setAttribute("value",B);C.appendChild(A)},uaHas:function(E){var D=UFO.ua;switch(E){case"w3cdom":return(typeof document.getElementById!="undefined"&&typeof document.getElementsByTagName!="undefined"&&(typeof document.createElement!="undefined"||typeof document.createElementNS!="undefined"));case"xml":var A=document.getElementsByTagName("meta");var C=A.length;for(var B=0;B<C;B++){if(/content-type/i.test(A[B].getAttribute("http-equiv"))&&/xml/i.test(A[B].getAttribute("content"))){return true}}return false;case"ieMac":return/msie/.test(D)&&!/opera/.test(D)&&/mac/.test(D);case"ieWin":return/msie/.test(D)&&!/opera/.test(D)&&/win/.test(D);case"gecko":return/gecko/.test(D)&&!/applewebkit/.test(D);case"opera":return/opera/.test(D);case"safari":return/applewebkit/.test(D);default:return false}},getFlashVersion:function(){if(UFO.fv[0]!=0){return }if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){UFO.pluginType="npapi";var A=navigator.plugins["Shockwave Flash"].description;if(typeof A!="undefined"){A=A.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var B=parseInt(A.replace(/^(.*)\..*$/,"$1"),10);var E=/r/.test(A)?parseInt(A.replace(/^.*r(.*)$/,"$1"),10):0;UFO.fv=[B,E]}}else{if(window.ActiveXObject){UFO.pluginType="ax";try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");UFO.fv=[6,0];C.AllowScriptAccess="always"}catch(D){if(UFO.fv[0]==6){return }}try{var C=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(typeof C=="object"){var A=C.GetVariable("$version");if(typeof A!="undefined"){A=A.replace(/^\S+\s+(.*)$/,"$1").split(",");UFO.fv=[parseInt(A[0],10),parseInt(A[2],10)]}}}}},hasRequired:function(C){var B=UFO.req.length;for(var A=0;A<B;A++){if(typeof UFO.foList[C][UFO.req[A]]=="undefined"){return false}}return true},hasFlashVersion:function(B,A){return(UFO.fv[0]>B||(UFO.fv[0]==B&&UFO.fv[1]>=A))?true:false},writeSWF:function(E){var G=UFO.foList[E];var I=document.getElementById(E);if(UFO.pluginType=="npapi"){if(UFO.uaHas("gecko")||UFO.uaHas("xml")){while(I.hasChildNodes()){I.removeChild(I.firstChild)}var J=UFO.createElement("object");J.setAttribute("type","application/x-shockwave-flash");J.setAttribute("data",G.movie);J.setAttribute("width",G.width);J.setAttribute("height",G.height);var F=UFO.optAtt.length;for(var H=0;H<F;H++){if(typeof G[UFO.optAtt[H]]!="undefined"){J.setAttribute(UFO.optAtt[H],G[UFO.optAtt[H]])}}var D=UFO.opt.concat(UFO.optExc);var F=D.length;for(var H=0;H<F;H++){if(typeof G[D[H]]!="undefined"){UFO.createObjParam(J,D[H],G[D[H]])}}I.appendChild(J)}else{var K="";var D=UFO.opt.concat(UFO.optAtt).concat(UFO.optExc);var F=D.length;for(var H=0;H<F;H++){if(typeof G[D[H]]!="undefined"){K+=" "+D[H]+'="'+G[D[H]]+'"'}}I.innerHTML='<embed type="application/x-shockwave-flash" src="'+G.movie+'" width="'+G.width+'" height="'+G.height+'" pluginspage="http://www.macromedia.com/go/getflashplayer"'+K+"></embed>"}}else{if(UFO.pluginType=="ax"){var C="";var F=UFO.optAtt.length;for(var H=0;H<F;H++){if(typeof G[UFO.optAtt[H]]!="undefined"){C+=" "+UFO.optAtt[H]+'="'+G[UFO.optAtt[H]]+'"'}}var A="";var F=UFO.opt.length;for(var H=0;H<F;H++){if(typeof G[UFO.opt[H]]!="undefined"){A+='<param name="'+UFO.opt[H]+'" value="'+G[UFO.opt[H]]+'" />'}}var B=window.location.protocol=="https:"?"https:":"http:";I.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+C+' width="'+G.width+'" height="'+G.height+'" codebase="'+B+"//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+G.majorversion+",0,"+G.build+',0"><param name="movie" value="'+G.movie+'" />'+A+"</object>"}}},createDialog:function(B){var C=UFO.foList[B];UFO.createCSS("html","height:100%; overflow:hidden;");UFO.createCSS("body","height:100%; overflow:hidden;");UFO.createCSS("#xi-con","position:absolute; left:0; top:0; z-index:1000; width:100%; height:100%; background-color:#fff; filter:alpha(opacity:75); opacity:0.75;");UFO.createCSS("#xi-dia","position:absolute; left:50%; top:50%; margin-left: -"+Math.round(parseInt(C.xiwidth,10)/2)+"px; margin-top: -"+Math.round(parseInt(C.xiheight,10)/2)+"px; width:"+C.xiwidth+"px; height:"+C.xiheight+"px;");var I=document.getElementsByTagName("body")[0];var H=UFO.createElement("div");H.setAttribute("id","xi-con");var E=UFO.createElement("div");E.setAttribute("id","xi-dia");H.appendChild(E);I.appendChild(H);var J=window.location;if(UFO.uaHas("xml")&&UFO.uaHas("safari")){var G=document.getElementsByTagName("title")[0].firstChild.nodeValue=document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0,47)+" - Flash Player Installation"}else{var G=document.title=document.title.slice(0,47)+" - Flash Player Installation"}var A=UFO.pluginType=="ax"?"ActiveX":"PlugIn";var F=typeof C.xiurlcancel!="undefined"?"&xiUrlCancel="+C.xiurlcancel:"";var D=typeof C.xiurlfailed!="undefined"?"&xiUrlFailed="+C.xiurlfailed:"";UFO.foList["xi-dia"]={movie:C.ximovie,width:C.xiwidth,height:C.xiheight,majorversion:"6",build:"65",flashvars:"MMredirectURL="+J+"&MMplayerType="+A+"&MMdoctitle="+G+F+D};UFO.writeSWF("xi-dia")},expressInstallCallback:function(){var B=document.getElementsByTagName("body")[0];var A=document.getElementById("xi-con");B.removeChild(A);UFO.createCSS("body","height:auto; overflow:auto;");UFO.createCSS("html","height:auto; overflow:auto;")},cleanupIELeaks:function(){var B=document.getElementsByTagName("object");var D=B.length;for(var C=0;C<D;C++){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=null}}}}};if(typeof window.attachEvent!="undefined"&&UFO.uaHas("ieWin")){window.attachEvent("onunload",UFO.cleanupIELeaks)};(function(){function E(O){console.log("$f.fireEvent",[].slice.call(O))}function K(Q){if(!Q||typeof Q!="object"){return Q}var O=new Q.constructor();for(var P in Q){if(Q.hasOwnProperty(P)){O[P]=K(Q[P])}}return O}function L(T,R){if(!T){return }var P,Q=0,O=T.length;if(O===undefined){for(P in T){if(R.call(T[P],P,T[P])===false){break}}}else{for(var S=T[0];Q<O&&R.call(S,Q,S)!==false;S=T[++Q]){}}return T}function B(O){return document.getElementById(O)}function A(Q,P,O){if(Q&&P){L(P,function(R,S){if(!O||typeof S!="function"){Q[R]=S}})}}function N(S){var Q=S.indexOf(".");if(Q!=-1){var P=S.substring(0,Q)||"*";var O=S.substring(Q+1,S.length);var R=[];L(document.getElementsByTagName(P),function(){if(this.className&&this.className.indexOf(O)!=-1){R.push(this)}});return R}}function D(O){O=O||window.event;if(O.preventDefault){O.stopPropagation();O.preventDefault()}else{O.returnValue=false;O.cancelBubble=true}return false}function J(Q,O,P){Q[O]=Q[O]||[];Q[O].push(P)}function F(){return"_"+(""+Math.random()).substring(2,10)}var I=function(U,T,S){var R=this;var Q={};var P={};R.index=T;if(typeof U=="string"){U={url:U}}A(this,U,true);L(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var W="on"+this;if(W.indexOf("*")!=-1){W=W.substring(0,W.length-1);var V="onBefore"+W.substring(2);R[V]=function(X){J(P,V,X);return R}}R[W]=function(X){J(P,W,X);return R};if(T==-1){if(R[V]){S[V]=R[V]}if(R[W]){S[W]=R[W]}}});A(this,{onCuepoint:function(V,X){if(arguments.length==1){Q.embedded=[null,V];return R}if(typeof V=="number"){V=[V]}var W=F();Q[W]=[V,X];if(S.isLoaded()){S._api().fp_addCuepoints(V,T,W)}return R},update:function(W){A(R,W);if(S.isLoaded()){S._api().fp_updateClip(W,T)}var V=S.getConfig();var X=(T==-1)?V.clip:V.playlist[T];A(X,W,true)},_fireEvent:function(V,Y,W,a){if(V=="onLoad"){L(Q,function(b,c){if(c[0]){S._api().fp_addCuepoints(c[0],T,b)}});return false}a=a||R;if(V=="onCuepoint"){var Z=Q[Y];if(Z){return Z[1].call(S,a,W)}}if(V=="onStart"||V=="onUpdate"){A(a,Y);if(!a.duration){a.duration=Y.metaData.duration}else{a.fullDuration=Y.metaData.duration}}var X=true;L(P[V],function(){X=this.call(S,a,Y,W)});return X}});if(U.onCuepoint){var O=U.onCuepoint;R.onCuepoint.apply(R,typeof O=="function"?[O]:O);delete U.onCuepoint}L(U,function(V,W){if(typeof W=="function"){J(P,V,W);delete U[V]}});if(T==-1){S.onCuepoint=this.onCuepoint}};var M=function(R,S,Q,T){var P={};var O=this;var U=false;if(T){A(P,T)}L(S,function(V,W){if(typeof W=="function"){P[V]=W;delete S[V]}});A(this,{animate:function(Y,Z,X){if(!Y){return O}if(typeof Z=="function"){X=Z;Z=500}if(typeof Y=="string"){var W=Y;Y={};Y[W]=Z;Z=500}if(X){var V=F();P[V]=X}if(Z===undefined){Z=500}S=Q._api().fp_animate(R,Y,Z,V);return O},css:function(W,X){if(X!==undefined){var V={};V[W]=X;W=V}S=Q._api().fp_css(R,W);A(O,S);return O},show:function(){this.display="block";Q._api().fp_showPlugin(R);return O},hide:function(){this.display="none";Q._api().fp_hidePlugin(R);return O},toggle:function(){this.display=Q._api().fp_togglePlugin(R);return O},fadeTo:function(Y,X,W){if(typeof X=="function"){W=X;X=500}if(W){var V=F();P[V]=W}this.display=Q._api().fp_fadeTo(R,Y,X,V);this.opacity=Y;return O},fadeIn:function(W,V){return O.fadeTo(1,W,V)},fadeOut:function(W,V){return O.fadeTo(0,W,V)},getName:function(){return R},getPlayer:function(){return Q},_fireEvent:function(W,V,X){if(W=="onUpdate"){var Y=Q._api().fp_getPlugin(R);if(!Y){return }A(O,Y);delete O.methods;if(!U){L(Y.methods,function(){var a=""+this;O[a]=function(){var b=[].slice.call(arguments);var c=Q._api().fp_invoke(R,a,b);return c=="undefined"?O:c}});U=true}}var Z=P[W];if(Z){Z.apply(O,V);if(W.substring(0,1)=="_"){delete P[W]}}}})};function H(P,V,a){var e=this,Z=null,Y,T,Q=[],U={},O={},S,W,X,c,b,R;A(e,{id:function(){return S},isLoaded:function(){return(Z!==null)},getParent:function(){return P},hide:function(f){if(f){P.style.height="0px"}if(Z){Z.style.height="0px"}return e},show:function(){P.style.height=R+"px";if(Z){Z.style.height=b+"px"}return e},isHidden:function(){return Z&&parseInt(Z.style.height,10)===0},load:function(f){if(!Z&&e._fireEvent("onBeforeLoad")!==false){L(G,function(){this.unload()});Y=P.innerHTML;flashembed(P,V,{config:a});if(f){f.cached=true;J(O,"onLoad",f)}}return e},unload:function(){try{if(!Z||Z.fp_isFullscreen()){return e}}catch(f){return e}if(e._fireEvent("onBeforeUnload")===false){return false}Z.fp_close();Z=null;if(Y.replace(/\s/g,"")!==""){P.innerHTML=Y}e._fireEvent("onUnload");return e},getClip:function(f){if(f===undefined){f=c}return Q[f]},getCommonClip:function(){return T},getPlaylist:function(){return Q},getPlugin:function(g){var f=U[g];if(!f&&e.isLoaded()){var h=e._api().fp_getPlugin(g);if(h){f=new M(g,h,e);U[g]=f}}return f},getScreen:function(){return e.getPlugin("screen")},getControls:function(){return e.getPlugin("controls")},getConfig:function(f){return f?K(a):a},getFlashParams:function(){return V},loadPlugin:function(i,h,k,j){if(typeof k=="function"){j=k;k={}}var g=j?F():"_";e._api().fp_loadPlugin(i,h,k,g);var f={};f[g]=j;var l=new M(i,null,e,f);U[i]=l;return l},getState:function(){return Z?Z.fp_getState():-1},play:function(f){function g(){if(f!==undefined){e._api().fp_play(f)}else{e._api().fp_play()}}if(Z){g()}else{e.load(function(){g()})}return e},getVersion:function(){var g="flowplayer.js 3.0.6";if(Z){var f=Z.fp_getVersion();f.push(g);return f}return g},_api:function(){if(!Z){throw"Flowplayer "+e.id()+" not loaded. Try moving your call to player's onLoad event"}return Z},_dump:function(){console.log(O)},setClip:function(f){e.setPlaylist([f])},getIndex:function(){return X}});L(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,Fullscreen*,FullscreenExit,Error").split(","),function(){var f="on"+this;if(f.indexOf("*")!=-1){f=f.substring(0,f.length-1);var g="onBefore"+f.substring(2);e[g]=function(h){J(O,g,h);return e}}e[f]=function(h){J(O,f,h);return e}});L(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,reset,close,setPlaylist").split(","),function(){var f=this;e[f]=function(g){if(!Z){return e}var h=(g===undefined)?Z["fp_"+f]():Z["fp_"+f](g);return h=="undefined"?e:h}});e._fireEvent=function(q){if(typeof q=="string"){q=[q]}var r=q[0];var n=q[1];var l=q[2];var k=q[3];if(a.debug){E(q)}if(!Z&&r=="onLoad"&&n=="player"){Z=Z||B(W);b=Z.clientHeight;L(Q,function(){this._fireEvent("onLoad")});L(U,function(i,s){s._fireEvent("onUpdate")});T._fireEvent("onLoad")}if(r=="onLoad"&&n!="player"){return }if(r=="onError"){if(typeof n=="string"||(typeof n=="number"&&typeof l=="number")){n=l;l=k}}if(r=="onContextMenu"){L(a.contextMenu[n],function(i,p){p.call(e)});return }if(r=="onPluginEvent"){var f=n.name||n;var g=U[f];if(g){g._fireEvent("onUpdate",n);g._fireEvent(l,q.slice(3))}return }if(r=="onPlaylistReplace"){Q=[];var m=0;L(n,function(){Q.push(new I(this,m++,e))})}var o=true;if(typeof n=="number"&&n<Q.length){c=n;var h=Q[n];if(h){o=h._fireEvent(r,l,k)}if(!h||o!==false){o=T._fireEvent(r,l,k,h)}}var j=0;L(O[r],function(){o=this.call(e,n,l);if(this.cached){O[r].splice(j,1)}if(o===false){return false}j++});return o};function d(){if($f(P)){$f(P).getParent().innerHTML="";X=$f(P).getIndex();G[X]=e}else{G.push(e);X=G.length-1}R=parseInt(P.style.height,10)||P.clientHeight;if(typeof V=="string"){V={src:V}}S=P.id||"fp"+F();W=V.id||S+"_api";V.id=W;a.playerId=S;if(typeof a=="string"){a={clip:{url:a}}}if(typeof a.clip=="string"){a.clip={url:a.clip}}a.clip=a.clip||{};if(P.getAttribute("href",2)&&!a.clip.url){a.clip.url=P.getAttribute("href",2)}T=new I(a.clip,-1,e);a.playlist=a.playlist||[a.clip];var f=0;L(a.playlist,function(){var h=this;if(typeof h=="object"&&h.length){h=""+h}if(typeof h=="string"){h={url:h}}L(a.clip,function(i,j){if(a.clip[i]!==undefined&&h[i]===undefined&&typeof j!="function"){h[i]=j}});a.playlist[f]=h;h=new I(h,f,e);Q.push(h);f++});L(a,function(h,i){if(typeof i=="function"){J(O,h,i);delete a[h]}});L(a.plugins,function(h,i){if(i){U[h]=new M(h,i,e)}});if(!a.plugins||a.plugins.controls===undefined){U.controls=new M("controls",null,e)}V.bgcolor=V.bgcolor||"#000000";V.version=V.version||[9,0];V.expressInstall="http://www.flowplayer.org/swf/expressinstall.swf";function g(h){if(!e.isLoaded()&&e._fireEvent("onBeforeClick")!==false){e.load()}return D(h)}Y=P.innerHTML;if(Y.replace(/\s/g,"")!==""){if(P.addEventListener){P.addEventListener("click",g,false)}else{if(P.attachEvent){P.attachEvent("onclick",g)}}}else{if(P.addEventListener){P.addEventListener("click",D,false)}e.load()}}if(typeof P=="string"){flashembed.domReady(function(){var f=B(P);if(!f){throw"Flowplayer cannot access element: "+P}else{P=f;d()}})}else{d()}}var G=[];function C(O){this.length=O.length;this.each=function(P){L(O,P)};this.size=function(){return O.length}}window.flowplayer=window.$f=function(){var P=null;var O=arguments[0];if(!arguments.length){L(G,function(){if(this.isLoaded()){P=this;return false}});return P||G[0]}if(arguments.length==1){if(typeof O=="number"){return G[O]}else{if(O=="*"){return new C(G)}L(G,function(){if(this.id()==O.id||this.id()==O||this.getParent()==O){P=this;return false}});return P}}if(arguments.length>1){var R=arguments[1];var Q=(arguments.length==3)?arguments[2]:{};if(typeof O=="string"){if(O.indexOf(".")!=-1){var T=[];L(N(O),function(){T.push(new H(this,K(R),K(Q)))});return new C(T)}else{var S=B(O);return new H(S!==null?S:O,R,Q)}}else{if(O){return new H(O,R,Q)}}}return null};A(window.$f,{fireEvent:function(){var O=[].slice.call(arguments);var P=$f(O[0]);return P?P._fireEvent(O.slice(1)):null},addPlugin:function(O,P){H.prototype[O]=P;return $f},each:L,extend:A});if(document.all){window.onbeforeunload=function(){$f("*").each(function(){if(this.isLoaded()){this.close()}})}}if(typeof jQuery=="function"){jQuery.prototype.flowplayer=function(Q,P){if(!arguments.length||typeof arguments[0]=="number"){var O=[];this.each(function(){var R=$f(this);if(R){O.push(R)}});return arguments.length?O[arguments[0]]:new C(O)}return this.each(function(){$f(this,K(Q),P?K(P):{})})}}})();(function(){var F=typeof jQuery=="function";function I(){if(D.done){return false}var K=document;if(K&&K.getElementsByTagName&&K.getElementById&&K.body){clearInterval(D.timer);D.timer=null;for(var J=0;J<D.ready.length;J++){D.ready[J].call()}D.ready=null;D.done=true}}var D=F?jQuery:function(J){if(D.done){return J()}if(D.timer){D.ready.push(J)}else{D.ready=[J];D.timer=setInterval(I,13)}};function C(K,J){if(J){for(key in J){if(J.hasOwnProperty(key)){K[key]=J[key]}}}return K}function A(J){switch(H(J)){case"string":J=J.replace(new RegExp('(["\\\\])',"g"),"\\$1");J=J.replace(/^\s?(\d+)%/,"$1pct");return'"'+J+'"';case"array":return"["+B(J,function(M){return A(M)}).join(",")+"]";case"function":return'"function()"';case"object":var K=[];for(var L in J){if(J.hasOwnProperty(L)){K.push('"'+L+'":'+A(J[L]))}}return"{"+K.join(",")+"}"}return String(J).replace(/\s/g," ").replace(/\'/g,'"')}function H(K){if(K===null||K===undefined){return false}var J=typeof K;return(J=="object"&&K.push)?"array":J}if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function B(J,M){var K=[];for(var L in J){if(J.hasOwnProperty(L)){K[L]=M(J[L])}}return K}function G(O,Q){var P=document.all;var L='<object width="'+O.width+'" height="'+O.height+'"';if(P&&!O.id){O.id="_"+(""+Math.random()).substring(9)}if(O.id){L+=' id="'+O.id+'"'}if(O.w3c||!P){L+=' data="'+O.src+'" type="application/x-shockwave-flash"'}else{L+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}L+=">";if(O.w3c||P){L+='<param name="movie" value="'+O.src+'" />'}var N=C({},O);N.width=N.height=N.id=N.w3c=N.src=null;for(var J in N){if(N[J]!==null){L+='<param name="'+J+'" value="'+N[J]+'" />'}}var M="";if(Q){for(var K in Q){if(Q[K]!==null){M+=K+"="+(typeof Q[K]=="object"?A(Q[K]):Q[K])+"&"}}M=M.substring(0,M.length-1);L+='<param name="flashvars" value=\''+M+"' />"}L+="</object>";return L}function E(K,O,N){var J=flashembed.getVersion();C(this,{getContainer:function(){return K},getConf:function(){return conf},getVersion:function(){return J},getFlashvars:function(){return N},getApi:function(){return K.firstChild},getHTML:function(){return G(O,N)}});var Q=O.version;var P=O.expressInstall;var M=!Q||flashembed.isSupported(Q);if(M){O.onFail=O.version=O.expressInstall=null;K.innerHTML=G(O,N)}else{if(Q&&P&&flashembed.isSupported([6,65])){C(O,{src:P});N={MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title};K.innerHTML=G(O,N)}else{if(K.innerHTML.replace(/\s/g,"")!==""){}else{K.innerHTML="<h2>Flash version "+Q+" or greater is required</h2><h3>"+(J[0]>0?"Your version is "+J:"You have no flash plugin installed")+"</h3>"+(K.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='http://www.adobe.com/go/getflashplayer'>here</a></p>");if(K.tagName=="A"){K.href="http://www.adobe.com/go/getflashplayer"}}}}if(!M&&O.onFail){var L=O.onFail.call(this);if(typeof L=="string"){K.innerHTML=L}}}window.flashembed=function(J,K,N){if(typeof J=="string"){var L=document.getElementById(J);if(L){J=L}else{D(function(){flashembed(J,K,N)});return }}if(!J){return }var M={width:"100%",height:"100%",allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:null,onFail:null,expressInstall:null,w3c:false};if(typeof K=="string"){K={src:K}}C(M,K);return new E(J,M,N)};C(window.flashembed,{getVersion:function(){var L=[0,0];if(navigator.plugins&&typeof navigator.plugins["Shockwave Flash"]=="object"){var K=navigator.plugins["Shockwave Flash"].description;if(typeof K!="undefined"){K=K.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var M=parseInt(K.replace(/^(.*)\..*$/,"$1"),10);var Q=/r/.test(K)?parseInt(K.replace(/^.*r(.*)$/,"$1"),10):0;L=[M,Q]}}else{if(window.ActiveXObject){try{var O=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(P){try{O=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");L=[6,0];O.AllowScriptAccess="always"}catch(J){if(L[0]==6){return }}try{O=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(N){}}if(typeof O=="object"){K=O.GetVariable("$version");if(typeof K!="undefined"){K=K.replace(/^\S+\s+(.*)$/,"$1").split(",");L=[parseInt(K[0],10),parseInt(K[2],10)]}}}}return L},isSupported:function(J){var L=flashembed.getVersion();var K=(L[0]>J[0])||(L[0]==J[0]&&L[1]>=J[1]);return K},domReady:D,asString:A,getHTML:G});if(F){jQuery.prototype.flashembed=function(J,K){return this.each(function(){flashembed(this,J,K)})}}})();flp_galeria_videos=Class.create();flp_galeria_videos.prototype={initialize:function(A,B,C){this.idModulo=A;this.width=B;this.height=C;this.modo="video";this.flplay=$f("flp_player_"+A,"/vVideos/flowplayer-3.0.7.swf",{clip:{autoBuffering:false,autoPlay:false},plugins:{myContent:{url:"/vVideos/flowplayer.content-3.0.2.swf",stylesheet:"/css3/flowplayer.content.css",padding:0,top:0,left:0,backgroundColor:"#000000",borderRadius:0,height:C,width:B}}});this.flplay.onStart(function(){var D=this.getPlugin("myContent");D.hide()});this.flplay.onLoad(function(){this.inicio()}.bind(this))},inicio:function(){if($("modulo_tipo_"+this.idModulo+"_1").innerHTML=="video"){this.modo="imagen";this.ponerImagen_Video(1)}else{this.modo="video";this.ponerImagen(1)}},ponerImagen:function(D){var A=$("modulo_imagen_"+this.idModulo+"_"+D).src;var C="<img src='"+A+"' width='"+this.width+"' height='"+this.height+"' vspace='0' hspace='0' />";var B=this.flplay.getPlugin("myContent");if(this.modo=="video"){this.flplay.getControls().hide();this.flplay.getPlugin("play").hide();B.animate({height:"300",opacity:1})}B.setHtml(C);B.show();this.modo="imagen";$("gal_titulo_"+this.idModulo).update($("modulo_titulo_"+this.idModulo+"_"+D).innerHTML);$("gal_texto_"+this.idModulo).update($("modulo_texto_"+this.idModulo+"_"+D).innerHTML)},ponerImagen_Video:function(D){var A=$("modulo_imagen_"+this.idModulo+"_"+D).src;var C="<img src='"+A+"' width='"+this.width+"' height='"+(this.height-25)+"' vspace='0' hspace='0' />";var B=this.flplay.getPlugin("myContent");if(this.modo=="imagen"){B.animate({height:this.height-25,opacity:1});this.flplay.getControls().show();this.flplay.getPlugin("play").show()}B.setHtml(C);B.show();this.modo="video";$("gal_titulo_"+this.idModulo).update($("modulo_titulo_"+this.idModulo+"_"+D).innerHTML);$("gal_texto_"+this.idModulo).update($("modulo_texto_"+this.idModulo+"_"+D).innerHTML)},startVideo:function(B){var A=this.flplay.getPlugin("myContent");A.hide();this.flplay.play(B)}};if(typeof Prototype=="undefined"||!Prototype.Version.match("1.6")){throw ("Prototype-UI library require Prototype library >= 1.6.0")}if(Prototype.Browser.WebKit){Prototype.Browser.WebKitVersion=parseFloat(navigator.userAgent.match(/AppleWebKit\/([\d\.\+]*)/)[1]);Prototype.Browser.Safari2=(Prototype.Browser.WebKitVersion<420)}if(Prototype.Browser.IE){Prototype.Browser.IEVersion=parseFloat(navigator.appVersion.split(";")[1].strip().split(" ")[1]);Prototype.Browser.IE6=Prototype.Browser.IEVersion==6;Prototype.Browser.IE7=Prototype.Browser.IEVersion==7}Prototype.falseFunction=function(){return false};Prototype.trueFunction=function(){return true};var UI={Abstract:{},Ajax:{}};Object.extend(Class.Methods,{extend:Object.extend.methodize(),addMethods:Class.Methods.addMethods.wrap(function(B,A){if(!A){return this}if(!A.hasOwnProperty("methodsAdded")){return B(A)}var C=A.methodsAdded;delete A.methodsAdded;B(A);C.call(A,this);A.methodsAdded=C;return this}),addMethod:function(B,C){var A={};A[B]=C;return this.addMethods(A)},method:function(A){return this.prototype[A].valueOf()},classMethod:function(){$A(arguments).flatten().each(function(A){this[A]=(function(){return this[A].apply(this,arguments)}).bind(this.prototype)},this);return this},undefMethod:function(A){this.prototype[A]=undefined;return this},removeMethod:function(A){delete this.prototype[A];return this},aliasMethod:function(A,B){this.prototype[A]=this.prototype[B];return this},aliasMethodChain:function(B,A){A=A.camelcase();this.aliasMethod(B+"Without"+A,B);this.aliasMethod(B,B+"With"+A);return this}});Object.extend(Number.prototype,{snap:function(A){return parseInt(A==1?this:(this/A).floor()*A)}});Object.extend(String.prototype,{camelcase:function(){var A=this.dasherize().camelize();return A.charAt(0).toUpperCase()+A.slice(1)},makeElement:function(){var A=new Element("div");A.innerHTML=this;return A.down()}});Object.extend(Array.prototype,{empty:function(){return !this.length},extractOptions:function(){return this.last().constructor===Object?this.pop():{}},removeAt:function(A){var B=this[A];this.splice(A,1);return B},remove:function(B){var A;while((A=this.indexOf(B))!=-1){this.removeAt(A)}return B},insert:function(B){var A=$A(arguments);A.shift();this.splice.apply(this,[B,0].concat(A));return this}});Element.addMethods({getScrollDimensions:function(A){return{width:A.scrollWidth,height:A.scrollHeight}},getScrollOffset:function(A){return Element._returnOffset(A.scrollLeft,A.scrollTop)},setScrollOffset:function(A,B){A=$(A);if(arguments.length==3){B={left:B,top:arguments[2]}}A.scrollLeft=B.left;A.scrollTop=B.top;return A},getNumStyle:function(A,B){var C=parseFloat($(A).getStyle(B));return isNaN(C)?null:C},appendText:function(A,B){A=$(A);B=String.interpret(B);A.appendChild(document.createTextNode(B));return A}});document.whenReady=function(A){if(document.loaded){A.call(document)}else{document.observe("dom:loaded",A)}};Object.extend(document.viewport,{getScrollOffset:document.viewport.getScrollOffsets,setScrollOffset:function(A){Element.setScrollOffset(Prototype.Browser.WebKit?document.body:document.documentElement,A)},getScrollDimensions:function(){return Element.getScrollDimensions(Prototype.Browser.WebKit?document.body:document.documentElement)}});(function(){UI.Options={methodsAdded:function(B){B.classMethod($w(" setOptions allOptions optionsGetter optionsSetter optionsAccessor "))},setOptions:function(B){if(!this.hasOwnProperty("options")){this.options=this.allOptions()}this.options=Object.extend(this.options,B||{})},allOptions:function(){var C=this.constructor.superclass,B=C&&C.prototype;return(B&&B.allOptions)?Object.extend(B.allOptions(),this.options):Object.clone(this.options)},optionsGetter:function(){A(this,arguments,false)},optionsSetter:function(){A(this,arguments,true)},optionsAccessor:function(){this.optionsGetter.apply(this,arguments);this.optionsSetter.apply(this,arguments)}};function A(C,D,B){D=$A(D).flatten();if(D.empty()){D=Object.keys(C.allOptions())}D.each(function(E){var F=(B?"set":"get")+E.camelcase();C[F]=C[F]||(B?function(G){return this.options[E]=G}:function(){return this.options[E]})})}})();UI.Carousel=Class.create(UI.Options,{options:{direction:"horizontal",previousButton:".previous_button",nextButton:".next_button",container:".container",scrollInc:"auto",disabledButtonSuffix:"_disabled",overButtonSuffix:"_over"},initialize:function(A,B){this.setOptions(B);this.element=$(A);this.id=this.element.id;this.container=this.element.down(this.options.container).firstDescendant();this.elements=this.container.childElements();this.previousButton=this.options.previousButton==false?null:this.element.down(this.options.previousButton);this.nextButton=this.options.nextButton==false?null:this.element.down(this.options.nextButton);this.posAttribute=(this.options.direction=="horizontal"?"left":"top");this.dimAttribute=(this.options.direction=="horizontal"?"width":"height");this.elementSize=this.computeElementSize();this.nbVisible=this.currentSize()/this.elementSize;var C=this.options.scrollInc;if(C=="auto"){C=Math.floor(this.nbVisible)}[this.previousButton,this.nextButton].each(function(E){if(!E){return }var D=(E==this.nextButton?"next_button":"previous_button")+this.options.overButtonSuffix;E.clickHandler=this.scroll.bind(this,(E==this.nextButton?-1:1)*C*this.elementSize);E.observe("click",E.clickHandler).observe("mouseover",function(){E.addClassName(D)}.bind(this)).observe("mouseout",function(){E.removeClassName(D)}.bind(this))},this);this.updateButtons()},destroy:function($super){[this.previousButton,this.nextButton].each(function(A){if(!A){return }A.stopObserving("click",A.clickHandler)},this);this.element.remove();this.fire("destroyed")},fire:function(B,A){A=A||{};A.carousel=this;return this.element.fire("carousel:"+B,A)},observe:function(A,B){this.element.observe("carousel:"+A,B.bind(this));return this},stopObserving:function(A,B){this.element.stopObserving("carousel:"+A,B);return this},checkScroll:function(A,D){if(A>0){A=0}else{var B=this.elements.last().positionedOffset()[this.posAttribute]+this.elementSize;var C=this.currentSize();if(A+B<C){A+=C-(A+B)}A=Math.min(A,0)}if(D){this.container.style[this.posAttribute]=A+"px"}return A},scroll:function(B){if(this.animating){return this}var A=this.currentPosition()+B;A=this.checkScroll(A,false);B=A-this.currentPosition();if(B!=0){this.animating=true;this.fire("scroll:started");var C=this;this.container.morph("opacity:0.5",{duration:0.2,afterFinish:function(){C.container.morph(C.posAttribute+": "+A+"px",{duration:0.4,delay:0.2,afterFinish:function(){C.container.morph("opacity:1",{duration:0.2,afterFinish:function(){C.animating=false;C.updateButtons().fire("scroll:ended",{shift:B/C.currentSize()})}})}})}})}return this},scrollTo:function(A){if(this.animating||A<0||A>this.elements.length||A==this.currentIndex()||isNaN(parseInt(A))){return this}return this.scroll((this.currentIndex()-A)*this.elementSize)},updateButtons:function(){this.updatePreviousButton();this.updateNextButton();return this},updatePreviousButton:function(){var A=this.currentPosition();var B="previous_button"+this.options.disabledButtonSuffix;if(this.previousButton.hasClassName(B)&&A!=0){this.previousButton.removeClassName(B);this.fire("previousButton:enabled")}if(!this.previousButton.hasClassName(B)&&A==0){this.previousButton.addClassName(B);this.fire("previousButton:disabled")}},updateNextButton:function(){var C=this.currentLastPosition();var A=this.currentSize();var B="next_button"+this.options.disabledButtonSuffix;if(this.nextButton.hasClassName(B)&&C!=A){this.nextButton.removeClassName(B);this.fire("nextButton:enabled")}if(!this.nextButton.hasClassName(B)&&C==A){this.nextButton.addClassName(B);this.fire("nextButton:disabled")}},computeElementSize:function(){return this.elements.first().getDimensions()[this.dimAttribute]},currentIndex:function(){return -this.currentPosition()/this.elementSize},currentLastPosition:function(){if(this.container.childElements().empty()){return 0}return this.currentPosition()+this.elements.last().positionedOffset()[this.posAttribute]+this.elementSize},currentPosition:function(){return this.container.getNumStyle(this.posAttribute)},currentSize:function(){return this.container.parentNode.getDimensions()[this.dimAttribute]},updateSize:function(){this.nbVisible=this.currentSize()/this.elementSize;var A=this.options.scrollInc;if(A=="auto"){A=Math.floor(this.nbVisible)}[this.previousButton,this.nextButton].each(function(B){if(!B){return }B.stopObserving("click",B.clickHandler);B.clickHandler=this.scroll.bind(this,(B==this.nextButton?-1:1)*A*this.elementSize);B.observe("click",B.clickHandler)},this);this.checkScroll(this.currentPosition(),true);this.updateButtons().fire("sizeUpdated");return this}});UI.Ajax.Carousel=Class.create(UI.Carousel,{options:{elementSize:-1,url:null},initialize:function($super,A,B){if(!B.url){throw ("url option is required for UI.Ajax.Carousel")}if(!B.elementSize){throw ("elementSize option is required for UI.Ajax.Carousel")}$super(A,B);this.endIndex=0;this.hasMore=true;this.updateHandler=this.update.bind(this);this.updateAndScrollHandler=function(D,E,C){this.update(E,C);this.scroll(D)}.bind(this);this.runRequest.bind(this).defer({parameters:{from:0,to:Math.ceil(this.nbVisible)-1},onSuccess:this.updateHandler})},runRequest:function(A){this.requestRunning=true;new Ajax.Request(this.options.url,Object.extend({method:"GET"},A));this.fire("request:started");return this},scroll:function($super,A){if(this.animating||this.requestRunning){return this}var B=(-A)/this.elementSize;if(this.hasMore&&B>0&&this.currentIndex()+this.nbVisible+B-1>this.endIndex){var D=this.endIndex+1;var C=Math.ceil(D+this.nbVisible-1);this.runRequest({parameters:{from:D,to:C},onSuccess:this.updateAndScrollHandler.curry(A).bind(this)});return this}else{$super(A)}},update:function(B,A){this.requestRunning=false;this.fire("request:ended");if(!A){A=B.responseJSON}this.hasMore=A.more;this.endIndex=Math.max(this.endIndex,A.to);this.elements=this.container.insert({bottom:A.html}).childElements();return this.updateButtons()},computeElementSize:function(){return this.options.elementSize},updateSize:function($super){var B=this.nbVisible;$super();if(Math.floor(this.nbVisible)-Math.floor(B)>=1&&this.hasMore){if(this.currentIndex()+Math.floor(this.nbVisible)>=this.endIndex){var A=Math.floor(this.currentIndex()+Math.floor(this.nbVisible)-this.endIndex);this.runRequest({parameters:{from:this.endIndex+1,to:this.endIndex+A},onSuccess:this.updateHandler})}}return this},updateNextButton:function($super){var C=this.currentLastPosition();var A=this.currentSize();var B="next_button"+this.options.disabledButtonSuffix;if(this.nextButton.hasClassName(B)&&C!=A){this.nextButton.removeClassName(B);this.fire("nextButton:enabled")}if(!this.nextButton.hasClassName(B)&&C==A&&!this.hasMore){this.nextButton.addClassName(B);this.fire("nextButton:disabled")}}});galeria=Class.create();galeria.prototype={initialize:function(B,A,C,D){this.idModulo=B;this.numeroTotal=A;this.posInicial=C;this.posFinal=D;this.posOcultar=C;if(D>0&&C+1>A){this.posMostrar=C}else{this.posMostrar=C+1}},efecto_Avanzar:function(D,B,C,A){nombreCajaOcultar="caja_"+this.idModulo+"_"+D;nombreCajaMostrar="caja_"+this.idModulo+"_"+C;new Effect.Fade(nombreCajaOcultar,{duration:0});new Effect.Appear(nombreCajaMostrar,{duration:1})},avanzar:function(){if(this.posMostrar<=this.numeroTotal){this.efecto_Avanzar(this.posOcultar,"top-left",this.posMostrar,"top-left");this.posOcultar++;this.posMostrar++}},retroceder:function(){if(this.posOcultar>this.posInicial){this.posOcultar--;this.posMostrar--;this.efecto_Avanzar(this.posMostrar,"top-left",this.posOcultar,"top-left")}},avanzar_horizontal:function(D){if(this.posFinal>0){if(this.posMostrar<=this.numeroTotal){var C="caja_"+this.idModulo+"_"+this.posMostrar;var B="contenedor_galeria_"+this.idModulo;$(B).setStyle({overflow:"hidden",height:D[this.posMostrar-1]+"px"});this.efecto_Avanzar(this.posOcultar,"bottom-left",this.posMostrar,"top-left");if(this.posMostrar==(this.posInicial+1)){var A="retroceder_"+this.idModulo;$(A).show()}this.posOcultar++;this.posMostrar++}}else{if(this.posMostrar>=this.numeroTotal+1){this.posMostrar=1}C="caja_"+this.idModulo+"_"+this.posMostrar;B="contenedor_galeria_"+this.idModulo;$(B).setStyle({overflow:"hidden",height:D[this.posMostrar-1]+"px"});this.efecto_Avanzar(this.posOcultar,"bottom-left",this.posMostrar,"top-left");this.posOcultar=this.posMostrar;if(this.posOcultar==this.numeroTotal){this.posMostrar=1}else{this.posMostrar++}}},retroceder_horizontal:function(C){if(this.posFinal>0){if(this.posOcultar>this.posInicial){this.posOcultar--;this.posMostrar--;nombreCajaMostrar="caja_"+this.idModulo+"_"+this.posMostrar;contenedorGaleria="contenedor_galeria_"+this.idModulo;$(contenedorGaleria).setStyle({overflow:"hidden",height:C[this.posMostrar-1]+"px"});this.efecto_Avanzar(this.posMostrar,"top-left",this.posOcultar,"top-left");if(this.posMostrar==(this.posInicial+1)){var A="retroceder_"+this.idModulo;$(A).hide()}if(this.posMostrar==this.numeroTotal){var B="avanzar_"+this.idModulo;$(B).show()}}}else{if(this.posOcultar==1){this.posMostrar=this.numeroTotal}else{this.posMostrar=this.posOcultar-1}nombreCajaMostrar="caja_"+this.idModulo+"_"+this.posMostrar;contenedorGaleria="contenedor_galeria_"+this.idModulo;$(contenedorGaleria).setStyle({overflow:"hidden",height:C[this.posMostrar-1]+"px"});this.efecto_Avanzar(this.posOcultar,"top-left",this.posMostrar,"top-left");this.posOcultar=this.posMostrar;if(this.posOcultar==this.numeroTotal){this.posMostrar=1}else{this.posMostrar=this.posOcultar+1}}},mostrar:function(A){nombreCajaMostrar="caja_"+this.idModulo+"_"+A;new Effect.Grow(nombreCajaMostrar,{direction:"top-right"})},ocultar:function(A){nombreCajaOcultar="caja_"+this.idModulo+"_"+A;new Effect.Shrink(nombreCajaOcultar,{direction:"top-right"})},eliminar:function(A){nombreEliminar="caja_"+this.idModulo+"_"+A;Element.hide(nombreEliminar)}};function getCookie(C){var D=document.cookie.indexOf(C+"=");var A=D+C.length+1;if((!D)&&(C!=document.cookie.substring(0,C.length))){return null}if(D==-1){return null}var B=document.cookie.indexOf(";",A);if(B==-1){B=document.cookie.length}return unescape(document.cookie.substring(A,B))}function setCookie(C,E,D,G,A,H){var B=new Date();B.setTime(B.getTime());if(D){D=D*1000*60*60*24}var F=new Date(B.getTime()+(D));document.cookie=C+"="+escape(E)+((D)?";expires="+F.toGMTString():"")+((G)?";path="+G:"")+((A)?";domain="+A:"")+((H)?";secure":"")}function deleteCookie(B,C,A){if(getCookie(B)){document.cookie=B+"="+((C)?";path="+C:"")+((A)?";domain="+A:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"}};var idDivSondeo;function LeerSondeo(D,B){var C="";idDivSondeo=D;var A=new Ajax.Updater(D,B,{method:"get",parameters:C})}function escribirRespuesta_Sondeos(A){$(idDivSondeo).innerHTML=A.responseText}function enviarDatos(I,K,D,G){var J=-1;var E="/sondeos/index.php";var C;var H=document.forms[D][G].length;if(isNaN(H)){if(document.forms[D][G].checked){J=document.forms[D][G].value}}for(C=0;C<H;C++){if(document.forms[D][G][C].checked){J=document.forms[D][G][C].value}}if(J==-1){alert("Selecciona una opcion");return false}var B="poll_id="+I;B+="&poll_ident="+I;B+="&action=vote";B+="&option_id="+J;var A=K;var F=new Ajax.Updater(A,E,{method:"get",parameters:B});return false}function enviarDatos_Titulo(I,K,D,G){var J=-1;var E="/sondeos/index_Titulo.php";var C;var H=document.forms[D][G].length;if(isNaN(H)){if(document.forms[D][G].checked){J=document.forms[D][G].value}}for(C=0;C<H;C++){if(document.forms[D][G][C].checked){J=document.forms[D][G][C].value}}if(J==-1){alert("Selecciona una opcion");return false}var B="poll_id="+I;B+="&poll_ident="+I;B+="&action=vote";B+="&option_id="+J;var A=K;var F=new Ajax.Updater(A,E,{method:"get",parameters:B});return false}function verResultados(C,E){var B="/sondeos/index.php";var D="poll_id="+C;D+="&poll_ident="+C;D+="&action=results";var F=E;var A=new Ajax.Updater(F,B,{method:"get",parameters:D});return false}function verResultados_Completo(C,E){var B="/sondeos/index_Completo.php";var D="poll_id="+C;D+="&poll_ident="+C;D+="&action=results";var F=E;var A=new Ajax.Updater(F,B,{method:"get",parameters:D});return false}function verResultados_Titulo(C,E){var B="/sondeos/index_Titulo.php";var D="poll_id="+C;D+="&poll_ident="+C;D+="&action=results";var F=E;var A=new Ajax.Updater(F,B,{method:"get",parameters:D});return false};masNoticias=Class.create();masNoticias.prototype={initialize:function(B,A){this.idDivMostrar=B;this.idDivTagMostrar=A},ocultar:function(A){Element.hide(A)},mostrar:function(A,B){Element.hide(this.idDivMostrar);Element.removeClassName(this.idDivTagMostrar,"select");Element.show(B);Element.addClassName(A,"select");this.idDivMostrar=B;this.idDivTagMostrar=A}};galeria_fotos_thumbnails=Class.create();galeria_fotos_thumbnails.prototype={initialize:function(A,B,C){this.idModulo=A;this.width=B;this.height=C;this.posicion=0;Element.hide("modulo_galeria_thumbnails_"+this.idModulo+"_1");this.height=$("modulo_galeria_thumbnails_contenedor_"+this.idModulo).clientHeight+5;$("modulo_galeria_thumbnails_contenedor_"+this.idModulo).setStyle({overflow:"hidden",height:"325px"})},ponerImagen:function(A){new Effect.Fade("modulo_galeria_thumbnails_"+this.idModulo+"_"+this.posicion,{duration:0});if(this.posicion==0){this.posicion=1}else{this.posicion=0}$("gal_imagen_href_"+this.idModulo+"_"+this.posicion).href=$("modulo_link_"+this.idModulo+"_"+A).href;$("gal_imagen_"+this.idModulo+"_"+this.posicion).src=$("modulo_imagen_"+this.idModulo+"_"+A).src;$("gal_titulo_"+this.idModulo+"_"+this.posicion).update($("modulo_titulo_"+this.idModulo+"_"+A).innerHTML);$("gal_texto_"+this.idModulo+"_"+this.posicion).update($("modulo_texto_"+this.idModulo+"_"+A).innerHTML);new Effect.Appear("modulo_galeria_thumbnails_"+this.idModulo+"_"+this.posicion,{duration:1})}};ValoracionSlider=Class.create({id:null,parametros:null,slider:null,positivos:null,negativos:null,neutrales:null,puntos:null,nota:null,total:null,slider_value:6,actual_vote:-1,new_vote:null,signo:null,average:null,options:null,show:null,show_onSlide:null,showLast:null,update:null,slide:null,change:null,vote:null,getLast:null,receive:null,receiveLast:null,toggle:null,handles:null,cookie:null,urls:null,options:null,initSlider:function(){if(getCookie(this.cookie)){this.actual_vote=parseInt(getCookie(this.cookie));this.slider_value=this.actual_vote+1;if(this.actual_vote>5){this.signo="+"}else{if(this.actual_vote<5){this.signo="-"}else{this.signo="="}}}this.slider=new Control.Slider(this.handles.slider,this.handles.slider_track,{range:$R(1,11),values:[1,2,3,4,5,6,7,8,9,10,11],sliderValue:this.slider_value,onSlide:this.slide.bindAsEventListener(this),onChange:this.change.bindAsEventListener(this)});this.getLast()}});ValoracionSlider_Media_Votos=Class.create(ValoracionSlider,{init:function(C,D,B,A,E){this.parametros=C;this.puntos=parseInt(D);this.total=parseInt(B);this.toggle=this.options.toggle||false;this.urls=this.options.urls||this.urls;this.cookie=this.options.cookie||A+"_puntos_"+E;this.handles=this.options.handles||{result:A+"_puntos_"+E,result_votes:A+"_puntos_votes_"+E,slider:"handle_"+E,slider_track:"track_"+E,texto:"texto_"+E,grVote:"gr_"+A+"_puntos_vote_"+E,grResult:"gr_"+A+"_puntos_result_"+E};this.show=this.options.show||this.show;this.show_onSlide=this.options.show_onSlide||this.show_onSlide;this.showLast=this.options.showLast||this.showLast;this.update=this.options.update||this.update;this.slide=this.options.slide||this.slide;this.change=this.options.change||this.change;this.vote=this.options.vote||this.vote;this.getLast=this.options.getLast||this.getLast;this.receive=this.options.receive||this.receive;this.receiveLast=this.options.receiveLast||this.receiveLast},show:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");if(this.puntos/this.total>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}if(this.total>0){$(this.handles.result).update(Number(this.puntos/this.total).toFixed(1))}else{$(this.handles.result).update("-")}$(this.handles.result_votes).update(Number(this.total).toFixed(0));$(this.handles.texto).update("Ya has votado")},show_onSlide:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");if(Number(this.average)>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}$(this.handles.result).update(Number(this.average).toFixed(1));$(this.handles.result_votes).update(Number(this.total).toFixed(0))},showLast:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");if(this.puntos/this.total>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}if(this.total>0){$(this.handles.result).update(Number(this.puntos/this.total).toFixed(1))}else{$(this.handles.result).update("-")}$(this.handles.result_votes).update(Number(this.total).toFixed(0))},update:function(B){var A;A=parseInt(B);if(this.actual_vote==-1){if(this.total!=0){this.average=(A-1+this.puntos)/(this.total+1)}else{this.average=A-1+this.puntos}}else{if(this.total!=0){this.average=(A-1-this.actual_vote+this.puntos)/this.total}else{this.average=A-1-this.actual_vote+this.puntos}}},slide:function(A){this.update(A);this.show_onSlide()},change:function(A){this.update(A);this.show_onSlide();this.new_vote=parseInt(A)-1;this.vote()},vote:function(){myAjax=new Ajax.Request(this.urls.actualizar,{parameters:Object.extend({actual_vote:this.actual_vote,new_vote:this.new_vote},this.parametros),method:"get",onComplete:this.receive.bind(this)});this.actual_vote=this.new_vote},getLast:function(){myAjax=new Ajax.Request(this.urls.consultar,{parameters:this.parametros,method:"get",onComplete:this.receiveLast.bind(this)})},receive:function(B){var A=B.responseText.split("#");this.puntos=parseInt(A[3]);this.total=parseInt(A[4]);this.actual_vote=parseInt(A[6]);setCookie(this.cookie,this.actual_vote,1,"/","","");if(this.total!=0){this.show()}this.slider.disabled=true;if(this.toggle){Element.hide(this.handles.grVote);Element.show(this.handles.grResult)}},receiveLast:function(B){var A=B.responseText.split("#");this.puntos=parseInt(A[3]);this.total=parseInt(A[4]);this.showLast()},initSlider:function($super){$super();if(getCookie(this.cookie)){this.slider.disabled=true;$(this.handles.texto).update("Ya has votado")}if(this.toggle==true){if(getCookie(this.cookie)){Element.show(this.handles.grResult)}else{Element.show(this.handles.grVote)}}}});var fnVS_N={show_Swap:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");if(this.puntos/this.total>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}if(this.total>0){$(this.handles.result).update(Number(this.puntos/this.total).toFixed(1))}else{$(this.handles.result).update("-")}$(this.handles.result_votes).update(Number(this.total).toFixed(0))}};ValoracionSlider_Noticia=Class.create(ValoracionSlider_Media_Votos,{initialize:function(G,D,E,C){var A="not";var F=G;var B={not_id:G};this.options=C||{};this.urls=this.options.urls||{actualizar:"/noticias-categoria/noticia_puntos_actualizar.php",consultar:"/noticias-categoria/noticia_puntos_consultar.php"};this.init(B,D,E,A,F);this.initSlider()}});ValoracionSlider_Cronica=Class.create(ValoracionSlider_Media_Votos,{initialize:function(G,D,E,C){var A="cronica";var F=G;var B={not_id:G};this.options=C||{};this.urls=this.options.urls||{actualizar:"/cronicas/cronicas_puntos_actualizar.php",consultar:"/cronicas/cronicas_puntos_consultar.php"};this.init(B,D,E,A,F);this.initSlider()}});ValoracionSlider_Segregado=Class.create(ValoracionSlider,{init:function(B,F,E,H,C,D,A,G){this.parametros=B;this.positivos=parseInt(F);this.negativos=parseInt(E);this.neutrales=parseInt(H);this.puntos=parseInt(C);this.total=parseInt(D);this.nota=(D/C);this.toggle=this.options.toggle||false;this.urls=this.options.urls||this.urls;this.cookie=this.options.cookie||A+"_puntos_"+G;this.handles=this.options.handles||{result_positivos:A+"_positivos_"+G,result_negativos:A+"_negativos_"+G,result_neutrales:A+"_neutrales_"+G,result_nota:A+"_nota_"+G,slider:"handle_"+G,slider_track:"track_"+G};this.show=this.options.show||this.show;this.show_onSlide=this.options.show||this.show_onSlide;this.showLast=this.options.showLast||this.showLast;this.update=this.options.update||this.update;this.slide=this.options.slide||this.slide;this.change=this.options.change||this.change;this.vote=this.options.vote||this.vote;this.getLast=this.options.getLast||this.getLast;this.receive=this.options.receive||this.receive;this.receiveLast=this.options.receiveLast||this.receiveLast},show:function(){$(this.handles.result_positivos).update(this.positivos);$(this.handles.result_negativos).update(this.negativos);$(this.handles.result_nota).update(Number(this.nota).toFixed(2))},show_onSlide:function(){$(this.handles.result_positivos).update(this.positivos);$(this.handles.result_negativos).update(this.negativos);$(this.handles.result_nota).update(Number(this.nota).toFixed(2))},showLast:function(){$(this.handles.result_positivos).update(this.positivos);$(this.handles.result_negativos).update(this.negativos);$(this.handles.result_nota).update(Number(this.nota).toFixed(2))},update:function(E){var A;var D;var C;var F;var B;B=parseInt(E);D=0;C=0;F=0;if(this.actual_vote==-1){if(this.total!=0){A=(B-1+this.puntos)/(this.total+1)}else{A=B-1+this.puntos}if(B>6){if(this.signo!="+"){D=1}if(this.signo=="-"){C=-1}if(this.signo=="="){F=-1}this.signo="+"}else{if(B<6){if(this.signo=="+"){D=-1}if(this.signo!="-"){C=1}if(this.signo=="="){F=-1}this.signo="-"}else{if(this.signo=="+"){D=-1}if(this.signo=="-"){C=-1}if(this.signo!="="){F=1}this.signo="="}}}else{if(this.total!=0){A=(B-1-this.actual_vote+this.puntos)/this.total}else{A=B-1-this.actual_vote+this.puntos}if(this.actual_vote>5){if(B>6){if(this.signo!="+"){D=1;if(this.signo=="-"){C=-1}if(this.signo=="="){F=-1}this.signo="+"}}else{if(B<6){if(this.signo!="-"){if(this.signo=="+"){D=-1}C=1;if(this.signo=="="){F=-1}this.signo="-"}}else{if(this.signo!="="){if(this.signo=="+"){D=-1}if(this.signo=="-"){C=-1}F=1;this.signo="="}}}}else{if(this.actual_vote<5){if(B>6){if(this.signo!="+"){D=1;if(this.signo=="-"){C=-1}if(this.signo=="="){F=-1}this.signo="+"}}else{if(B<6){if(this.signo!="-"){if(this.signo=="+"){D=-1}C=1;if(this.signo=="="){F=-1}this.signo="-"}}else{if(this.signo!="="){if(this.signo=="+"){D=-1}if(this.signo=="-"){C=-1}F=1;this.signo="="}}}}else{if(B>6){if(this.signo!="+"){D=1;if(this.signo=="-"){C=-1}if(this.signo=="="){F=-1}this.signo="+"}}else{if(B<6){if(this.signo!="-"){if(this.signo=="+"){D=-1}C=1;if(this.signo=="="){F=-1}this.signo="-"}}else{if(this.signo!="="){if(this.signo=="+"){D=-1}if(this.signo=="-"){C=-1}F=1;this.signo="="}}}}}}this.positivos+=D;this.negativos+=C;this.neutrales+=F;this.nota=A},slide:function(A){this.update(A);this.show_onSlide()},change:function(A){this.update(A);this.new_vote=parseInt(A)-1;this.vote()},vote:function(){myAjax=new Ajax.Request(this.urls.actualizar,{parameters:Object.extend({actual_vote:this.actual_vote,new_vote:this.new_vote},this.parametros),method:"get",onComplete:this.receive.bind(this)});this.actual_vote=this.new_vote},getLast:function(){myAjax=new Ajax.Request(this.urls.consultar,{parameters:this.parametros,method:"get",onComplete:this.receiveLast.bind(this)})},receive:function(B){var A=B.responseText.split("#");this.positivos=parseInt(A[0]);this.negatavos=parseInt(A[1]);this.neutrales=parseInt(A[2]);this.puntos=parseInt(A[3]);this.total=parseInt(A[4]);if(this.total!=0){this.nota=this.puntos/this.total}else{this.nota=this.puntos}this.actual_vote=parseInt(A[6]);setCookie(this.cookie,this.actual_vote,1,"/","","");this.show();this.slider.disabled=true},receiveLast:function(B){var A=B.responseText.split("#");this.positivos=parseInt(A[0]);this.negatavos=parseInt(A[1]);this.neutrales=parseInt(A[2]);this.puntos=parseInt(A[3]);this.total=parseInt(A[4]);if(this.total!=0){this.nota=this.puntos/this.total}else{this.nota=this.puntos}this.showLast()},initSlider:function($super){$super();if(getCookie(this.cookie)){this.slider.disabled=true}}});ValoracionSlider_Entidad=Class.create(ValoracionSlider_Segregado,{initialize:function(C,E,A,B,F,H,G){var J=C;var D="ent";var I={ent_id:C};this.options=G||{};this.urls=this.options.urls||{actualizar:"/entidades-operaciones/entidades_puntos_actualizar.php",consultar:"/entidades-operaciones/entidades_puntos_consultar.php"};this.init(I,E,A,B,F,H,D,J);this.initSlider()}});var fnVS_P={show:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");mediaBayesiana=((this.total)/(this.total+this.m))*(this.puntos/this.total)+((this.m/(this.total+this.m))*this.C);if(mediaBayesiana>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}if(this.total>0){$(this.handles.result).update(Number(mediaBayesiana).toFixed(1))}else{$(this.handles.result).update("-")}$(this.handles.result_votes).update(Number(this.total).toFixed(0));$(this.handles.texto).update("Ya has votado")},show_onSlide:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");mediaBayesiana=((this.total)/(this.total+this.m))*(this.average)+((this.m/(this.total+this.m))*this.C);if(Number(mediaBayesiana)>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}$(this.handles.result).update(Number(mediaBayesiana).toFixed(1));$(this.handles.result_votes).update(Number(this.total).toFixed(0))},showLast:function(){$(this.handles.result).removeClassName("verde");$(this.handles.result).removeClassName("rojo");mediaBayesiana=((this.total)/(this.total+this.m))*(this.puntos/this.total)+((this.m/(this.total+this.m))*this.C);if(mediaBayesiana>=5){$(this.handles.result).addClassName("verde")}else{$(this.handles.result).addClassName("rojo")}if(this.total>0){$(this.handles.result).update(Number(mediaBayesiana).toFixed(1))}else{$(this.handles.result).update("-")}$(this.handles.result_votes).update(Number(this.total).toFixed(0))},receiveLast:function(B){var A=B.responseText.split("#");this.puntos=parseInt(A[3]);this.total=parseInt(A[4]);this.m=parseInt(A[7]);this.C=parseFloat(A[8]);if(this.total>0){this.showLast()}}};Puntos_Pelicula=Class.create(ValoracionSlider_Media_Votos,{initialize:function(G,D,E,C){var A="peli";var F=G;var B={not_id:G};this.options=C||{};this.urls=this.options.urls||{actualizar:"/cartelera/ajax/pelicula_puntos_actualizar.php",consultar:"/cartelera/ajax/pelicula_puntos_consultar.php"};this.init(B,D,E,A,F);this.initSlider()}});Puntos_Pelicula_MB=Class.create(ValoracionSlider_Media_Votos,{initialize:function(B,F,H,E,A,G){var D="peli";var J=B;var I={not_id:B};this.options=G||{};this.m=E;this.C=A;this.urls=this.options.urls||{actualizar:"/cartelera/ajax/pelicula_puntos_actualizar.php",consultar:"/cartelera/ajax/pelicula_puntos_consultar.php"};this.init(I,F,H,D,J);this.initSlider()}});Puntos_Pelicula_MB_No_Slider=Class.create(ValoracionSlider_Media_Votos,{initialize:function(E,G,F,I,D,A,H){var B="peli";var K=E+"_"+G;var J={not_id:G};this.options=H||{};this.m=D;this.C=A;this.urls=this.options.urls||{actualizar:"/cartelera/ajax/pelicula_puntos_actualizar.php",consultar:"/cartelera/ajax/pelicula_puntos_consultar.php"};this.init(J,F,I,B,K);this.getLast()}});ValoracionTriario=Class.create({parametros:null,id_1:null,id_2:null,Positivos:null,Positivos_Porcentaje:null,Negativos:null,Negativos_Porcentaje:null,Neutrales:null,Neutrales_Porcentaje:null,Total:null,new_vote:null,options:null,Voto:null,Voto_Positivo:null,Voto_Negativo:null,Voto_Neutral:null,getLast:null,show:null,showLast:null,receive:null,receiveLast:null,handles:null,cookie:null,urls:null,no_voto:null,voto_negativo:null,voto_neutro:null,voto_positivo:null,img_pos:null,img_neg:null,img_neu:null,init:function(){if(!getCookie(this.cookie)){Element.hide(this.handles.result)}else{Element.hide(this.handles.accion)}this.getLast()}});ValoracionTriario_Sustitucion=Class.create(ValoracionTriario,{init:function(B,A,C){this.no_voto=this.options.no_voto||-1;this.voto_negativo=this.options.no_voto||1;this.voto_neutro=this.options.no_voto||2;this.voto_positivo=this.options.no_voto||3;this.img_pos=this.options.img_pos||'<img src="/imagenes/flecha-verde1.png" />';this.img_neg=this.options.img_neg||'<img src="/imagenes/flecha-roja1.png" />';this.img_neu=this.options.img_neu||'<img src="/imagenes/flecha-neutro1.png" />';this.parametros=B;this.urls=this.options.urls||this.urls;this.cookie=this.options.cookie||A+"_triarias_"+C;this.handles=this.options.handles||{accion:A+"_accion_"+C,result:A+"_resul_"+C,result_positivos:A+"_resul_positivos_"+C,result_positivos_porcentajes:A+"_resul_positivos_porcentajes_"+C,result_neutrales:A+"_resul_neutrales_"+C,result_neutrales_porcentajes:A+"_resul_neutrales_porcentajes_"+C,result_negativos:A+"_resul_negativos_"+C,result_negativos_porcentajes:A+"_resul_negativos_porcentajes_"+C,result_imagen:A+"_imagen_"+C};this.Voto=this.options.Voto||this.Voto;this.Voto_Positivo=this.options.Voto_Positivo||this.Voto_Positivo;this.Voto_Negativo=this.options.Voto_Negativo||this.Voto_Negativo;this.Voto_Neutral=this.options.Voto_Neutral||this.Voto_Neutral;this.getLast=this.options.getLast||this.getLast;this.show=this.options.show||this.show;this.showLast=this.options.showLast||this.showLast;this.receive=this.options.receive||this.receive;this.receiveLast=this.options.receiveLast||this.receiveLast;this.images=this.options.images||{img_pos:this.img_pos,img_neg:this.img_neg,img_neu:this.img_neu};if(!getCookie(this.cookie)){Element.hide(this.handles.result)}else{Element.hide(this.handles.accion)}this.getLast()},Voto:function(A){if(!getCookie(this.cookie)){myAjax=new Ajax.Request(this.urls.actualizar,{parameters:Object.extend({actual_vote:this.no_voto,new_vote:A},this.parametros),method:"get",onComplete:this.receive.bind(this)})}},Voto_Positivo:function(){this.Voto(this.voto_positivo)},Voto_Negativo:function(){this.Voto(this.voto_negativo)},Voto_Neutral:function(){this.Voto(this.voto_neutro)},getLast:function(){myAjax=new Ajax.Request(this.urls.consultar,{parameters:this.parametros,method:"get",onComplete:this.receiveLast.bind(this)})},show:function(){$(this.handles.result_positivos).update(this.Positivos);$(this.handles.result_positivos_porcentajes).update(Number(this.Positivos_Porcentaje).toFixed(2));$(this.handles.result_negativos).update(this.Negativos);$(this.handles.result_negativos_porcentajes).update(Number(this.Negativos_Porcentaje).toFixed(2));if(this.Positivos>this.Negativos){$(this.handles.result_imagen).update(this.images.img_pos)}else{if(this.Positivos<this.Negativos){$(this.handles.result_imagen).update(this.images.img_neg)}else{$(this.handles.result_imagen).update(this.images.img_neu)}}Element.hide(this.handles.accion);Element.show(this.handles.result)},showLast:function(){$(this.handles.result_positivos).update(this.Positivos);$(this.handles.result_positivos_porcentajes).update(Number(this.Positivos_Porcentaje).toFixed(2));$(this.handles.result_negativos).update(this.Negativos);$(this.handles.result_negativos_porcentajes).update(Number(this.Negativos_Porcentaje).toFixed(2));if(this.Positivos>this.Negativos){$(this.handles.result_imagen).update(this.images.img_pos)}else{if(this.Positivos<this.Negativos){$(this.handles.result_imagen).update(this.images.img_neg)}else{$(this.handles.result_imagen).update(this.images.img_neu)}}},receive:function(B){var A=B.responseText.split("#");this.Positivos=parseInt(A[0]);this.Negativos=parseInt(A[1]);this.Neutrales=parseInt(A[2]);this.Total=parseInt(A[3]);this.new_vote=parseInt(A[5]);this.Positivos_Porcentaje=this.Positivos*100/this.Total;this.Negativos_Porcentaje=this.Negativos*100/this.Total;setCookie(this.cookie,this.new_vote,1,"/","","");this.show()},receiveLast:function(B){var A=B.responseText.split("#");this.Positivos=parseInt(A[0]);this.Negativos=parseInt(A[1]);this.Neutrales=parseInt(A[2]);this.Total=parseInt(A[3]);this.Positivos_Porcentaje=this.Positivos*100/this.Total;this.Negativos_Porcentaje=this.Negativos*100/this.Total;this.showLast()},handles:null,cookie:null,urls:null});triarioNoticia=Class.create(ValoracionTriario_Sustitucion,{initialize:function(B,C){var A="not";var E=B;var D={not_id:B};this.options=C||{};this.urls=this.options.urls||{actualizar:"/noticias-categoria/noticia_triarias_actualizar.php",consultar:"/noticias-categoria/noticia_triarias_consultar.php"};this.init(D,A,E)}});triarioNoticiaEntidad=Class.create(ValoracionTriario_Sustitucion,{initialize:function(B,E,C){var A="not_ent";var F=B+"_"+E;var D={not_id:B,ent_id:E};this.options=C||{};this.urls=this.options.urls||{actualizar:"/noticias-categoria/noticia_entidades_triarias_actualizar.php",consultar:"/noticias-categoria/noticia_entidades_triarias_consultar.php"};this.init(D,A,F)}});