
function e(a){return document.getElementById(a);}
(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context);};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this;}
if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1])
selector=jQuery.clean([match[1]],context);else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3])
return jQuery().find(selector);return jQuery(elem);}
selector=[];}}else
return jQuery(context).find(selector);}else if(jQuery.isFunction(selector))
return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(jQuery.makeArray(selector));},jquery:"1.2.6",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret;},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this;},each:function(callback,args){return jQuery.each(this,callback,args);},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this);},attr:function(name,value,type){var options=name;if(name.constructor==String)
if(value===undefined)
return this[0]&&jQuery[type||"attr"](this[0],name);else{options={};options[name]=value;}
return this.each(function(i){for(name in options)
jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name));});},css:function(key,value){if((key=='width'||key=='height')&&parseFloat(value)<0)
value=undefined;return this.attr(key,value,"curCSS");},text:function(text){if(typeof text!="object"&&text!=null)
return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text));var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)
ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return ret;},wrapAll:function(html){if(this[0])
jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)
elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1)
this.appendChild(elem);});},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1)
this.insertBefore(elem,this.firstChild);});},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this);});},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem);});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems);},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0];}else
return this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)
this[expando]=null;});if(events===true)
this.find("*").andSelf().each(function(i){if(this.nodeType==3)
return;var events=jQuery.data(this,"events");for(var type in events)
for(var handler in events[type])
jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i);})||jQuery.multiFilter(selector,this));},not:function(selector){if(selector.constructor==String)
if(isSimple.test(selector))
return this.pushStack(jQuery.multiFilter(selector,this,true));else
selector=jQuery.multiFilter(selector,this);var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector;});},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=='string'?jQuery(selector):jQuery.makeArray(selector))));},is:function(selector){return!!selector&&jQuery.multiFilter(selector,this).length>0;},hasClass:function(selector){return this.is("."+selector);},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0)
return null;for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one)
return value;values.push(value);}}
return values;}else
return(this[0].value||"").replace(/\r/g,"");}
return undefined;}
if(value.constructor==Number)
value+='';return this.each(function(){if(this.nodeType!=1)
return;if(value.constructor==Array&&/radio|checkbox/.test(this.type))
this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0);else if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0);});if(!values.length)
this.selectedIndex=-1;}else
this.value=value;});},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value);},replaceWith:function(value){return this.after(value).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length)
data=jQuery.data(this[0],key);return data===undefined&&parts[1]?this.data(parts[0]):data;}else
return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value);});},removeData:function(key){return this.each(function(){jQuery.removeData(this,key);});},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse)
elems.reverse();}
var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr"))
obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"));var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script"))
scripts=scripts.add(elem);else{if(elem.nodeType==1)
scripts=scripts.add(jQuery("script",elem).remove());callback.call(obj,elem);}});scripts.each(evalScript);});}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src)
jQuery.ajax({url:elem.src,async:false,dataType:"script"});else
jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)
elem.parentNode.removeChild(elem);}
function now(){return+new Date;}
jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2;}
if(typeof target!="object"&&typeof target!="function")
target={};if(length==i){target=this;--i;}
for(;i<length;i++)
if((options=arguments[i])!=null)
for(var name in options){var src=target[name],copy=options[name];if(target===copy)
continue;if(deep&&copy&&typeof copy=="object"&&!copy.nodeType)
target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy);else if(copy!==undefined)
target[name]=copy;}
return target;};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep)
window.jQuery=_jQuery;return jQuery;},isFunction:function(fn){return!!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"");},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body;},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie)
script.text=data;else
script.appendChild(document.createTextNode(data));head.insertBefore(script,head.firstChild);head.removeChild(script);}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase();},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id)
id=elem[expando]=++uuid;if(name&&!jQuery.cache[id])
jQuery.cache[id]={};if(data!==undefined)
jQuery.cache[id][name]=data;return name?jQuery.cache[id][name]:id;},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id])
break;if(!name)
jQuery.removeData(elem);}}else{try{delete elem[expando];}catch(e){if(elem.removeAttribute)
elem.removeAttribute(expando);}
delete jQuery.cache[id];}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object)
if(callback.apply(object[name],args)===false)
break;}else
for(;i<length;)
if(callback.apply(object[i++],args)===false)
break;}else{if(length==undefined){for(name in object)
if(callback.call(object[name],name,object[name])===false)
break;}else
for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}
return object;},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value))
value=value.call(elem,i);return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value;},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className))
elem.className+=(elem.className?" ":"")+className;});},remove:function(elem,classNames){if(elem.nodeType==1)
elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return!jQuery.className.has(classNames,className);}).join(" "):"";},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1;}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name];}
callback.call(elem);for(var name in options)
elem.style[name]=old[name];},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0;});val-=Math.round(padding+border);}
if(jQuery(elem).is(":visible"))
getWH();else
jQuery.swap(elem,props,getWH);return Math.max(0,val);}
return jQuery.curCSS(elem,name,force);},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari)
return false;var ret=defaultView.getComputedStyle(elem,null);return!ret||ret.getPropertyValue("color")=="";}
if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret;}
if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save;}
if(name.match(/float/i))
name=styleFloat;if(!force&&style&&style[name])
ret=style[name];else if(defaultView.getComputedStyle){if(name.match(/float/i))
name="float";name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem))
ret=computedStyle.getPropertyValue(name);else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode)
stack.unshift(a);for(;i<stack.length;i++)
if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block";}
ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++)
if(swap[i]!=null)
stack[i].style.display=swap[i];}
if(name=="opacity"&&ret=="")
ret="1";}else if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase();});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft;}}
return ret;},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=='undefined')
context=context.ownerDocument||context[0]&&context[0].ownerDocument||document;jQuery.each(elems,function(i,elem){if(!elem)
return;if(elem.constructor==Number)
elem+='';if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">";});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--)
div=div.lastChild;if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j)
if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length)
tbody[j].parentNode.removeChild(tbody[j]);if(/^\s/.test(elem))
div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild);}
elem=jQuery.makeArray(div.childNodes);}
if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select")))
return;if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options)
ret.push(elem);else
ret=jQuery.merge(ret,elem);});return ret;},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8)
return undefined;var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari)
elem.parentNode.selectedIndex;if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)
throw"type property can't be changed";elem[name]=value;}
if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name))
return elem.getAttributeNode(name).nodeValue;return elem[name];}
if(msie&&notxml&&name=="style")
return jQuery.attr(elem.style,"cssText",value);if(set)
elem.setAttribute(name,""+value);var attr=msie&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr;}
if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+
(parseInt(value)+''=="NaN"?"":"alpha(opacity="+value*100+")");}
return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+'':"";}
name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase();});if(set)
elem[name]=value;return elem[name];},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"");},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call)
ret[0]=array;else
while(i)
ret[--i]=array[i];}
return ret;},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++)
if(array[i]===elem)
return i;return-1;},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++])
if(elem.nodeType!=8)
first[pos++]=elem;}else
while(elem=second[i++])
first[pos++]=elem;return first;},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i]);}}}catch(e){ret=array;}
return ret;},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++)
if(!inv!=!callback(elems[i],i))
ret.push(elems[i]);return ret;},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null)
ret[ret.length]=value;}
return ret.concat.apply([],ret);}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode;},parents:function(elem){return jQuery.dir(elem,"parentNode");},next:function(elem){return jQuery.nth(elem,2,"nextSibling");},prev:function(elem){return jQuery.nth(elem,2,"previousSibling");},nextAll:function(elem){return jQuery.dir(elem,"nextSibling");},prevAll:function(elem){return jQuery.dir(elem,"previousSibling");},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},children:function(elem){return jQuery.sibling(elem.firstChild);},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string")
ret=jQuery.multiFilter(selector,ret);return this.pushStack(jQuery.unique(ret));};});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++)
jQuery(args[i])[original](this);});};});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1)
this.removeAttribute(name);},addClass:function(classNames){jQuery.className.add(this,classNames);},removeClass:function(classNames){jQuery.className.remove(this,classNames);},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames);},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this);});if(this.parentNode)
this.parentNode.removeChild(this);}},empty:function(){jQuery(">*",this).remove();while(this.firstChild)
this.removeChild(this.firstChild);}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments);};});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px");};});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0;}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2]);},"#":function(a,i,m){return a.getAttribute("id")==m[2];},":":{lt:function(a,i,m){return i<m[3]-0;},gt:function(a,i,m){return i>m[3]-0;},nth:function(a,i,m){return m[3]-0==i;},eq:function(a,i,m){return m[3]-0==i;},first:function(a,i){return i==0;},last:function(a,i,m,r){return i==r.length-1;},even:function(a,i){return i%2==0;},odd:function(a,i){return i%2;},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a;},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a;},"only-child":function(a){return!jQuery.nth(a.parentNode.lastChild,2,"previousSibling");},parent:function(a){return a.firstChild;},empty:function(a){return!a.firstChild;},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0;},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden";},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden";},enabled:function(a){return!a.disabled;},disabled:function(a){return a.disabled;},checked:function(a){return a.checked;},selected:function(a){return a.selected||jQuery.attr(a,"selected");},text:function(a){return"text"==a.type;},radio:function(a){return"radio"==a.type;},checkbox:function(a){return"checkbox"==a.type;},file:function(a){return"file"==a.type;},password:function(a){return"password"==a.type;},submit:function(a){return"submit"==a.type;},image:function(a){return"image"==a.type;},reset:function(a){return"reset"==a.type;},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button");},input:function(a){return/input|select|textarea|button/i.test(a.nodeName);},has:function(a,i,m){return jQuery.find(m[3],a).length;},header:function(a){return/h\d/i.test(a.nodeName);},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length;}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}
return cur;},find:function(t,context){if(typeof t!="string")
return[t];if(context&&context.nodeType!=1&&context.nodeType!=9)
return[];context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)
for(var c=ret[i].firstChild;c;c=c.nextSibling)
if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName))
r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling)
if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id])break;if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~")merge[id]=true;r.push(n);}
if(m=="+")break;}}
ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true;}}
if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0])ret.shift();done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length);}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]];}else{re2=quickClass;m=re2.exec(t);}
m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2])
oid=jQuery('[@id="'+m[2]+'"]',elem)[0];ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[];}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object")
tag="param";r=jQuery.merge(r,ret[i].getElementsByTagName(tag));}
if(m[1]==".")
r=jQuery.classFilter(r,m[2]);if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++)
if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break;}
r=tmp;}
ret=r;}
t=t.replace(re2,"");}}
if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t);}}
if(t)
ret=[];if(ret&&context==ret[0])
ret.shift();done=jQuery.merge(done,ret);return done;},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass)
tmp.push(r[i]);}
return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}
if(!m)
break;if(m[1]==":"&&m[2]=="not")
r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3]);else if(m[1]==".")
r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2]))
z=jQuery.attr(a,m[2])||'';if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not)
tmp.push(a);}
r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling)
if(n.nodeType==1)
n.nodeIndex=c++;merge[id]=true;}
var add=false;if(first==0){if(node.nodeIndex==last)
add=true;}else if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0)
add=true;if(add^not)
tmp.push(node);}
r=tmp;}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object")
fn=fn[m[2]];if(typeof fn=="string")
fn=eval("false||function(a,i){return "+fn+";}");r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r);},not);}}
return{r:r,t:t};},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1)
matched.push(cur);cur=cur[dir];}
return matched;},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir])
if(cur.nodeType==1&&++num==result)
break;return cur;},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem)
r.push(n);}
return r;}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8)
return;if(jQuery.browser.msie&&elem.setInterval)
elem=window;if(!handler.guid)
handler.guid=this.guid++;if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments);});handler.data=data;}
var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered)
return jQuery.event.handle.apply(arguments.callee.elem,arguments);});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener)
elem.addEventListener(type,handle,false);else if(elem.attachEvent)
elem.attachEvent("on"+type,handle);}}
handlers[handler.guid]=handler;jQuery.event.global[type]=true;});elem=null;},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8)
return;var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)=="."))
for(var type in events)
this.remove(elem,type+(types||""));else{if(types.type){handler=types.handler;types=types.type;}
jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler)
delete events[type][handler.guid];else
for(handler in events[type])
if(!parts[1]||events[type][handler].type==parts[1])
delete events[type][handler];for(ret in events[type])break;if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener)
elem.removeEventListener(type,jQuery.data(elem,"handle"),false);else if(elem.detachEvent)
elem.detachEvent("on"+type,jQuery.data(elem,"handle"));}
ret=null;delete events[type];}}});}
for(ret in events)break;if(!ret){var handle=jQuery.data(elem,"handle");if(handle)handle.elem=null;jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle");}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true;}
if(!elem){if(this.global[type])
jQuery("*").add([window,document]).trigger(type,data);}else{if(elem.nodeType==3||elem.nodeType==8)
return undefined;var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true;}
data[0].type=type;if(exclusive)
data[0].exclusive=true;var handle=jQuery.data(elem,"handle");if(handle)
val=handle.apply(elem,data);if((!fn||(jQuery.nodeName(elem,'a')&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false)
val=false;if(event)
data.shift();if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined)
val=ret;}
if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,'a')&&type=="click")){this.triggered=true;try{elem[type]();}catch(e){}}
this.triggered=false;}
return val;},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false)
val=ret;if(ret===false){event.preventDefault();event.stopPropagation();}}}
return val;},fix:function(event){if(event[expando]==true)
return event;var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--)
event[props[i]]=originalEvent[props[i]];event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault)
originalEvent.preventDefault();originalEvent.returnValue=false;};event.stopPropagation=function(){if(originalEvent.stopPropagation)
originalEvent.stopPropagation();originalEvent.cancelBubble=true;};event.timeStamp=event.timeStamp||now();if(!event.target)
event.target=event.srcElement||document;if(event.target.nodeType==3)
event.target=event.target.parentNode;if(!event.relatedTarget&&event.fromElement)
event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement;if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0);}
if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode))
event.which=event.charCode||event.keyCode;if(!event.metaKey&&event.ctrlKey)
event.metaKey=event.ctrlKey;if(!event.which&&event.button)
event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)));return event;},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy;},special:{ready:{setup:function(){bindReady();return;},teardown:function(){return;}},mouseenter:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseenter";return jQuery.event.handle.apply(this,arguments);}},mouseleave:{setup:function(){if(jQuery.browser.msie)return false;jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true;},teardown:function(){if(jQuery.browser.msie)return false;jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true;},handler:function(event){if(withinElement(event,this))return true;event.type="mouseleave";return jQuery.event.handle.apply(this,arguments);}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data);});},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments);});return this.each(function(){jQuery.event.add(this,type,one,fn&&data);});},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn);});},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn);});},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn);},toggle:function(fn){var args=arguments,i=1;while(i<args.length)
jQuery.event.proxy(fn,args[i++]);return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false;}));},hover:function(fnOver,fnOut){return this.bind('mouseenter',fnOver).bind('mouseleave',fnOut);},ready:function(fn){bindReady();if(jQuery.isReady)
fn.call(document,jQuery);else
jQuery.readyList.push(function(){return fn.call(this,jQuery);});return this;}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document);});jQuery.readyList=null;}
jQuery(document).triggerHandler("ready");}}});var readyBound=false;function bindReady(){if(readyBound)return;readyBound=true;if(document.addEventListener&&!jQuery.browser.opera)
document.addEventListener("DOMContentLoaded",jQuery.ready,false);if(jQuery.browser.msie&&window==top)(function(){if(jQuery.isReady)return;try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}
jQuery.ready();})();if(jQuery.browser.opera)
document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady)return;for(var i=0;i<document.styleSheets.length;i++)
if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return;}
jQuery.ready();},false);if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady)return;if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return;}
if(numStyles===undefined)
numStyles=jQuery("style, link[rel=stylesheet]").length;if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return;}
jQuery.ready();})();}
jQuery.event.add(window,"load",jQuery.ready);}
jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,"+"mousedown,mouseup,mousemove,mouseover,mouseout,change,select,"+"submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name);};});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem)try{parent=parent.parentNode;}catch(error){parent=elem;}
return parent==elem;};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind();});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!='string')
return this._load(url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}
callback=callback||function(){};var type="GET";if(params)
if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}
var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified")
self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText);self.each(callback,[res.responseText,status,res]);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}
return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}
return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string")
s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre))
s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))
s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}
if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)
s.data=(s.data+"").replace(jsre,"="+jsonp+"$1");s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}
if(head)
head.removeChild(script);};}
if(s.dataType=="script"&&s.cache==null)
s.cache=false;if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"");}
if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}
if(s.global&&!jQuery.active++)
jQuery.event.trigger("ajaxStart");var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset)
script.charset=s.scriptCharset;if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}
head.appendChild(script);return undefined;}
var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username)
xhr.open(type,s.url,s.async,s.username,s.password);else
xhr.open(type,s.url,s.async);try{if(s.data)
xhr.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)
xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default);}catch(e){}
if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false;}
if(s.global)
jQuery.event.trigger("ajaxSend",[xhr,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}
status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter);}catch(e){status="parsererror";}}
if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified");}catch(e){}
if(s.ifModified&&modRes)
jQuery.lastModified[s.url]=modRes;if(!jsonp)
success();}else
jQuery.handleError(s,xhr,status);complete();if(s.async)
xhr=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)
setTimeout(function(){if(xhr){xhr.abort();if(!requestDone)
onreadystatechange("timeout");}},s.timeout);}
try{xhr.send(s.data);}catch(e){jQuery.handleError(s,xhr,null,e);}
if(!s.async)
onreadystatechange();function success(){if(s.success)
s.success(data,status);if(s.global)
jQuery.event.trigger("ajaxSuccess",[xhr,s]);}
function complete(){if(s.complete)
s.complete(xhr,status);if(s.global)
jQuery.event.trigger("ajaxComplete",[xhr,s]);if(s.global&&!--jQuery.active)
jQuery.event.trigger("ajaxStop");}
return xhr;},handleError:function(s,xhr,status,e){if(s.error)s.error(xhr,status,e);if(s.global)
jQuery.event.trigger("ajaxError",[xhr,s,e]);},active:0,httpSuccess:function(xhr){try{return!xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}
return false;},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined;}catch(e){}
return false;},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror")
throw"parsererror";if(filter)
data=filter(data,type);if(type=="script")
jQuery.globalEval(data);if(type=="json")
data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)
jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else
for(var j in a)
if(a[j]&&a[j].constructor==Array)
jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else
s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none")
this.style.display="block";elem.remove();}}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1)
return false;var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)
return opt.complete.call(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}
if(opt.overflow!=null)
this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))
e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}
if(parts[1])
end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else
e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx";}
if(!type||(typeof type=="string"&&!fn))
return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)
queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)
fn.call(this);}});},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue)
this.queue([]);this.each(function(){for(var i=timers.length-1;i>=0;i--)
if(timers[i].elem==this){if(gotoEnd)
timers[i](true);timers.splice(i,1);}});if(!gotoEnd)
this.dequeue();return this;}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array)
q=jQuery.data(elem,type+"queue",jQuery.makeArray(array));}
return q;};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length)
q[0].call(this);});};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false)
jQuery(this).dequeue();if(jQuery.isFunction(opt.old))
opt.old.call(this);};return opt;},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p;},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum;}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig)
options.orig={};}});jQuery.fx.prototype={update:function(){if(this.options.step)
this.options.step.call(this.elem,this.now,this);(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width")
this.elem.style.display="block";},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null)
return this.elem[this.prop];var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd);}
t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++)
if(!timers[i]())
timers.splice(i--,1);if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null;}},13);}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height")
this.elem.style[this.prop]="1px";jQuery(this.elem).show();},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0);},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)
if(this.options.curAnim[i]!==true)
done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")
this.elem.style.display="block";}
if(this.options.hide)
this.elem.style.display="none";if(this.options.hide||this.options.show)
for(var p in this.options.curAnim)
jQuery.attr(this.elem.style,p,this.options.orig[p]);}
if(done)
this.options.complete.call(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}
return true;}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop);}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2)
border(offsetParent);if(!fixed&&css(offsetParent,"position")=="fixed")
fixed=true;offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent;}
while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display")))
add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&css(parent,"overflow")!="visible")
border(parent);parent=parent.parentNode;}
if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute"))
add(-doc.body.offsetLeft,-doc.body.offsetTop);if(fixed)
add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));}
results={top:top,left:left};}
function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true));}
function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0;}
return results;};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,'marginTop');offset.left-=num(this,'marginLeft');parentOffset.top+=num(offsetParent,'borderTopWidth');parentOffset.left+=num(offsetParent,'borderLeftWidth');results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left};}
return results;},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,'position')=='static'))
offsetParent=offsetParent.offsetParent;return jQuery(offsetParent);}});jQuery.each(['Left','Top'],function(i,name){var method='scroll'+name;jQuery.fn[method]=function(val){if(!this[0])return;return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val;}):this[0]==window||this[0]==document?self[i?'pageYOffset':'pageXOffset']||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method];};});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+
num(this,"padding"+tl)+
num(this,"padding"+br);};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+
num(this,"border"+tl+"Width")+
num(this,"border"+br+"Width")+
(margin?num(this,"margin"+tl)+num(this,"margin"+br):0);};});})();
var s_c;var s_IV;var s_contador=0;var s_total;var s_Txt;var s_Imagen;function s_interval(num){}
function s_Cambio(div){}
function HdDesplegable(){if(jQuery('.Header .Desplegable').css('display')=='none'){if(jQuery(".Desplegable #cabezallivelog").length!=1){jQuery.ajax({type:"POST",url:"/_headerDesplegable.php",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery(".Ancho .Desplegable").append(data);}});}
if(jQuery('div').hasClass('Hd')){jQuery('.Header .Hd').addClass('Abrir');}else if(jQuery('div').hasClass('HdComunidad')){jQuery('.Header .HdComunidad').addClass('Abrir');}
jQuery('.Header .Desplegable').css('display','block');}else{if(jQuery('div').hasClass('Hd')){jQuery('.Header .Hd').removeClass('Abrir');}else if(jQuery('div').hasClass('HdComunidad')){jQuery('.Header .HdComunidad').removeClass('Abrir');}
jQuery('.Header .Desplegable').css('display','none');}}
function hideAll(){jQuery('.Header .SubMenu .SM_Noticias_Over').hide();jQuery('.Header .SubMenu .SM_Noticias_Over .SM_Hom').hide();jQuery('.Header .SubMenu .SM_Noticias_Over .SM_Por').hide();jQuery('.Header .SubMenu .SM_Noticias_Over .SM_Art').hide();jQuery('.Header .SubMenu .SM_Noticias_Over .SM_Blo').hide();jQuery('.Header .SubMenu .SM_Ciudadanos_Over').hide();jQuery('.Header .SubMenu .SM_Ciudadanos_Over .SM_Hom').hide();jQuery('.Header .SubMenu .SM_Ciudadanos_Over .SM_Por').hide();jQuery('.Header .SubMenu .SM_Ciudadanos_Over .SM_Art').hide();jQuery('.Header .SubMenu .SM_Ciudadanos_Over .SM_Blo').hide();jQuery('.Header .SubMenu .SM_Opinion_Over').hide();jQuery('.Header .SubMenu .SM_Opinion_Over .SM_Hom').hide();jQuery('.Header .SubMenu .SM_Opinion_Over .SM_Por').hide();jQuery('.Header .SubMenu .SM_Opinion_Over .SM_Art').hide();jQuery('.Header .SubMenu .SM_Opinion_Over .SM_Blo').hide();jQuery('.Header .SubMenu .SM_MundoD_Over').hide();jQuery('.Header .SubMenu .SM_MundoD_Over .SM_Hom').hide();jQuery('.Header .SubMenu .SM_MundoD_Over .SM_Por').hide();jQuery('.Header .SubMenu .SM_MundoD_Over .SM_Art').hide();jQuery('.Header .SubMenu .SM_MundoD_Over .SM_Blo').hide();jQuery('.Header .SubMenu .SM_Vos_Over').hide();jQuery('.Header .SubMenu .SM_Vos_Over .SM_Hom').hide();jQuery('.Header .SubMenu .SM_Vos_Over .SM_Por').hide();jQuery('.Header .SubMenu .SM_Vos_Over .SM_Art').hide();jQuery('.Header .SubMenu .SM_Vos_Over .SM_Blo').hide();}
function showHom(which){jQuery('.Header .SubMenu .SM_'+which+'_Over').show();jQuery('.Header .SubMenu .SM_'+which+'_Over .SM_Hom').show();}
function showPor(which){jQuery('.Header .SubMenu .SM_'+which+'_Over').show();jQuery('.Header .SubMenu .SM_'+which+'_Over .SM_Por').show();}
function showPorByUrl(){var url=window.location.search.split("=")[1];hideAll();if(jQuery('.Header').hasClass('Usuarios')){jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias').show();jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias .SM_Por').hide();jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias .SM_Hom').show();jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias .SM_Art').hide();jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias_Over').show();jQuery('.Mi_Cuenta .Header .SubMenu .SM_Noticias_Over .SM_Hom').show();}
if(jQuery('.Header').hasClass('opinion')){jQuery('.Portadilla .Header .SubMenu .SM_Opinion_Over').show();jQuery('.Portadilla .Header .SubMenu .SM_Opinion_Over .SM_Por').show();jQuery('.Portadilla .Header .SubMenu .SM_Opinion_Over .SM_Hom').hide();jQuery('.Portadilla .Header .SubMenu .SM_Opinion_Over .SM_Art').hide();jQuery('.Home .Header .SubMenu .SM_Opinion_Over').show();jQuery('.Home .Header .SubMenu .SM_Opinion_Over .SM_Hom').show();}
if(jQuery('.Header').hasClass('Noticias')&&!jQuery('body').hasClass('Servicios')){jQuery('.Portadilla .Header .SubMenu .SM_Noticias').show();jQuery('.Portadilla .Header .SubMenu .SM_Noticias .SM_Por').show();jQuery('.Portadilla .Header .SubMenu .SM_Noticias .SM_Hom').hide();jQuery('.Portadilla .Header .SubMenu .SM_Noticias .SM_Art').hide();jQuery('.Home .Header .SubMenu .SM_Noticias_Over').show();jQuery('.Home .Header .SubMenu .SM_Noticias_Over .SM_Hom').show();}
if(jQuery('.Header').hasClass('Ciudadanos')){jQuery('.Portadilla .Header .SubMenu .SM_Ciudadanos').show();jQuery('.Portadilla .Header .SubMenu .SM_Ciudadanos .SM_Por').show();jQuery('.Portadilla .Header .SubMenu .SM_Ciudadanos .SM_Hom').hide();jQuery('.Portadilla .Header .SubMenu .SM_Ciudadanos .SM_Art').hide();jQuery('.Home .Header .SubMenu .SM_Ciudadanos_Over').show();jQuery('.Home .Header .SubMenu .SM_Ciudadanos_Over .SM_Hom').show();}
if(jQuery('body').hasClass('Servicios')){jQuery('.Home .Header .SubMenu .SM_Servicios').show();}
clearTimeout(interv);}
function HdOvers_Sec(){jQuery('.Sec_Noticias').hover(function(){delay_lvi(2000);hideAll();if(jQuery('.Header').hasClass('Noticias')){jQuery('.Header .SubMenu .SM_Noticias_Over').show();showHom('Noticias');}else{showHom('Noticias');}},function(){interv=setTimeout("showPorByUrl()",6000);});jQuery('.Sec_Ciudadanos').hover(function(){delay_lvi(2000);hideAll();if(jQuery('.Header').hasClass('Ciudadanos')){jQuery('.Header .SubMenu .SM_Ciudadanos_Over').show();showHom('Ciudadanos');}else{showHom('Ciudadanos');}},function(){interv=setTimeout("showPorByUrl()",6000);});jQuery('.Sec_Opinion').hover(function(){delay_lvi(2000);hideAll();if(jQuery('.Header').hasClass('opinion')){jQuery('.Header .SubMenu .SM_Opinion_Over').show();showHom('Opinion');}else{showHom('Opinion');}},function(){interv=setTimeout("showPorByUrl()",6000);});jQuery('.Sec_MundoD').hover(function(){delay_lvi(2000);hideAll();if(jQuery('.Header').hasClass('MundoD')){jQuery('.Header .SubMenu .SM_MundoD_Over').show();}else{showHom('MundoD');}},function(){interv=setTimeout("showPorByUrl()",6000);});jQuery('.Sec_Vos').hover(function(){delay_lvi(2000);hideAll();if(jQuery('.Header').hasClass('Vos')){jQuery('.Header .SubMenu .SM_Vos_Over').show();}else{showHom('Vos');}},function(){interv=setTimeout("showPorByUrl()",6000);});}
function PullDownAbrir(){jQuery('.Header .Bottom .Open, .Header .barra .Open').css('color','#ffffff');jQuery('.Header .Open').css('backgroundColor','');jQuery(this).css('color','#073e8e');jQuery(this).css('backgroundColor','#ffffff');jQuery(this).css('-moz-border-radius','4px 4px 0 0');jQuery(this).css('-webkit-border-radius','4px 4px 0 0');jQuery('.Header .PullDown').css('display','none');jQuery(this).parent().find('.PullDown').css('display','block');}
function PullDownColorIn(){jQuery(this).parent().find('.Open').css('color','#073e8e');jQuery(this).parent().find('.Open').css('backgroundColor','#ffffff');}
function PullDownCerrar(){jQuery('.Header .Bottom .Open, .Header .barra .Open').css('color','#ffffff');jQuery('.Header .Open').css('backgroundColor','');jQuery('.Header .PullDown').css('display','none');}
function PullDownColorOut(){if(jQuery(this).parent().find('.Open').css('color')!='rgb(7, 62, 142)'){jQuery(this).parent().find('.Open').css('color','#ffffff');jQuery(this).parent().find('.Open').css('backgroundColor','');}}
function desplegables(){jQuery('.Header .Open').bind('mouseenter',PullDownAbrir);jQuery('.Header .PullDown').bind('mouseenter',PullDownAbrir);jQuery('.Header .PullDown').bind('mouseenter',PullDownColorIn);jQuery('.Header .Open').bind('mouseleave',PullDownCerrar);jQuery('.Header .PullDown').bind('mouseleave',PullDownCerrar);jQuery('.Header .PullDown').bind('mouseleave',PullDownColorOut);}
function header(){jQuery('div.Hd').each(function(){s_IV=setInterval('s_Cambio()',5000);s_c=0;jQuery('.Hd .Slider').mouseover(function(){s_interval(1);});jQuery('.Hd .Slider').mouseout(function(){s_interval(0);});jQuery('.Hd .Reciente span').mouseover(function(){s_interval(1);});jQuery('.Hd .Reciente span').mouseout(function(){s_interval(0);});jQuery('.Hd .Right .Desplegar').click(HdDesplegable);HdOvers_Sec();});jQuery('div.HdComunidad').each(function(){s_IV=setInterval('s_Cambio()',3500);s_c=0;jQuery('.HdComunidad .Slider').mouseover(function(){s_interval(1);});jQuery('.HdComunidad .Slider').mouseout(function(){s_interval(0);});jQuery('.HdComunidad .Right .Desplegar').click(HdDesplegable);jQuery('.HdComunidad .Open').click(PullDownAbrir);jQuery('.HdComunidad .Close a').click(PullDownCerrar);if(jQuery('.Header.Usuarios').hasClass('SinLoguear')){jQuery('.HdComunidad .Reciente').css('display','block');jQuery('.HdComunidad .Right .Registro').css('display','none');}});}
function delay_lvi(milisegundos)
{for(i=0;i<=milisegundos;i++)
{setTimeout("cambio()",1);}
return milisegundos;}
function cambio()
{}
jQuery(document).ready(function(){jQuery('.Slider .In a').click(function(){var title=jQuery(this).attr('title');var lista=jQuery(this).parent();var posicion=1;lista.children().each(function(){if(jQuery(this).attr('title')==title){jQuery('.Slider .In a.Act').removeClass('Act');jQuery('.Right .Reciente div.Act').removeClass('Act');lista.children('a:nth-child('+posicion+')').addClass('Act');jQuery('.Right .Reciente div:nth-child('+posicion+')').addClass('Act');return false;}
posicion=posicion+1;});return false;});});
var IV;var c;function interval(num){if(num==0){if(c==1){IV=setInterval('Cambio()',3000);c=0;}
IV;}else{clearInterval(IV);c=1;}}
function over(){for(var i=0;i<3;i++){jQuery(this).parent().find('.Nota'+i).removeClass('Act');jQuery(this).parent().parent().find('.ContPh3').find('.Nota'+i).removeClass('Act');}
var k=0;if(this.className=='Nota0'){k=0;}
else if(this.className=='Nota1'){k=1;}
else if(this.className=='Nota2'){k=2;}
jQuery(this).addClass('Act');jQuery(this).parent().parent().find('.ContPh3').find('.Nota'+k).addClass('Act');}
function Cambio(){var n;if(jQuery('.Player .ONotas .Act').hasClass('Nota0')){n=0;}
else if(jQuery('.Player .ONotas .Act').hasClass('Nota1')){n=1;}
else if(jQuery('.Player .ONotas .Act').hasClass('Nota2')){n=2;}
for(var i=0;i<3;i++){jQuery('.Player .ONotas li').removeClass('Act');jQuery('.Player .ContPh3 div').removeClass('Act');}
if(n==0||n==1){n++;}else if(n==2){n=0;}
jQuery('.Player .ONotas .Nota'+n).addClass('Act');jQuery('.Player .ContPh3 .Nota'+n).addClass('Act');}
function Player(){jQuery('div.Player').each(function(){jQuery('.Player .ONotas li').mouseover(over);});}
function over_MP(){jQuery(this).parent().children('li').removeClass('Act');jQuery(this).parent().parent().find('.Foto').removeClass('Act');var k;if(this.className=='Nota0'){k=0;}
else if(this.className=='Nota1'){k=1;}
jQuery(this).addClass('Act');jQuery(this).parent().parent().find('.Nota'+k).addClass('Act');}
function miniPlayer(){}
var IV_Esp;var d;function interval_especiales(num){if(num==0){if(d==1){IV_Esp=setInterval('Cambio_especiales()',3000);d=0;}
IV_Esp;}else{clearInterval(IV_Esp);d=1;}}
function over_especiales(){interval_especiales(1);for(var i=0;i<5;i++){jQuery(this).parent().find('.Nota'+i).removeClass('Act');jQuery(this).parent().parent().find('.img_Gde').find('.Nota'+i).removeClass('Act');}
var k=0;if(this.className=='Nota0'){k=0;}
else if(this.className=='Nota1'){k=1;}
else if(this.className=='Nota2'){k=2;}
else if(this.className=='Nota3'){k=3;}
else if(this.className=='Nota4'){k=4;}
jQuery(this).addClass('Act');jQuery(this).parent().parent().find('.img_Gde').find('.Nota'+k).addClass('Act');}
function Cambio_especiales(){var n;if(jQuery('.Especiales .img_Chica .Act').hasClass('Nota0')){n=0;}
else if(jQuery('.Especiales .img_Chica .Act').hasClass('Nota1')){n=1;}
else if(jQuery('.Especiales .img_Chica .Act').hasClass('Nota2')){n=2;}
else if(jQuery('.Especiales .img_Chica .Act').hasClass('Nota3')){n=3;}
else if(jQuery('.Especiales .img_Chica .Act').hasClass('Nota4')){n=4;}
for(var i=0;i<5;i++){jQuery('.Especiales .img_Chica li').removeClass('Act');jQuery('.Especiales .img_Gde li').removeClass('Act');}
if(n==0||n==1||n==2||n==3){n++;}else if(n==4){n=0;}
jQuery('.Especiales .img_Chica .Nota'+n).addClass('Act');jQuery('.Especiales .img_Gde .Nota'+n).addClass('Act');}
function especiales(){jQuery('div.Especiales').each(function(){jQuery('.Especiales .img_Chica li').mouseover(over_especiales);});}
jQuery.noConflict()
var stepcarousel={ajaxloadingmsg:'<div style="margin: 1em; font-weight: bold"><img src="ajaxloadr.gif" style="vertical-align: middle" /> Buscando Contenido. Por favor espere...</div>',defaultbuttonsfade:10,configholder:{},getCSSValue:function(val){return(val=="auto")?1:parseInt(val)},getremotepanels:function($,config){config.$belt.html(this.ajaxloadingmsg)
$.ajax({url:config.contenttype[1],async:true,error:function(ajaxrequest){config.$belt.html('Error al buscar el contenido.<br />Respuesta del server: '+ajaxrequest.responseText)},success:function(content){config.$belt.html(content)
config.$panels=config.$gallery.find('.'+config.panelclass)
stepcarousel.alignpanels($,config)}})},getoffset:function(what,offsettype){return(what.offsetParent)?what[offsettype]+this.getoffset(what.offsetParent,offsettype):what[offsettype]},getCookie:function(Name){var re=new RegExp(Name+"=[^;]+","i");if(document.cookie.match(re))
return document.cookie.match(re)[0].split("=")[1]
return null},setCookie:function(name,value){document.cookie=name+"="+value},fadebuttons:function(config,currentpanel){config.$leftnavbutton.fadeTo('fast',currentpanel==0?this.defaultbuttonsfade:10)
config.$rightnavbutton.fadeTo('fast',currentpanel==config.lastvisiblepanel?this.defaultbuttonsfade:10)
if(currentpanel==config.lastvisiblepanel){stepcarousel.stopautostep(config)}},addnavbuttons:function($,config,currentpanel){var gran="PlayerGrande";var este=config.galleryid;if(este==gran){var pxs=200;}
config.$leftnavbutton=$('<img class="Anterior pngfix Btn'+config.galleryid+'" src="'+config.defaultbuttons.leftnav[0]+'">').css({left:config.defaultbuttons.leftnav[1]+'px',top:config.defaultbuttons.leftnav[2]+'px'}).attr({title:'Anterior'}).appendTo('#'+config.galleryid);config.$rightnavbutton=$('<img class="Siguiente pngfix Btn'+config.galleryid+'" src="'+config.defaultbuttons.rightnav[0]+'">').css({left:config.$gallery.get(0).offsetWidth+config.defaultbuttons.rightnav[1]+'px',top:config.defaultbuttons.rightnav[2]+'px'}).attr({title:'Siguiente'}).appendTo('#'+config.galleryid);config.$leftnavbutton.bind('click',function(){stepcarousel.stepBy(config.galleryid,-config.defaultbuttons.moveby);if(este==gran){ColorG(statusA_Grande);}})
config.$rightnavbutton.bind('click',function(){stepcarousel.stepBy(config.galleryid,config.defaultbuttons.moveby);if(este==gran){ColorG(statusA_Grande);}})
if(config.panelbehavior.wraparound==false){this.fadebuttons(config,currentpanel)}
return config.$leftnavbutton.add(config.$rightnavbutton)},alignpanels:function($,config){var paneloffset=0
config.paneloffsets=[paneloffset]
config.panelwidths=[]
config.$panels.each(function(index){var $currentpanel=$(this)
var gran=$("#PlayerGrande").attr('id');var este=config.galleryid;if(este==gran){$currentpanel.css({float:'none',position:'absolute',left:(paneloffset+210)+'px'})}else{$currentpanel.css({float:'none',position:'absolute',left:paneloffset+'px'})}
$currentpanel.bind('click',function(e){return config.onpanelclick(e.target)})
paneloffset+=stepcarousel.getCSSValue($currentpanel.css('marginRight'))+parseInt($currentpanel.get(0).offsetWidth||$currentpanel.css('width'))
config.paneloffsets.push(paneloffset)
config.panelwidths.push(paneloffset-config.paneloffsets[config.paneloffsets.length-3])})
config.paneloffsets.pop();var addpanelwidths=0;var gran=$("#PlayerGrande").attr('id');var fotos=$("#CA1").attr('id');var videos=$("#CA2").attr('id');var mapa=$("#CA3").attr('id');var audio=$("#CA4").attr('id');var humor=$("#Cont_Humor").attr('id');var cordobes=$("#Promocion_cordobes_2010").attr('id');var este=config.galleryid;if(este==gran){var lastpanelindex=config.$panels.length-2;var suma=548;}else if(este==fotos){var lastpanelindex=config.$panels.length-1;var suma=0;}else if(este==videos){var lastpanelindex=config.$panels.length-1;var suma=0;}else if(este==mapa){var lastpanelindex=config.$panels.length-1;var suma=0;}else if(este==audio){var lastpanelindex=config.$panels.length-1;var suma=0;}else if(este==humor){var lastpanelindex=config.$panels.length-1;var suma=0;}else if(este==cordobes){var lastpanelindex=config.$panels.length-5;var suma=0;}else{var lastpanelindex=config.$panels.length-3;var suma=0;}
config.lastvisiblepanel=lastpanelindex;for(var i=config.$panels.length-1;i>=0;i--){addpanelwidths+=(i==lastpanelindex?config.panelwidths[lastpanelindex]:config.paneloffsets[i+1]-config.paneloffsets[i])
if(config.gallerywidth>addpanelwidths){config.lastvisiblepanel=i;}}
config.$belt.css({width:paneloffset+'px'})
config.currentpanel=(config.panelbehavior.persist)?parseInt(this.getCookie(config.galleryid+"persist")):0
config.currentpanel=(typeof config.currentpanel=="number"&&config.currentpanel<config.$panels.length)?config.currentpanel:0
var endpoint=config.paneloffsets[config.currentpanel]+(config.currentpanel==0?0:config.beltoffset)
config.$belt.css({left:-(endpoint+suma)+'px'})
if(config.defaultbuttons.enable==true){if(config.$panels.length>1){var $navbuttons=this.addnavbuttons($,config,config.currentpanel)}
$(window).bind("load resize",function(){config.offsets={left:stepcarousel.getoffset(config.$gallery.get(0),"offsetLeft"),top:stepcarousel.getoffset(config.$gallery.get(0),"offsetTop")}
if(typeof config.$leftnavbutton!="undefined"){config.$leftnavbutton.css({left:config.defaultbuttons.leftnav[1]+'px',top:config.defaultbuttons.leftnav[2]+'px'})}
if(typeof config.$rightnavbutton!="undefined"){config.$rightnavbutton.css({left:config.$gallery.get(0).offsetWidth+config.defaultbuttons.rightnav[1]+'px',top:config.defaultbuttons.rightnav[2]+'px'})}})}
if(config.autostep&&config.autostep.enable){var $carouselparts=config.$gallery.add(typeof $navbuttons!="undefined"?$navbuttons:null)
$carouselparts.bind('click',function(){config.autostep.status="stopped"
stepcarousel.stopautostep(config)})
$carouselparts.hover(function(){stepcarousel.stopautostep(config)
config.autostep.hoverstate="over"},function(){if(config.steptimer&&config.autostep.hoverstate=="over"&&config.autostep.status!="stopped"){config.steptimer=setInterval(function(){stepcarousel.autorotate(config.galleryid)},config.autostep.pause)
config.autostep.hoverstate="out"}})
config.steptimer=setInterval(function(){stepcarousel.autorotate(config.galleryid)},config.autostep.pause)}
this.createpaginate($,config)
this.statusreport(config.galleryid)
config.oninit()
config.onslideaction(this)},stepTo:function(galleryid,pindex){var config=stepcarousel.configholder[galleryid]
if(typeof config=="undefined"){return}
stepcarousel.stopautostep(config)
var pindex=Math.min(pindex-1,config.paneloffsets.length-1)
var endpoint=config.paneloffsets[pindex]+(pindex==0?0:config.beltoffset)
if(config.panelbehavior.wraparound==false&&config.defaultbuttons.enable==true){this.fadebuttons(config,pindex)}
config.$belt.animate({left:-endpoint+'px'},config.panelbehavior.speed,function(){config.onslideaction(this)})
config.currentpanel=pindex
this.statusreport(galleryid)},stepBy:function(galleryid,steps,isauto){var config=stepcarousel.configholder[galleryid]
if(typeof config=="undefined"){return}
if(!isauto)
stepcarousel.stopautostep(config)
var direction=(steps>0)?'forward':'back'
var pindex=config.currentpanel+steps
if(config.panelbehavior.wraparound==false){pindex=(direction=="back"&&pindex<=0)?0:(direction=="forward")?Math.min(pindex,config.lastvisiblepanel):pindex
if(config.defaultbuttons.enable==true){stepcarousel.fadebuttons(config,pindex)}}
else{if(pindex>config.lastvisiblepanel&&direction=="forward"){pindex=(config.currentpanel<config.lastvisiblepanel)?config.lastvisiblepanel:0}
else if(pindex<0&&direction=="back"){pindex=(config.currentpanel>0)?0:config.lastvisiblepanel}}
var endpoint=config.paneloffsets[pindex]+(pindex==0?0:config.beltoffset)
if(pindex==0&&direction=='forward'||config.currentpanel==0&&direction=='back'&&config.panelbehavior.wraparound==true){config.$belt.animate({left:-config.paneloffsets[config.currentpanel]-(direction=='forward'?100:-30)+'px'},'normal',function(){config.$belt.animate({left:-endpoint+'px'},config.panelbehavior.speed,function(){config.onslideaction(this)})})}
else
config.$belt.animate({left:-endpoint+'px'},config.panelbehavior.speed,function(){config.onslideaction(this)})
config.currentpanel=pindex
this.statusreport(galleryid)},autorotate:function(galleryid){var config=stepcarousel.configholder[galleryid]
this.stepBy(galleryid,config.autostep.moveby,true)},stopautostep:function(config){clearTimeout(config.steptimer)},statusreport:function(galleryid){var config=stepcarousel.configholder[galleryid]
if(config.statusvars.length==3){var startpoint=config.currentpanel
var visiblewidth=0
for(var endpoint=startpoint;endpoint<config.paneloffsets.length;endpoint++){visiblewidth+=config.panelwidths[endpoint]
if(visiblewidth>config.gallerywidth){break}}
startpoint+=1
endpoint=(endpoint+1==startpoint)?startpoint:endpoint
var valuearray=[startpoint,endpoint,config.panelwidths.length]
for(var i=0;i<config.statusvars.length;i++){window[config.statusvars[i]]=valuearray[i]
config.$statusobjs[i].text(valuearray[i]+" ")}}
stepcarousel.selectpaginate(jQuery,galleryid)},createpaginate:function($,config){if(config.$paginatediv.length==1){var $templateimg=config.$paginatediv.find('img["data-over"]:eq(0)')
var controlpoints=[],controlsrc=[],imgarray=[],moveby=$templateimg.attr("data-moveby")||1
var asize=(moveby==1?0:1)+Math.floor((config.lastvisiblepanel+1)/moveby)
var imghtml=$('<div>').append($templateimg.clone()).html()
srcs=[$templateimg.attr('src'),$templateimg.attr('data-over'),$templateimg.attr('data-select')]
for(var i=0;i<asize;i++){var moveto=Math.min(i*moveby,config.lastvisiblepanel)
imgarray.push(imghtml.replace(/>$/,' data-index="'+i+'" data-moveto="'+moveto+'" title="Move to Panel '+(moveto+1)+'">')+'\n')
controlpoints.push(moveto)}
var $controls=$('<span></span>').replaceAll($templateimg).append(imgarray.join('')).find('img')
$controls.css({cursor:'pointer'})
config.$paginatediv.bind('click',function(e){var $target=$(e.target)
if($target.is('img')&&$target.attr('data-over')){stepcarousel.stepTo(config.galleryid,parseInt($target.attr('data-moveto'))+1)}})
config.$paginatediv.bind('mouseover mouseout',function(e){var $target=$(e.target)
if($target.is('img')&&$target.attr('data-over')){if(parseInt($target.attr('data-index'))!=config.pageinfo.curselected)
$target.attr('src',srcs[(e.type=="mouseover")?1:0])}})
config.pageinfo={controlpoints:controlpoints,$controls:$controls,srcs:srcs,prevselected:null,curselected:null}}},selectpaginate:function($,galleryid){var config=stepcarousel.configholder[galleryid]
if(config.$paginatediv.length==1){for(var i=0;i<config.pageinfo.controlpoints.length;i++){if(config.pageinfo.controlpoints[i]<=config.currentpanel)
config.pageinfo.curselected=i}
if(typeof config.pageinfo.prevselected!=null)
config.pageinfo.$controls.eq(config.pageinfo.prevselected).attr('src',config.pageinfo.srcs[0])
config.pageinfo.$controls.eq(config.pageinfo.curselected).attr('src',config.pageinfo.srcs[2])
config.pageinfo.prevselected=config.pageinfo.curselected}},loadcontent:function(galleryid,url){var config=stepcarousel.configholder[galleryid]
config.contenttype=['ajax',url]
stepcarousel.stopautostep(config)
stepcarousel.resetsettings($,config)
stepcarousel.init(jQuery,config)},init:function($,config){config.gallerywidth=config.$gallery.width()
config.offsets={left:stepcarousel.getoffset(config.$gallery.get(0),"offsetLeft"),top:stepcarousel.getoffset(config.$gallery.get(0),"offsetTop")}
config.$belt=config.$gallery.find('.'+config.beltclass)
config.$panels=config.$gallery.find('.'+config.panelclass)
config.$paginatediv=$('#'+config.galleryid+'-paginate')
if(config.autostep)
config.autostep.pause+=config.panelbehavior.speed
config.onpanelclick=(typeof config.onpanelclick=="undefined")?function(target){}:config.onpanelclick
config.onslideaction=(typeof config.onslide=="undefined")?function(){}:function(beltobj){$(beltobj).stop();config.onslide()}
config.oninit=(typeof config.oninit=="undefined")?function(){}:config.oninit
config.beltoffset=stepcarousel.getCSSValue(config.$belt.css('marginLeft'))
config.statusvars=config.statusvars||[]
config.$statusobjs=[$('#'+config.statusvars[0]),$('#'+config.statusvars[1]),$('#'+config.statusvars[2])]
config.currentpanel=0
stepcarousel.configholder[config.galleryid]=config
if(config.contenttype[0]=="ajax"&&typeof config.contenttype[1]!="undefined")
stepcarousel.getremotepanels($,config)
else
stepcarousel.alignpanels($,config)},resetsettings:function($,config){config.$gallery.unbind()
config.$belt.stop()
config.$panels.remove()
if(config.$leftnavbutton){config.$leftnavbutton.remove()
config.$rightnavbutton.remove()}
if(config.$paginatediv.length==1){config.$paginatediv.unbind()
config.pageinfo.$controls.eq(0).attr('src',config.pageinfo.srcs[0]).removeAttr('data-index').removeAttr('data-moveto').removeAttr('title').end().slice(1).remove()}
if(config.autostep)
config.autostep.status=null
if(config.panelbehavior.persist){stepcarousel.setCookie(window[config.galleryid+"persist"],0)}},setup:function(config){document.write('<style type="text/css">\n#'+config.galleryid+'{overflow: hidden;}\n</style>')
jQuery(document).ready(function($){config.$gallery=$('#'+config.galleryid)
stepcarousel.init($,config)})
jQuery(window).bind('unload',function(){stepcarousel.resetsettings($,config)
if(config.panelbehavior.persist)
stepcarousel.setCookie(config.galleryid+"persist",config.currentpanel)
jQuery.each(config,function(ai,oi){oi=null})
config=null})}}
jQuery.fn.accessNews=function(settings){settings=jQuery.extend({headline:"Top Stories",speed:"normal",slideBy:2},settings);return this.each(function(){jQuery.fn.accessNews.run(jQuery(this),settings);});};jQuery.fn.accessNews.run=function($this,settings){jQuery(".javascript_css",$this).css("display","none");var ul=jQuery("ul.Slider:eq(0)",$this);var li=ul.children();if(li.length>settings.slideBy){var $next=jQuery(".next > a",$this);var $back=jQuery(".back > a",$this);var liWidth=jQuery(li[0]).width();var animating=false;ul.css("width",(li.length*liWidth));$next.click(function(){if(!animating){animating=true;offsetLeft=parseInt(ul.css("left"))-(liWidth*settings.slideBy);if(offsetLeft+ul.width()>0){$back.css("display","block");ul.animate({left:offsetLeft},settings.speed,function(){if(parseInt(ul.css("left"))+ul.width()<=liWidth*settings.slideBy){$next.css("display","none");}
animating=false;});}else{animating=false;}}
return false;});$back.click(function(){if(!animating){animating=true;offsetRight=parseInt(ul.css("left"))+(liWidth*settings.slideBy);if(offsetRight+ul.width()<=ul.width()){$next.css("display","block");ul.animate({left:offsetRight},settings.speed,function(){if(parseInt(ul.css("left"))==0){$back.css("display","none");}
animating=false;});}else{animating=false;}}
return false;});$back.css("display","block")
$next.css("display","block").parent().after(["<p class=\"view_all\">",settings.headline,": <span style='color:#F08A00;'>",li.length,"</span> <a href=\"#\">ver todos</a></p>"].join(""));jQuery(".view_all > a, .skip_to_news > a",$this).click(function(){var skip_to_news=(jQuery(this).html()=="Skip to News");if(jQuery(this).html()=="ver todos"||skip_to_news){ul.css("width","auto").css("left","0");$next.css("display","none");$back.css("display","none");if(!skip_to_news){jQuery(this).html("cerrar");}}else{if(!skip_to_news){jQuery(this).html("ver todos");}
ul.css("width",(li.length*liWidth));$next.css("display","block");}
return false;});}};
function Solapas(numero,cantidad,idSolapa,idCaja,selected){for(var i=1;i<=cantidad;i++){jQuery('#'+idSolapa+i).attr('class','');jQuery('#'+idCaja+i).hide();}
jQuery('#'+idSolapa+numero).attr('class',selected);jQuery('#'+idCaja+numero).show();}
function comunidadesUsuarios(numero){if(numero=='5'){jQuery('#ColumnaDoble').attr('class','CD Doble clearfix');}else{jQuery('#ColumnaDoble').attr('class','CD clearfix');}}
function Solapas_Hidden(numero,cantidad,idSolapa,idCaja,selected){for(var i=1;i<=cantidad;i++){jQuery('#'+idSolapa+i).attr('class','');jQuery('#'+idCaja+i).css('visibility','hidden');jQuery('#'+idCaja+i).css('position','absolute');jQuery('#'+idCaja+i).css('zIndex','10');}
jQuery('#'+idSolapa+numero).attr('class',selected);jQuery('#'+idCaja+numero).css('visibility','visible');jQuery('#'+idCaja+numero).css('position','relative');jQuery('#'+idCaja+numero).css('zIndex','20');}
function SolapasAjax(idCaja){if(jQuery('#'+idCaja).html()==''){jQuery('#'+idCaja).html('<div class="overlay" style="min-height: 85px; text-align: center; background-color: white; "><img src="/themes/lavoz/img/Comunes/ajax-loader.gif" style="padding: 20px 0pt;"></div>');switch(idCaja){case'CGO2':jQuery.ajax({type:"GET",url:"/files/site/guiaocio/pestania_teatro.php",dataType:"php",success:function(xml){xml=xml.replace("/?q=buscador_eventos","http://vos.lavoz.com.ar/?q=buscador_eventos");xml=xml.replace('class="btn_buscar BtnBuscar"','class="btn_buscar BtnBuscar" style="display:none;"');jQuery('#'+idCaja).html(xml);}});break;case'CGO3':jQuery.ajax({type:"GET",url:"/files/site/guiaocio/pestania_tv.php",dataType:"php",success:function(xml){jQuery('#'+idCaja).html(xml);}});break;case'CGO4':jQuery.ajax({type:"GET",url:"/files/site/guiaocio/pestania_salidas.php",dataType:"php",success:function(xml){jQuery('#'+idCaja).html(xml);}});break;default:jQuery.ajax({type:"POST",url:"/ajax_lavoz/"+idCaja,dataType:"php",success:function(xml){jQuery('#'+idCaja).html(xml);}});break;}}}
function DesplegableCC(){jQuery('#BtnDesplegableCC').click(function(){if(jQuery('#DesplegableCC').is(':hidden')){jQuery('#DesplegableCC').show();jQuery('#BtnDesplegableCC').attr('class','Cerrar');jQuery('.CajaComunidad .Titulo').css('border-bottom-width','1px').css('padding-bottom','0');}else{jQuery('#DesplegableCC').hide();jQuery('#BtnDesplegableCC').attr('class','Abrir');jQuery('.CajaComunidad .Titulo').css('border-bottom-width','0').css('padding-bottom','2px');}});}
function desplegarCC(){if(jQuery('#DesplegableCC').is(':hidden')){jQuery('#DesplegableCC').show();jQuery('#BtnDesplegableCC').attr('class','Cerrar');jQuery('.CajaComunidad .Titulo').css('border-bottom-width','1px').css('padding-bottom','0');}else{jQuery('#DesplegableCC').hide();jQuery('#BtnDesplegableCC').attr('class','Abrir');jQuery('.CajaComunidad .Titulo').css('border-bottom-width','0').css('padding-bottom','2px');}}
function cajaComunidad(){if(jQuery('div.DesplegableCC').size()>1){DesplegableCC();}}
function boxcaption(){jQuery(".BoxCaption .ContBoxCamp").hover(function(){jQuery(this).children(".Inner").children(".Container").children(".Sombra").slideToggle("fast");jQuery(this).children(".Inner").children(".Container").children("p").slideToggle("fast");},function(){jQuery(this).children(".Inner").children(".Container").children("p").slideToggle("fast");jQuery(this).children(".Inner").children(".Container").children(".Sombra").slideToggle("fast");});}
function FunebresStart(){jQuery('#CCFunebres').hide();jQuery('#CBFunebres').hide();jQuery('#AbrirBusqueda').click(function(){mostrarBusqueda();});jQuery('#CerrarBusqueda').click(function(){mostrarBusqueda();});jQuery('#AbrirCalendario').click(function(){mostrarCalendario();});jQuery('#CerrarCalendario').click(function(){mostrarCalendario();});}
function CalendarioStart(){jQuery('div.CCFunebres').each(function(){jQuery('#CCFunebres').hide();jQuery('#AbrirCalendario').click(function(){mostrarCalendario();});if(jQuery("#CerrarCalendario").length>1){jQuery('#CerrarCalendario').click(function(){mostrarCalendario();});}});}
function mostrarBusqueda(){if(jQuery('#CBFunebres').is(':hidden')){jQuery('#CCFunebres').hide();jQuery('#CBFunebres').show();}else{jQuery('#CCFunebres').hide();jQuery('#CBFunebres').hide();}}
function mostrarCalendario(){if(jQuery('#CCFunebres').is(':hidden')){jQuery('#CCFunebres').show();}else{jQuery('#CCFunebres').hide();}}
function funebres(){jQuery('div.FunebresCont').each(function(){FunebresStart();});}
function calendario_solo(){jQuery('div.Calendario').each(function(){CalendarioStart();});}
var ejecutoTooltip=false;function TooltipMuestra(){if(ejecutoTooltip)
return;else
ejecutoTooltip=true;if(jQuery("#YoInformo").size()){jQuery("#video_yoInformo").focus(function(){jQuery("#video_yoInformo").parent().find(".ToolTip").slideToggle("fast");});jQuery("#video_yoInformo").blur(function(){jQuery("#video_yoInformo").parent().find(".ToolTip").slideToggle("fast");});jQuery('.ContYou .Ver').click(function(){jQuery('#video_yoInformo').focus();});}else{jQuery(".ContYou").hover(function(){jQuery(this).children(".ToolTip").slideDown("fast");},function(){jQuery(this).children(".ToolTip").slideUp("fast");});}}
function TooltipMuestraAmigos(){jQuery(".Amigos .Cont_Usuarios .C_Amigos .Inner").hover(function(){jQuery(this).parent().css("z-index","1000");jQuery(this).children(".ToolTip").slideDown("fast");},function(){jQuery(this).children(".ToolTip").slideUp("fast");jQuery(this).parent().css("z-index","1");});}
function Tooltip(){var divs=document.getElementsByTagName('div');var clase="ToolTip";for(var i=0;i<divs.length;i++){if(divs[i].className==clase){TooltipMuestra();break;}}}
function TooltipAmigos(){var divs=document.getElementsByTagName('div');var clase="ToolTip";for(var i=0;i<divs.length;i++){if(divs[i].className==clase){TooltipMuestraAmigos();break;}}}
function PM(){jQuery('.PM .accessible_news_slider').css('display','block');jQuery(".PM .accessible_news_slider").accessNews({headline:"",speed:"slow",slideBy:2});jQuery('.PM .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.PM .accessible_news_slider .Nota').eq(0).show();}
function mostrar_PM(idEmbed){jQuery('.PM .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.PM .accessible_news_slider .Nota').eq(idEmbed).show();}
function Multimedia(){jQuery('div.PM').each(function(){PM();});}
function mostrar_Multimedia(nid){jQuery.ajax({type:"POST",url:"/dameMultimedia_lavoz.php",data:"nid="+nid,dataType:"php",success:function(xml){jQuery('.accessible_news_slider .Holder .Nota').html(xml);}});}
function startCajitaVos(){jQuery('.ContCajitaVos .accessible_news_slider').css('display','block');jQuery(".ContCajitaVos .accessible_news_slider").accessNews({headline:"",speed:"slow",slideBy:3});jQuery('.ContCajitaVos .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaVos .accessible_news_slider .Nota').eq(0).show();}
function mostrar_CajitaVos(idEmbed){jQuery('.ContCajitaVos .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaVos .accessible_news_slider .Nota').eq(idEmbed).show();}
function CajitaVos(){jQuery('div.ContCajitaVos').each(function(){startCajitaVos();});}
function startCajitaMundoD(){jQuery('.ContCajitaMundoD .accessible_news_slider').css('display','block');jQuery(".ContCajitaMundoD .accessible_news_slider").accessNews({headline:"",speed:"slow",slideBy:3});jQuery('.ContCajitaMundoD .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaMundoD .accessible_news_slider .Nota').eq(0).show();}
function mostrar_CajitaMundoD(idEmbed){jQuery('.ContCajitaMundoD .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaMundoD .accessible_news_slider .Nota').eq(idEmbed).show();}
function CajitaMundoD(){jQuery('div.ContCajitaMundoD').each(function(){startCajitaMundoD();});}
function startCajitaCeleste(){jQuery('.ContCajitaCeleste .accessible_news_slider').css('display','block');jQuery(".ContCajitaCeleste .accessible_news_slider").accessNews({headline:"",speed:"slow",slideBy:2});jQuery('.ContCajitaCeleste .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaCeleste .accessible_news_slider .Nota').eq(0).show();}
function mostrar_CajitaCeleste(idEmbed){jQuery('.ContCajitaCeleste .accessible_news_slider .Nota').each(function(){jQuery(this).hide();});jQuery('.ContCajitaCeleste .accessible_news_slider .Nota').eq(idEmbed).show();}
function CajitaCeleste(){if(jQuery('div.ContCajitaCeleste').size()>1){startCajitaCeleste();}}
function lightbox(){if(jQuery('#Lightbox').is(':visible')){jQuery('#Lightbox').hide();}else{jQuery('#Lightbox').show();}}
function lightboxStart(){jQuery(this).parent().parent().parent().find('div').removeClass('Act');jQuery(this).parent().parent().addClass('Act');}
function lightboxReady(){jQuery('div.Lightbox').each(function(){jQuery('.Lightbox .SI a').click(lightboxStart);jQuery('.Lightbox .NO a').click(lightboxStart);});}
function compartirOver(){jQuery(this).parents().find('.LightComparti').slideDown('fast');}
function compartirOut(){jQuery(this).parents().find('.LightComparti').slideUp('fast');}
function articulo(){if(jQuery('div.LightComparti').size()>1){jQuery('.Actions .Comp').click(compartirOver);jQuery('.LightComparti .Bt_Compartir').click(compartirOut);}}
function UD_Down(){jQuery('.DestacUs .Cont_Box_Usr img').parent().parent().parent().parent().parent().parent().parent().parent().find('.BoxUsr').css("display","none");jQuery('.DestacUs .Box_Us_Destac .FotoUs').css('position','static')
jQuery(this).parent().parent().parent().find('.FotoUs').css('position','relative');jQuery(this).parent().parent().find('.BoxUsr').slideDown('fast');}
function UD_Up(){jQuery(this).parent().parent().parent().parent().parent().parent().parent().parent().find('.BoxUsr').slideUp('fast',function(){jQuery(this).parent().parent().find('.FotoUs').css('position','static')});}
function UsuariosDestacados(){var divs=document.getElementsByTagName('div');var clase="FotoUs";for(var i=0;i<divs.length;i++){if(divs[i].className==clase){jQuery('.Box_Us_Destac .Foto img').click(UD_Down);jQuery('.DestacUs .Cont_Box_Usr img').click(UD_Up);break;}}}
function CL_abrir(){if(jQuery(this).parent().find('.CajaCalendario').css('display')=='none'){jQuery('.CajaCalendario').slideUp("fast");jQuery(this).parent().parent().parent().parent().parent().parent().parent().find('.OrdenarOp .Ordenar select').fadeOut('fast');jQuery(this).parent().find('.CajaCalendario').slideDown("fast");}else if(jQuery(this).parent().find('.CajaCalendario').css('display')=='block'){jQuery('.CajaCalendario').slideUp("fast");jQuery(this).parent().find('.CajaCalendario').slideUp("fast");jQuery(this).parent().parent().parent().parent().parent().parent().parent().find('.OrdenarOp .Ordenar select').fadeIn('fast');}}
function CL_cerrar(){jQuery(this).parent().parent().parent().parent().parent().parent().parent().parent().find('.CajaCalendario').slideUp("fast");jQuery(this).parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().parent().find('.OrdenarOp .Ordenar select').fadeIn('fast');}
function Calendario_Lector(){var divs=document.getElementsByTagName('div');jQuery('div.BuscarCalle').each(function(){jQuery('.BuscarCalle .Filtros .ContCalen .calendar').click(CL_abrir);jQuery('.BuscarCalle .Filtros .ContCalen .CajaCalendario .Row a').click(CL_cerrar);});}
jQuery(document).ready(function(){Calendario_Lector();});
function OpenPopUp(){jQuery('.Open').click(function(){jQuery('#Moviles').css('display','block');});jQuery('.ClosePopUp').click(function(){jQuery('#Moviles').css('display','none');});}
function PopUp(){var divs=document.getElementsByTagName('div');var clase="Caja_Moviles Black clearfix";for(var i=0;i<divs.length;i++){if(divs[i].className==clase){OpenPopUp();break;}}}
jQuery(document).ready(function(){PopUp();});
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
header();function cargar_comments(){jQuery('#ajaxLoadComentarios_Cont').html('<div class="overlay" style="min-height: 85px; text-align: center; background-color: white; "><img src="/themes/lavoz/img/Comunes/ajax-loader.gif" style="padding: 20px 0pt;"></div>');jQuery.ajax({type:"POST",url:"/ajax_lavoz/comentarios_listado/nid"+jQuery('#node_id').val()+"/true",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery("#total").val(parseInt(data,10));}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/comentarios_listado/nid"+jQuery('#node_id').val()+"/true/true",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery("div.Comentarios_Cont ul.Solapas li#SC1 a span.cantidad").html('('+data+')');}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/comentarios/nid"+jQuery('#node_id').val()+((page=new RegExp('[\\?&]page=([^&#]*)').exec(window.location.href))?"&page="+page:""),dataType:(jQuery.browser.msie)?"text":"php",success:function(data){pathSinParams=location.pathname.split('&');if(pathSinParams){pathSinParams2=pathSinParams[0];pathSinParams=pathSinParams2.split('?');}
jQuery('#ajaxLoadComentarios_Cont').empty();jQuery('#ajaxLoadComentarios_Cont').append(data);jQuery('.DER form').attr('action',pathSinParams[0]);jQuery(".paginado .contNum li a,.paginado .contNum .roll a").each(function(){pageHref=new RegExp('[\\?&]page=([^&#]*)').exec(jQuery(this).attr('href'));if(pageHref){pageHref=pageHref[0];pageHrefComas=pageHref.split('%2C');pageHrefComas2=pageHrefComas[0];pageHrefComas=pageHrefComas2.replace("?page","&page");jQuery(this).attr('href',pathSinParams[0]+pageHrefComas);}});jQuery("#pager").val(0);cargar_abuse(results);}});}
function cargar_comments_paginados(page){jQuery('<div class="overlay" style="min-height: 85px; text-align: center; background-color: white; "><img src="/themes/lavoz/img/Comunes/ajax-loader.gif" style="padding: 20px 0pt;"></div>').prependTo('.ver_comentarios');jQuery.ajax({type:"POST",url:"/ajax_lavoz/comentarios_listado/nid"+jQuery('#node_id').val()+"/true",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery("#total").val(parseInt(data,10));}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/comentarios_listado/nid"+jQuery('#node_id').val()+"?page="+page,dataType:(jQuery.browser.msie)?"text":"php",success:function(data){pathSinParams=location.pathname.split('&');if(pathSinParams){pathSinParams2=pathSinParams[0];pathSinParams=pathSinParams2.split('?');}
jQuery('.comentarios_listado .overlay').remove();jQuery('.comentarios_listado').append(data);jQuery("#pager").val(parseInt(jQuery("#pager").val(),10)+1);if(parseInt(jQuery("#pager").val(),10)>=parseInt(jQuery("#total").val(),10)){jQuery(".ver_comentarios").remove();}},complete:function(){var form_comment=jQuery('div.Eviar_Coment:first');jQuery('div.Eviar_Coment').remove();jQuery('.comentarios_listado').append(jQuery('.ver_comentarios'));jQuery('.comentarios_listado').append(form_comment);}});}
function cargar_abuse(results){if(results!=null){jQuery('.abuso .enviar').click(function(){var form=jQuery(this).parents('form');var token,op,id_form,cid=0;jQuery('input',form).each(function(){if(jQuery(this).attr('name')=='form_token'){token=jQuery(this).val();}
if(jQuery(this).attr('name')=='form_id'){id_form=jQuery(this).val();}
if(jQuery(this).attr('name')=='op'){op=jQuery(this).val();}
if(jQuery(this).attr('name')=='object_oid'){cid=jQuery(this).val();}});var reason=jQuery('select',form).val();var body=jQuery('textarea',form).val();jQuery.ajax({type:"POST",url:"/abuse/report/comment/"+cid,data:"form_token="+token+"&form_id="+id_form+"&reason="+reason+"&op="+op+"&body="+body,dataType:(jQuery.browser.msie)?"text":"php",success:function(){jAlert('Su Reporte ha sido registrado, muchas gracias!','LaVoz.com.ar');window.location.reload();}});});}else{jQuery('#ajaxLoadComentarios_Cont').before('<a id="iniciar_sesion"></a>');jQuery('li.Report a').each(function(){jQuery(this).attr('href','#iniciar_sesion');});}}
window.onload=function(){var results=document.cookie.match('(^|;) ?DRUPAL_UID=([^;]*)(;|$)');if(results!=null){jQuery.ajax({type:"POST",url:"/ajax_lavoz/yoInformo",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('.ajaxLoadYoInformo').append(data);TooltipMuestra();}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/tabeditor/nid"+jQuery('#node_id').val(),dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('#tabeditor').append(data);}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/tabeditorPanels",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('.participacion ul:last').append(data);}});if(jQuery('#node_id').val()&&jQuery('#concurso_id').val()){jQuery.ajax({type:"GET",url:"/ajaxLoad.php",data:"name=concurso&nid="+jQuery('#node_id').val(),dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('.concurso_form').empty();jQuery('.concurso_form').append(data);}});}
jQuery('.Articulo .Contenido .Comentarios_Cont .Contenedor ul#CSC1.Lista > div.clearfix').remove();}else{cajaComunidad();data='<div class="YoInformo">';data+='<div class="ContInformo">';data+='<div class="Linea">';data+='<span class="Blanco">&nbsp;</span>';data+='</div>';data+='<div class="Titulo clearfix">';data+='<h3 title="Yo Informo">Yo Informo</h3>';data+='<a href="/yo-informo" class="vermas" title="Ver más"><span class="DN">Ver más</span></a>';data+='</div>';data+='<div class="CajaContenido">';data+='<div class="CajaMargen">';data+='<form enctype="multipart/form-data" method="POST" action="/crear.nodo_noticias_ciudadanas_voz.php" id="YoInformo">';data+='<p>Debes iniciar sesión para enviar una noticia.</p>';data+='<div class="BtnExam clearfix">';data+='<label for="foto_comunidad">Foto:</label>';data+='<input type="file" value="Adjuntar foto" title="Adjuntar foto" id="foto_comunidad" name="foto_comunidad" disabled="true">';data+='</div>';data+='<div class="Requerido clearfix">';data+='<select onclick="this.className=\'Input Selector\'" class="Input Selector Gris" name="comunidad">';data+='<option value="-1">Comunidades</option>';data+='<option value="-1">Temas</option><option value="4-t">-- Política</option><option value="2-t">-- Negocios</option><option value="5-t">-- Mundo</option><option value="6-t">-- Sucesos</option><option value="6637-t">-- Ambiente</option><option value="7524-t">-- Consumo</option><option value="3-t">-- Córdoba ciudad</option><option value="6641-t">-- Educación</option><option value="6537-t">-- Familia</option><option value="6638-t">-- Regionales</option><option value="8846-t">-- Salud</option>';data+='</select>';data+='<span class="CampoR Rojo">*</span>';data+='</div>';data+='<div class="Requerido clearfix">';data+='<input type="text" value="Titulo" class="Input Titulo Gris" name="titulo" id="titulo_yoInformo">';data+='<span class="CampoR Rojo">*</span>';data+='</div>';data+='<textarea cols="" rows="" class="Area Input Gris" name="texto">Texto</textarea>';data+='<div class="ContYou clearfix">';data+='<input type="text" value="Video" class="Input Titulo Gris" name="video" id="video_yoInformo">';data+='<span class="TextYou">Se puede incluir video de </span><span class="Youtube"></span>';data+='<a title="Ver ejemplo" href="javascript:;" class="Ver">» Ver ejemplo</a>';data+='<div class="ToolTip">';data+='<span class="ToolTipPico">&nbsp;</span>';data+='<p>Para publicar un video de YouTube, insertá el parámetro URL, como en este ejemplo:<span class="Gris">http://www.youtube.com/watch?v=-uyHFXZ9BuU</span></p>';data+='</div><!-- fin de ToolTip-->';data+='</div>';data+='<div class="Temas clearfix">';data+='<p>(<span class="Rojo">*</span>) Obligatorio</p>';data+='<div class="CajaTyC">';data+='<input type="checkbox" class="Check" name="Acepto" id="Acepto"><label class="TyC" for="Acepto">Acepto las </label><a title="bases legales" href="/terminos-condiciones" class="TyC">bases legales</a>';data+='</div>';data+='<input type="hidden" value="name=yoInformo" name="destination">';data+='<a class="Env" title="Enviar" href="javascript:;">';data+='<span class="Cv Tr"></span>';data+='<span class="Cv Tl"></span>';data+='<span class="Cv Br"></span>';data+='<span class="Cv Bl"></span>';data+='Enviar';data+='</a>';data+='</div>';data+='</form><!-- fin de CajaMargen-->';data+='</div>';data+='</div><!-- fin de CajaContenido -->';data+='</div>';data+='</div>';jQuery('.ajaxLoadYoInformo').append(data);TooltipMuestra();jQuery(document).ready(function(){jQuery('.YoInformo .Env').click(function(){jAlert('Debes iniciar sesi&oacute;n para enviar una noticia.','Yo Informo');});});}
Player();miniPlayer();cajaComunidad();funebres();calendario_solo();Tooltip();TooltipAmigos();Multimedia();especiales();lightboxReady();articulo();UsuariosDestacados();if(jQuery('#node_id').val()){jQuery.ajax({type:"POST",url:"/ajax_lavoz/valorar/nid"+jQuery('#node_id').val(),dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('.FFUsuario .DER').empty();jQuery('.FFUsuario .DER').append(data);}});jQuery.ajax({type:"POST",url:"/ajax_lavoz/ranking",dataType:(jQuery.browser.msie)?"text":"php",success:function(data){jQuery('.Ranking').empty();jQuery('.Ranking').append(data);}});}
jQuery(function(){jQuery(".ContentDestacado img, .CL .Nota img, .Galerias300 img, .ContPh3 .Nota0 img, .FotoEpigrafe img, .ChisteDia img, .ContBoxCamp img, .CD .Nota img, .FotoEpigrafe img, .CajaSeccion img").lazyload({placeholder:"/themes/lavoz/img/Comunes/imagen.png",effect:"fadeIn",failurelimit:10});});};
Date.dayNames=['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'];Date.abbrDayNames=['Dom','Lun','Mar','Mie','Jue','Vie','Sab'];Date.monthNames=['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'];Date.abbrMonthNames=['Ene','Feb','Mar','Abr','May','Jun','Jul','Ago','Sep','Oct','Nov','Dic'];Date.firstDayOfWeek=1;Date.format='dd/mm/yyyy';Date.fullYearStart='20';(function(){function add(name,method){if(!Date.prototype[name]){Date.prototype[name]=method;}};add("isLeapYear",function(){var y=this.getFullYear();return(y%4==0&&y%100!=0)||y%400==0;});add("isWeekend",function(){return this.getDay()==0||this.getDay()==6;});add("isWeekDay",function(){return!this.isWeekend();});add("getDaysInMonth",function(){return[31,(this.isLeapYear()?29:28),31,30,31,30,31,31,30,31,30,31][this.getMonth()];});add("getDayName",function(abbreviated){return abbreviated?Date.abbrDayNames[this.getDay()]:Date.dayNames[this.getDay()];});add("getMonthName",function(abbreviated){return abbreviated?Date.abbrMonthNames[this.getMonth()]:Date.monthNames[this.getMonth()];});add("getDayOfYear",function(){var tmpdtm=new Date("1/1/"+this.getFullYear());return Math.floor((this.getTime()-tmpdtm.getTime())/86400000);});add("getWeekOfYear",function(){return Math.ceil(this.getDayOfYear()/7);});add("setDayOfYear",function(day){this.setMonth(0);this.setDate(day);return this;});add("addYears",function(num){this.setFullYear(this.getFullYear()+num);return this;});add("addMonths",function(num){var tmpdtm=this.getDate();this.setMonth(this.getMonth()+num);if(tmpdtm>this.getDate())
this.addDays(-this.getDate());return this;});add("addDays",function(num){this.setDate(this.getDate()+num);return this;});add("addHours",function(num){this.setHours(this.getHours()+num);return this;});add("addMinutes",function(num){this.setMinutes(this.getMinutes()+num);return this;});add("addSeconds",function(num){this.setSeconds(this.getSeconds()+num);return this;});add("zeroTime",function(){this.setMilliseconds(0);this.setSeconds(0);this.setMinutes(0);this.setHours(0);return this;});add("asString",function(){var r=Date.format;return r.split('yyyy').join(this.getFullYear()).split('yy').join((this.getFullYear()+'').substring(2)).split('mmm').join(this.getMonthName(true)).split('mm').join(_zeroPad(this.getMonth()+1)).split('dd').join(_zeroPad(this.getDate()));});Date.fromString=function(s)
{var f=Date.format;var d=new Date('01/01/1977');var iY=f.indexOf('yyyy');if(iY>-1){d.setFullYear(Number(s.substr(iY,4)));}else{d.setFullYear(Number(Date.fullYearStart+s.substr(f.indexOf('yy'),2)));}
var iM=f.indexOf('mmm');if(iM>-1){var mStr=s.substr(iM,3);for(var i=0;i<Date.abbrMonthNames.length;i++){if(Date.abbrMonthNames[i]==mStr)break;}
d.setMonth(i);}else{d.setMonth(Number(s.substr(f.indexOf('mm'),2))-1);}
d.setDate(Number(s.substr(f.indexOf('dd'),2)));if(isNaN(d.getTime())){return false;}
return d;};var _zeroPad=function(num){var s='0'+num;return s.substring(s.length-2)};})();
(function($){$.fn.extend({renderCalendar:function(s)
{var dc=function(a)
{return document.createElement(a);};s=$.extend({},$.fn.datePicker.defaults,s);if(s.showHeader!=$.dpConst.SHOW_HEADER_NONE){var headRow=$(dc('tr'));for(var i=Date.firstDayOfWeek;i<Date.firstDayOfWeek+7;i++){var weekday=i%7;var day=Date.dayNames[weekday];headRow.append(jQuery(dc('th')).attr({'scope':'col','abbr':day,'title':day,'class':(weekday==0||weekday==6?'weekend':'weekday')}).html(s.showHeader==$.dpConst.SHOW_HEADER_SHORT?day.substr(0,1):day));}};var calendarTable=$(dc('table')).attr({'cellspacing':2,'className':'jCalendar'}).append((s.showHeader!=$.dpConst.SHOW_HEADER_NONE?$(dc('thead')).append(headRow):dc('thead')));var tbody=$(dc('tbody'));var today=(new Date()).zeroTime();var month=s.month==undefined?today.getMonth():s.month;var year=s.year||today.getFullYear();var currentDate=new Date(year,month,1);var firstDayOffset=Date.firstDayOfWeek-currentDate.getDay()+1;if(firstDayOffset>1)firstDayOffset-=7;var weeksToDraw=Math.ceil(((-1*firstDayOffset+1)+currentDate.getDaysInMonth())/7);currentDate.addDays(firstDayOffset-1);var doHover=function()
{if(s.hoverClass){$(this).addClass(s.hoverClass);}};var unHover=function()
{if(s.hoverClass){$(this).removeClass(s.hoverClass);}};var w=0;while(w++<weeksToDraw){var r=jQuery(dc('tr'));for(var i=0;i<7;i++){var thisMonth=currentDate.getMonth()==month;var d=$(dc('td')).text(currentDate.getDate()+'').attr('className',(thisMonth?'current-month ':'other-month ')+
(currentDate.isWeekend()?'weekend ':'weekday ')+
(thisMonth&&currentDate.getTime()==today.getTime()?'today ':'')).hover(doHover,unHover);if(s.renderCallback){s.renderCallback(d,currentDate,month,year);}
r.append(d);currentDate.addDays(1);}
tbody.append(r);}
calendarTable.append(tbody);return this.each(function()
{$(this).empty().append(calendarTable);});},datePicker:function(s)
{if(!$.event._dpCache)$.event._dpCache=[];s=$.extend({},$.fn.datePicker.defaults,s);return this.each(function()
{var $this=$(this);var alreadyExists=true;if(!this._dpId){this._dpId=$.event.guid++;$.event._dpCache[this._dpId]=new DatePicker(this);alreadyExists=false;}
if(s.inline){s.createButton=false;s.displayClose=false;s.closeOnSelect=false;$this.empty();}
var controller=$.event._dpCache[this._dpId];controller.init(s);if(s.createButton){controller.button=$('<a href="#" class="dp-choose-date calendar izq" style="display:inline-block" title="'+$.dpText.TEXT_CHOOSE_DATE+'"></a>').bind('click',function()
{$this.dpDisplay(this);this.blur();return false;});$this.after(controller.button);}
if(!alreadyExists&&$this.is(':text')){$this.bind('dateSelected',function(e,selectedDate,$td)
{this.value=selectedDate.asString();}).bind('change',function()
{if(this.value!=''){var d=Date.fromString(this.value);if(d){controller.setSelected(d,true,true);}}});if(s.clickInput){$this.bind('click',function()
{$this.dpDisplay();});}
var d=Date.fromString(this.value);if(this.value!=''&&d){controller.setSelected(d,true,true);}}
$this.addClass('dp-applied');})},dpSetDisabled:function(s)
{return _w.call(this,'setDisabled',s);},dpSetStartDate:function(d)
{return _w.call(this,'setStartDate',d);},dpSetEndDate:function(d)
{return _w.call(this,'setEndDate',d);},dpGetSelected:function()
{var c=_getController(this[0]);if(c){return c.getSelected();}
return null;},dpSetSelected:function(d,v,m)
{if(v==undefined)v=true;if(m==undefined)m=true;return _w.call(this,'setSelected',Date.fromString(d),v,m,true);},dpSetDisplayedMonth:function(m,y)
{return _w.call(this,'setDisplayedMonth',Number(m),Number(y),true);},dpDisplay:function(e)
{return _w.call(this,'display',e);},dpSetRenderCallback:function(a)
{return _w.call(this,'setRenderCallback',a);},dpSetPosition:function(v,h)
{return _w.call(this,'setPosition',v,h);},dpSetOffset:function(v,h)
{return _w.call(this,'setOffset',v,h);},dpClose:function()
{return _w.call(this,'_closeCalendar',false,this[0]);},_dpDestroy:function()
{}});var _w=function(f,a1,a2,a3,a4)
{return this.each(function()
{var c=_getController(this);if(c){c[f](a1,a2,a3,a4);}});};function DatePicker(ele)
{this.ele=ele;this.displayedMonth=null;this.displayedYear=null;this.startDate=null;this.endDate=null;this.showYearNavigation=null;this.closeOnSelect=null;this.displayClose=null;this.selectMultiple=null;this.verticalPosition=null;this.horizontalPosition=null;this.verticalOffset=null;this.horizontalOffset=null;this.button=null;this.renderCallback=[];this.selectedDates={};this.inline=null;this.context='#dp-popup';};$.extend(DatePicker.prototype,{init:function(s)
{this.setStartDate(s.startDate);this.setEndDate(s.endDate);this.setDisplayedMonth(Number(s.month),Number(s.year));this.setRenderCallback(s.renderCallback);this.showYearNavigation=s.showYearNavigation;this.closeOnSelect=s.closeOnSelect;this.displayClose=s.displayClose;this.selectMultiple=s.selectMultiple;this.verticalPosition=s.verticalPosition;this.horizontalPosition=s.horizontalPosition;this.hoverClass=s.hoverClass;this.setOffset(s.verticalOffset,s.horizontalOffset);this.inline=s.inline;if(this.inline){this.context=this.ele;this.display();}},setStartDate:function(d)
{if(d){this.startDate=Date.fromString(d);}
if(!this.startDate){this.startDate=(new Date()).zeroTime();}
this.setDisplayedMonth(this.displayedMonth,this.displayedYear);},setEndDate:function(d)
{if(d){this.endDate=Date.fromString(d);}
if(!this.endDate){this.endDate=(new Date('12/31/2999'));}
if(this.endDate.getTime()<this.startDate.getTime()){this.endDate=this.startDate;}
this.setDisplayedMonth(this.displayedMonth,this.displayedYear);},setPosition:function(v,h)
{this.verticalPosition=v;this.horizontalPosition=h;},setOffset:function(v,h)
{this.verticalOffset=parseInt(v)||0;this.horizontalOffset=parseInt(h)||0;},setDisabled:function(s)
{$e=$(this.ele);$e[s?'addClass':'removeClass']('dp-disabled');if(this.button){$but=$(this.button);$but[s?'addClass':'removeClass']('dp-disabled');$but.attr('title',s?'':$.dpText.TEXT_CHOOSE_DATE);}
if($e.is(':text')){$e.attr('disabled',s?'disabled':'');}},setDisplayedMonth:function(m,y,rerender)
{if(this.startDate==undefined||this.endDate==undefined){return;}
var s=new Date(this.startDate.getTime());s.setDate(1);var e=new Date(this.endDate.getTime());e.setDate(1);var t;if((!m&&!y)||(isNaN(m)&&isNaN(y))){t=new Date().zeroTime();t.setDate(1);}else if(isNaN(m)){t=new Date(y,this.displayedMonth,1);}else if(isNaN(y)){t=new Date(this.displayedYear,m,1);}else{t=new Date(y,m,1)}
if(t.getTime()<s.getTime()){t=s;}else if(t.getTime()>e.getTime()){t=e;}
var oldMonth=this.displayedMonth;var oldYear=this.displayedYear;this.displayedMonth=t.getMonth();this.displayedYear=t.getFullYear();if(rerender&&(this.displayedMonth!=oldMonth||this.displayedYear!=oldYear))
{this._rerenderCalendar();$(this.ele).trigger('dpMonthChanged',[this.displayedMonth,this.displayedYear]);}},setSelected:function(d,v,moveToMonth,dispatchEvents)
{if(v==this.isSelected(d))
{return;}
if(this.selectMultiple==false){this.selectedDates={};$('td.selected',this.context).removeClass('selected');}
if(moveToMonth&&this.displayedMonth!=d.getMonth()){this.setDisplayedMonth(d.getMonth(),d.getFullYear(),true);}
this.selectedDates[d.toString()]=v;var selectorString='td.';selectorString+=d.getMonth()==this.displayedMonth?'current-month':'other-month';selectorString+=':contains("'+d.getDate()+'")';var $td;$(selectorString,this.ele).each(function()
{if($(this).text()==d.getDate())
{$td=$(this);$td[v?'addClass':'removeClass']('selected');}});if(dispatchEvents)
{var s=this.isSelected(d);$e=$(this.ele);$e.trigger('dateSelected',[d,$td,s]);$e.trigger('change');}},isSelected:function(d)
{return this.selectedDates[d.toString()];},getSelected:function()
{var r=[];for(s in this.selectedDates){if(this.selectedDates[s]==true){r.push(Date.parse(s));}}
return r;},display:function(eleAlignTo)
{if($(this.ele).is('.dp-disabled'))return;eleAlignTo=eleAlignTo||this.ele;var c=this;var $ele=$(eleAlignTo);var eleOffset=$ele.offset();var $createIn;var attrs;var attrsCalendarHolder;var cssRules;if(c.inline){$createIn=$(this.ele);attrs={'id':'calendar-'+this.ele._dpId,'className':'dp-popup dp-popup-inline'};cssRules={};}else{$createIn=$('body');attrs={'id':'dp-popup','className':'dp-popup'};cssRules={'top':eleOffset.top+c.verticalOffset,'left':eleOffset.left+c.horizontalOffset};var _checkMouse=function(e)
{var el=e.target;var cal=$('#dp-popup')[0];while(true){if(el==cal){return true;}else if(el==document){c._closeCalendar();return false;}else{el=$(el).parent()[0];}}};this._checkMouse=_checkMouse;this._closeCalendar(true);}
$createIn.append($('<div></div>').attr(attrs).css(cssRules).append($('<h2></h2>'),$('<div class="dp-nav-prev"></div>').append($('<a class="dp-nav-prev-year" href="#" title="'+$.dpText.TEXT_PREV_YEAR+'"></a>').bind('click',function()
{return c._displayNewMonth.call(c,this,0,-1);}),$('<a class="dp-nav-prev-month" href="#" title="'+$.dpText.TEXT_PREV_MONTH+'"></a>').bind('click',function()
{return c._displayNewMonth.call(c,this,-1,0);})),$('<div class="dp-nav-next"></div>').append($('<a class="dp-nav-next-year" href="#" title="'+$.dpText.TEXT_NEXT_YEAR+'"></a>').bind('click',function()
{return c._displayNewMonth.call(c,this,0,1);}),$('<a class="dp-nav-next-month" href="#" title="'+$.dpText.TEXT_NEXT_MONTH+'"></a>').bind('click',function()
{return c._displayNewMonth.call(c,this,1,0);})),$('<div></div>').attr('className','dp-calendar')).bgIframe());var $pop=this.inline?$('.dp-popup',this.context):$('#dp-popup');if(this.showYearNavigation==false){$('.dp-nav-prev-year, .dp-nav-next-year',c.context).css('display','none');}
if(this.displayClose){$pop.append($('<a href="#" id="dp-close">'+$.dpText.TEXT_CLOSE+'</a>').bind('click',function()
{c._closeCalendar();return false;}));}
c._renderCalendar();$(this.ele).trigger('dpDisplayed',$pop);if(!c.inline){if(this.verticalPosition==$.dpConst.POS_BOTTOM){$pop.css('top',eleOffset.top+$ele.height()-$pop.height()+c.verticalOffset);}
if(this.horizontalPosition==$.dpConst.POS_RIGHT){$pop.css('left',eleOffset.left+$ele.width()-$pop.width()+c.horizontalOffset);}
$(document).bind('mousedown',this._checkMouse);}},setRenderCallback:function(a)
{if(a==null)return;if(a&&typeof(a)=='function'){a=[a];}
this.renderCallback=this.renderCallback.concat(a);},cellRender:function($td,thisDate,month,year){var c=this.dpController;var d=new Date(thisDate.getTime());$td.bind('click',function()
{var $this=$(this);if(!$this.is('.disabled')){c.setSelected(d,!$this.is('.selected')||!c.selectMultiple,false,true);if(c.closeOnSelect){c._closeCalendar();}}});if(c.isSelected(d)){$td.addClass('selected');}
for(var i=0;i<c.renderCallback.length;i++){c.renderCallback[i].apply(this,arguments);}},_displayNewMonth:function(ele,m,y)
{if(!$(ele).is('.disabled')){this.setDisplayedMonth(this.displayedMonth+m,this.displayedYear+y,true);}
ele.blur();return false;},_rerenderCalendar:function()
{this._clearCalendar();this._renderCalendar();},_renderCalendar:function()
{$('h2',this.context).html(Date.monthNames[this.displayedMonth]+' '+this.displayedYear);$('.dp-calendar',this.context).renderCalendar({month:this.displayedMonth,year:this.displayedYear,renderCallback:this.cellRender,dpController:this,hoverClass:this.hoverClass});if(this.displayedYear==this.startDate.getFullYear()&&this.displayedMonth==this.startDate.getMonth()){$('.dp-nav-prev-year',this.context).addClass('disabled');$('.dp-nav-prev-month',this.context).addClass('disabled');$('.dp-calendar td.other-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())>20){$this.addClass('disabled');}});var d=this.startDate.getDate();$('.dp-calendar td.current-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())<d){$this.addClass('disabled');}});}else{$('.dp-nav-prev-year',this.context).removeClass('disabled');$('.dp-nav-prev-month',this.context).removeClass('disabled');var d=this.startDate.getDate();if(d>20){var sd=new Date(this.startDate.getTime());sd.addMonths(1);if(this.displayedYear==sd.getFullYear()&&this.displayedMonth==sd.getMonth()){$('dp-calendar td.other-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())<d){$this.addClass('disabled');}});}}}
if(this.displayedYear==this.endDate.getFullYear()&&this.displayedMonth==this.endDate.getMonth()){$('.dp-nav-next-year',this.context).addClass('disabled');$('.dp-nav-next-month',this.context).addClass('disabled');$('.dp-calendar td.other-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())<14){$this.addClass('disabled');}});var d=this.endDate.getDate();$('.dp-calendar td.current-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())>d){$this.addClass('disabled');}});}else{$('.dp-nav-next-year',this.context).removeClass('disabled');$('.dp-nav-next-month',this.context).removeClass('disabled');var d=this.endDate.getDate();if(d<13){var ed=new Date(this.endDate.getTime());ed.addMonths(-1);if(this.displayedYear==ed.getFullYear()&&this.displayedMonth==ed.getMonth()){$('.dp-calendar td.other-month',this.context).each(function()
{var $this=$(this);if(Number($this.text())>d){$this.addClass('disabled');}});}}}},_closeCalendar:function(programatic,ele)
{if(!ele||ele==this.ele)
{$(document).unbind('mousedown',this._checkMouse);this._clearCalendar();$('#dp-popup a').unbind();$('#dp-popup').empty().remove();if(!programatic){$(this.ele).trigger('dpClosed',[this.getSelected()]);}}},_clearCalendar:function()
{$('.dp-calendar td',this.context).unbind();$('.dp-calendar',this.context).empty();}});$.dpConst={SHOW_HEADER_NONE:0,SHOW_HEADER_SHORT:1,SHOW_HEADER_LONG:2,POS_TOP:0,POS_BOTTOM:1,POS_LEFT:0,POS_RIGHT:1};$.dpText={TEXT_PREV_YEAR:'A&ntilde;o Anterior',TEXT_PREV_MONTH:'Mes Anterior',TEXT_NEXT_YEAR:'Siguiente A&ntilde;o',TEXT_NEXT_MONTH:'Siguiente Mes',TEXT_CLOSE:'Cerrar',TEXT_CHOOSE_DATE:'Seleccionar Fecha'};$.dpVersion='$Id: jquery.datePicker.js 15 2008-12-17 04:40:18Z kelvin.luck $';$.fn.datePicker.defaults={month:undefined,year:undefined,showHeader:$.dpConst.SHOW_HEADER_SHORT,startDate:'01/01/2008',endDate:undefined,inline:false,renderCallback:null,createButton:true,showYearNavigation:true,closeOnSelect:true,displayClose:false,selectMultiple:false,clickInput:false,verticalPosition:$.dpConst.POS_TOP,horizontalPosition:$.dpConst.POS_LEFT,verticalOffset:0,horizontalOffset:0,hoverClass:'dp-hover'};function _getController(ele)
{if(ele._dpId)return $.event._dpCache[ele._dpId];return false;};if($.fn.bgIframe==undefined){$.fn.bgIframe=function(){return this;};};$(window).bind('unload',function(){var els=$.event._dpCache||[];for(var i in els){$(els[i].ele)._dpDestroy();}});})(jQuery);
jQuery(document).ready(function(){jQuery(".Row .Palabra #buscar_funebres_popup, .ContField .F_Col4 #buscar_funebres").click(function(c){updateLocationFunebres(c);});jQuery('.Editor').keyup(function(e){if(e.keyCode==13){updateLocationFunebres();}});updateLocationFunebres=function(c){if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var buscar=jQuery('#buscar').val();}else{var buscar=jQuery('#clave').val();}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var fecha=jQuery('#fecha_funebres_1').val();}else{var fecha=jQuery('#fecha_funebres_2').val();}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_todos=(jQuery('#funebresTodos').attr('checked')==true)?'1':'0';}else{var opcion_todos=(jQuery('#Todos').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_oficios=(jQuery('#funebresOficios').attr('checked')==true)?'1':'0';}else{var opcion_oficios=(jQuery('#Oficios').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_sepelios=(jQuery('#funebresSepelios').attr('checked')==true)?'1':'0';}else{var opcion_sepelios=(jQuery('#Sepelios').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_invitaciones=(jQuery('#funebresInvitaciones').attr('checked')==true)?'1':'0';}else{var opcion_invitaciones=(jQuery('#Invitaciones').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_participaciones=(jQuery('#funebresParticipantes').attr('checked')==true)?'1':'0';}else{var opcion_participaciones=(jQuery('#Participaciones').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_recordatorios=(jQuery('#funebresRecordatorios').attr('checked')==true)?'1':'0';}else{var opcion_recordatorios=(jQuery('#Recordatorios').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_agradecimientos=(jQuery('#funebresAgradecimientos').attr('checked')==true)?'1':'0';}else{var opcion_agradecimientos=(jQuery('#Agradecimientos').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_traslados=(jQuery('#funebresTraslados').attr('checked')==true)?'1':'0';}else{var opcion_traslados=(jQuery('#Traslados').attr('checked')==true)?'1':'0';}
if(jQuery(c.target).attr('id')=='buscar_funebres_popup'){var opcion_funerales=(jQuery('#funebresFuneralesMisas').attr('checked')==true)?'1':'0';}else{var opcion_funerales=(jQuery('#Funerales').attr('checked')==true)?'1':'0';}
if(buscar==''&&fecha==''&&opcion_todos==0&&opcion_oficios==0&&opcion_sepelios==0&&opcion_invitaciones==0&&opcion_participaciones==0&&opcion_recordatorios==0&&opcion_agradecimientos==0&&opcion_traslados==0&&opcion_funerales){var fecha=jQuery('#fecha_hidden').val();opcion_todos=1;}
window.location='/?q=avisos_funebres&buscar='+buscar+'&fecha='+fecha+'&opcion_todos='+opcion_todos+'&opcion_oficios='+opcion_oficios+'&opcion_sepelios='+opcion_sepelios+'&opcion_invitaciones='+opcion_invitaciones+'&opcion_participaciones='+opcion_participaciones+'&opcion_recordatorios='+opcion_recordatorios+'&opcion_agradecimientos='+opcion_agradecimientos+'&opcion_traslados='+opcion_traslados+'&opcion_funerales='+opcion_funerales;};jQuery('#fecha_funebres_1').datePicker();jQuery('#fecha_funebres_2').datePicker();});
var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}
function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4];}
if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1);}else if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"));}}
var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}
else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}
return flashVer;}
function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr==-1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}
var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true;}else if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer))
return true;else if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision))
return true;}}
return false;}}
function AC_AddExtension(src,ext)
{if(src.indexOf('?')!=-1)
return src.replace(/\?/,ext+'?');else
return src+ext;}
function AC_Generateobj(objAttrs,params,embedAttrs)
{var str='';if(isIE&&isWin&&!isOpera)
{str+='<object ';for(var i in objAttrs)
{str+=i+'="'+objAttrs[i]+'" ';}
str+='>';for(var i in params)
{str+='<param name="'+i+'" value="'+params[i]+'" /> ';}
str+='</object>';}
else
{str+='<embed ';for(var i in embedAttrs)
{str+=i+'="'+embedAttrs[i]+'" ';}
str+='> </embed>';}
document.write(str);}
function AC_FL_RunContent(){var ret=AC_GetArgs
(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_SW_RunContent(){var ret=AC_GetArgs
(arguments,".dcr","src","clsid:166B1BCA-3F9C-11CF-8075-444553540000",null);AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":case"id":ret.objAttrs[args[i]]=args[i+1];break;case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}
ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret;}
jQuery(document).ready(function(){jQuery(".F_Col4 #buscar_edimpre").click(function(c){updateLocationEdiImpresa(c);});jQuery('.F_Col2 #fecha_edimpre').keyup(function(e){if(e.keyCode==13){updateLocationEdiImpresa();}});updateLocationEdiImpresa=function(c){var fecha=jQuery('#fecha_edimpre').val();var fec_array=fecha.split('/');var iDay=Number(fec_array[0]);var iMonth=Number(fec_array[1]);var iYear=Number(fec_array[2]);if(iDay<10)
iDay="0"+iDay;if(iMonth<10)
iMonth="0"+iMonth;if(iYear=="1996"||iYear=="1997"||iYear=="1998"||iYear=="1999"){iYear=String(iYear).substring(4,2);}
var seleccion=new Date(iYear,(iMonth-1),iDay);NuevaEdicion1996Begin=new Date("1996","08","21");NuevaEdicion2000Begin=new Date("2000","11","01");NuevaEdicion2000End=new Date("2000","11","31");NuevaEdicion2001Begin=new Date("2001","04","02");NuevaEdicion2001End=new Date("2001","11","31");NuevaEdicion2006Begin=new Date("2006","00","02");NuevaEdicion2006End=new Date("2006","08","20");Edicion2006Begin=new Date("2006","03","04");Edicion2006End=new Date("2006","08","20");Redisenio2010Begin=new Date("2010","02","14");if(seleccion<=NuevaEdicion2000Begin){window.location="http://buscador.lavoz.com.ar/intervoz/"+iYear+"/"+iMonth+"/"+iDay+"/index.htm";}else if(seleccion<=NuevaEdicion2001Begin&&seleccion>=NuevaEdicion2000Begin){window.location="http://buscador.lavoz.com.ar/"+iYear+"/"+iMonth+iDay+"/index.htm";}else if(seleccion>Edicion2006Begin&&seleccion<=Edicion2006End){window.location="http://buscador.lavoz.com.ar/"+iYear+"/"+iMonth+iDay+"/Um/index.asp";}else if(seleccion<=Edicion2006End&&seleccion>=NuevaEdicion2001Begin){window.location="http://buscador.lavoz.com.ar/"+iYear+"/"+iMonth+iDay+"/Um/index.htm";}else if(seleccion<=Redisenio2010Begin){window.location="http://www.lavoz.com.ar/"+String(iYear).substring(4,2)+"/"+iMonth+"/"+iDay+"/index.asp";}else{window.location="/?q=edicion_impresa&fecha="+fecha;}};jQuery('.F_Col2 #fecha_edimpre').datePicker({startDate:'01/09/2006'});});
(function($){$.alerts={verticalOffset:-75,horizontalOffset:0,repositionOnResize:true,overlayOpacity:.8,overlayColor:'#000',draggable:true,okButton:'&nbsp;OK&nbsp;',cancelButton:'&nbsp;Cancel&nbsp;',dialogClass:null,alert:function(message,title,callback){if(title==null)title='Alert';$.alerts._show(title,message,null,'alert',function(result){if(callback)callback(result);});},confirm:function(message,title,callback){if(title==null)title='Confirm';$.alerts._show(title,message,null,'confirm',function(result){if(callback)callback(result);});},prompt:function(message,value,title,callback){if(title==null)title='Prompt';$.alerts._show(title,message,value,'prompt',function(result){if(callback)callback(result);});},_show:function(title,msg,value,type,callback){$.alerts._hide();$.alerts._overlay('show');$("BODY").append('<div id="popup_container">'+'<h1 id="popup_title"></h1>'+'<div id="popup_content">'+'<div id="popup_message"></div>'+'</div>'+'</div>');if($.alerts.dialogClass)$("#popup_container").addClass($.alerts.dialogClass);var pos=($.browser.msie&&parseInt($.browser.version)<=6)?'absolute':'fixed';$("#popup_container").css({position:pos,zIndex:99999,padding:0,margin:0});$("#popup_title").text(title);$("#popup_content").addClass(type);$("#popup_message").text(msg);$("#popup_message").html($("#popup_message").text().replace(/\n/g,'<br />'));$("#popup_container").css({minWidth:$("#popup_container").outerWidth(),maxWidth:$("#popup_container").outerWidth()});$.alerts._reposition();$.alerts._maintainPosition(true);switch(type){case'alert':$("#popup_message").after('<div id="popup_panel"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /></div>');$("#popup_ok").click(function(){$.alerts._hide();callback(true);});$("#popup_ok").focus().keypress(function(e){if(e.keyCode==13||e.keyCode==27)$("#popup_ok").trigger('click');});break;case'confirm':$("#popup_message").after('<div id="popup_panel"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /> <input type="button" value="'+$.alerts.cancelButton+'" id="popup_cancel" /></div>');$("#popup_ok").click(function(){$.alerts._hide();if(callback)callback(true);});$("#popup_cancel").click(function(){$.alerts._hide();if(callback)callback(false);});$("#popup_ok").focus();$("#popup_ok, #popup_cancel").keypress(function(e){if(e.keyCode==13)$("#popup_ok").trigger('click');if(e.keyCode==27)$("#popup_cancel").trigger('click');});break;case'prompt':$("#popup_message").append('<br /><input type="text" size="30" id="popup_prompt" />').after('<div id="popup_panel"><input type="button" value="'+$.alerts.okButton+'" id="popup_ok" /> <input type="button" value="'+$.alerts.cancelButton+'" id="popup_cancel" /></div>');$("#popup_prompt").width($("#popup_message").width());$("#popup_ok").click(function(){var val=$("#popup_prompt").val();$.alerts._hide();if(callback)callback(val);});$("#popup_cancel").click(function(){$.alerts._hide();if(callback)callback(null);});$("#popup_prompt, #popup_ok, #popup_cancel").keypress(function(e){if(e.keyCode==13)$("#popup_ok").trigger('click');if(e.keyCode==27)$("#popup_cancel").trigger('click');});if(value)$("#popup_prompt").val(value);$("#popup_prompt").focus().select();break;}
if($.alerts.draggable){try{$("#popup_container").draggable({handle:$("#popup_title")});$("#popup_title").css({cursor:'move'});}catch(e){}}},_hide:function(){$("#popup_container").remove();$.alerts._overlay('hide');$.alerts._maintainPosition(false);},_overlay:function(status){switch(status){case'show':$.alerts._overlay('hide');$("BODY").append('<div id="popup_overlay"></div>');$("#popup_overlay").css({position:'absolute',zIndex:99998,top:'0px',left:'0px',width:'100%',height:$(document).height(),background:$.alerts.overlayColor,opacity:$.alerts.overlayOpacity});break;case'hide':$("#popup_overlay").remove();break;}},_reposition:function(){var top=(($(window).height()/2)-($("#popup_container").outerHeight()/2))+$.alerts.verticalOffset;var left=(($(window).width()/2)-($("#popup_container").outerWidth()/2))+$.alerts.horizontalOffset;if(top<0)top=0;if(left<0)left=0;if($.browser.msie&&parseInt($.browser.version)<=6)top=top+$(window).scrollTop();$("#popup_container").css({top:top+'px',left:left+'px'});$("#popup_overlay").height($(document).height());},_maintainPosition:function(status){if($.alerts.repositionOnResize){switch(status){case true:$(window).bind('resize',$.alerts._reposition);break;case false:$(window).unbind('resize',$.alerts._reposition);break;}}}}
jAlert=function(message,title,callback){$.alerts.alert(message,title,callback);}
jConfirm=function(message,title,callback){$.alerts.confirm(message,title,callback);};jPrompt=function(message,value,title,callback){$.alerts.prompt(message,value,title,callback);};})(jQuery);
(function($){$.fn.lazyload=function(options){var settings={threshold:0,failurelimit:0,event:"scroll",effect:"show",container:window};if(options){$.extend(settings,options);}
var elements=this;if("scroll"==settings.event){$(settings.container).bind("scroll",function(event){var counter=0;elements.each(function(){if($.abovethetop(this,settings)||$.leftofbegin(this,settings)){}else if(!$.belowthefold(this,settings)&&!$.rightoffold(this,settings)){$(this).trigger("appear");}else{if(counter++>settings.failurelimit){return false;}}});var temp=$.grep(elements,function(element){return!element.loaded;});elements=$(temp);});}
this.each(function(){var self=this;if(undefined==$(self).attr("original")){$(self).attr("original",$(self).attr("src"));}
if("scroll"!=settings.event||undefined==$(self).attr("src")||settings.placeholder==$(self).attr("src")||($.abovethetop(self,settings)||$.leftofbegin(self,settings)||$.belowthefold(self,settings)||$.rightoffold(self,settings))){if(settings.placeholder){$(self).attr("src",settings.placeholder);}else{$(self).removeAttr("src");}
self.loaded=false;}else{self.loaded=true;}
$(self).one("appear",function(){if(!this.loaded){$("<img />").bind("load",function(){$(self).hide().attr("src",$(self).attr("original"))
[settings.effect](settings.effectspeed);self.loaded=true;}).attr("src",$(self).attr("original"));};});if("scroll"!=settings.event){$(self).bind(settings.event,function(event){if(!self.loaded){$(self).trigger("appear");}});}});$(settings.container).trigger(settings.event);return this;};$.belowthefold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).height()+$(window).scrollTop();}else{var fold=$(settings.container).offset().top+$(settings.container).height();}
return fold<=$(element).offset().top-settings.threshold;};$.rightoffold=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).width()+$(window).scrollLeft();}else{var fold=$(settings.container).offset().left+$(settings.container).width();}
return fold<=$(element).offset().left-settings.threshold;};$.abovethetop=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollTop();}else{var fold=$(settings.container).offset().top;}
return fold>=$(element).offset().top+settings.threshold+$(element).height();};$.leftofbegin=function(element,settings){if(settings.container===undefined||settings.container===window){var fold=$(window).scrollLeft();}else{var fold=$(settings.container).offset().left;}
return fold>=$(element).offset().left+settings.threshold+$(element).width();};$.extend($.expr[':'],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"});})(jQuery);
jQuery(document).ready(function(){var clima=get_cookie('clima_selection');if(clima==null||clima==""){getClima(10);}else{getClima(clima);}});function getClima(id){jQuery.ajax({type:"GET",url:"/files/site/Clima/00018P.php?rnd="+parseInt(Math.random()*100000000000),dataType:"php",success:function(datos){var xml;datos=datos.replace(/&/gi,"&amp;");if(jQuery.browser.msie){xml=new ActiveXObject("Microsoft.XMLDOM");xml.async=false;xml.loadXML(datos);}else{xml=datos;}
jQuery(xml).each(function(){jQuery(this).find('ciudad').each(function(){if(jQuery(this).attr('name')==id){var clima=jQuery(this);jQuery('div.Clima span:first').html(clima.attr('title')+' <img src="/themes/lavoz/img/clima/Clima_19x19/'+getImgClima(clima.attr('imgHoy'))+'.png" alt="'+clima.attr('titleHoy')+'" title="'+clima.attr('titleHoy')+'" class="pngfix"/> '+'<b> '+clima.attr('temp')+'&ordm; '+' </b> '+' / '+clima.attr('hum')+'%');jQuery('div.Clima span:eq(1)').html('<img src="/themes/lavoz/img/clima/Clima_19x19/'+getImgClima(clima.attr('imgManiana'))+'_gris.png" alt="'+clima.attr('titleManiana')+'" title="'+clima.attr('titleManiana')+'" class="pngfix"/> Ma&ntilde;ana');jQuery('div.Clima span:eq(2)').html('<img src="/themes/lavoz/img/clima/Clima_19x19/'+getImgClima(clima.attr('imgPasado'))+'_gris.png" alt="'+clima.attr('titlePasado')+'" title="'+clima.attr('titlePasado')+'" class="pngfix"/> '+clima.attr('diaPasado')+'');setCookie('clima_selection',id,365);}});});}});PullDownCerrar();}
function getImgClima(n){var img="";n=parseInt(n);switch(n){case 1:img="sol";break;case 2:img="nube_sol";break;case 3:img="nube";break;case 4:img="nube_gotas";break;case 5:img="nube_lluvia";break;case 6:img="nube_rayo";break;case 7:img="frio";break;case 8:img="helada";break;default:break;}
return img;}
function get_cookie(cookie_name){var results=document.cookie.match('(^|;) ?'+cookie_name+'=([^;]*)(;|$)');if(results){return(unescape(results[2]));}else{return null;}}
function getCookie(c_name){if(document.cookie.length>0){c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1){c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length;}
return unescape(document.cookie.substring(c_start,c_end));}}
return"";}
function setCookie(c_name,value,expiredays){var exdate=new Date();exdate.setDate(exdate.getDate()+expiredays);document.cookie=c_name+"="+escape(value)+((expiredays==null)?"":";expires="+exdate.toGMTString());}
DEFAULT_PIVOT_NAME='cert_Pivot';DEFAULT_REDIRECT_TIME=3000;DEFAULT_PERIODIC_REDIRECT_TIME=60000;DEFAULT_ORIGIN_COOKIE_NAME='cert_Origin';var cert_CustomCounters=null;var cert_CustomAttributes=null;function cert_qVal(sValue)
{var pos=String(document.location).indexOf('?');if(pos!=-1){var query=String(document.location).substring(pos+1);var vars=query.split("&");for(var i=0;i<vars.length;i++){var pair=vars[i].split("=");if(pair[0]==sValue)
return pair[1];}}
return null;}
function cert_getCookie(sName){var dc=document.cookie;var prefix=sName+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0)return null;}else
begin+=2;var end=document.cookie.indexOf(";",begin);if(end==-1)
end=dc.length;return unescape(dc.substring(begin+prefix.length,end));}
function cert_setCookie(sName,sValue,dtExpires,sPath,sDomain,bSecure){document.cookie=sName+"="+escape(sValue)+
((dtExpires)?"; expires="+dtExpires.toGMTString():"")+
((sPath)?"; path="+sPath:"")+
((sDomain)?"; domain="+sDomain:"")+
((bSecure)?"; secure":"");}
function cert_getReferrer()
{var referrer=document.referrer;if(self.cert_getReferrer14)
return cert_getReferrer14();return referrer;}
function cert_getProtocol()
{if(window&&window.location&&window.location.protocol)
return window.location.protocol;return null;}
function cert_setOrigin()
{var c=cert_getCookie(DEFAULT_ORIGIN_COOKIE_NAME);if(!c){var l=cert_getReferrer();if(l){var re=new RegExp('https?:\/\/([^\/]+)');var m=re.exec(l);if(m){var m2=re.exec(document.location);if(m2){if(m[1]!=m2[1]){c=m[1];}}}}
if(!c){c='directo';}
cert_setCookie(DEFAULT_ORIGIN_COOKIE_NAME,c);}}
function cert_getFlashVersion()
{var flashVersion=-1;if(navigator.plugins&&navigator.plugins.length){var objFlash=navigator.plugins["Shockwave Flash"];if(objFlash){if(objFlash.description){flashDesc=objFlash.description;flashVersion=flashDesc.charAt(flashDesc.indexOf('.')-1);}}
if(navigator.plugins["Shockwave Flash 2.0"]){flashVersion=2;}}else if(navigator.mimeTypes&&navigator.mimeTypes.length){x=navigator.mimeTypes['application/x-shockwave-flash'];if(x&&x.enabledPlugin){flashVersion=0;}}
return flashVersion;}
function cert_getURL(iSiteId,sPath,sAppend)
{var referrer,url;referrer='otro';var o=cert_qVal('url_origen');var proto=cert_getProtocol();if(proto!='https:')
proto='http:';if(o!=null&&o!='')
referrer=o;else
referrer=escape(cert_getReferrer());url=proto+'//hits.e.cl/cert/hit.dll?sitio_id='+iSiteId+'&path='+sPath+'&referer='+referrer;url+='&java='+navigator.javaEnabled()+'&flash='+cert_getFlashVersion();if(sAppend)
url+=sAppend;return url;}
function cert_addCustomAttribute(sType,sValue)
{if(!cert_CustomAttributes){cert_CustomAttributes=new Object();}
cert_CustomAttributes[sType]=sValue;}
function cert_addCustomCounter(sType,iValue)
{if(iValue&&iValue>0){if(!cert_CustomCounters){cert_CustomCounters=new Object();}
if(cert_CustomCounters[sType]){cert_CustomCounters[sType]+=iValue;}else{cert_CustomCounters[sType]=iValue;}}}
function cert_getCustomTags()
{var sRet='';var ct_atrib='',ct_acum='';if(cert_CustomAttributes){ct_atrib='ct_atrib=';for(var i in cert_CustomAttributes){ct_atrib+=i+':'+cert_CustomAttributes[i]+';';}}
if(cert_CustomCounters){ct_acum='ct_acum=';for(var i in cert_CustomCounters){ct_acum+=i+':'+cert_CustomCounters[i]+';';}}
if(ct_atrib||ct_acum){if(ct_atrib){sRet+='&'+ct_atrib;}
if(ct_acum){sRet+='&'+ct_acum;}}
return sRet;}
function cert_getURL_eCommerce(iSiteId,sPath,sAmount)
{var sOrigin=null;if((sOrigin=cert_getCookie(DEFAULT_ORIGIN_COOKIE_NAME))){cert_addCustomAttribute('origin',sOrigin);}
if(sAmount){cert_addCustomCounter('money',sAmount);}
var sAppend=cert_getCustomTags();return cert_getURL(iSiteId,sPath,sAppend);}
function cert_registerHit(iSiteId,sPath,sPivotName)
{var sAppend='&cert_cachebuster='+(1+Math.floor(Math.random()*10000));if(!sPivotName)
sPivotName=DEFAULT_PIVOT_NAME;if(document.images)
if(document.images[sPivotName])
document.images[sPivotName].src=cert_getURL(iSiteId,sPath,sAppend);}
function cert_registerHitAndRedirect(sURL,iSiteId,sPath,sPivotName)
{cert_registerHit(iSiteId,sPath,sPivotName);setTimeout("location.href = '"+sURL+"'",DEFAULT_REDIRECT_TIME);}
function cert_registerHitAndOpenWindow(sURL,iSiteId,sPath,sPivotName,sName,sFeatures,bReplace)
{cert_registerHit(iSiteId,sPath,sPivotName);if(!sName)
sName='Downloads';if(!sFeatures)
sFeatures='toolbar=no,location=no,directories=no,status=yes,menubar=no, scrollbars=no,resizable=no,width=425,height=510,screenX=20,screenY=20';window.open(sURL,sName,sFeatures,bReplace);return false;}
function cert_registerHitAndReplaceOtherFrame(sURL,sName,iSiteId,sPath,sPivotName)
{cert_registerHitAndOpenWindow(sURL,iSiteId,sPath,sPivotName,sName,0,true);}
function cert_registerHitAndReplaceThisFrame(sURL,iSiteId,sPath,sPivotName)
{cert_registerHitAndRedirect(sURL,iSiteId,sPath,sPivotName);}
function cert_registerHitAndDownloadFile(sURL,iSiteId,sPath,sPivotName)
{cert_registerHitAndRedirect(sURL,iSiteId,sPath,sPivotName);}
function cert_getAnchor(sUrl)
{return'<img src="'+sUrl+'" width="1" height="1" border="0" alt="Certifica.com">';}
function tagCertifica(iSiteId,sPath)
{document.writeln(cert_getAnchor(cert_getURL(iSiteId,sPath)));}
function tagCertifica_eCommerce(iSiteId,sPath,iAmount)
{document.writeln(cert_getAnchor(cert_getURL_eCommerce(iSiteId,sPath,iAmount)));}
function cert_registerPeriodicHit(iSiteId,sPath,sPivotName,iTime)
{if(!sPivotName)
sPivotName=DEFAULT_PIVOT_NAME;if(!iTime)
iTime=DEFAULT_PERIODIC_REDIRECT_TIME;cert_registerHit(iSiteId,sPath,sPivotName);setTimeout('cert_registerPeriodicHit( '+iSiteId+', "'+sPath+'", "'+sPivotName+'", '+iTime+')',iTime);}
cert_setOrigin();
function cert_getReferrer14()
{var referrer=document.referrer;try{if(self!=top)
referrer=top.document.referrer;}catch(e){referrer=document.referrer;}
return referrer;}
var links=document.getElementsByTagName("a");var arrayLinks=new Array();for(e=0;e<links.length;e++){arrayLinks[e]=links[e];}
var idSitio=0;var path='';var f_apreta=function apreta(e){if(window.event)
{eType=event.type;eSrc=event.srcElement;while(eSrc.tagName!="a"&&eSrc.tagName!="A")
{eSrc=eSrc.parentNode;}}
else
{eType=e.type;eSrc=e.target;while(eSrc.nodeName!="a"&&eSrc.nodeName!="A")
{eSrc=eSrc.parentNode;}}
var z=0;for(z=0;z<arrayLinks.length;z++){if(arrayLinks[z]==eSrc)
{var idLink=z;eSrc=null;break;}}
var url=location.href;var index=url.indexOf("?");if(index==-1)
{index=url.length;}
cc=Math.round(Math.random()*1000000);(new Image).src='http://hits.e.cl/cert/hit.dll?proc_id=ovl&s='+idSitio+'&l='+idLink+'&pag_id='+path+'&z='+cc+'&ref='+url.substring(0,index);}
function instalaHdlr(s,p){idSitio=s;path=p;links=document.getElementsByTagName("a");for(i=0;i<links.length;i++)
{links[i].onmousedown=f_apreta;}}
function genLayer(idLayer,ancho,alto,sVis,texto,link,porcentaje){var a;var posLeft=0;var posTop=0;a=link;posLeft=a.offsetLeft;posTop=a.offsetTop;while(a.offsetParent!=null){if(a.style.visibility=="hidden"){return false;}
a=a.offsetParent;posLeft+=a.offsetLeft;posTop+=a.offsetTop;if(posLeft<0)posLeft=0;if(posTop<0)posTop=0;}
try{var f=Math.round(porcentaje/2);if(f<3){f=2;}
document.write('<div id='+'"'+idLayer+'"'+'style="position:absolute;left:'+posLeft+'px;top:'+posTop+'px;width: 50px; height:13px; border:1px solid; border-color: #0000a0; background-color: #F9FAA4;  -moz-opacity: 0.75; font-family:Arial,Helvetica,sans-serif; font-size:8pt; font-weight:bold; color:blue; visibility: visible; " valign="middle" align="left" > <img src="http://www.certifica.com/2007/img/square_blue.gif" height = "7" width="'+(f/2)+'" /> '+texto+' </div>');}catch(e){alert("error al generar capa");}}
function showOverlay(idSitio,idPath){var valor=getParameter('opt');if(valor==false)
{return false;}
var sumClicks=0;var x=0;arrayAux=new Array();var i=0;for(x=0;x<(valor.length);x+=4)
{if(i>arrayLinks.length-1){break;}
var numero=valor.substring(x,x+4);arrayAux[i]=new Array();arrayAux[i][0]=i;arrayAux[i][1]=parseInt(numero,16);if(arrayAux[i][1]>sumClicks)sumClicks=arrayAux[i][1];i++;}
var f=arrayAux.length;vinculos=document.getElementsByTagName("a");for(x=f;x<vinculos.length;x++)
{arrayAux[x]=new Array();arrayAux[x][0]=x;arrayAux[x][1]=0;}
var arrayResult=burbuja(arrayAux)
if(arrayAux.length==0)
{alert("Debe iniciar sesion para visualizar overlays");return false;}
for(x=0;x<vinculos.length;x++)
{try{if(arrayAux[x][1])
{txt=arrayAux[x][1];}
else
{txt="0";}}catch(e){txt="0";}
var division=Math.round((arrayAux[x][1]*80)/sumClicks);genLayer('Layer'+arrayAux[x][0],50,20,'true',txt,vinculos[arrayAux[x][0]],division);}}
function getParameter(parameter){var url=location.href;var index=url.indexOf("?");index=url.indexOf(parameter,index)+parameter.length;if(url.charAt(index)=="="){var result=url.indexOf("&",index);if(result==-1){result=url.length;};return url.substring(index+1,result);}
return false;}
function burbuja(inputArray){for(var x=0;x<inputArray.length-1;x++){for(var y=0;y<inputArray.length-1;y++){try{if(parseInt(inputArray[y][1])<parseInt(inputArray[y+1][1])){var valor=inputArray[y][1];var indice=inputArray[y][0];inputArray[y][1]=inputArray[y+1][1];inputArray[y][0]=inputArray[y+1][0];inputArray[y+1][1]=valor;inputArray[y+1][0]=indice;}}
catch(e)
{return false;}}}
return arrayAux;}
function cert_overlay(id,page)
{instalaHdlr(id,page);showOverlay(id,page);}
