/* $LastChangedRevision: 79 $ $LastChangedDate: 2009-05-27 17:25:23 +0100 (Wed, 27 May 2009) $ */
(function(){if(window.jQuery){var _jQuery=window.jQuery}var jQuery=window.jQuery=function(selector,context){return new jQuery.prototype.init(selector,context)};if(window.$){var _$=window.$}window.$=jQuery;var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/;var isSimple=/^.[^:#\[\.]*$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;
this.length=1;return this}else{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)}else{this[0]=elem;this.length=1;return this}}else{selector=[]}}}else{return new jQuery(context).find(selector)}}else{if(jQuery.isFunction(selector)){return new jQuery(document)[jQuery.fn.ready?"ready":"load"](selector)
}}}return this.setArray(selector.constructor==Array&&selector||(selector.jquery||selector.length&&selector!=window&&!selector.nodeType&&selector[0]!=undefined&&selector[0].nodeType)&&jQuery.makeArray(selector)||[selector])},jquery:"1.2.2",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;this.each(function(i){if(this==elem){ret=i}});return ret},attr:function(name,value,type){var options=name;if(name.constructor==String){if(value==undefined){return this.length&&jQuery[type||"attr"](this[0],name)||undefined}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"),container2=document.createElement("div");container.appendChild(clone);container2.innerHTML=container.innerHTML;return container2.firstChild}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 !selector?this:this.pushStack(jQuery.merge(this.get(),selector.constructor==String?jQuery(selector).get():selector.length!=undefined&&(!selector.nodeName||jQuery.nodeName(selector,"form"))?selector:[selector]))},is:function(selector){return selector?jQuery.multiFilter(selector,this).length>0:false
},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}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=value.constructor==Array?value:[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.length?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)
},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.prototype.init.prototype=jQuery.prototype;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)}}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==1){target=this;i=0}for(;i<length;i++){if((options=arguments[i])!=null){for(var name in options){if(target===options[name]){continue}if(deep&&options[name]&&typeof options[name]=="object"&&target[name]&&!options[name].nodeType){target[name]=jQuery.extend(target[name],options[name])}else{if(options[name]!=undefined){target[name]=options[name]}}}}}return target
};var expando="jQuery"+(new Date()).getTime(),uuid=0,windowData={};var exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i;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&&/function/i.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.appendChild(script);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){if(args){if(object.length==undefined){for(var name in object){if(callback.apply(object[name],args)===false){break
}}}else{for(var i=0,length=object.length;i<length;i++){if(callback.apply(object[i],args)===false){break}}}}else{if(object.length==undefined){for(var name in object){if(callback.call(object[name],name,object[name])===false){break}}}else{for(var i=0,length=object.length,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;function color(elem){if(!jQuery.browser.safari){return false}var ret=document.defaultView.getComputedStyle(elem,null);return !ret||ret.getPropertyValue("color")==""}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(elem.style,"opacity");
return ret==""?"1":ret}if(jQuery.browser.opera&&name=="display"){var save=elem.style.display;elem.style.display="block";elem.style.display=save}if(name.match(/float/i)){name=styleFloat}if(!force&&elem.style&&elem.style[name]){ret=elem.style[name]}else{if(document.defaultView&&document.defaultView.getComputedStyle){if(name.match(/float/i)){name="float"}name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var getComputedStyle=document.defaultView.getComputedStyle(elem,null);if(getComputedStyle&&!color(elem)){ret=getComputedStyle.getPropertyValue(name)
}else{var swap=[],stack=[];for(var a=elem;a&&color(a);a=a.parentNode){stack.unshift(a)}for(var i=0;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":(getComputedStyle&&getComputedStyle.getPropertyValue(name))||"";for(var 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 style=elem.style.left,runtimeStyle=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;elem.style.left=ret||0;ret=elem.style.pixelLeft+"px";elem.style.left=style;elem.runtimeStyle.left=runtimeStyle}}}}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=elem.toString()}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 fix=jQuery.isXMLDoc(elem)?{}:jQuery.props;if(name=="selected"&&jQuery.browser.safari){elem.parentNode.selectedIndex}if(fix[name]){if(value!=undefined){elem[fix[name]]=value
}return elem[fix[name]]}else{if(jQuery.browser.msie&&name=="style"){return jQuery.attr(elem.style,"cssText",value)}else{if(value==undefined&&jQuery.browser.msie&&jQuery.nodeName(elem,"form")&&(name=="action"||name=="method")){return elem.getAttributeNode(name).nodeValue}else{if(elem.tagName){if(value!=undefined){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode){throw"type property can't be changed"}elem.setAttribute(name,""+value)}if(jQuery.browser.msie&&/href|src/.test(name)&&!jQuery.isXMLDoc(elem)){return elem.getAttribute(name,2)
}return elem.getAttribute(name)}else{if(name=="opacity"&&jQuery.browser.msie){if(value!=undefined){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(value).toString()=="NaN"?"":"alpha(opacity="+value*100+")")}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100).toString():""}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase()});if(value!=undefined){elem[name]=value}return elem[name]
}}}}},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")},makeArray:function(array){var ret=[];if(typeof array!="array"){for(var i=0,length=array.length;i<length;i++){ret.push(array[i])}}else{ret=array.slice(0)}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){if(jQuery.browser.msie){for(var i=0;second[i];i++){if(second[i].nodeType!=8){first.push(second[i])}}}else{for(var i=0;second[i];
i++){first.push(second[i])}}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){if(typeof callback=="string"){callback=eval("false||function(a,i){return "+callback+"}")}var ret=[];for(var i=0,length=elems.length;i<length;i++){if(!inv&&callback(elems[i],i)||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&&value!=undefined){if(value.constructor!=Array){value=[value]}ret=ret.concat(value)}}return 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,innerHTML:"innerHTML",className:"className",value:"value",disabled:"disabled",checked:"checked",readonly:"readOnly",selected:"selected",maxlength:"maxLength",selectedIndex:"selectedIndex",defaultValue:"defaultValue",tagName:"tagName",nodeName:"nodeName"}});jQuery.each({parent:"elem.parentNode",parents:"jQuery.dir(elem,'parentNode')",next:"jQuery.nth(elem,2,'nextSibling')",prev:"jQuery.nth(elem,2,'previousSibling')",nextAll:"jQuery.dir(elem,'nextSibling')",prevAll:"jQuery.dir(elem,'previousSibling')",siblings:"jQuery.sibling(elem.parentNode.firstChild,elem)",children:"jQuery.sibling(elem.firstChild)",contents:"jQuery.nodeName(elem,'iframe')?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)"},function(name,fn){fn=eval("false||function(elem){return "+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")
}});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:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"i<m[3]-0",gt:"i>m[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||jQuery(a).text()||'').indexOf(m[3])>=0",visible:'"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"',hidden:'"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"',enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:'"button"==a.type||jQuery.nodeName(a,"button")',input:"/input|select|textarea|button/i.test(a.nodeName)",has:"jQuery.find(m[3],a).length",header:"/h\\d/i.test(a.nodeName)",animated:"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;var re=quickChild;var 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 f=jQuery.expr[m[1]];if(typeof f!="string"){f=jQuery.expr[m[1]][m[2]]}f=eval("false||function(a,i){return "+f+"}");
r=jQuery.grep(r,f,not)}}}}}return{r:r,t:t}},dir:function(elem,dir){var matched=[];var 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&&(!elem||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!=undefined){elem=window}if(!handler.guid){handler.guid=this.guid++}if(data!=undefined){var fn=handler;handler=function(){return fn.apply(this,arguments)};handler.data=data;handler.guid=fn.guid}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){var val;if(typeof jQuery=="undefined"||jQuery.event.triggered){return val}val=jQuery.event.handle.apply(arguments.callee.elem,arguments);
return val});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){for(var type in events){this.remove(elem,type)}}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(!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(this.fix({type:type,target:elem}))}data[0].type=type;if(jQuery.isFunction(jQuery.data(elem,"handle"))){val=jQuery.data(elem,"handle").apply(elem,data)}if(!fn&&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;event=jQuery.event.fix(event||window.event||{});var parts=event.type.split(".");event.type=parts[0];var handlers=jQuery.data(this,"events")&&jQuery.data(this,"events")[event.type],args=Array.prototype.slice.call(arguments,1);args.unshift(event);for(var j in handlers){var handler=handlers[j];args[0].handler=handler;args[0].data=handler.data;if(!parts[1]||handler.type==parts[1]){var ret=handler.apply(this,args);
if(val!==false){val=ret}if(ret===false){event.preventDefault();event.stopPropagation()}}}if(jQuery.browser.msie){event.target=event.preventDefault=event.stopPropagation=event.handler=event.data=null}return val},fix:function(event){var originalEvent=event;event=jQuery.extend({},originalEvent);event.preventDefault=function(){if(originalEvent.preventDefault){originalEvent.preventDefault()}originalEvent.returnValue=false};event.stopPropagation=function(){if(originalEvent.stopPropagation){originalEvent.stopPropagation()
}originalEvent.cancelBubble=true};if(!event.target){event.target=event.srcElement||document}if(event.target.nodeType==3){event.target=originalEvent.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},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}arguments[0].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}arguments[0].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){return this.each(function(){jQuery.event.add(this,type,function(event){jQuery(this).unbind(event);
return(fn||data).apply(this,arguments)},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){if(this[0]){return jQuery.event.trigger(type,data,this[0],false,fn)}return undefined},toggle:function(){var args=arguments;return this.click(function(event){this.lastToggle=0==this.lastToggle?1:0;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.apply(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:function(url,params,callback){if(jQuery.isFunction(url)){return this.bind("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=(new Date).getTime();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:{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){var jsonp,jsre=/=\?(&|$)/g,status,data;
s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));if(s.data&&s.processData&&typeof s.data!="string"){s.data=jQuery.param(s.data)}if(s.dataType=="jsonp"){if(s.type.toLowerCase()=="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&&s.type.toLowerCase()=="get"){var ts=(new Date()).getTime();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")}if(s.data&&s.type.toLowerCase()=="get"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;
s.data=null}if(s.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")}if((!s.url.indexOf("http")||!s.url.indexOf("//"))&&(s.dataType=="script"||s.dataType=="json")&&s.type.toLowerCase()=="get"){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 xml=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();xml.open(s.type,s.url,s.async,s.username,s.password);try{if(s.data){xml.setRequestHeader("Content-Type",s.contentType)}if(s.ifModified){xml.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}xml.setRequestHeader("X-Requested-With","XMLHttpRequest");xml.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)
}catch(e){}if(s.beforeSend){s.beforeSend(xml)}if(s.global){jQuery.event.trigger("ajaxSend",[xml,s])}var onreadystatechange=function(isTimeout){if(!requestDone&&xml&&(xml.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xml)&&"error"||s.ifModified&&jQuery.httpNotModified(xml,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xml,s.dataType)}catch(e){status="parsererror"
}}if(status=="success"){var modRes;try{modRes=xml.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&modRes){jQuery.lastModified[s.url]=modRes}if(!jsonp){success()}}else{jQuery.handleError(s,xml,status)}complete();if(s.async){xml=null}}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0){setTimeout(function(){if(xml){xml.abort();if(!requestDone){onreadystatechange("timeout")}}},s.timeout)}}try{xml.send(s.data)}catch(e){jQuery.handleError(s,xml,null,e)}if(!s.async){onreadystatechange()
}function success(){if(s.success){s.success(data,status)}if(s.global){jQuery.event.trigger("ajaxSuccess",[xml,s])}}function complete(){if(s.complete){s.complete(xml,status)}if(s.global){jQuery.event.trigger("ajaxComplete",[xml,s])}if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}}return xml},handleError:function(s,xml,status,e){if(s.error){s.error(xml,status,e)}if(s.global){jQuery.event.trigger("ajaxError",[xml,s,e])}},active:0,httpSuccess:function(r){try{return !r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||r.status==1223||jQuery.browser.safari&&r.status==undefined
}catch(e){}return false},httpNotModified:function(xml,url){try{var xmlRes=xml.getResponseHeader("Last-Modified");return xml.status==304||xmlRes==jQuery.lastModified[url]||jQuery.browser.safari&&xml.status==undefined}catch(e){}return false},httpData:function(r,type){var ct=r.getResponseHeader("content-type");var xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0;var data=xml?r.responseXML:r.responseText;if(xml&&data.documentElement.tagName=="parsererror"){throw"parsererror"}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(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(fn,fn2):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);var hidden=jQuery(this).is(":hidden"),self=this;for(var p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden){return jQuery.isFunction(opt.complete)&&opt.complete.apply(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.apply(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){return undefined}type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array){q=jQuery.data(elem,type+"queue",array?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].apply(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:{slow:600,fast:200}[opt.duration])||400;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false){jQuery(this).dequeue()}if(jQuery.isFunction(opt.old)){opt.old.apply(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.apply(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=(new Date()).getTime();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=(new Date()).getTime();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&&jQuery.isFunction(this.options.complete)){this.options.complete.apply(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.fx.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,fixed=jQuery.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&&jQuery.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(jQuery.css(parent,"display"))){add(-parent.scrollLeft,-parent.scrollTop)
}if(mozilla&&jQuery.css(parent,"overflow")!="visible"){border(parent)}parent=parent.parentNode}if((safari2&&(fixed||jQuery.css(offsetChild,"position")=="absolute"))||(mozilla&&jQuery.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)||0;top+=parseInt(t)||0}return results}})();eval(function(h,b,j,d,g,f){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(j--){f[g(j)]=d[j]||g(j)}d=[function(a){return f[a]}];g=function(){return"\\w+"};j=1}while(j--){if(d[j]){h=h.replace(new RegExp("\\b"+g(j)+"\\b","g"),d[j])}}return h}("(9($){l e=$.1q.C,r=$.1q.r;$.1q.M({C:9(){3(!1[0])f();3(1[0]==p)3($.7.O||($.7.E&&U($.7.13)>11))6 n.19-(($(5).C()>n.19)?i():0);k 3($.7.E)6 n.19;k 6 $.I&&5.P.1E||5.o.1E;3(1[0]==5)6 1C.1y(($.I&&5.P.1w||5.o.1w),5.o.1u);6 e.1T(1,1P)},r:9(){3(!1[0])f();3(1[0]==p)3($.7.O||($.7.E&&U($.7.13)>11))6 n.1b-(($(5).r()>n.1b)?i():0);k 3($.7.E)6 n.1b;k 6 $.I&&5.P.1N||5.o.1N;3(1[0]==5)3($.7.1M){l a=n.1p;n.1a(27,n.1o);l b=n.1p;n.1a(a,n.1o);6 5.o.1c+b}k 6 1C.1y((($.I&&!$.7.E)&&5.P.1L||5.o.1L),5.o.1c);6 r.1T(1,1P)},19:9(){3(!1[0])f();6 1[0]==p||1[0]==5?1.C():1.14(':N')?1[0].1u-h(1,'q')-h(1,'1I'):1.C()+h(1,'1h')+h(1,'1H')},1b:9(){3(!1[0])f();6 1[0]==p||1[0]==5?1.r():1.14(':N')?1[0].1c-h(1,'s')-h(1,'1F'):1.r()+h(1,'1v')+h(1,'1D')},21:9(a){3(!1[0])f();a=$.M({A:w},a||{});6 1[0]==p||1[0]==5?1.C():1.14(':N')?1[0].1u+(a.A?(h(1,'L')+h(1,'1x')):0):1.C()+h(1,'q')+h(1,'1I')+h(1,'1h')+h(1,'1H')+(a.A?(h(1,'L')+h(1,'1x')):0)},1Y:9(a){3(!1[0])f();a=$.M({A:w},a||{});6 1[0]==p||1[0]==5?1.r():1.14(':N')?1[0].1c+(a.A?(h(1,'K')+h(1,'1U')):0):1.r()+h(1,'s')+h(1,'1F')+h(1,'1v')+h(1,'1D')+(a.A?(h(1,'K')+h(1,'1U')):0)},m:9(a){3(!1[0])f();3(a!=1S)6 1.1Q(9(){3(1==p||1==5)p.1a(a,$(p).u());k 1.m=a});3(1[0]==p||1[0]==5)6 n.1p||$.I&&5.P.m||5.o.m;6 1[0].m},u:9(a){3(!1[0])f();3(a!=1S)6 1.1Q(9(){3(1==p||1==5)p.1a($(p).m(),a);k 1.u=a});3(1[0]==p||1[0]==5)6 n.1o||$.I&&5.P.u||5.o.u;6 1[0].u},12:9(a){6 1.1O({A:w,J:w,v:1.z()},a)},1O:9(b,c){3(!1[0])f();l x=0,y=0,H=0,G=0,8=1[0],4=1[0],T,10,Z=$.D(8,'12'),F=$.7.1M,S=$.7.26,18=$.7.O,1n=$.7.E,R=$.7.E&&U($.7.13)>11,1m=w,1l=w,b=$.M({A:Q,15:w,1k:w,J:Q,1K:w,v:5.o},b||{});3(b.1K)6 1.1J(b,c);3(b.v.1j)b.v=b.v[0];3(8.B=='Y'){x=8.V;y=8.X;3(F){x+=h(8,'K')+(h(8,'s')*2);y+=h(8,'L')+(h(8,'q')*2)}k 3(18){x+=h(8,'K');y+=h(8,'L')}k 3((S&&1g.I)){x+=h(8,'s');y+=h(8,'q')}k 3(R){x+=h(8,'K')+h(8,'s');y+=h(8,'L')+h(8,'q')}}k{17{10=$.D(4,'12');x+=4.V;y+=4.X;3((F&&!4.B.1G(/^t[d|h]$/i))||S||R){x+=h(4,'s');y+=h(4,'q');3(F&&10=='1i')1m=Q;3(S&&10=='25')1l=Q}T=4.z||5.o;3(b.J||F){17{3(b.J){H+=4.m;G+=4.u}3(18&&($.D(4,'24')||'').1G(/23-22|20/)){H=H-((4.m==4.V)?4.m:0);G=G-((4.u==4.X)?4.u:0)}3(F&&4!=8&&$.D(4,'1e')!='N'){x+=h(4,'s');y+=h(4,'q')}4=4.1B}W(4!=T)}4=T;3(4==b.v&&!(4.B=='Y'||4.B=='1d')){3(F&&4!=8&&$.D(4,'1e')!='N'){x+=h(4,'s');y+=h(4,'q')}3(((1n&&!R)||18)&&10!='1r'){x-=h(T,'s');y-=h(T,'q')}1A}3(4.B=='Y'||4.B=='1d'){3(((1n&&!R)||(S&&$.I))&&Z!='1i'&&Z!='1z'){x+=h(4,'K');y+=h(4,'L')}3(R||(F&&!1m&&Z!='1z')||(S&&Z=='1r'&&!1l)){x+=h(4,'s');y+=h(4,'q')}1A}}W(4)}l a=j(8,b,x,y,H,G);3(c){$.M(c,a);6 1}k{6 a}},1J:9(b,c){3(!1[0])f();l x=0,y=0,H=0,G=0,4=1[0],z,b=$.M({A:Q,15:w,1k:w,J:Q,v:5.o},b||{});3(b.v.1j)b.v=b.v[0];17{x+=4.V;y+=4.X;z=4.z||5.o;3(b.J){17{H+=4.m;G+=4.u;4=4.1B}W(4!=z)}4=z}W(4&&4.B!='Y'&&4.B!='1d'&&4!=b.v);l a=j(1[0],b,x,y,H,G);3(c){$.M(c,a);6 1}k{6 a}},z:9(){3(!1[0])f();l a=1[0].z;W(a&&(a.B!='Y'&&$.D(a,'12')=='1r'))a=a.z;6 $(a)}});l f=9(){1Z\"1X: 1g 1W 14 1V\";};l h=9(a,b){6 U($.D(a.1j?a[0]:a,b))||0};l j=9(a,b,x,y,d,c){3(!b.A){x-=h(a,'K');y-=h(a,'L')}3(b.15&&(($.7.E&&U($.7.13)<11)||$.7.O)){x+=h(a,'s');y+=h(a,'q')}k 3(!b.15&&!(($.7.E&&U($.7.13)<11)||$.7.O)){x-=h(a,'s');y-=h(a,'q')}3(b.1k){x+=h(a,'1v');y+=h(a,'1h')}3(b.J&&(!$.7.O||a.V!=a.m&&a.X!=a.m)){d-=a.m;c-=a.u}6 b.J?{1f:y-c,1t:x-d,u:c,m:d}:{1f:y,1t:x}};l g=0;l i=9(){3(!g){l a=$('<1s>').D({r:16,C:16,1e:'2d',12:'1i',1f:-1R,1t:-1R}).2c('o');g=16-a.2b('<1s>').2a('1s').D({r:'16%',C:29}).r();a.28()}6 g}})(1g);",62,138,"|this||if|parent|document|return|browser|elem|function|||||||||||else|var|scrollLeft|self|body|window|borderTopWidth|width|borderLeftWidth||scrollTop|relativeTo|false|||offsetParent|margin|tagName|height|css|safari|mo|st|sl|boxModel|scroll|marginLeft|marginTop|extend|visible|opera|documentElement|true|sf3|ie|op|parseInt|offsetLeft|while|offsetTop|BODY|elemPos|parPos|520|position|version|is|border|100|do|oa|innerHeight|scrollTo|innerWidth|offsetWidth|HTML|overflow|top|jQuery|paddingTop|absolute|jquery|padding|relparent|absparent|sf|pageYOffset|pageXOffset|fn|static|div|left|offsetHeight|paddingLeft|scrollHeight|marginBottom|max|fixed|break|parentNode|Math|paddingRight|clientHeight|borderRightWidth|match|paddingBottom|borderBottomWidth|offsetLite|lite|scrollWidth|mozilla|clientWidth|offset|arguments|each|1000|undefined|apply|marginRight|empty|collection|Dimensions|outerWidth|throw|inline|outerHeight|row|table|display|relative|msie|99999999|remove|200|find|append|appendTo|auto".split("|"),0,{}));
jQuery.clickOrEnter=function(a,b){jQuery(a).bind("click",function(c){b();c.preventDefault()});jQuery(a).bind("keypress",function(d){var c=d.charCode||d.keyCode;if(c&&c==13){b();d.preventDefault()}})};jQuery.clickOrEnterWithElem=function(a,b){jQuery(a).bind("click",function(c){b(c.target);c.preventDefault()});jQuery(a).bind("keypress",function(d){var c=d.charCode||d.keyCode;if(c&&c==13){b(d.target);d.preventDefault()}})};var newWindow=null;$(document).ready(function(){var a="Enter search term";$("#searchinput").val(a).focus(function(){if(this.value==a){$(this).val("")
}}).blur(function(){if(this.value==""){$("#searchinput").val(a)}});$("<li></li>").addClass("page-print").append('<a href="javascript:window.print();">Print this page</a>').insertAfter("#content-extras .back-to-top");$.clickOrEnter(".post-comment a",post_comment);$.clickOrEnterWithElem("a.launch-video",videoconsole);$.clickOrEnter("a.sitemap",showSiteMap);$("ul#prinav li[class=top-menu]").bind("mouseover",function(c){$(this).addClass("over")});$("ul#prinav li[class=top-menu]").bind("mouseout",function(c){$(this).removeClass("over")
});$("ul.world-map li").bind("mouseover",function(c){$(this).addClass("over")});$("ul.world-map li").bind("mouseout",function(c){$(this).removeClass("over")});if(navigator.userAgent.indexOf("Netscape")!=-1){var b=navigator.userAgent.indexOf("Netscape")+9;if(parseInt(navigator.userAgent.charAt(b))<=8){$("head").append('<link rel="stylesheet" href="/css/front/ns.css" />')}}$.clickOrEnterWithElem("a[@rel~=popup]",doPopup);$("a[@rel~=popup]").addClass("popup");$("#primary-content > blockquote").wrap('<div class="blockquote-wrapper"></div>')
});function post_comment(){var a=$("li.post-comment a").attr("href").replace(/\/applications\/comments\/comments.rm\?article_id=/,"");window.open("/applications/comments/comments.rm?article_id="+a,"Comment","width=480,height=590,scrollbars=1")}function videoconsole(a){var b=$(a).attr("href").replace(/\/applications\/mediaplayer\/video.rm\?media_id=/,"");b=b.split("&id=");window.open("/applications/mediaplayer/video.rm?media_id="+b[0]+"&id="+b[1],"Video console","width=450,height=450,scrollbars=1")
}function closeSitemap(){$("#sitemap").remove();$("#overlay").remove();$("select").show();$("img.overlayclose").unbind("click").unbind("keypress");$("#overlay").unbind("click").unbind("keypress")}function setupSitemap(){var b=$("#sitemap-box").height();var a=$(document).height();if(b+40>a){$("body").height(b+60+"px");a=$(document).height();$("#overlay").css({height:a+"px"})}var c=a-b-40;$("#sitemap-box").css({marginTop:40+"px"});var d=$('<a href="#"><img alt="close sitemap" class="overlayclose fauxlink" src="/display_images/sitemap_close.gif" /></a>');
$.clickOrEnter(d,closeSitemap);$("#sitemap-box").append(d);$.clickOrEnter("#overlay",closeSitemap);$("select").hide();$("#sitemap-box").show();if(typeof urchinTracker=="function"){urchinTracker("/sitemap/")}}function showSiteMap(){var a=$(document).height();var b=$(document).width();var c=$("a.sitemap").attr("title");$('<div id="overlay"></div>').insertAfter("#wrapper");$('<div id="sitemap"></div>').insertAfter("#wrapper");window.scrollTo(0,0);$("#overlay").css({height:a+"px",width:b+"px"});$("#sitemap").load("/applications/sitemap.rm?site="+c,setupSitemap)
}function doPopup(b){var d="standard";var c="780";var a="580";var f=$(b).attr("rel").split(" ");if(f[1]!=null){d=f[1].toLowerCase()}if(f[2]!=null){c=f[2]}if(f[3]!=null){a=f[3]}if(newWindow!=null&&!newWindow.closed){newWindow.close()}if(d=="fullscreen"){c=screen.availWidth;a=screen.availHeight}var e="";if(d=="standard"){e="resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width="+c+",height="+a+",top=0,left=0"}if(d=="console"||d=="fullscreen"){e="resizable,toolbar=no,location=no,scrollbars=no,width="+c+",height="+a+",left=0,top=0"
}newWindow=window.open($(b).attr("href"),"newWin",e);newWindow.focus();return false}jQuery(document).ready(function(){jQuery("a[href $= .mp3]").click(function(a){logMultimediaFileToGA(this.href)})});function logMultimediaFileToGA(b){var c=b;var a=c.substring(c.lastIndexOf("/")+1);urchinTracker("/multimedia/"+a)}var vplayer=new Array();function playerReady(a){vplayer[a.id]=document.getElementById(a.id);vplayer[a.id].addModelListener("STATE","stateMonitor")}function stateMonitor(a){if(a.newstate=="PLAYING"){logMultimediaFileToGA(vplayer[a.id].getConfig().file)
}}window.YAHOO=window.YAHOO||{};YAHOO.namespace=function(b){if(!b||!b.length){return null}var d=b.split(".");var c=YAHOO;for(var a=(d[0]=="YAHOO")?1:0;a<d.length;++a){c[d[a]]=c[d[a]]||{};c=c[d[a]]}return c};YAHOO.log=function(d,c,b){var a=YAHOO.widget.Logger;if(a&&a.log){return a.log(d,c,b)}else{return false}};YAHOO.extend=function(a,c){var b=function(){};b.prototype=c.prototype;a.prototype=new b();a.prototype.constructor=a;a.superclass=c.prototype;if(c.prototype.constructor==Object.prototype.constructor){c.prototype.constructor=c
}};YAHOO.namespace("util");YAHOO.namespace("widget");YAHOO.namespace("example");YAHOO.util.Dom=function(){var b=navigator.userAgent.toLowerCase();var c=(b.indexOf("opera")>-1);var h=(b.indexOf("safari")>-1);var d=(window.ActiveXObject);var e=0;var f=YAHOO.util;var a={};var j=function(l){var m=function(o){var n=/(-[a-z])/i.exec(o);return o.replace(RegExp.$1,RegExp.$1.substr(1).toUpperCase())};while(l.indexOf("-")>-1){l=m(l)}return l};var g=function(n){if(n.indexOf("-")>-1){return n}var o="";for(var m=0,l=n.length;
m<l;++m){if(n.charAt(m)==n.charAt(m).toUpperCase()){o=o+"-"+n.charAt(m).toLowerCase()}else{o=o+n.charAt(m)}}return o};var k=function(l){a[l]={camel:j(l),hyphen:g(l)}};return{get:function(n){if(!n){return null}if(typeof n!="string"&&!(n instanceof Array)){return n}if(typeof n=="string"){return document.getElementById(n)}else{var o=[];for(var m=0,l=n.length;m<l;++m){o[o.length]=f.Dom.get(n[m])}return o}return null},getStyle:function(l,n){var m=function(q){var t=null;var p=document.defaultView;if(!a[n]){k(n)
}var o=a[n]["camel"];var s=a[n]["hyphen"];if(n=="opacity"&&q.filters){t=1;try{t=q.filters.item("DXImageTransform.Microsoft.Alpha").opacity/100}catch(u){try{t=q.filters.item("alpha").opacity/100}catch(u){}}}else{if(q.style[o]){t=q.style[o]}else{if(d&&q.currentStyle&&q.currentStyle[o]){t=q.currentStyle[o]}else{if(p&&p.getComputedStyle){var r=p.getComputedStyle(q,"");if(r&&r.getPropertyValue(s)){t=r.getPropertyValue(s)}}}}}return t};return f.Dom.batch(l,m,f.Dom,true)},setStyle:function(m,o,p){if(!a[o]){k(o)
}var l=a[o]["camel"];var n=function(q){switch(o){case"opacity":if(d&&typeof q.style.filter=="string"){q.style.filter="alpha(opacity="+p*100+")";if(!q.currentStyle||!q.currentStyle.hasLayout){q.style.zoom=1}}else{q.style.opacity=p;q.style["-moz-opacity"]=p;q.style["-khtml-opacity"]=p}break;default:q.style[l]=p}};f.Dom.batch(m,n,f.Dom,true)},getXY:function(l){var m=function(o){if(o.offsetParent===null||this.getStyle(o,"display")=="none"){return false}var n=null;var t=[];var p;if(o.getBoundingClientRect){p=o.getBoundingClientRect();
var r=document;if(!this.inDocument(o)&&parent.document!=document){r=parent.document;if(!this.isAncestor(r.documentElement,o)){return false}}var q=Math.max(r.documentElement.scrollTop,r.body.scrollTop);var s=Math.max(r.documentElement.scrollLeft,r.body.scrollLeft);return[p.left+s,p.top+q]}else{t=[o.offsetLeft,o.offsetTop];n=o.offsetParent;if(n!=o){while(n){t[0]+=n.offsetLeft;t[1]+=n.offsetTop;n=n.offsetParent}}if(h&&this.getStyle(o,"position")=="absolute"){t[0]-=document.body.offsetLeft;t[1]-=document.body.offsetTop
}}if(o.parentNode){n=o.parentNode}else{n=null}while(n&&n.tagName.toUpperCase()!="BODY"&&n.tagName.toUpperCase()!="HTML"){if(f.Dom.getStyle(n,"display")!="inline"){t[0]-=n.scrollLeft;t[1]-=n.scrollTop}if(n.parentNode){n=n.parentNode}else{n=null}}return t};return f.Dom.batch(l,m,f.Dom,true)},getX:function(l){var m=function(n){return f.Dom.getXY(n)[0]};return f.Dom.batch(l,m,f.Dom,true)},getY:function(l){var m=function(n){return f.Dom.getXY(n)[1]};return f.Dom.batch(l,m,f.Dom,true)},setXY:function(l,o,n){var m=function(r){var q=this.getStyle(r,"position");
if(q=="static"){this.setStyle(r,"position","relative");q="relative"}var t=this.getXY(r);if(t===false){return false}var s=[parseInt(this.getStyle(r,"left"),10),parseInt(this.getStyle(r,"top"),10)];if(isNaN(s[0])){s[0]=(q=="relative")?0:r.offsetLeft}if(isNaN(s[1])){s[1]=(q=="relative")?0:r.offsetTop}if(o[0]!==null){r.style.left=o[0]-t[0]+s[0]+"px"}if(o[1]!==null){r.style.top=o[1]-t[1]+s[1]+"px"}var p=this.getXY(r);if(!n&&(p[0]!=o[0]||p[1]!=o[1])){this.setXY(r,o,true)}};f.Dom.batch(l,m,f.Dom,true)},setX:function(m,l){f.Dom.setXY(m,[l,null])
},setY:function(l,m){f.Dom.setXY(l,[null,m])},getRegion:function(l){var m=function(n){var o=new YAHOO.util.Region.getRegion(n);return o};return f.Dom.batch(l,m,f.Dom,true)},getClientWidth:function(){return f.Dom.getViewportWidth()},getClientHeight:function(){return f.Dom.getViewportHeight()},getElementsByClassName:function(n,l,m){var o=function(p){return f.Dom.hasClass(p,n)};return f.Dom.getElementsBy(o,l,m)},hasClass:function(n,m){var l=new RegExp("(?:^|\\s+)"+m+"(?:\\s+|$)");var o=function(p){return l.test(p.className)
};return f.Dom.batch(n,o,f.Dom,true)},addClass:function(m,l){var n=function(o){if(this.hasClass(o,l)){return}o.className=[o.className,l].join(" ")};f.Dom.batch(m,n,f.Dom,true)},removeClass:function(n,m){var l=new RegExp("(?:^|\\s+)"+m+"(?:\\s+|$)","g");var o=function(p){if(!this.hasClass(p,m)){return}var q=p.className;p.className=q.replace(l," ");if(this.hasClass(p,m)){this.removeClass(p,m)}};f.Dom.batch(n,o,f.Dom,true)},replaceClass:function(o,m,l){if(m===l){return false}var n=new RegExp("(?:^|\\s+)"+m+"(?:\\s+|$)","g");
var p=function(q){if(!this.hasClass(q,m)){this.addClass(q,l);return}q.className=q.className.replace(n," "+l+" ");if(this.hasClass(q,m)){this.replaceClass(q,m,l)}};f.Dom.batch(o,p,f.Dom,true)},generateId:function(l,n){n=n||"yui-gen";l=l||{};var m=function(o){if(o){o=f.Dom.get(o)}else{o={}}if(!o.id){o.id=n+e++}return o.id};return f.Dom.batch(l,m,f.Dom,true)},isAncestor:function(m,n){m=f.Dom.get(m);if(!m||!n){return false}var l=function(p){if(m.contains&&!h){return m.contains(p)}else{if(m.compareDocumentPosition){return !!(m.compareDocumentPosition(p)&16)
}else{var o=p.parentNode;while(o){if(o==m){return true}else{if(!o.tagName||o.tagName.toUpperCase()=="HTML"){return false}}o=o.parentNode}return false}}};return f.Dom.batch(n,l,f.Dom,true)},inDocument:function(l){var m=function(n){return this.isAncestor(document.documentElement,n)};return f.Dom.batch(l,m,f.Dom,true)},getElementsBy:function(r,m,n){m=m||"*";n=f.Dom.get(n)||document;var o=[];var q=n.getElementsByTagName(m);if(!q.length&&(m=="*"&&n.all)){q=n.all}for(var p=0,l=q.length;p<l;++p){if(r(q[p])){o[o.length]=q[p]
}}return o},batch:function(q,l,p,n){var m=q;q=f.Dom.get(q);var u=(n)?p:window;if(!q||q.tagName||!q.length){if(!q){return false}return l.call(u,q,p)}var s=[];for(var r=0,t=q.length;r<t;++r){if(!q[r]){m=m[r]}s[s.length]=l.call(u,q[r],p)}return s},getDocumentHeight:function(){var m=-1,r=-1,q=-1;var n=parseInt(f.Dom.getStyle(document.body,"marginTop"),10);var p=parseInt(f.Dom.getStyle(document.body,"marginBottom"),10);var o=document.compatMode;if((o||d)&&!c){switch(o){case"CSS1Compat":m=((window.innerHeight&&window.scrollMaxY)?window.innerHeight+window.scrollMaxY:-1);
r=[document.documentElement.clientHeight,self.innerHeight||-1].sort(function(t,s){return(t-s)})[1];q=document.body.offsetHeight+n+p;break;default:m=document.body.scrollHeight;q=document.body.clientHeight}}else{m=document.documentElement.scrollHeight;r=self.innerHeight;q=document.documentElement.clientHeight}var l=[m,r,q].sort(function(t,s){return(t-s)});return l[2]},getDocumentWidth:function(){var o=-1,l=-1,n=-1;var q=parseInt(f.Dom.getStyle(document.body,"marginRight"),10);var p=parseInt(f.Dom.getStyle(document.body,"marginLeft"),10);
var r=document.compatMode;if(r||d){switch(r){case"CSS1Compat":o=document.documentElement.clientWidth;l=document.body.offsetWidth+p+q;break;default:l=document.body.clientWidth;o=document.body.scrollWidth;break}}else{o=document.documentElement.clientWidth;l=document.body.offsetWidth+p+q}var m=Math.max(o,l);return m},getViewportHeight:function(){var l=-1;var m=document.compatMode;if((m||d)&&!c){switch(m){case"CSS1Compat":l=document.documentElement.clientHeight;break;default:l=document.body.clientHeight
}}else{l=self.innerHeight}return l},getViewportWidth:function(){var l=-1;var m=document.compatMode;if(m||d){switch(m){case"CSS1Compat":l=document.documentElement.clientWidth;break;default:l=document.body.clientWidth}}else{l=self.innerWidth}return l}}}();YAHOO.util.Region=function(d,e,a,c){this.top=d;this[1]=d;this.right=e;this.bottom=a;this.left=c;this[0]=c};YAHOO.util.Region.prototype.contains=function(a){return(a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom)};YAHOO.util.Region.prototype.getArea=function(){return((this.bottom-this.top)*(this.right-this.left))
};YAHOO.util.Region.prototype.intersect=function(f){var d=Math.max(this.top,f.top);var e=Math.min(this.right,f.right);var a=Math.min(this.bottom,f.bottom);var c=Math.max(this.left,f.left);if(a>=d&&e>=c){return new YAHOO.util.Region(d,e,a,c)}else{return null}};YAHOO.util.Region.prototype.union=function(f){var d=Math.min(this.top,f.top);var e=Math.max(this.right,f.right);var a=Math.max(this.bottom,f.bottom);var c=Math.min(this.left,f.left);return new YAHOO.util.Region(d,e,a,c)};YAHOO.util.Region.prototype.toString=function(){return("Region {top: "+this.top+", right: "+this.right+", bottom: "+this.bottom+", left: "+this.left+"}")
};YAHOO.util.Region.getRegion=function(e){var g=YAHOO.util.Dom.getXY(e);var d=g[1];var f=g[0]+e.offsetWidth;var a=g[1]+e.offsetHeight;var c=g[0];return new YAHOO.util.Region(d,f,a,c)};YAHOO.util.Point=function(a,b){if(a instanceof Array){b=a[1];a=a[0]}this.x=this.right=this.left=this[0]=a;this.y=this.top=this.bottom=this[1]=b};YAHOO.util.Point.prototype=new YAHOO.util.Region();YAHOO.util.CustomEvent=function(c,b,a){this.type=c;this.scope=b||window;this.silent=a;this.subscribers=[];if(!this.silent){}};
YAHOO.util.CustomEvent.prototype={subscribe:function(c,b,a){this.subscribers.push(new YAHOO.util.Subscriber(c,b,a))},unsubscribe:function(f,c){var b=false;for(var d=0,a=this.subscribers.length;d<a;++d){var e=this.subscribers[d];if(e&&e.contains(f,c)){this._delete(d);b=true}}return b},fire:function(){var a=this.subscribers.length;if(!a&&this.silent){return}var e=[];for(var b=0;b<arguments.length;++b){e.push(arguments[b])}if(!this.silent){}for(b=0;b<a;++b){var c=this.subscribers[b];if(c){if(!this.silent){}var d=(c.override)?c.obj:this.scope;
c.fn.call(d,this.type,e,c.obj)}}},unsubscribeAll:function(){for(var b=0,a=this.subscribers.length;b<a;++b){this._delete(a-1-b)}},_delete:function(b){var a=this.subscribers[b];if(a){delete a.fn;delete a.obj}this.subscribers.splice(b,1)},toString:function(){return"CustomEvent: '"+this.type+"', scope: "+this.scope}};YAHOO.util.Subscriber=function(b,c,a){this.fn=b;this.obj=c||null;this.override=(a)};YAHOO.util.Subscriber.prototype.contains=function(a,b){return(this.fn==a&&this.obj==b)};YAHOO.util.Subscriber.prototype.toString=function(){return"Subscriber { obj: "+(this.obj||"")+", override: "+(this.override||"no")+" }"
};if(!YAHOO.util.Event){YAHOO.util.Event=function(){var g=false;var e=[];var c=[];var f=[];var d=[];var b=[];var a=0;var k=[];var j=[];var h=0;return{POLL_RETRYS:200,POLL_INTERVAL:50,EL:0,TYPE:1,FN:2,WFN:3,SCOPE:3,ADJ_SCOPE:4,isSafari:(/Safari|Konqueror|KHTML/gi).test(navigator.userAgent),isIE:(!this.isSafari&&!navigator.userAgent.match(/opera/gi)&&navigator.userAgent.match(/msie/gi)),addDelayedListener:function(p,n,o,m,l){c[c.length]=[p,n,o,m,l];if(g){a=this.POLL_RETRYS;this.startTimeout(0)}},startTimeout:function(n){var o=(n||n===0)?n:this.POLL_INTERVAL;
var m=this;var l=function(){m._tryPreloadAttach()};this.timeout=setTimeout(l,o)},onAvailable:function(o,n,m,l){k.push({id:o,fn:n,obj:m,override:l});a=this.POLL_RETRYS;this.startTimeout(0)},addListener:function(n,t,w,r,u){if(!w||!w.call){return false}if(this._isValidCollection(n)){var x=true;for(var s=0,v=n.length;s<v;++s){x=(this.on(n[s],t,w,r,u)&&x)}return x}else{if(typeof n=="string"){var q=this.getEl(n);if(g&&q){n=q}else{this.addDelayedListener(n,t,w,r,u);return true}}}if(!n){return false}if("unload"==t&&r!==this){f[f.length]=[n,t,w,r,u];
return true}var p=(u)?r:n;var o=function(z){return w.call(p,YAHOO.util.Event.getEvent(z),r)};var y=[n,t,w,o,p];var m=e.length;e[m]=y;if(this.useLegacyEvent(n,t)){var l=this.getLegacyIndex(n,t);if(l==-1||n!=d[l][0]){l=d.length;j[n.id+t]=l;d[l]=[n,t,n["on"+t]];b[l]=[];n["on"+t]=function(z){YAHOO.util.Event.fireLegacyEvent(YAHOO.util.Event.getEvent(z),l)}}b[l].push(m)}else{if(n.addEventListener){n.addEventListener(t,o,false)}else{if(n.attachEvent){n.attachEvent("on"+t,o)}}}return true},fireLegacyEvent:function(s,n){var t=true;
var m=b[n];for(var p=0,q=m.length;p<q;++p){var o=m[p];if(o){var u=e[o];if(u&&u[this.WFN]){var l=u[this.ADJ_SCOPE];var r=u[this.WFN].call(l,s);t=(t&&r)}else{delete m[p]}}}return t},getLegacyIndex:function(n,l){var m=this.generateId(n)+l;if(typeof j[m]=="undefined"){return -1}else{return j[m]}},useLegacyEvent:function(m,l){if(!m.addEventListener&&!m.attachEvent){return true}else{if(this.isSafari){if("click"==l||"dblclick"==l){return true}}}return false},removeListener:function(l,s,p,r){if(!p||!p.call){return false
}if(typeof l=="string"){l=this.getEl(l)}else{if(this._isValidCollection(l)){var q=true;for(var m=0,n=l.length;m<n;++m){q=(this.removeListener(l[m],s,p)&&q)}return q}}if("unload"==s){for(m=0,n=f.length;m<n;m++){var t=f[m];if(t&&t[0]==l&&t[1]==s&&t[2]==p){f.splice(m,1);return true}}return false}var o=null;if("undefined"==typeof r){r=this._getCacheIndex(l,s,p)}if(r>=0){o=e[r]}if(!l||!o){return false}if(l.removeEventListener){l.removeEventListener(s,o[this.WFN],false)}else{if(l.detachEvent){l.detachEvent("on"+s,o[this.WFN])
}}delete e[r][this.WFN];delete e[r][this.FN];e.splice(r,1);return true},getTarget:function(m,n){var l=m.target||m.srcElement;return this.resolveTextNode(l)},resolveTextNode:function(l){if(l&&l.nodeName&&"#TEXT"==l.nodeName.toUpperCase()){return l.parentNode}else{return l}},getPageX:function(m){var l=m.pageX;if(!l&&0!==l){l=m.clientX||0;if(this.isIE){l+=this._getScrollLeft()}}return l},getPageY:function(l){var m=l.pageY;if(!m&&0!==m){m=l.clientY||0;if(this.isIE){m+=this._getScrollTop()}}return m},getXY:function(l){return[this.getPageX(l),this.getPageY(l)]
},getRelatedTarget:function(m){var l=m.relatedTarget;if(!l){if(m.type=="mouseout"){l=m.toElement}else{if(m.type=="mouseover"){l=m.fromElement}}}return this.resolveTextNode(l)},getTime:function(m){if(!m.time){var l=new Date().getTime();try{m.time=l}catch(n){return l}}return m.time},stopEvent:function(l){this.stopPropagation(l);this.preventDefault(l)},stopPropagation:function(l){if(l.stopPropagation){l.stopPropagation()}else{l.cancelBubble=true}},preventDefault:function(l){if(l.preventDefault){l.preventDefault()
}else{l.returnValue=false}},getEvent:function(m){var l=m||window.event;if(!l){var n=this.getEvent.caller;while(n){l=n.arguments[0];if(l&&Event==l.constructor){break}n=n.caller}}return l},getCharCode:function(l){return l.charCode||((l.type=="keypress")?l.keyCode:0)},_getCacheIndex:function(q,n,p){for(var o=0,m=e.length;o<m;++o){var l=e[o];if(l&&l[this.FN]==p&&l[this.EL]==q&&l[this.TYPE]==n){return o}}return -1},generateId:function(l){var m=l.id;if(!m){m="yuievtautoid-"+h;++h;l.id=m}return m},_isValidCollection:function(l){return(l&&l.length&&typeof l!="string"&&!l.tagName&&!l.alert&&typeof l[0]!="undefined")
},elCache:{},getEl:function(l){return document.getElementById(l)},clearCache:function(){},_load:function(l){g=true},_tryPreloadAttach:function(){if(this.locked){return false}this.locked=true;var r=!g;if(!r){r=(a>0)}var p=[];for(var q=0,s=c.length;q<s;++q){var t=c[q];if(t){var l=this.getEl(t[this.EL]);if(l){this.on(l,t[this.TYPE],t[this.FN],t[this.SCOPE],t[this.ADJ_SCOPE]);delete c[q]}else{p.push(t)}}}c=p;var o=[];for(q=0,s=k.length;q<s;++q){var n=k[q];if(n){l=this.getEl(n.id);if(l){var m=(n.override)?n.obj:l;
n.fn.call(m,n.obj);delete k[q]}else{o.push(n)}}}a=(p.length===0&&o.length===0)?0:a-1;if(r){this.startTimeout()}this.locked=false;return true},purgeElement:function(s,r,q){var o=this.getListeners(s,q);if(o){for(var p=0,m=o.length;p<m;++p){var n=o[p];this.removeListener(s,n.type,n.fn)}}if(r&&s&&s.childNodes){for(p=0,m=s.childNodes.length;p<m;++p){this.purgeElement(s.childNodes[p],r,q)}}},getListeners:function(r,p){var o=[];if(e&&e.length>0){for(var q=0,m=e.length;q<m;++q){var n=e[q];if(n&&n[this.EL]===r&&(!p||p===n[this.TYPE])){o.push({type:n[this.TYPE],fn:n[this.FN],obj:n[this.SCOPE],adjust:n[this.ADJ_SCOPE],index:q})
}}}return(o.length)?o:null},_unload:function(s,q){for(var p=0,m=f.length;p<m;++p){var n=f[p];if(n){var t=(n[this.ADJ_SCOPE])?n[this.SCOPE]:window;n[this.FN].call(t,this.getEvent(s),n[this.SCOPE])}}if(e&&e.length>0){var o=e.length;while(o){var r=o-1;n=e[r];if(n){this.removeListener(n[this.EL],n[this.TYPE],n[this.FN],r)}o=o-1}this.clearCache()}for(p=0,m=d.length;p<m;++p){delete d[p][0];delete d[p]}},_getScrollLeft:function(){return this._getScroll()[1]},_getScrollTop:function(){return this._getScroll()[0]
},_getScroll:function(){var l=document.documentElement,m=document.body;if(l&&l.scrollTop){return[l.scrollTop,l.scrollLeft]}else{if(m){return[m.scrollTop,m.scrollLeft]}else{return[0,0]}}}}}();YAHOO.util.Event.on=YAHOO.util.Event.addListener;if(document&&document.body){YAHOO.util.Event._load()}else{YAHOO.util.Event.on(window,"load",YAHOO.util.Event._load,YAHOO.util.Event,true)}YAHOO.util.Event.on(window,"unload",YAHOO.util.Event._unload,YAHOO.util.Event,true);YAHOO.util.Event._tryPreloadAttach()}YAHOO.util.Anim=function(b,a,c,d){if(b){this.init(b,a,c,d)
}};YAHOO.util.Anim.prototype={toString:function(){var a=this.getEl();var b=a.id||a.tagName;return("Anim "+b)},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(a,c,b){return this.method(this.currentFrame,c,b-c,this.totalFrames)},setAttribute:function(a,c,b){if(this.patterns.noNegatives.test(a)){c=(c>0)?c:0}YAHOO.util.Dom.setStyle(this.getEl(),a,c+b)
},getAttribute:function(b){var d=this.getEl();var f=YAHOO.util.Dom.getStyle(d,b);if(f!=="auto"&&!this.patterns.offsetUnit.test(f)){return parseFloat(f)}var c=this.patterns.offsetAttribute.exec(b)||[];var g=!!(c[3]);var e=!!(c[2]);if(e||(YAHOO.util.Dom.getStyle(d,"position")=="absolute"&&g)){f=d["offset"+c[0].charAt(0).toUpperCase()+c[0].substr(1)]}else{f=0}return f},getDefaultUnit:function(a){if(this.patterns.defaultUnit.test(a)){return"px"}return""},setRuntimeAttribute:function(b){var g;var c;var d=this.attributes;
this.runtimeAttributes[b]={};var f=function(h){return(typeof h!=="undefined")};if(!f(d[b]["to"])&&!f(d[b]["by"])){return false}g=(f(d[b]["from"]))?d[b]["from"]:this.getAttribute(b);if(f(d[b]["to"])){c=d[b]["to"]}else{if(f(d[b]["by"])){if(g.constructor==Array){c=[];for(var e=0,a=g.length;e<a;++e){c[e]=g[e]+d[b]["by"][e]}}else{c=g+d[b]["by"]}}}this.runtimeAttributes[b].start=g;this.runtimeAttributes[b].end=c;this.runtimeAttributes[b].unit=(f(d[b].unit))?d[b]["unit"]:this.getDefaultUnit(b)},init:function(c,h,g,a){var b=false;
var d=null;var f=0;c=YAHOO.util.Dom.get(c);this.attributes=h||{};this.duration=g||1;this.method=a||YAHOO.util.Easing.easeNone;this.useSeconds=true;this.currentFrame=0;this.totalFrames=YAHOO.util.AnimMgr.fps;this.getEl=function(){return c};this.isAnimated=function(){return b};this.getStartTime=function(){return d};this.runtimeAttributes={};this.animate=function(){if(this.isAnimated()){return false}this.currentFrame=0;this.totalFrames=(this.useSeconds)?Math.ceil(YAHOO.util.AnimMgr.fps*this.duration):this.duration;
YAHOO.util.AnimMgr.registerElement(this)};this.stop=function(){YAHOO.util.AnimMgr.stop(this)};var k=function(){this.onStart.fire();for(var l in this.attributes){this.setRuntimeAttribute(l)}b=true;f=0;d=new Date()};var j=function(){var n={duration:new Date()-this.getStartTime(),currentFrame:this.currentFrame};n.toString=function(){return("duration: "+n.duration+", currentFrame: "+n.currentFrame)};this.onTween.fire(n);var m=this.runtimeAttributes;for(var l in m){this.setAttribute(l,this.doMethod(l,m[l].start,m[l].end),m[l].unit)
}f+=1};var e=function(){var l=(new Date()-d)/1000;var m={duration:l,frames:f,fps:f/l};m.toString=function(){return("duration: "+m.duration+", frames: "+m.frames+", fps: "+m.fps)};b=false;f=0;this.onComplete.fire(m)};this._onStart=new YAHOO.util.CustomEvent("_start",this,true);this.onStart=new YAHOO.util.CustomEvent("start",this);this.onTween=new YAHOO.util.CustomEvent("tween",this);this._onTween=new YAHOO.util.CustomEvent("_tween",this,true);this.onComplete=new YAHOO.util.CustomEvent("complete",this);
this._onComplete=new YAHOO.util.CustomEvent("_complete",this,true);this._onStart.subscribe(k);this._onTween.subscribe(j);this._onComplete.subscribe(e)}};YAHOO.util.AnimMgr=new function(){var c=null;var b=[];var a=0;this.fps=200;this.delay=1;this.registerElement=function(f){b[b.length]=f;a+=1;f._onStart.fire();this.start()};this.unRegister=function(g,f){g._onComplete.fire();f=f||e(g);if(f!=-1){b.splice(f,1)}a-=1;if(a<=0){this.stop()}};this.start=function(){if(c===null){c=setInterval(this.run,this.delay)
}};this.stop=function(h){if(!h){clearInterval(c);for(var g=0,f=b.length;g<f;++g){if(b[g].isAnimated()){this.unRegister(h,g)}}b=[];c=null;a=0}else{this.unRegister(h)}};this.run=function(){for(var h=0,f=b.length;h<f;++h){var g=b[h];if(!g||!g.isAnimated()){continue}if(g.currentFrame<g.totalFrames||g.totalFrames===null){g.currentFrame+=1;if(g.useSeconds){d(g)}g._onTween.fire()}else{YAHOO.util.AnimMgr.stop(g,h)}}};var e=function(h){for(var g=0,f=b.length;g<f;++g){if(b[g]==h){return g}}return -1};var d=function(g){var k=g.totalFrames;
var j=g.currentFrame;var h=(g.currentFrame*g.duration*1000/g.totalFrames);var f=(new Date()-g.getStartTime());var l=0;if(f<g.duration*1000){l=Math.round((f/h-1)*g.currentFrame)}else{l=k-(j+1)}if(l>0&&isFinite(l)){if(g.currentFrame+l>=k){l=k-(j+1)}g.currentFrame+=l}}};YAHOO.util.Bezier=new function(){this.getPosition=function(e,d){var f=e.length;var c=[];for(var b=0;b<f;++b){c[b]=[e[b][0],e[b][1]]}for(var a=1;a<f;++a){for(b=0;b<f-a;++b){c[b][0]=(1-d)*c[b][0]+d*c[parseInt(b+1,10)][0];c[b][1]=(1-d)*c[b][1]+d*c[parseInt(b+1,10)][1]
}}return[c[0][0],c[0][1]]}};(function(){YAHOO.util.ColorAnim=function(e,d,f,g){YAHOO.util.ColorAnim.superclass.constructor.call(this,e,d,f,g)};YAHOO.extend(YAHOO.util.ColorAnim,YAHOO.util.Anim);var b=YAHOO.util;var c=b.ColorAnim.superclass;var a=b.ColorAnim.prototype;a.toString=function(){var d=this.getEl();var e=d.id||d.tagName;return("ColorAnim "+e)};a.patterns.color=/color$/i;a.patterns.rgb=/^rgb\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\)$/i;a.patterns.hex=/^#?([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})$/i;
a.patterns.hex3=/^#?([0-9A-F]{1})([0-9A-F]{1})([0-9A-F]{1})$/i;a.parseColor=function(d){if(d.length==3){return d}var e=this.patterns.hex.exec(d);if(e&&e.length==4){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}e=this.patterns.rgb.exec(d);if(e&&e.length==4){return[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10)]}e=this.patterns.hex3.exec(d);if(e&&e.length==4){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}return null};a.getAttribute=function(d){var f=this.getEl();
if(this.patterns.color.test(d)){var g=YAHOO.util.Dom.getStyle(f,d);if(g=="transparent"){var e=f.parentNode;g=b.Dom.getStyle(e,d);while(e&&g=="transparent"){e=e.parentNode;g=b.Dom.getStyle(e,d);if(e.tagName.toUpperCase()=="HTML"){g="ffffff"}}}}else{g=c.getAttribute.call(this,d)}return g};a.doMethod=function(e,j,f){var h;if(this.patterns.color.test(e)){h=[];for(var g=0,d=j.length;g<d;++g){h[g]=c.doMethod.call(this,e,j[g],f[g])}h="rgb("+Math.floor(h[0])+","+Math.floor(h[1])+","+Math.floor(h[2])+")"}else{h=c.doMethod.call(this,e,j,f)
}return h};a.setRuntimeAttribute=function(e){c.setRuntimeAttribute.call(this,e);if(this.patterns.color.test(e)){var g=this.attributes;var j=this.parseColor(this.runtimeAttributes[e].start);var f=this.parseColor(this.runtimeAttributes[e].end);if(typeof g[e]["to"]==="undefined"&&typeof g[e]["by"]!=="undefined"){f=this.parseColor(g[e].by);for(var h=0,d=j.length;h<d;++h){f[h]=j[h]+f[h]}}this.runtimeAttributes[e].start=j;this.runtimeAttributes[e].end=f}}})();YAHOO.util.Easing={easeNone:function(e,a,g,f){return g*e/f+a
},easeIn:function(e,a,g,f){return g*(e/=f)*e+a},easeOut:function(e,a,g,f){return -g*(e/=f)*(e-2)+a},easeBoth:function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e+a}return -g/2*((--e)*(e-2)-1)+a},easeInStrong:function(e,a,g,f){return g*(e/=f)*e*e*e+a},easeOutStrong:function(e,a,g,f){return -g*((e=e/f-1)*e*e*e-1)+a},easeBothStrong:function(e,a,g,f){if((e/=f/2)<1){return g/2*e*e*e*e+a}return -g/2*((e-=2)*e*e*e-2)+a},elasticIn:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3
}if(!f||f<Math.abs(l)){f=l;var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}return -(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j))+e},elasticOut:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k)==1){return e+l}if(!j){j=k*0.3}if(!f||f<Math.abs(l)){f=l;var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}return f*Math.pow(2,-10*g)*Math.sin((g*k-h)*(2*Math.PI)/j)+l+e},elasticBoth:function(g,e,l,k,f,j){if(g==0){return e}if((g/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(!f||f<Math.abs(l)){f=l;
var h=j/4}else{var h=j/(2*Math.PI)*Math.asin(l/f)}if(g<1){return -0.5*(f*Math.pow(2,10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j))+e}return f*Math.pow(2,-10*(g-=1))*Math.sin((g*k-h)*(2*Math.PI)/j)*0.5+l+e},backIn:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}return h*(e/=g)*e*((f+1)*e-f)+a},backOut:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}return h*((e=e/g-1)*e*((f+1)*e+f)+1)+a},backBoth:function(e,a,h,g,f){if(typeof f=="undefined"){f=1.70158}if((e/=g/2)<1){return h/2*(e*e*(((f*=(1.525))+1)*e-f))+a
}return h/2*((e-=2)*e*(((f*=(1.525))+1)*e+f)+2)+a},bounceIn:function(e,a,g,f){return g-YAHOO.util.Easing.bounceOut(f-e,0,g,f)+a},bounceOut:function(e,a,g,f){if((e/=f)<(1/2.75)){return g*(7.5625*e*e)+a}else{if(e<(2/2.75)){return g*(7.5625*(e-=(1.5/2.75))*e+0.75)+a}else{if(e<(2.5/2.75)){return g*(7.5625*(e-=(2.25/2.75))*e+0.9375)+a}else{return g*(7.5625*(e-=(2.625/2.75))*e+0.984375)+a}}}},bounceBoth:function(e,a,g,f){if(e<f/2){return YAHOO.util.Easing.bounceIn(e*2,0,g,f)*0.5+a}return YAHOO.util.Easing.bounceOut(e*2-f,0,g,f)*0.5+g*0.5+a
}};(function(){YAHOO.util.Motion=function(g,f,h,j){if(g){YAHOO.util.Motion.superclass.constructor.call(this,g,f,h,j)}};YAHOO.extend(YAHOO.util.Motion,YAHOO.util.ColorAnim);var d=YAHOO.util;var e=d.Motion.superclass;var b=d.Motion.prototype;b.toString=function(){var f=this.getEl();var g=f.id||f.tagName;return("Motion "+g)};b.patterns.points=/^points$/i;b.setAttribute=function(f,h,g){if(this.patterns.points.test(f)){g=g||"px";e.setAttribute.call(this,"left",h[0],g);e.setAttribute.call(this,"top",h[1],g)
}else{e.setAttribute.call(this,f,h,g)}};b.getAttribute=function(f){if(this.patterns.points.test(f)){var g=[e.getAttribute.call(this,"left"),e.getAttribute.call(this,"top")]}else{g=e.getAttribute.call(this,f)}return g};b.doMethod=function(f,k,g){var j=null;if(this.patterns.points.test(f)){var h=this.method(this.currentFrame,0,100,this.totalFrames)/100;j=d.Bezier.getPosition(this.runtimeAttributes[f],h)}else{j=e.doMethod.call(this,f,k,g)}return j};b.setRuntimeAttribute=function(p){if(this.patterns.points.test(p)){var g=this.getEl();
var j=this.attributes;var f;var l=j.points["control"]||[];var h;var m,o;if(l.length>0&&!(l[0] instanceof Array)){l=[l]}else{var k=[];for(m=0,o=l.length;m<o;++m){k[m]=l[m]}l=k}if(d.Dom.getStyle(g,"position")=="static"){d.Dom.setStyle(g,"position","relative")}if(c(j.points["from"])){d.Dom.setXY(g,j.points["from"])}else{d.Dom.setXY(g,d.Dom.getXY(g))}f=this.getAttribute("points");if(c(j.points["to"])){h=a.call(this,j.points["to"],f);var n=d.Dom.getXY(this.getEl());for(m=0,o=l.length;m<o;++m){l[m]=a.call(this,l[m],f)
}}else{if(c(j.points["by"])){h=[f[0]+j.points["by"][0],f[1]+j.points["by"][1]];for(m=0,o=l.length;m<o;++m){l[m]=[f[0]+l[m][0],f[1]+l[m][1]]}}}this.runtimeAttributes[p]=[f];if(l.length>0){this.runtimeAttributes[p]=this.runtimeAttributes[p].concat(l)}this.runtimeAttributes[p][this.runtimeAttributes[p].length]=h}else{e.setRuntimeAttribute.call(this,p)}};var a=function(f,h){var g=d.Dom.getXY(this.getEl());f=[f[0]-g[0]+h[0],f[1]-g[1]+h[1]];return f};var c=function(f){return(typeof f!=="undefined")}})();
(function(){YAHOO.util.Scroll=function(e,d,f,g){if(e){YAHOO.util.Scroll.superclass.constructor.call(this,e,d,f,g)}};YAHOO.extend(YAHOO.util.Scroll,YAHOO.util.ColorAnim);var b=YAHOO.util;var c=b.Scroll.superclass;var a=b.Scroll.prototype;a.toString=function(){var d=this.getEl();var e=d.id||d.tagName;return("Scroll "+e)};a.doMethod=function(d,g,e){var f=null;if(d=="scroll"){f=[this.method(this.currentFrame,g[0],e[0]-g[0],this.totalFrames),this.method(this.currentFrame,g[1],e[1]-g[1],this.totalFrames)]
}else{f=c.doMethod.call(this,d,g,e)}return f};a.getAttribute=function(d){var f=null;var e=this.getEl();if(d=="scroll"){f=[e.scrollLeft,e.scrollTop]}else{f=c.getAttribute.call(this,d)}return f};a.setAttribute=function(d,g,f){var e=this.getEl();if(d=="scroll"){e.scrollLeft=g[0];e.scrollTop=g[1]}else{c.setAttribute.call(this,d,g,f)}}})();$(document).ready(function(){$("dl#faq dt").each(function(g){var d=$(this).attr("id");var f=$(this).text();var e='<a href="#'+d+'">'+f+"</a>";$(this).empty().append(e).removeClass("active").addClass("inactive")
});$("dl#faq dd").each(function(d){$(this).removeClass("active").addClass("inactive").hide()});var b=document.location.href;var c=b.split("#");var a=c[1];if(a){$("dt#"+a).removeClass("inactive").addClass("active");$("dt#"+a).next().show();$("dt#"+a).next().removeClass("inactive").addClass("active")}$.clickOrEnterWithElem("dt a",function(f){var d=$("dl#faq dd.active");var e=$(f).parent().next();if(!d.length){d=$("<div></div>")}d.hide();e.show();$("dl#faq dt.active").removeClass("active").addClass("inactive");
$(f).parent().removeClass("inactive").addClass("active");d.removeClass("active").addClass("inactive");e.removeClass("inactive").addClass("active")})});$(document).ready(function(){$("table tbody tr:odd").addClass("odd");$("table tbody tr:even").addClass("even")});$(document).ready(function(){$.clickOrEnter("li.send a",email_to_friend)});function closeRecommend(){$("#recommend-box").fadeOut(1200,function(){$("#recommend-box").remove()})}function setupRecommendBox(){var g=$(".send").offset();if($.browser.msie&&$.browser.version<=6){var l=$(document).height()
}else{var l=$(window).height()}var f=g.left-230+$(".send").width();var j=l-g.top-(2*$(".send").height());$("#recommend-box").css({left:f+"px",bottom:j+"px"});var h="Your name";var a="Your email";var e="Their name";var c="Their email";$("#recommend-box #senderName").val(h).focus(function(){if(this.value==h){$(this).val("")}}).blur(function(){if(this.value==""){$("#recommend-box #senderName").val(h)}});$("#recommend-box #sender").val(a).focus(function(){if(this.value==a){$(this).val("")}}).blur(function(){if(this.value==""){$("#recommend-box #sender").val(a)
}});$("#recommend-box #recipientName").val(e).focus(function(){if(this.value==e){$(this).val("")}}).blur(function(){if(this.value==""){$("#recommend-box #recipientName").val(e)}});$("#recommend-box #recipient").val(c).focus(function(){if(this.value==c){$(this).val("")}}).blur(function(){if(this.value==""){$("#recommend-box #recipient").val(c)}});var b;$("#recommend-box form").submit(function(){$.post("/applications/send_to_friend/js_send.rm",$(this).find("input").serialize(),function(m){$("#recommend-box div.container").html(m);
if($("#recommend-box p.thanks").length){b=setTimeout(closeRecommend,500)}else{setupRecommendBox()}});return false});if($("#recommend-box a.closerlink").length){$("#recommend-box a.closerlink").remove()}if($("#recommend-box img.boxlabel").length){$("#recommend-box img.boxlabel").remove()}var k=$('<a href="#" class="closerlink"><img alt="close" class="overlayclose fauxlink" src="/display_images/icons/recommend_close.gif" /></a>');var d=$('<img src="/display_images/icons/footer_recommend_popup.gif" alt="recommend this page" class="boxlabel" />');
$.clickOrEnter(k,closeRecommend);$("#recommend-box").append(k);$("#recommend-box").append(d);$("#recommend-box").show()}function email_to_friend(){var a=$("li.send a").attr("href").replace(/\/applications\/send_to_friend\/compose.rm\?id=/,"");$('<div id="recommend-box"></div>').insertBefore("#header-wrapper");$("#recommend-box").hide().load("/applications/send_to_friend/form.rm?id="+a,setupRecommendBox)}$(document).ready(function(){$("#primary-content div.indexBox_half:odd").addClass("indexBox_odd");
$("#primary-content div.indexBox_half:even").addClass("indexBox_even")});
/* ***** googlemap.js ***** */
/*
if(!console){var console={log:function(){},trace:function(){}}}$(document).ready(function(){$("div.googlemap").each(function(d){if(!GBrowserIsCompatible()){return}var b=this.firstChild.getAttribute("href");var h=/(?:https?:\/\/[^\/]+)?([^#]+)#(.*),\s?(.*)$/;var g=h.exec(b);b=g[1];var a=g[2],f=g[3];var j=(window.location.host.indexOf(".uas.")!=-1);if(j){console.log("googlemap: on preview, will not show pins");$(this).before('<p class="notification"><strong>Pins on the googlemap are not available on the preview. See the staging server after a publish to check pin positions.</strong></p>')
}b=window.location.protocol+"//"+window.location.host+b;console.log("Google map has:",{href:b,longitude:a,latitude:f});map=new GMap2(this);map.setCenter(new GLatLng(a,f),14);map.addControl(new GLargeMapControl());map.addControl(new GLargeMapControl());if(!j){var c=new GGeoXml(b);map.addOverlay(c)}var e=new GMapTypeControl();map.addControl(e)})});
*/
$(document).ready(function(){if($("div.photoContainer").length==0){return}$("div.photoContainer").each(function(n){$(this).attr("id","img"+n);$(this).find("a.imagepopup").attr("href","#photo_"+n).attr("id","lightbutt_"+n)
});var b=$("div.expandedphoto");b.each(function(o){$(this).attr("id","container_"+o);$(this).find("img:not(.overlayclose)").attr("id","photo_"+o);$(this).find("a.closerlink").attr("id","close_"+o).attr("href","#img"+o);var n;if(o!=0){var n=$(this).find("li.previous")[0];$(n).html('<a class="nohover">Previous</a>');$(n).find("a").attr("href","#photo_"+(o-1)).attr("id","prev_"+o)}if(o!=b.length-1){var n=$(this).find("li.next")[0];$(n).html('<a class="nohover">Next</a>');$(n).find("a").attr("href","#photo_"+(o+1)).attr("id","next_"+o)
}});var h=YAHOO.util.Dom;var f=YAHOO.util.Event;var d=h.get;var k="imagepopup";var l="expandedphoto";var g="galleryContainer";var m="expandedContainer";var a="wrapper";function j(p){var o=h.getElementsByClassName(k,"A",g);h.generateId(o,"lightbutt_");for(i=0;i<o.length;i++){f.addListener(d(o[i].id),"click",c,d(o[i].id),true)}document.body.appendChild(d(m));var n=h.getElementsByClassName(l);for(i=0;i<n.length;i++){f.addListener(d("next_"+i),"click",c,d("next_"+i),true);f.addListener(d("prev_"+i),"click",c,d("prev_"+i),true);
f.addListener(d("close_"+i),"click",e,d("close_"+i),true);d("photo_"+i).id="container_"+i}if(document.location.hash.length>1){c(p,document.location)}}function c(t,s){document.location.href=s.href;if(d("overlay")==null){var q=document.createElement("div");q.id="overlay";$("select").hide();d(m).appendChild(q);h.setStyle(d("overlay"),"height",h.getDocumentHeight()+"px");h.setStyle(d("overlay"),"width",h.getDocumentWidth()+"px")}else{var p=h.getElementsByClassName("showpop","DIV",m);for(i=0;i<p.length;
i++){h.addClass(p[i].id,"hidepop");h.removeClass(p[i].id,"showpop")}}var r=s.href.split("#");var n=r[1].replace("photo_","container_");if(d(n)!=null){var o=n.replace("container_","");h.removeClass(d(n),"hidepop");h.addClass(d(n),"showpop");document.getElementById(m).style.display="block";window.scrollTo(0,0)}else{if(d("overlay")!=null){d(m).removeChild(d("overlay"));document.getElementById(m).style.display="none"}}return false;f.stopEvent(t)}function e(q,p){var o=p.href.split("#");var n=o[1].replace("photo_","container_");
h.addClass(d(n),"hidepop");h.removeClass(d(n),"showpop");document.getElementById(m).style.display="none";if(d("overlay")!=null){d(m).removeChild(d("overlay"))}window.scrollTo(0,0);f.stopEvent(q)}j()});
