/* /lib/jquery.js */
(function(){var _jQuery=window.jQuery,_$=window.$;var jQuery=window.jQuery=window.$=function(selector,context){return new jQuery.fn.init(selector,context)};var quickExpr=/^[^<]*(<(.|\s)+>)[^>]*$|^#(\w+)$/,isSimple=/^.[^:#\[\.]*$/,undefined;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(selector.nodeType){this[0]=selector;this.length=1;return this}if(typeof selector=="string"){var match=quickExpr.exec(selector);if(match&&(match[1]||!context)){if(match[1]){selector=jQuery.clean([match[1]],context)}else{var elem=document.getElementById(match[3]);if(elem){if(elem.id!=match[3]){return jQuery().find(selector)}return jQuery(elem)}selector=[]}}else{return jQuery(context).find(selector)}}else{if(jQuery.isFunction(selector)){return jQuery(document)[jQuery.fn.ready?"ready":"load"](selector)}}return this.setArray(jQuery.makeArray(selector))},jquery:"1.2.6",size:function(){return this.length},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num]},pushStack:function(elems){var ret=jQuery(elems);ret.prevObject=this;return ret},setArray:function(elems){this.length=0;Array.prototype.push.apply(this,elems);return this},each:function(callback,args){return jQuery.each(this,callback,args)},index:function(elem){var ret=-1;return jQuery.inArray(elem&&elem.jquery?elem[0]:elem,this)},attr:function(name,value,type){var options=name;if(name.constructor==String){if(value===undefined){return this[0]&&jQuery[type||"attr"](this[0],name)}else{options={};options[name]=value}}return this.each(function(i){for(name in options){jQuery.attr(type?this.style:this,name,jQuery.prop(this,options[name],type,i,name))}})},css:function(key,value){if((key=="width"||key=="height")&&parseFloat(value)<0){value=undefined}return this.attr(key,value,"curCSS")},text:function(text){if(typeof text!="object"&&text!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(text))}var ret="";jQuery.each(text||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8){ret+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this])}})});return ret},wrapAll:function(html){if(this[0]){jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild){elem=elem.firstChild}return elem}).append(this)}return this},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html)})},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html)})},append:function(){return this.domManip(arguments,true,false,function(elem){if(this.nodeType==1){this.appendChild(elem)}})},prepend:function(){return this.domManip(arguments,true,true,function(elem){if(this.nodeType==1){this.insertBefore(elem,this.firstChild)}})},before:function(){return this.domManip(arguments,false,false,function(elem){this.parentNode.insertBefore(elem,this)})},after:function(){return this.domManip(arguments,false,true,function(elem){this.parentNode.insertBefore(elem,this.nextSibling)})},end:function(){return this.prevObject||jQuery([])},find:function(selector){var elems=jQuery.map(this,function(elem){return jQuery.find(selector,elem)});return this.pushStack(/[^+>] [^+>]/.test(selector)||selector.indexOf("..")>-1?jQuery.unique(elems):elems)},clone:function(events){var ret=this.map(function(){if(jQuery.browser.msie&&!jQuery.isXMLDoc(this)){var clone=this.cloneNode(true),container=document.createElement("div");container.appendChild(clone);return jQuery.clean([container.innerHTML])[0]}else{return this.cloneNode(true)}});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined){this[expando]=null}});if(events===true){this.find("*").andSelf().each(function(i){if(this.nodeType==3){return }var events=jQuery.data(this,"events");for(var type in events){for(var handler in events[type]){jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data)}}})}return ret},filter:function(selector){return this.pushStack(jQuery.isFunction(selector)&&jQuery.grep(this,function(elem,i){return selector.call(elem,i)})||jQuery.multiFilter(selector,this))},not:function(selector){if(selector.constructor==String){if(isSimple.test(selector)){return this.pushStack(jQuery.multiFilter(selector,this,true))}else{selector=jQuery.multiFilter(selector,this)}}var isArrayLike=selector.length&&selector[selector.length-1]!==undefined&&!selector.nodeType;return this.filter(function(){return isArrayLike?jQuery.inArray(this,selector)<0:this!=selector})},add:function(selector){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),typeof selector=="string"?jQuery(selector):jQuery.makeArray(selector))))},is:function(selector){return !!selector&&jQuery.multiFilter(selector,this).length>0},hasClass:function(selector){return this.is("."+selector)},val:function(value){if(value==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,values=[],options=elem.options,one=elem.type=="select-one";if(index<0){return null}for(var i=one?index:0,max=one?index+1:options.length;i<max;i++){var option=options[i];if(option.selected){value=jQuery.browser.msie&&!option.attributes.value.specified?option.text:option.value;if(one){return value}values.push(value)}}return values}else{return(this[0].value||"").replace(/\r/g,"")}}return undefined}if(value.constructor==Number){value+=""}return this.each(function(){if(this.nodeType!=1){return }if(value.constructor==Array&&/radio|checkbox/.test(this.type)){this.checked=(jQuery.inArray(this.value,value)>=0||jQuery.inArray(this.name,value)>=0)}else{if(jQuery.nodeName(this,"select")){var values=jQuery.makeArray(value);jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,values)>=0||jQuery.inArray(this.text,values)>=0)});if(!values.length){this.selectedIndex=-1}}else{this.value=value}}})},html:function(value){return value==undefined?(this[0]?this[0].innerHTML:null):this.empty().append(value)},replaceWith:function(value){return this.after(value).remove()},eq:function(i){return this.slice(i,i+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments))},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},andSelf:function(){return this.add(this.prevObject)},data:function(key,value){var parts=key.split(".");parts[1]=parts[1]?"."+parts[1]:"";if(value===undefined){var data=this.triggerHandler("getData"+parts[1]+"!",[parts[0]]);if(data===undefined&&this.length){data=jQuery.data(this[0],key)}return data===undefined&&parts[1]?this.data(parts[0]):data}else{return this.trigger("setData"+parts[1]+"!",[parts[0],value]).each(function(){jQuery.data(this,key,value)})}},removeData:function(key){return this.each(function(){jQuery.removeData(this,key)})},domManip:function(args,table,reverse,callback){var clone=this.length>1,elems;return this.each(function(){if(!elems){elems=jQuery.clean(args,this.ownerDocument);if(reverse){elems.reverse()}}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(elems[0],"tr")){obj=this.getElementsByTagName("tbody")[0]||this.appendChild(this.ownerDocument.createElement("tbody"))}var scripts=jQuery([]);jQuery.each(elems,function(){var elem=clone?jQuery(this).clone(true)[0]:this;if(jQuery.nodeName(elem,"script")){scripts=scripts.add(elem)}else{if(elem.nodeType==1){scripts=scripts.add(jQuery("script",elem).remove())}callback.call(obj,elem)}});scripts.each(evalScript)})}};jQuery.fn.init.prototype=jQuery.fn;function evalScript(i,elem){if(elem.src){jQuery.ajax({url:elem.src,async:false,dataType:"script"})}else{jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"")}if(elem.parentNode){elem.parentNode.removeChild(elem)}}function now(){return +new Date}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},i=1,length=arguments.length,deep=false,options;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};i=2}if(typeof target!="object"&&typeof target!="function"){target={}}if(length==i){target=this;--i}for(;i<length;i++){if((options=arguments[i])!=null){for(var name in options){var src=target[name],copy=options[name];if(target===copy){continue}if(deep&&copy&&typeof copy=="object"&&!copy.nodeType){target[name]=jQuery.extend(deep,src||(copy.length!=null?[]:{}),copy)}else{if(copy!==undefined){target[name]=copy}}}}}return target};var expando="jQuery"+now(),uuid=0,windowData={},exclude=/z-?index|font-?weight|opacity|zoom|line-?height/i,defaultView=document.defaultView||{};jQuery.extend({noConflict:function(deep){window.$=_$;if(deep){window.jQuery=_jQuery}return jQuery},isFunction:function(fn){return !!fn&&typeof fn!="string"&&!fn.nodeName&&fn.constructor!=Array&&/^[\s[]?function/.test(fn+"")},isXMLDoc:function(elem){return elem.documentElement&&!elem.body||elem.tagName&&elem.ownerDocument&&!elem.ownerDocument.body},globalEval:function(data){data=jQuery.trim(data);if(data){var head=document.getElementsByTagName("head")[0]||document.documentElement,script=document.createElement("script");script.type="text/javascript";if(jQuery.browser.msie){script.text=data}else{script.appendChild(document.createTextNode(data))}head.insertBefore(script,head.firstChild);head.removeChild(script)}},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toUpperCase()==name.toUpperCase()},cache:{},data:function(elem,name,data){elem=elem==window?windowData:elem;var id=elem[expando];if(!id){id=elem[expando]=++uuid}if(name&&!jQuery.cache[id]){jQuery.cache[id]={}}if(data!==undefined){jQuery.cache[id][name]=data}return name?jQuery.cache[id][name]:id},removeData:function(elem,name){elem=elem==window?windowData:elem;var id=elem[expando];if(name){if(jQuery.cache[id]){delete jQuery.cache[id][name];name="";for(name in jQuery.cache[id]){break}if(!name){jQuery.removeData(elem)}}}else{try{delete elem[expando]}catch(e){if(elem.removeAttribute){elem.removeAttribute(expando)}}delete jQuery.cache[id]}},each:function(object,callback,args){var name,i=0,length=object.length;if(args){if(length==undefined){for(name in object){if(callback.apply(object[name],args)===false){break}}}else{for(;i<length;){if(callback.apply(object[i++],args)===false){break}}}}else{if(length==undefined){for(name in object){if(callback.call(object[name],name,object[name])===false){break}}}else{for(var value=object[0];i<length&&callback.call(value,i,value)!==false;value=object[++i]){}}}return object},prop:function(elem,value,type,i,name){if(jQuery.isFunction(value)){value=value.call(elem,i)}return value&&value.constructor==Number&&type=="curCSS"&&!exclude.test(name)?value+"px":value},className:{add:function(elem,classNames){jQuery.each((classNames||"").split(/\s+/),function(i,className){if(elem.nodeType==1&&!jQuery.className.has(elem.className,className)){elem.className+=(elem.className?" ":"")+className}})},remove:function(elem,classNames){if(elem.nodeType==1){elem.className=classNames!=undefined?jQuery.grep(elem.className.split(/\s+/),function(className){return !jQuery.className.has(classNames,className)}).join(" "):""}},has:function(elem,className){return jQuery.inArray(className,(elem.className||elem).toString().split(/\s+/))>-1}},swap:function(elem,options,callback){var old={};for(var name in options){old[name]=elem.style[name];elem.style[name]=options[name]}callback.call(elem);for(var name in options){elem.style[name]=old[name]}},css:function(elem,name,force){if(name=="width"||name=="height"){var val,props={position:"absolute",visibility:"hidden",display:"block"},which=name=="width"?["Left","Right"]:["Top","Bottom"];function getWH(){val=name=="width"?elem.offsetWidth:elem.offsetHeight;var padding=0,border=0;jQuery.each(which,function(){padding+=parseFloat(jQuery.curCSS(elem,"padding"+this,true))||0;border+=parseFloat(jQuery.curCSS(elem,"border"+this+"Width",true))||0});val-=Math.round(padding+border)}if(jQuery(elem).is(":visible")){getWH()}else{jQuery.swap(elem,props,getWH)}return Math.max(0,val)}return jQuery.curCSS(elem,name,force)},curCSS:function(elem,name,force){var ret,style=elem.style;function color(elem){if(!jQuery.browser.safari){return false}var ret=defaultView.getComputedStyle(elem,null);return !ret||ret.getPropertyValue("color")==""}if(name=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(style,"opacity");return ret==""?"1":ret}if(jQuery.browser.opera&&name=="display"){var save=style.outline;style.outline="0 solid black";style.outline=save}if(name.match(/float/i)){name=styleFloat}if(!force&&style&&style[name]){ret=style[name]}else{if(defaultView.getComputedStyle){if(name.match(/float/i)){name="float"}name=name.replace(/([A-Z])/g,"-$1").toLowerCase();var computedStyle=defaultView.getComputedStyle(elem,null);if(computedStyle&&!color(elem)){ret=computedStyle.getPropertyValue(name)}else{var swap=[],stack=[],a=elem,i=0;for(;a&&color(a);a=a.parentNode){stack.unshift(a)}for(;i<stack.length;i++){if(color(stack[i])){swap[i]=stack[i].style.display;stack[i].style.display="block"}}ret=name=="display"&&swap[stack.length-1]!=null?"none":(computedStyle&&computedStyle.getPropertyValue(name))||"";for(i=0;i<swap.length;i++){if(swap[i]!=null){stack[i].style.display=swap[i]}}}if(name=="opacity"&&ret==""){ret="1"}}else{if(elem.currentStyle){var camelCase=name.replace(/\-(\w)/g,function(all,letter){return letter.toUpperCase()});ret=elem.currentStyle[name]||elem.currentStyle[camelCase];if(!/^\d+(px)?$/i.test(ret)&&/^\d/.test(ret)){var left=style.left,rsLeft=elem.runtimeStyle.left;elem.runtimeStyle.left=elem.currentStyle.left;style.left=ret||0;ret=style.pixelLeft+"px";style.left=left;elem.runtimeStyle.left=rsLeft}}}}return ret},clean:function(elems,context){var ret=[];context=context||document;if(typeof context.createElement=="undefined"){context=context.ownerDocument||context[0]&&context[0].ownerDocument||document}jQuery.each(elems,function(i,elem){if(!elem){return }if(elem.constructor==Number){elem+=""}if(typeof elem=="string"){elem=elem.replace(/(<(\w+)[^>]*?)\/>/g,function(all,front,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?all:front+"></"+tag+">"});var tags=jQuery.trim(elem).toLowerCase(),div=context.createElement("div");var wrap=!tags.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!tags.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||tags.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!tags.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!tags.indexOf("<td")||!tags.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!tags.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||jQuery.browser.msie&&[1,"div<div>","</div>"]||[0,"",""];div.innerHTML=wrap[1]+elem+wrap[2];while(wrap[0]--){div=div.lastChild}if(jQuery.browser.msie){var tbody=!tags.indexOf("<table")&&tags.indexOf("<tbody")<0?div.firstChild&&div.firstChild.childNodes:wrap[1]=="<table>"&&tags.indexOf("<tbody")<0?div.childNodes:[];for(var j=tbody.length-1;j>=0;--j){if(jQuery.nodeName(tbody[j],"tbody")&&!tbody[j].childNodes.length){tbody[j].parentNode.removeChild(tbody[j])}}if(/^\s/.test(elem)){div.insertBefore(context.createTextNode(elem.match(/^\s*/)[0]),div.firstChild)}}elem=jQuery.makeArray(div.childNodes)}if(elem.length===0&&(!jQuery.nodeName(elem,"form")&&!jQuery.nodeName(elem,"select"))){return }if(elem[0]==undefined||jQuery.nodeName(elem,"form")||elem.options){ret.push(elem)}else{ret=jQuery.merge(ret,elem)}});return ret},attr:function(elem,name,value){if(!elem||elem.nodeType==3||elem.nodeType==8){return undefined}var notxml=!jQuery.isXMLDoc(elem),set=value!==undefined,msie=jQuery.browser.msie;name=notxml&&jQuery.props[name]||name;if(elem.tagName){var special=/href|src|style/.test(name);if(name=="selected"&&jQuery.browser.safari){elem.parentNode.selectedIndex}if(name in elem&&notxml&&!special){if(set){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode){throw"type property can't be changed"}elem[name]=value}if(jQuery.nodeName(elem,"form")&&elem.getAttributeNode(name)){return elem.getAttributeNode(name).nodeValue}return elem[name]}if(msie&&notxml&&name=="style"){return jQuery.attr(elem.style,"cssText",value)}if(set){elem.setAttribute(name,""+value)}var attr=msie&&notxml&&special?elem.getAttribute(name,2):elem.getAttribute(name);return attr===null?undefined:attr}if(msie&&name=="opacity"){if(set){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(value)+""=="NaN"?"":"alpha(opacity="+value*100+")")}return elem.filter&&elem.filter.indexOf("opacity=")>=0?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}name=name.replace(/-([a-z])/ig,function(all,letter){return letter.toUpperCase()});if(set){elem[name]=value}return elem[name]},trim:function(text){return(text||"").replace(/^\s+|\s+$/g,"")},makeArray:function(array){var ret=[];if(array!=null){var i=array.length;if(i==null||array.split||array.setInterval||array.call){ret[0]=array}else{while(i){ret[--i]=array[i]}}}return ret},inArray:function(elem,array){for(var i=0,length=array.length;i<length;i++){if(array[i]===elem){return i}}return -1},merge:function(first,second){var i=0,elem,pos=first.length;if(jQuery.browser.msie){while(elem=second[i++]){if(elem.nodeType!=8){first[pos++]=elem}}}else{while(elem=second[i++]){first[pos++]=elem}}return first},unique:function(array){var ret=[],done={};try{for(var i=0,length=array.length;i<length;i++){var id=jQuery.data(array[i]);if(!done[id]){done[id]=true;ret.push(array[i])}}}catch(e){ret=array}return ret},grep:function(elems,callback,inv){var ret=[];for(var i=0,length=elems.length;i<length;i++){if(!inv!=!callback(elems[i],i)){ret.push(elems[i])}}return ret},map:function(elems,callback){var ret=[];for(var i=0,length=elems.length;i<length;i++){var value=callback(elems[i],i);if(value!=null){ret[ret.length]=value}}return ret.concat.apply([],ret)}});var userAgent=navigator.userAgent.toLowerCase();jQuery.browser={version:(userAgent.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[])[1],safari:/webkit/.test(userAgent),opera:/opera/.test(userAgent),msie:/msie/.test(userAgent)&&!/opera/.test(userAgent),mozilla:/mozilla/.test(userAgent)&&!/(compatible|webkit)/.test(userAgent)};var styleFloat=jQuery.browser.msie?"styleFloat":"cssFloat";jQuery.extend({boxModel:!jQuery.browser.msie||document.compatMode=="CSS1Compat",props:{"for":"htmlFor","class":"className","float":styleFloat,cssFloat:styleFloat,styleFloat:styleFloat,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing"}});jQuery.each({parent:function(elem){return elem.parentNode},parents:function(elem){return jQuery.dir(elem,"parentNode")},next:function(elem){return jQuery.nth(elem,2,"nextSibling")},prev:function(elem){return jQuery.nth(elem,2,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},siblings:function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(selector){var ret=jQuery.map(this,fn);if(selector&&typeof selector=="string"){ret=jQuery.multiFilter(selector,ret)}return this.pushStack(jQuery.unique(ret))}});jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(){var args=arguments;return this.each(function(){for(var i=0,length=args.length;i<length;i++){jQuery(args[i])[original](this)}})}});jQuery.each({removeAttr:function(name){jQuery.attr(this,name,"");if(this.nodeType==1){this.removeAttribute(name)}},addClass:function(classNames){jQuery.className.add(this,classNames)},removeClass:function(classNames){jQuery.className.remove(this,classNames)},toggleClass:function(classNames){jQuery.className[jQuery.className.has(this,classNames)?"remove":"add"](this,classNames)},remove:function(selector){if(!selector||jQuery.filter(selector,[this]).r.length){jQuery("*",this).add(this).each(function(){jQuery.event.remove(this);jQuery.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){jQuery(">*",this).remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(name,fn){jQuery.fn[name]=function(){return this.each(fn,arguments)}});jQuery.each(["Height","Width"],function(i,name){var type=name.toLowerCase();jQuery.fn[type]=function(size){return this[0]==window?jQuery.browser.opera&&document.body["client"+name]||jQuery.browser.safari&&window["inner"+name]||document.compatMode=="CSS1Compat"&&document.documentElement["client"+name]||document.body["client"+name]:this[0]==document?Math.max(Math.max(document.body["scroll"+name],document.documentElement["scroll"+name]),Math.max(document.body["offset"+name],document.documentElement["offset"+name])):size==undefined?(this.length?jQuery.css(this[0],type):null):this.css(type,size.constructor==String?size:size+"px")}});function num(elem,prop){return elem[0]&&parseInt(jQuery.curCSS(elem[0],prop,true),10)||0}var chars=jQuery.browser.safari&&parseInt(jQuery.browser.version)<417?"(?:[\\w*_-]|\\\\.)":"(?:[\\w\u0128-\uFFFF*_-]|\\\\.)",quickChild=new RegExp("^>\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":function(a,i,m){return m[2]=="*"||jQuery.nodeName(a,m[2])},"#":function(a,i,m){return a.getAttribute("id")==m[2]},":":{lt:function(a,i,m){return i<m[3]-0},gt:function(a,i,m){return i>m[3]-0},nth:function(a,i,m){return m[3]-0==i},eq:function(a,i,m){return m[3]-0==i},first:function(a,i){return i==0},last:function(a,i,m,r){return i==r.length-1},even:function(a,i){return i%2==0},odd:function(a,i){return i%2},"first-child":function(a){return a.parentNode.getElementsByTagName("*")[0]==a},"last-child":function(a){return jQuery.nth(a.parentNode.lastChild,1,"previousSibling")==a},"only-child":function(a){return !jQuery.nth(a.parentNode.lastChild,2,"previousSibling")},parent:function(a){return a.firstChild},empty:function(a){return !a.firstChild},contains:function(a,i,m){return(a.textContent||a.innerText||jQuery(a).text()||"").indexOf(m[3])>=0},visible:function(a){return"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"},hidden:function(a){return"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"},enabled:function(a){return !a.disabled},disabled:function(a){return a.disabled},checked:function(a){return a.checked},selected:function(a){return a.selected||jQuery.attr(a,"selected")},text:function(a){return"text"==a.type},radio:function(a){return"radio"==a.type},checkbox:function(a){return"checkbox"==a.type},file:function(a){return"file"==a.type},password:function(a){return"password"==a.type},submit:function(a){return"submit"==a.type},image:function(a){return"image"==a.type},reset:function(a){return"reset"==a.type},button:function(a){return"button"==a.type||jQuery.nodeName(a,"button")},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},has:function(a,i,m){return jQuery.find(m[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},animated:function(a){return jQuery.grep(jQuery.timers,function(fn){return a==fn.elem}).length}}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r)}return cur},find:function(t,context){if(typeof t!="string"){return[t]}if(context&&context.nodeType!=1&&context.nodeType!=9){return[]}context=context||document;var ret=[context],done=[],last,nodeName;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false,re=quickChild,m=re.exec(t);if(m){nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++){for(var c=ret[i].firstChild;c;c=c.nextSibling){if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName)){r.push(c)}}}ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0){continue}foundToken=true}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var merge={};nodeName=m[2].toUpperCase();m=m[1];for(var j=0,rl=ret.length;j<rl;j++){var n=m=="~"||m=="+"?ret[j].nextSibling:ret[j].firstChild;for(;n;n=n.nextSibling){if(n.nodeType==1){var id=jQuery.data(n);if(m=="~"&&merge[id]){break}if(!nodeName||n.nodeName.toUpperCase()==nodeName){if(m=="~"){merge[id]=true}r.push(n)}if(m=="+"){break}}}}ret=r;t=jQuery.trim(t.replace(re,""));foundToken=true}}if(t&&!foundToken){if(!t.indexOf(",")){if(context==ret[0]){ret.shift()}done=jQuery.merge(done,ret);r=ret=[context];t=" "+t.substr(1,t.length)}else{var re2=quickID;var m=re2.exec(t);if(m){m=[0,m[2],m[3],m[1]]}else{re2=quickClass;m=re2.exec(t)}m[2]=m[2].replace(/\\/g,"");var elem=ret[ret.length-1];if(m[1]=="#"&&elem&&elem.getElementById&&!jQuery.isXMLDoc(elem)){var oid=elem.getElementById(m[2]);if((jQuery.browser.msie||jQuery.browser.opera)&&oid&&typeof oid.id=="string"&&oid.id!=m[2]){oid=jQuery('[@id="'+m[2]+'"]',elem)[0]}ret=r=oid&&(!m[3]||jQuery.nodeName(oid,m[3]))?[oid]:[]}else{for(var i=0;ret[i];i++){var tag=m[1]=="#"&&m[3]?m[3]:m[1]!=""||m[0]==""?"*":m[2];if(tag=="*"&&ret[i].nodeName.toLowerCase()=="object"){tag="param"}r=jQuery.merge(r,ret[i].getElementsByTagName(tag))}if(m[1]=="."){r=jQuery.classFilter(r,m[2])}if(m[1]=="#"){var tmp=[];for(var i=0;r[i];i++){if(r[i].getAttribute("id")==m[2]){tmp=[r[i]];break}}r=tmp}ret=r}t=t.replace(re2,"")}}if(t){var val=jQuery.filter(t,r);ret=r=val.r;t=jQuery.trim(val.t)}}if(t){ret=[]}if(ret&&context==ret[0]){ret.shift()}done=jQuery.merge(done,ret);return done},classFilter:function(r,m,not){m=" "+m+" ";var tmp=[];for(var i=0;r[i];i++){var pass=(" "+r[i].className+" ").indexOf(m)>=0;if(!not&&pass||not&&!pass){tmp.push(r[i])}}return tmp},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break}}if(!m){break}if(m[1]==":"&&m[2]=="not"){r=isSimple.test(m[3])?jQuery.filter(m[3],r,true).r:jQuery(r).not(m[3])}else{if(m[1]=="."){r=jQuery.classFilter(r,m[2],not)}else{if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i<rl;i++){var a=r[i],z=a[jQuery.props[m[2]]||m[2]];if(z==null||/href|src|selected/.test(m[2])){z=jQuery.attr(a,m[2])||""}if((type==""&&!!z||type=="="&&z==m[5]||type=="!="&&z!=m[5]||type=="^="&&z&&!z.indexOf(m[5])||type=="$="&&z.substr(z.length-m[5].length)==m[5]||(type=="*="||type=="~=")&&z.indexOf(m[5])>=0)^not){tmp.push(a)}}r=tmp}else{if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"0n+"+m[3]||m[3]),first=(test[1]+(test[2]||1))-0,last=test[3]-0;for(var i=0,rl=r.length;i<rl;i++){var node=r[i],parentNode=node.parentNode,id=jQuery.data(parentNode);if(!merge[id]){var c=1;for(var n=parentNode.firstChild;n;n=n.nextSibling){if(n.nodeType==1){n.nodeIndex=c++}}merge[id]=true}var add=false;if(first==0){if(node.nodeIndex==last){add=true}}else{if((node.nodeIndex-last)%first==0&&(node.nodeIndex-last)/first>=0){add=true}}if(add^not){tmp.push(node)}}r=tmp}else{var fn=jQuery.expr[m[1]];if(typeof fn=="object"){fn=fn[m[2]]}if(typeof fn=="string"){fn=eval("false||function(a,i){return "+fn+";}")}r=jQuery.grep(r,function(elem,i){return fn(elem,i,m,r)},not)}}}}}return{r:r,t:t}},dir:function(elem,dir){var matched=[],cur=elem[dir];while(cur&&cur!=document){if(cur.nodeType==1){matched.push(cur)}cur=cur[dir]}return matched},nth:function(cur,result,dir,elem){result=result||1;var num=0;for(;cur;cur=cur[dir]){if(cur.nodeType==1&&++num==result){break}}return cur},sibling:function(n,elem){var r=[];for(;n;n=n.nextSibling){if(n.nodeType==1&&n!=elem){r.push(n)}}return r}});jQuery.event={add:function(elem,types,handler,data){if(elem.nodeType==3||elem.nodeType==8){return }if(jQuery.browser.msie&&elem.setInterval){elem=window}if(!handler.guid){handler.guid=this.guid++}if(data!=undefined){var fn=handler;handler=this.proxy(fn,function(){return fn.apply(this,arguments)});handler.data=data}var events=jQuery.data(elem,"events")||jQuery.data(elem,"events",{}),handle=jQuery.data(elem,"handle")||jQuery.data(elem,"handle",function(){if(typeof jQuery!="undefined"&&!jQuery.event.triggered){return jQuery.event.handle.apply(arguments.callee.elem,arguments)}});handle.elem=elem;jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];handler.type=parts[1];var handlers=events[type];if(!handlers){handlers=events[type]={};if(!jQuery.event.special[type]||jQuery.event.special[type].setup.call(elem)===false){if(elem.addEventListener){elem.addEventListener(type,handle,false)}else{if(elem.attachEvent){elem.attachEvent("on"+type,handle)}}}}handlers[handler.guid]=handler;jQuery.event.global[type]=true});elem=null},guid:1,global:{},remove:function(elem,types,handler){if(elem.nodeType==3||elem.nodeType==8){return }var events=jQuery.data(elem,"events"),ret,index;if(events){if(types==undefined||(typeof types=="string"&&types.charAt(0)==".")){for(var type in events){this.remove(elem,type+(types||""))}}else{if(types.type){handler=types.handler;types=types.type}jQuery.each(types.split(/\s+/),function(index,type){var parts=type.split(".");type=parts[0];if(events[type]){if(handler){delete events[type][handler.guid]}else{for(handler in events[type]){if(!parts[1]||events[type][handler].type==parts[1]){delete events[type][handler]}}}for(ret in events[type]){break}if(!ret){if(!jQuery.event.special[type]||jQuery.event.special[type].teardown.call(elem)===false){if(elem.removeEventListener){elem.removeEventListener(type,jQuery.data(elem,"handle"),false)}else{if(elem.detachEvent){elem.detachEvent("on"+type,jQuery.data(elem,"handle"))}}}ret=null;delete events[type]}}})}for(ret in events){break}if(!ret){var handle=jQuery.data(elem,"handle");if(handle){handle.elem=null}jQuery.removeData(elem,"events");jQuery.removeData(elem,"handle")}}},trigger:function(type,data,elem,donative,extra){data=jQuery.makeArray(data);if(type.indexOf("!")>=0){type=type.slice(0,-1);var exclusive=true}if(!elem){if(this.global[type]){jQuery("*").add([window,document]).trigger(type,data)}}else{if(elem.nodeType==3||elem.nodeType==8){return undefined}var val,ret,fn=jQuery.isFunction(elem[type]||null),event=!data[0]||!data[0].preventDefault;if(event){data.unshift({type:type,target:elem,preventDefault:function(){},stopPropagation:function(){},timeStamp:now()});data[0][expando]=true}data[0].type=type;if(exclusive){data[0].exclusive=true}var handle=jQuery.data(elem,"handle");if(handle){val=handle.apply(elem,data)}if((!fn||(jQuery.nodeName(elem,"a")&&type=="click"))&&elem["on"+type]&&elem["on"+type].apply(elem,data)===false){val=false}if(event){data.shift()}if(extra&&jQuery.isFunction(extra)){ret=extra.apply(elem,val==null?data:data.concat(val));if(ret!==undefined){val=ret}}if(fn&&donative!==false&&val!==false&&!(jQuery.nodeName(elem,"a")&&type=="click")){this.triggered=true;try{elem[type]()}catch(e){}}this.triggered=false}return val},handle:function(event){var val,ret,namespace,all,handlers;event=arguments[0]=jQuery.event.fix(event||window.event);namespace=event.type.split(".");event.type=namespace[0];namespace=namespace[1];all=!namespace&&!event.exclusive;handlers=(jQuery.data(this,"events")||{})[event.type];for(var j in handlers){var handler=handlers[j];if(all||handler.type==namespace){event.handler=handler;event.data=handler.data;ret=handler.apply(this,arguments);if(val!==false){val=ret}if(ret===false){event.preventDefault();event.stopPropagation()}}}return val},fix:function(event){if(event[expando]==true){return event}var originalEvent=event;event={originalEvent:originalEvent};var props="altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target timeStamp toElement type view wheelDelta which".split(" ");for(var i=props.length;i;i--){event[props[i]]=originalEvent[props[i]]}event[expando]=true;event.preventDefault=function(){if(originalEvent.preventDefault){originalEvent.preventDefault()}originalEvent.returnValue=false};event.stopPropagation=function(){if(originalEvent.stopPropagation){originalEvent.stopPropagation()}originalEvent.cancelBubble=true};event.timeStamp=event.timeStamp||now();if(!event.target){event.target=event.srcElement||document}if(event.target.nodeType==3){event.target=event.target.parentNode}if(!event.relatedTarget&&event.fromElement){event.relatedTarget=event.fromElement==event.target?event.toElement:event.fromElement}if(event.pageX==null&&event.clientX!=null){var doc=document.documentElement,body=document.body;event.pageX=event.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc.clientLeft||0);event.pageY=event.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc.clientTop||0)}if(!event.which&&((event.charCode||event.charCode===0)?event.charCode:event.keyCode)){event.which=event.charCode||event.keyCode}if(!event.metaKey&&event.ctrlKey){event.metaKey=event.ctrlKey}if(!event.which&&event.button){event.which=(event.button&1?1:(event.button&2?3:(event.button&4?2:0)))}return event},proxy:function(fn,proxy){proxy.guid=fn.guid=fn.guid||proxy.guid||this.guid++;return proxy},special:{ready:{setup:function(){bindReady();return },teardown:function(){return }},mouseenter:{setup:function(){if(jQuery.browser.msie){return false}jQuery(this).bind("mouseover",jQuery.event.special.mouseenter.handler);return true},teardown:function(){if(jQuery.browser.msie){return false}jQuery(this).unbind("mouseover",jQuery.event.special.mouseenter.handler);return true},handler:function(event){if(withinElement(event,this)){return true}event.type="mouseenter";return jQuery.event.handle.apply(this,arguments)}},mouseleave:{setup:function(){if(jQuery.browser.msie){return false}jQuery(this).bind("mouseout",jQuery.event.special.mouseleave.handler);return true},teardown:function(){if(jQuery.browser.msie){return false}jQuery(this).unbind("mouseout",jQuery.event.special.mouseleave.handler);return true},handler:function(event){if(withinElement(event,this)){return true}event.type="mouseleave";return jQuery.event.handle.apply(this,arguments)}}}};jQuery.fn.extend({bind:function(type,data,fn){return type=="unload"?this.one(type,data,fn):this.each(function(){jQuery.event.add(this,type,fn||data,fn&&data)})},one:function(type,data,fn){var one=jQuery.event.proxy(fn||data,function(event){jQuery(this).unbind(event,one);return(fn||data).apply(this,arguments)});return this.each(function(){jQuery.event.add(this,type,one,fn&&data)})},unbind:function(type,fn){return this.each(function(){jQuery.event.remove(this,type,fn)})},trigger:function(type,data,fn){return this.each(function(){jQuery.event.trigger(type,data,this,true,fn)})},triggerHandler:function(type,data,fn){return this[0]&&jQuery.event.trigger(type,data,this[0],false,fn)},toggle:function(fn){var args=arguments,i=1;while(i<args.length){jQuery.event.proxy(fn,args[i++])}return this.click(jQuery.event.proxy(fn,function(event){this.lastToggle=(this.lastToggle||0)%i;event.preventDefault();return args[this.lastToggle++].apply(this,arguments)||false}))},hover:function(fnOver,fnOut){return this.bind("mouseenter",fnOver).bind("mouseleave",fnOut)},ready:function(fn){bindReady();if(jQuery.isReady){fn.call(document,jQuery)}else{jQuery.readyList.push(function(){return fn.call(this,jQuery)})}return this}});jQuery.extend({isReady:false,readyList:[],ready:function(){if(!jQuery.isReady){jQuery.isReady=true;if(jQuery.readyList){jQuery.each(jQuery.readyList,function(){this.call(document)});jQuery.readyList=null}jQuery(document).triggerHandler("ready")}}});var readyBound=false;function bindReady(){if(readyBound){return }readyBound=true;if(document.addEventListener&&!jQuery.browser.opera){document.addEventListener("DOMContentLoaded",jQuery.ready,false)}if(jQuery.browser.msie&&window==top){(function(){if(jQuery.isReady){return }try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return }jQuery.ready()})()}if(jQuery.browser.opera){document.addEventListener("DOMContentLoaded",function(){if(jQuery.isReady){return }for(var i=0;i<document.styleSheets.length;i++){if(document.styleSheets[i].disabled){setTimeout(arguments.callee,0);return }}jQuery.ready()},false)}if(jQuery.browser.safari){var numStyles;(function(){if(jQuery.isReady){return }if(document.readyState!="loaded"&&document.readyState!="complete"){setTimeout(arguments.callee,0);return }if(numStyles===undefined){numStyles=jQuery("style, link[rel=stylesheet]").length}if(document.styleSheets.length!=numStyles){setTimeout(arguments.callee,0);return }jQuery.ready()})()}jQuery.event.add(window,"load",jQuery.ready)}jQuery.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,change,select,submit,keydown,keypress,keyup,error").split(","),function(i,name){jQuery.fn[name]=function(fn){return fn?this.bind(name,fn):this.trigger(name)}});var withinElement=function(event,elem){var parent=event.relatedTarget;while(parent&&parent!=elem){try{parent=parent.parentNode}catch(error){parent=elem}}return parent==elem};jQuery(window).bind("unload",function(){jQuery("*").add(document).unbind()});jQuery.fn.extend({_load:jQuery.fn.load,load:function(url,params,callback){if(typeof url!="string"){return this._load(url)}var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off)}callback=callback||function(){};var type="GET";if(params){if(jQuery.isFunction(params)){callback=params;params=null}else{params=jQuery.param(params);type="POST"}}var self=this;jQuery.ajax({url:url,type:type,dataType:"html",data:params,complete:function(res,status){if(status=="success"||status=="notmodified"){self.html(selector?jQuery("<div/>").append(res.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(selector):res.responseText)}self.each(callback,[res.responseText,status,res])}});return this},serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type))}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val}}):{name:elem.name,value:val}}).get()}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f)}});var jsc=now();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type})},getScript:function(url,callback){return jQuery.get(url,null,callback,"script")},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={}}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type})},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings)},ajaxSettings:{url:location.href,global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null,username:null,password:null,accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(s){s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));var jsonp,jsre=/=\?(&|$)/g,status,data,type=s.type.toUpperCase();if(s.data&&s.processData&&typeof s.data!="string"){s.data=jQuery.param(s.data)}if(s.dataType=="jsonp"){if(type=="GET"){if(!s.url.match(jsre)){s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?"}}else{if(!s.data||!s.data.match(jsre)){s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?"}}s.dataType="json"}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data){s.data=(s.data+"").replace(jsre,"="+jsonp+"$1")}s.url=s.url.replace(jsre,"="+jsonp+"$1");s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp]}catch(e){}if(head){head.removeChild(script)}}}if(s.dataType=="script"&&s.cache==null){s.cache=false}if(s.cache===false&&type=="GET"){var ts=now();var ret=s.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+ts+"$2");s.url=ret+((ret==s.url)?(s.url.match(/\?/)?"&":"?")+"_="+ts:"")}if(s.data&&type=="GET"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null}if(s.global&&!jQuery.active++){jQuery.event.trigger("ajaxStart")}var remote=/^(?:\w+:)?\/\/([^\/?#]+)/;if(s.dataType=="script"&&type=="GET"&&remote.test(s.url)&&remote.exec(s.url)[1]!=location.host){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(s.scriptCharset){script.charset=s.scriptCharset}if(!jsonp){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script)}}}head.appendChild(script);return undefined}var requestDone=false;var xhr=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();if(s.username){xhr.open(type,s.url,s.async,s.username,s.password)}else{xhr.open(type,s.url,s.async)}try{if(s.data){xhr.setRequestHeader("Content-Type",s.contentType)}if(s.ifModified){xhr.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");xhr.setRequestHeader("Accept",s.dataType&&s.accepts[s.dataType]?s.accepts[s.dataType]+", */*":s.accepts._default)}catch(e){}if(s.beforeSend&&s.beforeSend(xhr,s)===false){s.global&&jQuery.active--;xhr.abort();return false}if(s.global){jQuery.event.trigger("ajaxSend",[xhr,s])}var onreadystatechange=function(isTimeout){if(!requestDone&&xhr&&(xhr.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xhr)&&"error"||s.ifModified&&jQuery.httpNotModified(xhr,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xhr,s.dataType,s.dataFilter)}catch(e){status="parsererror"}}if(status=="success"){var modRes;try{modRes=xhr.getResponseHeader("Last-Modified")}catch(e){}if(s.ifModified&&modRes){jQuery.lastModified[s.url]=modRes}if(!jsonp){success()}}else{jQuery.handleError(s,xhr,status)}complete();if(s.async){xhr=null}}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0){setTimeout(function(){if(xhr){xhr.abort();if(!requestDone){onreadystatechange("timeout")}}},s.timeout)}}try{xhr.send(s.data)}catch(e){jQuery.handleError(s,xhr,null,e)}if(!s.async){onreadystatechange()}function success(){if(s.success){s.success(data,status)}if(s.global){jQuery.event.trigger("ajaxSuccess",[xhr,s])}}function complete(){if(s.complete){s.complete(xhr,status)}if(s.global){jQuery.event.trigger("ajaxComplete",[xhr,s])}if(s.global&&!--jQuery.active){jQuery.event.trigger("ajaxStop")}}return xhr},handleError:function(s,xhr,status,e){if(s.error){s.error(xhr,status,e)}if(s.global){jQuery.event.trigger("ajaxError",[xhr,s,e])}},active:0,httpSuccess:function(xhr){try{return !xhr.status&&location.protocol=="file:"||(xhr.status>=200&&xhr.status<300)||xhr.status==304||xhr.status==1223||jQuery.browser.safari&&xhr.status==undefined}catch(e){}return false},httpNotModified:function(xhr,url){try{var xhrRes=xhr.getResponseHeader("Last-Modified");return xhr.status==304||xhrRes==jQuery.lastModified[url]||jQuery.browser.safari&&xhr.status==undefined}catch(e){}return false},httpData:function(xhr,type,filter){var ct=xhr.getResponseHeader("content-type"),xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0,data=xml?xhr.responseXML:xhr.responseText;if(xml&&data.documentElement.tagName=="parsererror"){throw"parsererror"}if(filter){data=filter(data,type)}if(type=="script"){jQuery.globalEval(data)}if(type=="json"){data=eval("("+data+")")}return data},param:function(a){var s=[];if(a.constructor==Array||a.jquery){jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value))})}else{for(var j in a){if(a[j]&&a[j].constructor==Array){jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this))})}else{s.push(encodeURIComponent(j)+"="+encodeURIComponent(jQuery.isFunction(a[j])?a[j]():a[j]))}}}return s.join("&").replace(/%20/g,"+")}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock||"";if(jQuery.css(this,"display")=="none"){var elem=jQuery("<"+this.tagName+" />").appendTo("body");this.style.display=elem.css("display");if(this.style.display=="none"){this.style.display="block"}elem.remove()}}).end()},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");this.style.display="none"}).end()},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle.apply(this,arguments):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]()})},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback)},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback)},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback)},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback)},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback)},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback)},animate:function(prop,speed,easing,callback){var optall=jQuery.speed(speed,easing,callback);return this[optall.queue===false?"each":"queue"](function(){if(this.nodeType!=1){return false}var opt=jQuery.extend({},optall),p,hidden=jQuery(this).is(":hidden"),self=this;for(p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden){return opt.complete.call(this)}if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow}}if(opt.overflow!=null){this.style.overflow="hidden"}opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val)){e[val=="toggle"?hidden?"show":"hide":val](prop)}else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit}if(parts[1]){end=((parts[1]=="-="?-1:1)*end)+start}e.custom(start,end,unit)}else{e.custom(start,val,"")}}});return true})},queue:function(type,fn){if(jQuery.isFunction(type)||(type&&type.constructor==Array)){fn=type;type="fx"}if(!type||(typeof type=="string"&&!fn)){return queue(this[0],type)}return this.each(function(){if(fn.constructor==Array){queue(this,type,fn)}else{queue(this,type).push(fn);if(queue(this,type).length==1){fn.call(this)}}})},stop:function(clearQueue,gotoEnd){var timers=jQuery.timers;if(clearQueue){this.queue([])}this.each(function(){for(var i=timers.length-1;i>=0;i--){if(timers[i].elem==this){if(gotoEnd){timers[i](true)}timers.splice(i,1)}}});if(!gotoEnd){this.dequeue()}return this}});var queue=function(elem,type,array){if(elem){type=type||"fx";var q=jQuery.data(elem,type+"queue");if(!q||array){q=jQuery.data(elem,type+"queue",jQuery.makeArray(array))}}return q};jQuery.fn.dequeue=function(type){type=type||"fx";return this.each(function(){var q=queue(this,type);q.shift();if(q.length){q[0].call(this)}})};jQuery.extend({speed:function(speed,easing,fn){var opt=speed&&speed.constructor==Object?speed:{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&easing.constructor!=Function&&easing};opt.duration=(opt.duration&&opt.duration.constructor==Number?opt.duration:jQuery.fx.speeds[opt.duration])||jQuery.fx.speeds.def;opt.old=opt.complete;opt.complete=function(){if(opt.queue!==false){jQuery(this).dequeue()}if(jQuery.isFunction(opt.old)){opt.old.call(this)}};return opt},easing:{linear:function(p,n,firstNum,diff){return firstNum+diff*p},swing:function(p,n,firstNum,diff){return((-Math.cos(p*Math.PI)/2)+0.5)*diff+firstNum}},timers:[],timerId:null,fx:function(elem,options,prop){this.options=options;this.elem=elem;this.prop=prop;if(!options.orig){options.orig={}}}});jQuery.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(jQuery.fx.step[this.prop]||jQuery.fx.step._default)(this);if(this.prop=="height"||this.prop=="width"){this.elem.style.display="block"}},cur:function(force){if(this.elem[this.prop]!=null&&this.elem.style[this.prop]==null){return this.elem[this.prop]}var r=parseFloat(jQuery.css(this.elem,this.prop,force));return r&&r>-10000?r:parseFloat(jQuery.curCSS(this.elem,this.prop))||0},custom:function(from,to,unit){this.startTime=now();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(gotoEnd){return self.step(gotoEnd)}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timerId==null){jQuery.timerId=setInterval(function(){var timers=jQuery.timers;for(var i=0;i<timers.length;i++){if(!timers[i]()){timers.splice(i--,1)}}if(!timers.length){clearInterval(jQuery.timerId);jQuery.timerId=null}},13)}},show:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.show=true;this.custom(0,this.cur());if(this.prop=="width"||this.prop=="height"){this.elem.style[this.prop]="1px"}jQuery(this.elem).show()},hide:function(){this.options.orig[this.prop]=jQuery.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(gotoEnd){var t=now();if(gotoEnd||t>this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim){if(this.options.curAnim[i]!==true){done=false}}if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){this.elem.style.display="none"}if(this.options.hide||this.options.show){for(var p in this.options.curAnim){jQuery.attr(this.elem.style,p,this.options.orig[p])}}}if(done){this.options.complete.call(this.elem)}return false}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};jQuery.extend(jQuery.fx,{speeds:{slow:600,fast:200,def:400},step:{scrollLeft:function(fx){fx.elem.scrollLeft=fx.now},scrollTop:function(fx){fx.elem.scrollTop=fx.now},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now)},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit}}});jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem){with(jQuery.browser){var parent=elem.parentNode,offsetChild=elem,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522&&!/adobeair/i.test(userAgent),css=jQuery.curCSS,fixed=css(elem,"position")=="fixed";if(elem.getBoundingClientRect){var box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));add(-doc.documentElement.clientLeft,-doc.documentElement.clientTop)}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&!/^t(able|d|h)$/i.test(offsetParent.tagName)||safari&&!safari2){border(offsetParent)}if(!fixed&&css(offsetParent,"position")=="fixed"){fixed=true}offsetChild=/^body$/i.test(offsetParent.tagName)?offsetChild:offsetParent;offsetParent=offsetParent.offsetParent}while(parent&&parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table.*$/i.test(css(parent,"display"))){add(-parent.scrollLeft,-parent.scrollTop)}if(mozilla&&css(parent,"overflow")!="visible"){border(parent)}parent=parent.parentNode}if((safari2&&(fixed||css(offsetChild,"position")=="absolute"))||(mozilla&&css(offsetChild,"position")!="absolute")){add(-doc.body.offsetLeft,-doc.body.offsetTop)}if(fixed){add(Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),Math.max(doc.documentElement.scrollTop,doc.body.scrollTop))}}results={top:top,left:left}}}function border(elem){add(jQuery.curCSS(elem,"borderLeftWidth",true),jQuery.curCSS(elem,"borderTopWidth",true))}function add(l,t){left+=parseInt(l,10)||0;top+=parseInt(t,10)||0}return results};jQuery.fn.extend({position:function(){var left=0,top=0,results;if(this[0]){var offsetParent=this.offsetParent(),offset=this.offset(),parentOffset=/^body|html$/i.test(offsetParent[0].tagName)?{top:0,left:0}:offsetParent.offset();offset.top-=num(this,"marginTop");offset.left-=num(this,"marginLeft");parentOffset.top+=num(offsetParent,"borderTopWidth");parentOffset.left+=num(offsetParent,"borderLeftWidth");results={top:offset.top-parentOffset.top,left:offset.left-parentOffset.left}}return results},offsetParent:function(){var offsetParent=this[0].offsetParent;while(offsetParent&&(!/^body|html$/i.test(offsetParent.tagName)&&jQuery.css(offsetParent,"position")=="static")){offsetParent=offsetParent.offsetParent}return jQuery(offsetParent)}});jQuery.each(["Left","Top"],function(i,name){var method="scroll"+name;jQuery.fn[method]=function(val){if(!this[0]){return }return val!=undefined?this.each(function(){this==window||this==document?window.scrollTo(!i?val:jQuery(window).scrollLeft(),i?val:jQuery(window).scrollTop()):this[method]=val}):this[0]==window||this[0]==document?self[i?"pageYOffset":"pageXOffset"]||jQuery.boxModel&&document.documentElement[method]||document.body[method]:this[0][method]}});jQuery.each(["Height","Width"],function(i,name){var tl=i?"Left":"Top",br=i?"Right":"Bottom";jQuery.fn["inner"+name]=function(){return this[name.toLowerCase()]()+num(this,"padding"+tl)+num(this,"padding"+br)};jQuery.fn["outer"+name]=function(margin){return this["inner"+name]()+num(this,"border"+tl+"Width")+num(this,"border"+br+"Width")+(margin?num(this,"margin"+tl)+num(this,"margin"+br):0)}})})();
/* /lib/jquery.swfobject.1.0.3.js */
/* jquery.swfobject.license.txt */
(function(A){A.flashPlayerVersion=function(){var D,B=null,I=false,H="ShockwaveFlash.ShockwaveFlash";if(!(D=navigator.plugins["Shockwave Flash"])){try{B=new ActiveXObject(H+".7")}catch(G){try{B=new ActiveXObject(H+".6");D=[6,0,21];B.AllowScriptAccess="always"}catch(F){if(D&&D[0]===6){I=true}}if(!I){try{B=new ActiveXObject(H)}catch(E){D="X 0,0,0"}}}if(!I&&B){try{D=B.GetVariable("$version")}catch(C){}}}else{D=D.description}D=D.match(/^[A-Za-z\s]*?(\d+)(\.|,)(\d+)(\s+r|,)(\d+)/);return[D[1]*1,D[3]*1,D[5]*1]}();A.flashExpressInstaller="expressInstall.swf";A.hasFlashPlayer=(A.flashPlayerVersion[0]!==0);A.hasFlashPlayerVersion=function(C){var B=A.flashPlayerVersion;C=(/string|integer/.test(typeof C))?C.toString().split("."):C;return(C)?(B[0]>=(C.major||C[0]||B[0])&&B[1]>=(C.minor||C[1]||B[1])&&B[2]>=(C.release||C[2]||B[2])):(B[0]!==0)};A.flash=function(M){if(!A.hasFlashPlayer){return false}var C=M.swf||"",K=M.params||{},E=document.createElement("body"),B,L,H,D,J,I,G,F;M.height=M.height||180;M.width=M.width||320;if(M.hasVersion&&!A.hasFlashPlayerVersion(M.hasVersion)){A.extend(M,{id:"SWFObjectExprInst",height:Math.max(M.height,137),width:Math.max(M.width,214)});C=M.expressInstaller||A.flashExpressInstaller;K={flashvars:{MMredirectURL:window.location.href,MMplayerType:(A.browser.msie&&A.browser.win)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}if(M.flashvars&&typeof K==="object"){A.extend(K,{flashvars:M.flashvars})}for(J in (I=["swf","expressInstall","hasVersion","params","flashvars"])){delete M[I[J]]}B=[];for(J in M){if(typeof M[J]==="object"){L=[];for(I in M[J]){L.push(I.replace(/([A-Z])/,"-$1").toLowerCase()+":"+M[J][I]+";")}M[J]=L.join("")}B.push(J+'="'+M[J]+'"')}M=B.join(" ");if(typeof K==="object"){B=[];for(J in K){if(typeof K[J]==="object"){L=[];for(I in K[J]){if(typeof K[J][I]==="object"){H=[];for(G in K[J][I]){if(typeof K[J][I][G]==="object"){D=[];for(F in K[J][I][G]){D.push(F.replace(/([A-Z])/,"-$1").toLowerCase()+":"+K[J][I][G][F]+";")}K[J][I][G]=D.join("")}H.push(G+"{"+K[J][I][G]+"}")}K[J][I]=H.join("")}L.push(window.escape(I)+"="+window.escape(K[J][I]))}K[J]=L.join("&amp;")}B.push('<PARAM NAME="'+J+'" VALUE="'+K[J]+'">')}K=B.join("")}if(!(/style=/.test(M))){M+=' style="vertical-align:text-top;"'}if(!(/style=(.*?)vertical-align/.test(M))){M=M.replace(/style="/,'style="vertical-align:text-top;')}if(A.browser.msie){M+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';K='<PARAM NAME="movie" VALUE="'+C+'">'+K}else{M+=' type="application/x-shockwave-flash" data="'+C+'"'}E.innerHTML="<OBJECT "+M+">"+K+"</OBJECT>";return A(E.firstChild)};A.fn.flash=function(C){if(!A.hasFlashPlayer){return this}var B=0,D;while((D=this.eq(B++))[0]){D.html(A.flash(A.extend({},C)));if(D[0].firstChild.getAttribute("id")==="SWFObjectExprInst"){B=this.length}}return this}}(jQuery));
/* /lib/core.js */
function getPortalData(){var A=$.cookie.read("MYPORTAL");return A?$.cookie.decode(A):false}var UserDataEvent={SUCCESS:"userdata_recieved",FAILURE:"userdata_failure"};var UserData=function(){this._em=null;this.fetchEmail()};$.extend(UserData.prototype,{getUsername:function(){if(this._uname!=null&&this._uname.length>0){return this._uname}else{return null}},getEmail:function(){if(this._email!=null&&this._email.length>0){return this._email}else{return null}},isHsi:function(){return this._isHsi},_responseRecieved:function(A){var B=null;if(jQuery.browser.msie){B=new ActiveXObject("Microsoft.XMLDOM");B.async=false;B.loadXML(A)}else{B=A}this._uname=jQuery("userName",B).text();this._email=jQuery("userEmail",B).text();var C=jQuery("isHsiUser",B).text();(C=="yes")?this._isHsi=true:this._isHsi=false;jQuery(this).trigger(UserDataEvent.SUCCESS)},_errorRecieved:function(A){jQuery(this).trigger(UserDataEvent.FAILURE)},fetchEmail:function(){$.ajax({type:"GET",url:"/user/authkey/service/sessiondecryption/",cache:false,success:this._responseRecieved.context(this),error:this._errorRecieved.context(this)})}});function getMigData(){var A=$.cookie.read("mig");return A?$.cookie.decode(A):false}function getFancastSsoUrl(A){if(document.config.fancastSSO==""){return A}var B=A.match(/https?:\/\/(.*?)(\/.*)/);if(B){var C=B[1];var D=B[2]}else{var C="www.fancast.com";var D=A}return document.config.fancastSSO+"&TARGET="+encodeURI(D)}function elapsedTimestamp(I,H){var E=60000;var K=E*60;var L=K*24;var B=function(N,M){return[N," ",M,(N==1)?"":"s"," ago"].join("")};var C=new Date(),F=new Date();F.setTime(Date.parse(I));var J=C.getTime()-F.getTime();var D=Math.round(J/L);var A=Math.round(J/K);var G=Math.round(J/E);if(J<1*E){return"Seconds ago"}if(G<60){return B(G,"minute")}if(A<24){return B(A,"hour")}if(D<365){return B(D,"day")}return H||I}function getPackageContext(E){var A=document.config.dataPackageContext.split("/");var D=(E||"").split("/");var B=A.pop();for(var C=0;C<D.length;C++){if(D[C]==".."){A.pop()}else{if(D[C]=="."){}else{if(D[C]!=""){A.push(D[C])}}}}A.push(B);return A.join("/")}function registerObject(B,D,C){var B=$(B);if(B.length<1){return }var A=B.attr("className").match(new RegExp(C+"-[0-9]+"));if(A){var E=A[0];return registerObject._objects[E]}else{var E=C+"-"+registerObject._index++;B.addClass(E);registerObject._objects[E]=D}}registerObject._objects={};registerObject._index=0;$.extend({serialize:function(B){var A=typeof B;if(typeof $.serialize.type_handlers[A]!="undefined"){return $.serialize.type_handlers[A](B)}else{return B+""}}});$.serialize.type_handlers={string:function(A){return'"'+A.replace(/\\/g,"\\\\").replace(/"/g,'\\"')+'"'},number:function(A){return A+""},"boolean":function(A){return A?"true":"false"},"function":function(A){return A()},object:function(E){if(typeof E.serialize=="function"){return E.serialize()}if(E instanceof Array){var D=$.map(E,function(F){return $.serialize(F)});return"["+D.join(",")+"]"}else{var D=[];for(var B in E){var A=$.serialize(B);var C=$.serialize(E[B]);D.push(A+":"+C)}return"{"+D.join(",")+"}"}}};var SerializationError=Error;$.extend({pop_window:function(D,C,B){var A=[];var B=$.extend({},$.pop_window.default_options,B);for(var E in B){A.push(E+"="+B[E])}return window.open(D,C,A.join(","))}});$.pop_window.default_options={scrollbars:"no",status:"no",location:"no",toolbar:"no",favorites:"no",address:"no",menubar:"no",resizable:"yes"};$.fn.extend({fix_transparency:function(){if(!$.browser.msie){return this}$(this).each(function(A,C){var B=$(C);if(!B.attr("src").match(/\.png/)){return }B.parent().css("filter","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+B.attr("src")+"',sizingMethod='image')");B.css("visibility","hidden")});return this}});$.extend({flatten:function(C){var D=[];for(var B=0,A=C.length;B<A;B++){if(C[B] instanceof Array){D=$.merge(D,$.flatten(C[B]))}else{D.push(C[B])}}return D}});(function(A){var B=function(E,C){for(var F=0;F<C.length;F++){var D=E.length;E[D]=C[F]}return E};A.extend(Function.prototype,{context:function(C){var D=this;return function(){return D.apply(C,arguments)}},curry:function(){var D=this,C=arguments;return function(){return D.apply(this,B(C,arguments))}}})})(jQuery);$.fn.extend({load_options:function(defaults){var options=$.extend({},defaults||{});$(this).each(function(){$.extend(options,eval("("+($(this).val()||"{}")+")"))});return options}});$(document).ready(function(){window.__flash__removeCallback=function(A,B){if(A!=null){A[B]=null}}});(function(){orig_ajax=$.ajax;$.extend({ajax:function(A){var B=document.location.search.match(/preview=(.*?)(&|$)/);if(B&&!A.noPreview){A.data=A.data||{};A.data.preview=B[1]}return orig_ajax.call(this,A)}})})();$(document).ready(function(){if(typeof $.cookie=="undefined"){return }if(!$.cookie.read("session@comcast.net")){return }if(document.config.fancastSSO==""){return }var A=function(D){var C=D.match(/https?:\/\/(.*?fancast.com\/?)(.*)/);if(!C){return D}return document.config.fancastSSO+"&TARGET=/"+encodeURI(C[2])};var B=/:\/\/.*?fancast.com/;$("a").each(function(){var C=$(this);if(typeof C.attr("href")=="undefined"){return }if(!C.attr("href").match(B)){return }C.attr("href",A(C.attr("href")))});$("form").each(function(){var C=$(this);if(typeof C.attr("action")=="undefined"){return }if(!C.attr("action").match(B)){return }C.attr("action",A(C.attr("action")))})});var monitorEvent=(function(B){var A=parseInt(Math.random()*65535);return function(F,C,D){var E=B.extend({},D,{msg:C,authed:getPortalData()?"true":"false",ts:(new Date()).getTime(),instance:A});B.ajax({type:"GET",url:"/log/"+F+"/",data:E})}})(jQuery);try{if(console==undefined){}}catch(error){console={log:function(A){},info:function(A){},error:function(A){}}}String.prototype.supplant=function(A){return this.replace(/{([^{}]*)}/g,function(C,B){var D=A[B];return typeof D==="string"||typeof D==="number"?D:C})};
/* /lib/browser.js */
var agt=navigator.userAgent.toLowerCase();var is_ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));var is_safari=(navigator.appVersion.indexOf("Safari")>-1);function createCookie(C,D,E){var A="";if(E){var B;if(typeof E=="object"){B=E}else{var B=new Date();B.setTime(B.getTime()+E*86400000)}var A="; expires="+B.toGMTString()}document.cookie=C+"="+D+A+"; path=/; domain=.comcast.net"}function readCookie(C){var F=C+"=";var B=document.cookie.split(";");var E=/\s*(.*)/;for(var D=0,A=B.length;D<A;D++){var G=B[D].match(E)[1];if(G.indexOf(F)==0){return G.substring(F.length,G.length)}}return null}function deleteCookie(A){createCookie(A,"",-1)}var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(D){for(var A=0;A<D.length;A++){var B=D[A].string;var C=D[A].prop;this.versionSearchString=D[A].versionSearch||D[A].identity;if(B){if(B.indexOf(D[A].subString)!=-1){return D[A].identity}}else{if(C){return D[A].identity}}}},searchVersion:function(B){var A=B.indexOf(this.versionSearchString);if(A==-1){return }return parseFloat(B.substring(A+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();function upgradeRedirect(){var B="/browserupgrade/";var A=true;if(readCookie("browserDetection")=="no"){A=false}if(BrowserDetect.browser=="Explorer"&&BrowserDetect.version>=6){A=false}if(BrowserDetect.browser=="Firefox"&&BrowserDetect.version>=2){A=false}if(BrowserDetect.browser=="Safari"&&BrowserDetect.version>=412){A=false}if(BrowserDetect.browser=="Opera"&&BrowserDetect.version>=9){A=false}if(A){document.location=B}};
/* /lib/cookie.js */
jQuery.cookie={__read:function(C){var F=document.cookie.split(";");var E=new RegExp("(?:^|\\s+)"+C+"=(.*)");for(var D=0,A=F.length;D<A;D++){var B=F[D].match(E);if(B){return B[1]}}return null},__write:function(C,F,B){B[C]=F;var E=[C,"expires","path","domain"],G=[];for(var D=0,A=E.length;D<A;D++){if(typeof B[E[D]]=="undefined"){continue}G.push([E[D],B[E[D]]].join("="))}document.cookie=G.join("; ")},__remove:function(B,A){this.write(B,"",$.extend(A,{expire_days:-1}))},read:function(A){var D=this.__read(A);if(D===null){var C,B=0;while(C=this.__read([A,B].join("."))){D=(D||"")+C;B++}}return D},write:function(C,E,B){var A=$.extend({path:"/",domain:".comcast.net"},B);if(typeof A.expire_days!="undefined"){var F=new Date();F.setTime(F.getTime()+A.expire_days*86400000);A.expires=F.toGMTString()}if(typeof A.expire_date!="undefined"){A.expires=A.expire_date.toGMTString()}var G=4000;if(E.length<G){this.__write(C,E,A)}else{this.remove(C,B);var D=0;while(E.length>0){this.__write([C,D].join("."),E.substr(0,G),A);E=E.substr(G);D++}}},remove:function(B,A){if(this.__read(B)!==null){this.__remove(B,A)}else{var C=0;while(this.__read([B,C].join("."))){this.__remove([B,C].join("."),A);C++}}},__escape_value:function(A){return A.replace(/%/g,"%25").replace(/;/g,"%3B").replace(/=/g,"%3D").replace(/&/g,"%26")},__unescape_value:function(A){return unescape(A)},encode:function(B){var A=[];$.each(B,(function(D,C){A.push([D,this.__escape_value(C)].join("="))}).context(this));return A.join("&")},decode:function(F){if(!F){return{}}var D={},E=F.split("&");for(var C=0,A=E.length;C<A;C++){var B=E[C].split("=");D[B[0]]=this.__unescape_value(B[1])}return D}};if(!getPortalData()){try{Prefs.remove("edata.last_success_version")}catch(e){}$.cookie.remove("token");$.cookie.remove("edata");$.cookie.remove("xedata");$.cookie.remove("entitlementPageViewCount")};
/* /lib/prefs.js */
var Prefs={_stores:{},_default_store:"",_search_order:[],register_store:function(A,B){this[A.toUpperCase()]=A;this._search_order.push(A);this._stores[A]=B},set_default_store:function(A){this._default_store=A},commit:function(){for(var C=0,A=this._search_order.length;C<A;C++){var B=this._search_order[C];this._stores[B].commit()}},get:function(name,fallback){var value,serialize;for(var i=0,l=this._search_order.length;i<l&&!value;i++){try{var store=this._search_order[i];value=this._stores[store].get(name);serialize=this._stores[store]._serialize}catch(e){if(e!=PrefStore.no_value){throw e}}}if(value){if(serialize){try{return eval("("+value+")")}catch(e){}}else{return value}}return fallback},set:function(B,C,A){var A=A||this._default_store;var C=this._stores[A]._serialize?$.serialize(C):C;this._stores[A].set(B,C);this.commit()},remove:function(B,A){var A=A||this._default_store;this._stores[A].remove(B);this.commit()},clear:function(A){this._stores[A].clear()},lockout:function(C){var A=this.set;this.set=function(){};try{C()}catch(B){throw B}finally{this.set=A}},bundle:function(C){var A=this.commit;this.commit=function(){};try{C()}catch(B){throw B}finally{this.commit=A;this.commit()}}};var PrefStore={no_value:"No Value",not_implemented:"Not Implemented",_serialize:true,commit:function(){throw this.not_implemented},get:function(A){throw this.not_implemented},set:function(A,B){throw this.not_implemented},remove:function(A){throw this.not_implemented},clear:function(){throw this.not_implemented}};var BufferedStore=$.extend({},PrefStore,{_buffer:null,_buffer_changed:false,_load_buffer:function(){throw this.not_imlemented},_write_buffer:function(){throw this.not_implemented},commit:function(){if(!this._buffer_changed){return }this._write_buffer();this._buffer_changed=false},get:function(A){this._load_buffer();if(this._buffer==null||typeof this._buffer[A]=="undefined"){throw this.no_value}return this._buffer[A]},set:function(A,B){this._load_buffer();if(this._buffer!=null){this._buffer[A]=B;this._buffer_changed=true}},remove:function(A){this._load_buffer();delete this._buffer[A];this._buffer_changed=true}});var CookieStore=$.extend({},BufferedStore,{_name:null,_options:{},_load_buffer:function(){if(this._buffer!=null){return }var A=$.cookie.read(this._name);this._buffer=$.cookie.decode(A);this._buffer_changed=false},_write_buffer:function(){if(this._buffer==null){return }var A=$.cookie.encode(this._buffer);$.cookie.write(this._name,A,this._options);this._buffer_changed=false},clear:function(){$.cookie.remove(this._name,this._options)}});var AWSStore=$.extend({},BufferedStore,{_name:null,_bucket:null,_url_node:null,_aws_root:null,_load_buffer:function(){if(this._buffer!=null){return }var A=getPortalData();if(!A){this._buffer=null;return }var E=parseInt(Math.random()*65535);$(this).triggerHandler("load-start",[E]);var D=$.ajax({async:false,cache:false,type:"GET",url:"/user/authkey/service/amazonget/",data:{guid:A.guid,service:this._bucket,fmt:"xml",ts:(new Date()).getTime()},dataType:"xml"});var B=$(D.responseXML).find(this._url_node).text().replace(/https:\/\/.*?\//,this._aws_root);var C=unescape(B.replace(/.*?\/([^/?]+)\?.*/,"$1"));$(this).triggerHandler("load-guid",[E,C]);var D=$.ajax({async:false,cache:false,type:"GET",url:B,dataType:"xml"});$(this).triggerHandler("load-response",[E,D]);if(D.status==200){$(this).triggerHandler("load-success",[E]);this._buffer=$.cookie.decode(D.responseText)}else{if(D.status==404){$(this).triggerHandler("load-no-prefs",[E]);this._buffer=null}else{$(this).triggerHandler("load-bad-response",[E,D]);this._buffer=null}}$(this).triggerHandler("load-complete",[E]);this._buffer_changed=false},_write_buffer:function(){if(this._buffer==null){return }var A=getPortalData();if(!A){return }var D=parseInt(Math.random()*65535);$(this).triggerHandler("save-start",[D]);var B=$.cookie.encode(this._buffer);var C=this;$.ajax({url:"/user/authkey/service/amazonpost/",data:{guid:A.guid,service:this._bucket,fmt:"xml",ts:(new Date()).getTime()},type:"GET",error:function(E,G,F){$(C).triggerHandler("save-policy-error",[D,E,G])},success:function(I,F){var N=$(I).find("accessKey").text();var M=$(I).find("policy").text();var G=$(I).find("signature").text();var J=$(I).find("encryptedGuid").text();$(C).triggerHandler("save-policy-load",[D,J,N,M,G]);var E=parseInt(2147483647*Math.random())+"";var K={key:"uploads/"+J,policy:M,signature:G,AWSAccessKeyId:N,acl:"private","Content-Type":"text/plain",file:B};var L="";for(var H in K){L+=["--"+E,'Content-Disposition: form-data; name="'+H+'"',"",K[H],""].join("\r\n")}L+="--"+E+"--";$.ajax({url:C._aws_root,type:"POST",contentType:"multipart/form-data; boundary="+E,processData:false,data:L,complete:function(O,P){$(C).triggerHandler("save-complete",[D,O])}})}})}});var UDSStore=$.extend({},BufferedStore,{_uds_url:"/uds",_owner:null,_app_id:null,_fields:[],bad_name:"Invalid preference name supplied",_serialize:false,_to_pref_name:function(B,A){return[B,A].join(".")},_from_pref_name:function(A){var B=A.match(/(.*?)\.(.*)/);if(!B){throw this.bad_name}return[B[1],B[2]]},_load_buffer:function(){if(this._buffer!=null){return }var pd=getPortalData();if(!pd){this._buffer=null;return }var rv=parseInt(Math.random()*65535);var req_url=[this._uds_url,this._owner,"appdata",pd.guid,"@self",this._app_id].join("/");var resp=$.ajax({async:false,cache:false,type:"GET",url:req_url,dataType:"json",data:{fields:this._fields.join(",")}});if(resp.status==200){try{this._buffer={};var data=eval("("+resp.responseText+")");for(var i=0;i<this._fields.length;i++){var field=this._fields[i];for(var name in data[field]){var pName=this._to_pref_name(field,name);this._buffer[pName]=data.entry[pd.guid][field][name]}}}catch(e){this._buffer=null}}else{this._buffer=null}this._buffer_changed=false},_write_buffer:function(){if(this._buffer==null){return }var G=getPortalData();if(!G){return }var B=parseInt(Math.random()*65535);var E={};for(var F=0;F<this._fields.length;F++){var I=this._fields[F];E[I]={}}for(var H in this._buffer){var D=this._from_pref_name(H);var I=D[0],A=D[1];if(!(I in E)){continue}E[I][A]=this._buffer[H]}var C=[this._uds_url,this._owner,"appdata",G.guid,"@self",this._app_id].join("/");C+="?fields="+this._fields.join(",");$.ajax({type:"PUT",url:C,data:$.serialize(E),contentType:"application/json",complete:function(J,K){}});this._buffer_changed=false}});var LazyAWSStore=$.extend({},AWSStore,{_buffer_load_success:null,_buffer_load_failure:null,_buffer_write_success:null,_buffer_write_failure:null,loadBuffer:function(){var A=this._load_buffer();if(!A&&this._buffer!=null&&this._buffer_load_success){$(this).trigger(this._buffer_load_success)}},set:function(A,B){this._load_buffer();if(this._buffer!=null){this._buffer[A]=B;this._buffer_changed=true}this.commit()},update:function(A,B){this._load_buffer();if(this._buffer!=null){this._buffer[A]=B;this._buffer_changed=true}},get:function(B,A){this._load_buffer();if(this._buffer==null||typeof this._buffer[B]=="undefined"){return A}return this._buffer[B]},_load_buffer:function(){if(this._buffer!=null){return false}var A=getPortalData();if(!A){this._buffer=null;return }var E=parseInt(Math.random()*65535);var D=$.ajax({async:false,cache:false,type:"GET",url:"/user/authkey/service/amazonget/",data:{guid:A.guid,service:this._bucket,fmt:"xml",ts:(new Date()).getTime()},dataType:"xml"});var B=$(D.responseXML).find(this._url_node).text().replace(/https:\/\/.*?\//,this._aws_root);var C=unescape(B.replace(/.*?\/([^/?]+)\?.*/,"$1"));var D=$.ajax({async:false,cache:false,type:"GET",url:B,dataType:"xml"});if(D.status==200){this._buffer=$.cookie.decode(D.responseText);if(this._buffer_load_success){$(this).trigger(this._buffer_load_success)}}else{if(D.status==404){this._buffer={};if(this._buffer_load_success){$(this).trigger(this._buffer_load_success)}}else{this._buffer=null;if(this._buffer_load_failure){$(this).trigger(this._buffer_load_failure)}}}this._buffer_changed=false;return true},_write_buffer:function(){if(this._buffer==null){return }var A=getPortalData();if(!A){return }var D=parseInt(Math.random()*65535);var B=$.cookie.encode(this._buffer);var C=this;$.ajax({url:"/user/authkey/service/amazonpost/",data:{guid:A.guid,service:this._bucket,fmt:"xml",ts:(new Date()).getTime()},type:"GET",error:function(E,G,F){},success:function(I,F){var N=$(I).find("accessKey").text();var M=$(I).find("policy").text();var G=$(I).find("signature").text();var J=$(I).find("encryptedGuid").text();var E=parseInt(2147483647*Math.random())+"";var K={key:"uploads/"+J,policy:M,signature:G,AWSAccessKeyId:N,acl:"private","Content-Type":"text/plain",file:B};var L="";for(var H in K){L+=["--"+E,'Content-Disposition: form-data; name="'+H+'"',"",K[H],""].join("\r\n")}L+="--"+E+"--";$.ajax({url:C._aws_root,type:"POST",contentType:"multipart/form-data; boundary="+E,processData:false,data:L,success:function(O,P){if(C._buffer_write_success){$(C).trigger(C._buffer_write_success)}},error:function(O,Q,P){if(C._buffer_write_failure){$(C).trigger(C._buffer_write_failure)}}})}})}});var LocalStore=$.extend({},BufferedStore,{_name:null,_options:{},_userDataName:"comcast.net Settings",_methods:[{check:function(){return("localStorage" in window)},load:function(){return window.localStorage.getItem(this._name)},save:function(A){window.localStorage.setItem(this._name,A)},clear:function(){window.localStorage.removeItem(this._name)}},{check:function(){return("globalStorage" in window)},load:function(){var B=window.globalStorage[document.location.hostname];var A=B.getItem(this._name);return A?A.value:null},save:function(B){var A=window.globalStorage[document.location.hostname];A.setItem(this._name,B)},clear:function(){var A=window.globalStorage[document.location.hostname];A.removeItem(this._name)}},{check:function(){return document.body&&("save" in document.body)},load:function(){document.body.load(this._userDataName);return document.body.getAttribute(this._name)},save:function(A){document.body.load(this._userDataName);document.body.setAttribute(this._name,A);document.body.save(this._userDataName)},clear:function(){document.body.load(this._userDataName);document.body.removeAttribute(this._name);document.body.save(this._userDataName)}},{check:function(){return true},load:function(){return $.cookie.read(this._name)},save:function(A){$.cookie.write(this._name,A,this._options)},clear:function(){$.cookie.remove(this._name,this._options)}}],_load_buffer:function(){if(this._buffer!=null){return }var B=null;for(var C=0;C<this._methods.length&&B===null;C++){var A=this._methods[C];if(A.check.call(this)){B=A.load.call(this)}}this._buffer=$.cookie.decode(B);this._buffer_changed=false},_write_buffer:function(){if(this._buffer==null){return }var C=$.cookie.encode(this._buffer);for(var B=0;B<this._methods.length;B++){var A=this._methods[B];if(A.check.call(this)){A.save.call(this,C);break}}for(B++;B<this._methods.length;B++){var A=this._methods[B];if(A.check.call(this)){A.clear.call(this)}}this._buffer_changed=false},clear:function(){for(var B=0;B<this._methods.length;B++){var A=this._methods[B];if(A.check.call(this)){A.clear.call(this)}}this._buffer=null}});Prefs.register_store("cookie",$.extend({},CookieStore,{_name:"prefs",_options:{expire_days:1000}}));Prefs.register_store("session_cookie",$.extend({},CookieStore,{_name:"session_prefs"}));Prefs.register_store("server",$.extend({},PrefStore,{commit:function(){Prefs._stores.cookie.commit()},get:function(A){Prefs._stores.cookie.get(A)},set:function(A,B){Prefs._stores.cookie.set(A,B)},remove:function(A){Prefs._stores.cookie.remove(A)}}));Prefs.set_default_store(Prefs.COOKIE);
/* /lib/handlers.js */
$(document).ready(function(){$("a").assign_handlers()});$.fn.assign_handlers=function(){$(this).each(function(D,B){if(B.rel==""){return }var G=/^\s*(\w+)/;var I=/^\((.*?)\)/;var C=[];var H="",J=B.rel;while(J.length>0&&J!=H){var E,A,F;H=J;E=J.match(G);if(!E){continue}J=J.replace(G,"");var A="handle_"+E[1];E=J.match(I);J=J.replace(I,"");F=E?E[1].split(/,\s*/):[];if($.browser.msie&&E&&E[1].match(/,$/)){F.push("")}if(typeof window[A]=="undefined"){continue}C.push([A,F])}$(B).data("handlers",C).unbind("click",$.fn.assign_handlers.handler).click($.fn.assign_handlers.handler)});return this};$.fn.assign_handlers.handler=function(B){var F=$(this);var C=F.data("handlers");F.data("status",true);for(var D=0,A=C.length;D<A;D++){var H=[B].concat(C[D][1]),G=C[D][0];var E=window[G].apply(this,H);if(E===false){F.data("status",false)}}F.data("tracked",false);return F.data("status")};function handle_track(B,F){if(typeof s=="undefined"){return }if($(this).data("tracked")&&!$(this).data("force_track")){return }var E=s.linkInternalFilters.split(",");var C=false;for(var D=0,A=E.length;D<A;D++){if(this.href.match(E[D])){C=true}}if(C||$(this).data("status")==false){Tracking.resetVars();s.tl(this,"o",F);Tracking.resetVars()}}function handle_show_tooltip(B,D,C,A){if($("#"+C).html()){if(!A){A="arrowFarLeft"}$("<div class='tooltip'>"+$("#"+C).html()+"<i class='arrow "+A+"'></i></div>").appendTo($(this))}return false}function handle_ajax_track(A){if(typeof s=="undefined"){return }if($(this).data("tracked")&&!$(this).data("force_track")){return }Tracking.resetVars();$(this).data("tracked",true);TrackingNode.process_node(this);s.t();Tracking.resetVars()}function handle_set_theme(A,E,C,B){var B=B||Prefs.COOKIE;var C=C||"site.theme";var D=$(document.body).attr("className");$(document.body).attr("className",D.replace(/theme-\w+/,""));$(document.body).addClass(E);Prefs.set(C,E,B);return false}function handle_signin(A){}function handle_signout(A){$.cookie.remove("bunchball")}function handle_sethomepage(A){if($.browser.msie){this.addBehavior("#default#homepage");this.setHomePage(document.location.href)}else{if($.browser.safari){location.href="/sethomesafari/?url="+document.location.href}else{location.href="/sethomeff/?url="+document.location.href}}return false}function handle_fan(A){$.pop_window(this.href,"fan",{width:930,height:800});$(this).data("status",false);handle_track.call(this,A);return false}function handle_radio(A){$.pop_window(this.href,"radio",{resizeable:"no",hotkeys:"no",width:270,height:395});$(this).data("status",false);handle_track.call(this,A);return false}function handle_ask(A){$.pop_window(this.href,"ask",{scrollbars:"yes",status:"yes",width:480,height:451});$(this).data("status",false);handle_track.call(this,A);return false}function handle_feedback(A){_fW(_ht,1);_hdn=1;O_LC();$(this).data("status",false);handle_track.call(this,A);return false}function handle_external(A){$(this).attr("target","_blank")};
/* /lib/tabs.js */
$(document).ready(function(){$(".tab-bar").each(function(A,B){new TabBar(B)});$(".ajax-tab-bar").each(function(A,B){new AjaxTabBar(B)})});var TabBar=function(C){if(obj=registerObject(C,this,"tb")){return obj}var B=$(C);this.tabs=B.find("ul.tabs:first li");this.panels=B.find(".panels:first>*");this.options=B.find(".tab-options").load_options({autorotate:false,rotate_timeout:5000,initial_timeout:15000});var A=0;this.tabs.each(function(E,F){if($(F).hasClass("active")){A=E;return false}});this.active_tab=0;this.setActiveTab(A);var D=(function(E){this.setActiveTab(E);this.setRotating(false);return false}).context(this);this.tabs.each(function(E,F){$(F).click(D.curry(E))});if(this.options.autorotate){this.rotating=true;this.control_state=true;this.rotate_timer=window.setTimeout(this._autorotate.context(this),this.options.initial_timeout);this.rotate_control=B.find(".rotate-control");this.rotate_control.click((function(){this.control_state=!this.control_state;this.updateRotateControl();if(this.rotate_timer==null){this._autorotate()}return false}).context(this));this.updateRotateControl()}};$.extend(TabBar.prototype,{setActiveTab:function(A){if(!this.getTab(A)||!this.getPanel(A)){return false}var B=$(this).triggerHandler("change",[A,this.getActiveTab()]);if(B===false){return false}this.getTab(this.getActiveTab()).removeClass("active");this.getPanel(this.getActiveTab()).removeClass("active");this.active_tab=A;this.getTab(this.getActiveTab()).addClass("active");this.getPanel(this.getActiveTab()).addClass("active");$(this).triggerHandler("changed",[this.getActiveTab()]);return true},updateRotateControl:function(){var A=this.rotate_control.find("b");A[this.control_state?"addClass":"removeClass"]("enabled")},setRotating:function(A){if(!this.options.autorotate){return }this.rotating=A;if(this.rotate_timer==null){this._autorotate()}},isRotating:function(){return this.rotating&&this.control_state},getActiveTab:function(){return this.active_tab},getTab:function(A){if(A<0){return null}if(A>=this.tabs.length){return null}return $(this.tabs[A])},getPanel:function(A){if(A<0){return null}if(A>=this.panels.length){return null}return $(this.panels[A])},_autorotate:function(){this.rotate_timer=null;if(!this.isRotating()){return }var A=(this.active_tab+1)%this.tabs.length;this.setActiveTab(A);this.rotate_timer=window.setTimeout(this._autorotate.context(this),this.options.rotate_timeout)}});var AjaxTabBar=function(A){if(obj=TabBar.call(this,A)){return obj}};$.extend(AjaxTabBar.prototype,TabBar.prototype,{transformLink:function(A){return A.attr("href").split("#")[1]},setActiveTab:function(B){if(!TabBar.prototype.setActiveTab.call(this,B)){return false}var A=this.getPanel(B);if(A.children(".loading").length>0){$.ajax({url:this.transformLink(this.getTab(B).find("a")),dataType:"html",success:(function(D,C){A.html(D).find("a").assign_handlers();$(document).trigger("gadget_height_change");$(this).triggerHandler("tab-loaded",B)}).context(this),error:function(E,D,C){}})}else{$(document).trigger("gadget_height_change")}return true}});
/* /lib/scroller.js */
$(document).ready(function(){$(".scrolling-region").each(function(A,B){new Scroller(B)})});var Scroller=function(A){if(obj=registerObject(A,this,"srl")){return obj}this.root=$(A);this.limits={x:-1,y:-1};this.root.wrapInner('<div class="scrolling-container"></div>');this.container=this.root.find(".scrolling-container:first")};$.extend(Scroller.prototype,{scrollTo:function(C,B,D,A){if(B==0){this.jumpTo(C);A();return }var C=this.constrainOffset($.extend({x:0,y:0},C));this.container.animate({marginLeft:-C.x,marginTop:-C.y},B,D,A)},jumpTo:function(A){var A=this.constrainOffset($.extend({x:0,y:0},A));this.container.css({marginLeft:-A.x,marginTop:-A.y})},getOffset:function(){return{x:-parseInt(this.container.css("marginLeft"),10),y:-parseInt(this.container.css("marginTop"),10)}},setLimits:function(A){this.limits=$.extend({x:0,y:0},A)},getLimits:function(){return this.limits},constrainOffset:function(B){for(var A in B){if(B[A]<0){B[A]=0}if(B[A]>=this.limits[A]&&this.limits[A]>=0){B[A]=this.limits[A]}}return B}});
/* /lib/carousel.js */
$(document).ready(function(){$(".carousel-container").each(function(A,B){new Carousel(B)})});var Carousel=function(A){if(obj=registerObject(A,this,"car")){return obj}this.root=$(A);this.list=this.root.find("ul.carousel");this.options=this.root.find(".carousel-options").load_options({wraparound:true,ajax_id:"carousel",animation_speed:"fast",animation_easing:"swing",start_page:0});this.curr_page=this.options.start_page;this.scroller=new Scroller(this.root.find(".scrolling-region"));this.pagination=this.root.find(".pagination");this.curr_page_display=this.root.find(".curr-page");this.total_page_display=this.root.find(".total-page");this.previous_link=this.root.find("a.control.previous");this.next_link=this.root.find("a.control.next");this.loading=this.root.find(".loading");this.previous_link.click(this._controlLink(-1));this.next_link.click(this._controlLink(1));this.isLoading=false;this.loadQueue=[];this.setup()};$.extend(Carousel.prototype,{_controlLink:function(A){return(function(){if(this.pages>1){this.updateDisplay(this.curr_page+A,true)}return false}).context(this)},_paginationLink:function(A){return(function(){this.updateDisplay(A,true);return false}).context(this)},updateDisplay:function(B,A){var C=(B<this.curr_page)?-1:1;this.curr_page=B;if(!this.options.wraparound){if(this.curr_page<0){this.curr_page=0}if(this.curr_page>=this.pages){this.curr_page=this.pages-1}}else{if(this.curr_page<0){this.curr_page=this.pages-1;this.scroller.jumpTo({x:this.pages*this.page_width})}}if(!this.pageLoaded(this.curr_page)){this.loading.css({left:this.curr_page*this.page_width,display:"block"})}this.loadPage(this.curr_page,this.curr_page,C);this.scroller.scrollTo({x:this.curr_page*this.page_width},A?this.options.animation_speed:0,this.options.animation_easing,(function(){this.scroller.jumpTo({x:this.curr_page*this.page_width})}).context(this));if(this.curr_page>=this.pages){this.curr_page=0}this.updateControls();this.updatePagination()},updateControls:function(){var B,A;if(!this.options.wraparound){B=this.curr_page>=1;A=this.curr_page<(this.pages-1)}else{B=A=this.pages>1}if(B){this.previous_link.css("cursor","pointer")}else{this.previous_link.css("cursor","default")}if(A){this.next_link.css("cursor","pointer")}else{this.next_link.css("cursor","default")}this.previous_link.find("b")[B?"removeClass":"addClass"]("disabled");this.next_link.find("b")[A?"removeClass":"addClass"]("disabled")},updatePagination:function(){if(this.pagination){var A=this.pagination.find("b");A.removeClass("current");A.slice(this.curr_page,this.curr_page+1).addClass("current")}this.curr_page_display.text(this.curr_page+1);this.total_page_display.text(this.pages)},updateClones:function(){if(this.options.wraparound){this.list.find("li.cloned").remove();var A=this.list.find("li").slice(0,this.page_width/this.item_width).clone();A.addClass("cloned");A.css("visibility","");this.list.append(A)}this.root.find(".scrolling-container").css("width",this.item_width*this.list.find("li").length)},pageBoundaries:function(D){var A=this.list.find("li");var C=this.page_width/this.item_width;var E=Math.min(D*C,A.length-1);var B=E+(C-1);return[E,B]},pageLoaded:function(B){var A=this.list.find("li");var C=this.pageBoundaries(B)[0];return(A[C].childNodes.length!=0)},loadPage:function(F,A,E){if(this.isLoading){var C=this.loadPage.context(this).curry(F,A,E);this.loadQueue.push(C);return }if(this.pageLoaded(A)){return }this.isLoading=true;var D=this.pageBoundaries(F);var B=this.pageBoundaries(A);$.ajax({url:document.config.ajax_prefix+"/ajax/"+this.options.ajax_id+"/"+D[0]+"/"+D[1]+"/",dataType:"html",success:(function(K,L){var I=B[0],O=B[1];var H=$(K).filter("li");var M=this.list.find("li");var N=M.slice(I,O+1);if(E==1){M.eq(O).after(H)}else{M.eq(I).before(H);this.loading.css("left",(this.curr_page+1)*this.page_width)}H.css("visibility","hidden").find("a").assign_handlers();N.remove();this.loading.fadeOut();var J=function(){this.css({visibility:"visible",display:"none"}).fadeIn()};H.each(function(P){window.setTimeout(J.context($(this)),25*P)});if(A==0){this.updateClones()}this.isLoading=false;if(this.loadQueue.length>0){var G=this.loadQueue.shift();G()}}).context(this)})},setup:function(){var B=this.list.find("li").not(".cloned");this.item_width=B.width();this.page_width=this.root.find(".scrolling-region").width();this.setup_timer=null;if(this.item_width==0||this.page_width==0){this.setup_timer=window.setTimeout(this.setup.context(this),100);return }this.pages=Math.ceil(this.item_width*B.length/this.page_width);this.scroller.setLimits({x:this.page_width*this.pages});if(this.pagination.length>0){this.pagination.empty();for(var D=0,A=this.pages;D<A;D++){var C=$("<b></b>");C.click(this._paginationLink(D));this.pagination.append(C)}}this.updateClones();if(this.curr_page!=-1){this.updateDisplay(this.curr_page,false)}}});
/* /lib/ads.js */
$(document).ready(function(){$(".ad-target").each(function(A,D){var C=$(D).attr("className").replace(/\s*ad-target\s*/,"");var B=$("#"+C);if(B.length>0){$("script",B).remove();D.parentNode.replaceChild(B[0],D)}})});
/* /lib/omniture_helper.js */
(function(C){var A=C.cookie.read("page_counts");if(A&&A=="X"){return }if(!A||!A.match(/\d+,\d+/)){A="0,0"}var B=A.split(",");B[0]++;if(document.config.pathContext.match(/^\/(d\/)?$/)||document.config.pathContext.match(/^\/light\/$/)||document.config.pathContext.match(/^\/tt\/$/)){B[1]++}C.cookie.write("page_counts",B.join(","),{expire_days:1000})})(jQuery);var Tracking={set_vars:[],setData:function(F){var H=[],E=[];if(this.isVarSet("linkTrackVars")){H=this.getVar("linkTrackVars").split(",")}if(this.isVarSet("events")){E=this.getVar("events").split(",")}if(E[0]==""){E.shift()}for(var D in F){var A=(typeof F[D]=="string")?[F[D]]:F[D];for(var C=0,B=A.length;C<B;C++){if(D=="events"){if($.inArray(A[C],E)==-1){E.push(A[C])}}else{Tracking.setVar(D,A[C],true);var G=D.replace(/[0-9]+/,"");if(G=="prop"||G=="eVar"||G=="hier"||D=="products"||D=="channel"){H.push(D)}}}}if(E.length>0){H.push("events")}Tracking.setVar("linkTrackVars",H.join(","),true);Tracking.setVar("events",E.join(","),true)},setVar:function(A,C,B){if(typeof s=="undefined"){return false}if(this.isVarSet(A)&&!B){return false}s[A]=(C+"").replace(/^\s*/,"").replace(/\s*$/,"");this.set_vars.push(A);return true},getVar:function(A){if(typeof s=="undefined"){return null}if(this.isVarSet(A)){return s[A]}return null},isVarSet:function(A){return(typeof s!="undefined")&&(typeof s[A]!="undefined")},resetVars:function(){if(typeof s=="undefined"){return false}for(var B=0,A=this.set_vars.length;B<A;B++){if(this.isVarSet(this.set_vars[B])){delete s[this.set_vars[B]]}}this.set_vars=[];return true},debugMessage:function(){var D,F="",E=this.set_vars.sort();for(var C=0,A=E.length;C<A;C++){var B=E[C];if(B==D){continue}F+=B+": "+s[B]+"\n";D=B}return F}};TrackingNode={handlers:{basic:function(D){var A=$.flatten([D.pageName[0],Tracking.pageType,Tracking.pageName,D.module[0],D.section||[],D.linkText[0]]);var B=TrackingNode.build_hierarchy(A);var C={hier4:B,eVar15:B,prop21:B,events:"event14",eVar13:D.module[0],products:";"+TrackingNode.build_hierarchy([Tracking.pageType,D.module[0]])};Tracking.setData(C)},interaction:function(B){Tracking.setData({events:"event13"});var A=$(Tracking.getVar("events").split(",")).filter(function(C){return this!="event14"});Tracking.setVar("events",A.get().join(","),true)},positional:function(C){var B={events:"event14",eVar13:C.module[0],prop9:TrackingNode.build_hierarchy([C.module[0],C.pageName[0]])};var A=$.flatten([C.module[0],C.pageName[0],C.section||[],C.position||[],C.linkText[0]]);B.eVar14=B.hier3=TrackingNode.build_hierarchy(A);Tracking.setData(B)},cover:function(B){var C=$.flatten([";",B.module[0],B.pageName[0],B.section||[],B.linkText[0]]);var A={products:C.join("/"),events:"event5"};Tracking.setData(A)},photocarousel:function(C){var B={events:"event14",eVar13:C.module[0],prop9:TrackingNode.build_hierarchy([C.module[0],C.pageName[0]])};var A=$.flatten([C.module[0],C.pageName[0],C.position||[],C.linkText[0]]);B.eVar14=B.hier3=TrackingNode.build_hierarchy(A);Tracking.setData(B)},weather:function(B){var A={eVar13:B.module[0],prop9:TrackingNode.build_hierarchy([B.module[0],B.pageName[0]])};Tracking.setData(A)},weather_extended:function(A){TrackingNode.handlers.weather(A);Tracking.setData({events:"event14"})},games:function(A){Tracking.setData({hier4:TrackingNode.build_hierarchy([A.module[0],A.pageName[0],A.headerName[0],A.linkText[0]])})},odol:function(A){Tracking.setData({prop6:"Homepage Alert Overlay - Xfinity TV: Link Click: "+A.linkText[0]})}},_parseDataComment:function(D,I,G){var B=new RegExp("^\\s*"+I);var J=/^\s*([^:]*):\s*(.*)/;var A=D.childNodes,G=G||{};for(var H=0,E=A.length;H<E;H++){if(A[H].nodeType!=8){continue}if(!A[H].nodeValue.match(B)){continue}var M=A[H].nodeValue.replace(B,"").split(/[\n!]/);while(M.length>0){var F=M.shift();var C=F.match(J);if(!C){continue}var L=C[1],K=C[2];if(typeof G[L]=="undefined"){G[L]=[]}G[L].push(K.replace(/\s+$/,""))}}return G},collectData:function(A,B){if(typeof B=="undefined"){B={}}return this._parseDataComment(A,"META",A.parentNode?this.collectData(A.parentNode,B):B)},getNodeText:function(B){var A=$(B).text();return A.replace(/\s+/g," ")},build_hierarchy:function(C){var A=function(E){return E.replace(":","&#58;")};for(var D=0,B=C.length;D<B;D++){C[D]=A(C[D])}return C.join(":")},build_comment:function(E,F){var B=[];for(var C in F){for(var D=0,A=F[C].length;D<A;D++){B.push(C+": "+F[C][D].replace("--","&#45;&#45;").replace("!","&#33;"))}}B.unshift(E);return document.createComment(" "+B.join("\n")+" ")},process_node:function(F){var E=this.collectData(F);if(typeof E.linkText=="undefined"||E.linkText.length==0){E.linkText=[this.getNodeText(F)]}var B=E.linkType||["compatibility"];for(var D=0,A=B.length;D<A;D++){var C=B[D];if(typeof this.handlers[C]!="undefined"){this.handlers[C].call(F,E)}}Tracking.setData({prop11:Tracking.channel})}};function s_doPlugins(A){var B=A.eo||A.lnk;if(B&&typeof B.nodeName=="undefined"){B=null}while(B&&B.nodeName.toLowerCase()!="a"){B=B.parentNode}if(B){$(B).data("tracked",true);TrackingNode.process_node(B)}}function trackPageLoad(E){var Q={eVar32:Tracking.getVar("prop32"),eVar33:Tracking.getVar("prop33")};var P=$(E||"head");if(P.length>0){Q=TrackingNode._parseDataComment(P[0],"TRACKING",Q)}if(Q.events.length>0){for(var O=0;O<Q.events.length;O++){Q.events[O]=Q.events[O].split(",")}Q.events=$.flatten(Q.events)}var F=getPortalData();if(F){Q.prop50=Q.eVar50=F.tid;Q.eVar47="authenticated"}else{Q.eVar47="anonymous"}Q.prop44=[Q.eVar47,Q.pageType=="errorPage"?"":Q.pageName].join(":");if(typeof f_ADTARGET_ZIP!="undefined"){var C=f_ADTARGET_ZIP.split(":")[1];if(C=="UNKNOWN"){Q.prop13=Q.eVar6="none"}else{Q.prop13=Q.eVar6=C}}else{Q.prop13=Q.eVar6="none"}var L=$.cookie.read("bunchball");if(L){var B=L.split("&");for(var O=0;O<B.length;O++){if(!B[O].match(/^firstName=/)){continue}var M=B[O].split("=");if(M[1]==""){Q.prop23=Q.eVar23="non-registered"}else{Q.prop23=Q.eVar23="registered"}}}if(getPackageContext().split("/")[2]=="articles"){var A=(document.location+"").replace(document.location.search,"");Q.prop14=A;Q.eVar17=A}if(getPackageContext().split("/")[1]=="slideshow"){var A=(document.location+"").replace(document.location.search,"");Q.prop17=A;Q.eVar20=A}if(Q.channel[0]=="home"){var K=(Prefs.get("articlelist.changed_prefs",0)==1);Q.prop19=Q.eVar22=K?"customized":"non-customized";if(Q.hier2[0]=="a"||Q.hier2[0]=="b"||Q.hier2[0]=="c"||Q.hier2[0]=="d"){var G=($.cookie.read("evo_redirect")||"").split(":");var J=G[1]||0;if(J>0){var R=(new Date()).getTime();var N=parseInt((R-J)/86400000);Q.prop42=Q.eVar42=N+""}}}if(!Tracking.isVarSet("campaign")){var H=s.getQueryParam("cid,attr,refcd",":");Q.campaign=s.getValOnce(H,"s_campaign",0)}if(!Tracking.isVarSet("eVar45")){var I=s.getQueryParam("cvqh,cvqe,cvqm,cvqpg,cvqs,cvqt,cvqgi",":");Q.eVar45=s.getValOnce(I,"s_evar45",0)}if(!Tracking.isVarSet("eVar5")){var D=s.getQueryParam("intcid");Q.eVar5=s.getValOnce(D,"s_evar5",0)}if(s.monthlyVisitor){Q.eVar27=s.monthlyVisitor("cn")}Tracking.setData(Q);var I=Tracking.getVar("eVar45");Tracking.setVar("eVar45",decodeURIComponent(I),true);Tracking.pageLocation=Tracking.getVar("hier2");Tracking.pageName=Tracking.getVar("pageName");Tracking.pageType=Tracking.getVar("prop4");Tracking.pageContext=Tracking.getVar("prop34");Tracking.channel=Tracking.getVar("channel");Tracking.articleTitle=Tracking.getVar("eVar2");Tracking.articleCategory=Tracking.getVar("eVar3")};
/* /lib/omniture.js */
var s=s_gi(s_account);s.trackExternalLinks=true;s.linkInternalFilters="javascript:,#,localhost:8080,.comcastonline.com";s.trackDownloadLinks=true;s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls";s.trackInlineStats=true;s.linkLeaveQueryString=false;s.cookieDomainPeriods="";s.fpCookieDomainPeriods="";s.currencyCode="";s.charSet="";s.visitorNamespace="comcast";s.prop31="comcast";s.prop32="cim";s.prop33="comcast net";s.trackTNT=function(B,F,A){var D=this,G="s_tnt",F=(F)?F:G,B=(B)?B:G,E="",C=false,A=(A)?A:true;if(D.getQueryParam){C=D.getQueryParam(F)}if(C){E+=(C+",")}if(D.wd[B]!=undefined){E+=D.wd[B]}if(A){D.wd[B]=""}return E};if(typeof s_doPlugins!="undefined"){s.usePlugins=true;s.doPlugins=s_doPlugins;s.tnt=s.trackTNT()}else{s.usePlugins=false}s.getQueryParam=new Function("p","d","u","var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:''+s.wd.location);u=u=='f'?''+s.gtfs().location:u;while(p){i=p.indexOf(',');i=i<0?p.length:i;t=s.p_gpv(p.substring(0,i),u);if(t)v+=v?d+t:t;p=p.substring(i==p.length?i:i+1)}return v");s.p_gpv=new Function("k","u","var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v=s.pt(q,'&','p_gvf',k)}return v");s.p_gvf=new Function("t","k","if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'True':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s.epa(v)}return ''");s.getValOnce=new Function("v","c","e","var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime()+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v");s.linkHandler=new Function("p","t","var s=this,h=s.p_gh(),i,l;t=t?t:'o';if(!h||(s.linkType&&(h||s.linkName)))return '';i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.pt(p,'|','p_gn',h.toLowerCase());if(l){s.linkName=l=='[['?'':l;s.linkType=t;return h;}return '';");s.p_gn=new Function("t","h","var i=t?t.indexOf('~'):-1,n,x;if(t&&h){n=i<0?'':t.substring(0,i);x=t.substring(i+1);if(h.indexOf(x.toLowerCase())>-1)return n?n:'[[';}return 0;");s.p_gh=new Function("var s=this;if(!s.eo&&!s.lnk)return '';var o=s.eo?s.eo:s.lnk,y=s.ot(o),n=s.oid(o),x=o.s_oidt;if(s.eo&&o==s.eo){while(o&&!n&&y!='BODY'){o=o.parentElement?o.parentElement:o.parentNode;if(!o)return '';y=s.ot(o);n=s.oid(o);x=o.s_oidt}}return o.href?o.href:'';");s.apl=new Function("L","v","d","u","var s=this,m=0;if(!L)L='';if(u){var i,n,a=s.split(L,d);for(i=0;i<a.length;i++){n=a[i];m=m||(u==1?(n==v):(n.toLowerCase()==v.toLowerCase()));}}if(!m)L=L?L+d+v:v;return L");s.monthlyVisitor=new Function("cn"," var s=this,e=new Date(),m=e.getMonth(),y=e.getFullYear(),yr=e.getFullYear()-1,cval,cval2,ct=e.getTime(),d=m+'/'+y,dt,c='s_lastVisit',cn='s_vistedLastMonth';e.setTime(ct+3*365*24*60*60*1000);cval=s.c_r(c);cval2=s.c_r(cn);if(m==0)dt='11'+'/'+yr;else dt=m-1+'/'+y;if(cval){if(cval==dt){s.c_w(cn,dt,e);s.c_w(c,d,e);return 'Repeat';}else if (cval!=dt&&cval2==dt){s.c_w(c,d,e);return 'Repeat';}}s.c_w(c,d,e);return 'Not Repeat';");s.getVisitStart=new Function("c","var s=this,v=1,t=new Date;t.setTime(t.getTime()+1800000);if(s.c_r(c)){v=0}if(!s.c_w(c,1,t)){s.c_w(c,1,0)}if(!s.c_r(c)){v=0}return v;");s.trackingServer="serviceo.comcast.net";s.trackingServerSecure="serviceos.comcast.net";s.m_Survey_c='s_sv_globals~=function(~`jm=this,~_root",(e?e+".":"")+d+".2o7.net/survey/~.length~g.triggerRequested~execute~};m._~return~suites~g.commonRevision~rl=location.protocol+"//"+c.~.match(/~g.pending~=window~;if(~=navigator.~g.pageImpressions~g.manualTriggers~g.incomingLists~&&i.constructor~){this._boot();~.toLowerCase()~gather~m._blocked())~=1;m._script(~.module._load~setTimeout("~.url+"/~r.requested~g.commonUrl~.replace(/\\~);m.~<b[1]:n=="~param(c,"~;for(~else if(~Name~||"",~]={l:m._~_booted~typeof ~:s.page~","~="s_sv_~var ~=[];~||{},l~~`jm=s.m_i("Survey"`Wlaunch`1i,e,c,o,f`L`2g`E.`0`l,j`Fg.unloaded||`O`8 0;i=i`K&&i.constructor==Array?i:[i];l=`I`Zj=0;j<i`4;++j)l[l`4`d`9,i:i[j],e:e||0,c:c||0,o:o||0,f:f||0`7`6();`8 1;`7t`1`L`2s=m.s,g`E.`0`l`F`O`8;l=`H;l[l`4`d`9,n`g`b`cu`gURL`cr:s.referrer`cc:s.campaign||""`7`6();`7blocked`1){`2g`E.`0||{};`8 !m.`e||g.stop||!`D&&!`5;`7`6`1){if(`0.`6)`R`0.`6();",0);`7boot`1){`2s=m.s,w`E,g,c,d=s.dc,e=s.visitor`bspace,n`Gapp`b`M,a`GuserAgent,v`GappVersion,h,i,j,k,l,b`Fw.`0)`8`F!((b=v`CAppleWebKit\\/([0-9]+)/))?521`Xnetscape"?a`Cgecko\\//i):(b=a`Copera[ \\/]?([0-9]+).[0-9]+/i))?7`Xmicrosoft internet explorer"&&!v`Cmacintosh/i)&&(b=v`Cmsie ([0-9]+).([0-9]+)/i))&&(5<b[1]||b[1]==5&&4<b[2])))`8;g=w.`0={};g.module=m;`D=0;`J`k`H`k`I`ke="survey";c=g.config={`7`Ydynamic`3dynamic"`W_`Y`N`3`N");g.u`Bdynamic_root;g.`NU`B`N_root;g.dataCenter=d;g.onListLoaded=new Function("r`hb`hd`hi`hl`h`0`Qed(r,b,d,i,l);"`W_`9=(m.`9||s.un)`M.split(`h);l=m._`9;b={}`Zj=0;j<l`4;++j){i=l[j]`Fi&&!b[i]){h=i`4`Zk=0;k<i`4;++k)h=(h&0x03ffffff)<<5^ h>>26^ i.charCodeAt(k);b[i]={url:g`S`9/"+(h%251+100)+"/"+encodeURIComponent(i`V|/,"||")`V//,"|-"))};++`D;}}g.`9=b;`R`0`Q();",0`W`e=1;`7param`1c,n,v){`jp`i",w`E,u="undefined"`F`fc[n]==u)c[n]=`fw[p+n]==u?v:w[p+n];`7load`1){`2g=`0,q=g.`9,r,i,n`isid",b=m.s.c_r(n)`F!b){b=parseInt((new Date()).getTime()*Math.random()`Ws.c_w(n,b);}for(i in q){r=q[i]`F!`T){`T`Pr`Slist.js?"+b);}}`7loaded`1r,b,d,i,l){`2g=`0,n=`J;--`D`F!`A){g.bulkRevision=b;`A=r;`U=g`Scommon/"+b;}`a`A!=r)`8`F!l`4)`8;n[n`4]={r:i,l:l}`Fg.`6)g.`6();`a!`5){`5`P`U+"/trigger.js");}`7script`1u){`jd=document,e=d.createElement("script");e.type="text/javascript";e.src=u;d.getElementsByTag`b("head")[0].appendChild(e);};';s.m_i("Survey");var s_code="",s_objectID;function s_gi(E,F,N){var H="=fun@6(~){`Ks=^S~$h ~.substring(~.indexOf(~;@t~';`Bt`t~=new Fun@6(~.toLowerCase()~s_c_il['+s^sn+']~};s.~`m@t~.length~.toUpperCase~=new Object~s.wd~','~){@t~')q='~.location~var ~s.pt(~dynamicAccount~link~s.apv~='+@y(~)@tx^m!Object$eObject.prototype$eObject.prototype[x])~);s.~Element~.getTime()~=new Array~ookieDomainPeriods~s.m_~referrer~.protocol~=new Date~BufferedRequests~}c$s(e){~visitor~;@X^js[k],255)}~=''~javaEnabled~conne@6^M~@0c_i~Name~:'')~onclick~}@t~else ~ternalFilters~javascript~s.dl~@Os.b.addBehavior(\"# default# ~=parseFloat(~'+tm.get~=='~cookie~s.rep(~s.^T~track~o@0oid~browser~.parent~window~colorDepth~String~while(~.host~.lastIndexOf('~s.sq~s.maxDelay~s.vl_g~r=s.m(f)?s[f](~for(~s.un~s.eo~&&s.~parseInt(~t=s.ot(o)~j='1.~#4URL~lugins~dynamicVariablePrefix~document~Type~Sampling~s.rc[un]~Download~Event~');~this~tfs~resolution~s.c_r(~s.c_w(~s.eh~s.isie~s.vl_l~s.vl_t~Height~t,h){t=t?t~tcf~isopera~ismac~escape(~.href~screen.~s.fl(~Version~harCode~&&(~_'+~variableProvider~s.pe~)?'Y':'N'~:'';h=h?h~._i~e&&l$HSESSION'~f',~onload~name~home#4~objectID~}else{~.s_~s.rl[u~Width~s.ssl~o.type~Timeout(~ction~Lifetime~.mrq(\"'+un+'\")~sEnabled~;i++)~'){q='~&&l$HNONE'){~ExternalLinks~charSet~onerror~lnk~currencyCode~.src~s=s_gi(~etYear(~&&!~Opera~'s_~;try{~Math.~s.fsg~s.ns6~s.oun~InlineStats~Track~'0123456789~&&t~s[k]=~s.epa(~m._d~n=s.oid(o)~,'sqs',q);~LeaveQuery~')>=~'=')~)+'/~){n=~\",''),~vo)~s.sampled~=s.oh(o);~+(y<1900?~s.disable~ingServer~n]=~true~sess~campaign~lif~if(~'http~,100)~s.co(~x in ~s.ape~ffset~s.c_d~s.br~'&pe~s.gg(~s.gv(~s[mn]~s.qav~,'vo~s.pl~=(apn~Listener~\"s_gs(\")~vo._t~b.attach~d.create~=s.n.app~(''+~!='~'||t~'+n~s()+'~){p=~():''~a):f(~+1))~a['!'+t]~){v=s.n.~channel~un)~.target~o.value~g+\"_c\"]~\".tl(\")~etscape~(ns?ns:~s_')t=t~k',s.bc~omePage~s.d.get~')<~||!~[b](e);~m[t+1](~return~mobile~height~events~random~code~'MSIE ~rs,~un,~,pev~floor(~atch~s.num(~[\"s_\"+~s.c_gd~s.dc~s.pg~,'lt~.inner~transa~;s.gl(~\"m_\"+n~idt='+~page~Group,~.fromC~sByTag~?'&~+';'~t&&~1);~){s.~[t]=~>=5)~[t](~=l[n];~!a[t])~~s._c=@Nc';`F=^1`5!`F`hn){`F`hl`U;`F`hn=0;}s^sl=`F`hl;s^sn=`F`hn;s^sl[s^s@os;`F`hn++;s.m`0m){`2$Gm)`4'{$d0`Afl`0x,l){`2x?$Gx)`30,l):x`Aco`0o`H!o)`2o;`Kn`E,x;^B@xo)@tx`4'select$d0&&x`4'filter$d0)n[x]=o[x];`2n`Anum`0x){x`e+x;^B`Kp=0;p<x`C;p++)@t(@V')`4x`3p,p$O<0)`20;`21`Arep=s_r;@y`0x`1,h=@VABCDEF',i,c=s.@E,n,l,e,y`e;c=c?c`D$M`5x){x`e+x`5c`tAUTO'^m'').c^lAt){^Bi=0;i<x`C@A{c=x`3i,i+#Bn=x.c^lAt(i)`5n>127){l=0;e`e;^4n||l<4){e=h`3n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}`Bc`t+')y+='%2B';`my+=^gc)}x=y^zx=x?`v^g''+x),'+`G%2B'):x`5x&&c^Eem==1&&x`4'%u$d0&&x`4'%U$d0){i=x`4'%^R^4i>=0){i++`5h`38)`4x`3i,i+1)`D())>=0)`2x`30,i)+'u00'+x`3i);i=x`4'%',i)}}}}`2x`Aepa`0x`1;`2x?un^g`v''+x,'+`G ')):x`Apt`0x,d,f,a`1,t=x,z=0,y,r;^4t){y=t`4d);y=y<0?t`C:y;t=t`30,y);^At,$Nt,a)`5r)`2r;z+=y+d`C;t=x`3z,x`C);t=z<x`C?t:''}`2''`Aisf`0t,a){`Kc=a`4':')`5c>=0)a=a`30,c)`5t`30,2)`t$Z`32);`2(t!`e@W==a)`Afsf`0t,a`1`5`La,`G,'is^ut))@Q+=(@Q!`e?`G`j+t;`20`Afs`0x,f`1;@Q`e;`Lx,`G,'fs^uf);`2@Q`Ac_d`e;$vf`0t,a`1`5!$tt))`21;`20`Ac_gd`0`1,d=`F`J^5^w,n=s.fpC`V,p`5!n)n=s.c`V`5d@L$0@gn?^Fn):2;n=n>2?n:2;p=d^6.')`5p>=0){^4p>=0&&n>1$Ld^6.',p-#Bn--}$0=p>0&&`Ld,'.`Gc_gd^u0)?d`3p):d}}`2$0`Ac_r`0k`1;k=@y(k);`Kc=' '+s.d.`u,i=c`4' '+k+@e,e=i<0?i:c`4';',i),v=i<0?'':@Yc`3i+2+k`C,e<0?c`C:e));`2v$H[[B]]'?v:''`Ac_w`0k,v,e`1,d=$v(),l=s.`u@7,t;v`e+v;l=l?$Gl)`D$M`5^t@Ct=(v!`e?^Fl?l:0):-60)`5t){e`Z;e.setTime(e`T+(t*1000))}`lk@Cs.d.`u=k+'`Pv!`e?v:'[[B]]')+'; path=/;'+(^t?' expires='+e.toGMT^3()#9`j+(d?' domain='+d#9`j;`2^Vk)==v}`20`Aeh`0o,e,r,f`1,b='s^ne+'^ns^sn,n=-1,l,i,x`5!^Xl)^Xl`U;l=^Xl;^Bi=0;i<l`C&&n<0;i++`Hl[i].o==o&&l[i].e==e)n=i`ln<0@gi;l[n]`E}x#Gx.o=o;x.e=e;f=r?x.b:f`5r||f){x.b=r?0:o[e];x.o[e]=f`lx.b){x.o[b]=x.b;`2b}`20`Acet`0f,a,t,o,b`1,r,^d`5`O>=5^m!s.^e||`O>=7)){^d`7's`Gf`Ga`Gt`G`Ke,r@O^A$Na)`br=s.m(t)?s#Fe):t(e)}`2r^Rr=^d(s,f,a,t)^z@ts.^f^Eu`4$n4@d0)r=s.m(b)?s[b](a):b(a);else{^X(`F,'@F',0,o);^A$Na`Reh(`F,'@F',1)}}`2r`Ag^Tet`0e`1;`2`w`Ag^Toe`7'e`G`Ks=`9,c;^X(^1,\"@F\",1`Re^T=1;c=s.t()`5c)s.d.write(c`Re^T=0;`2@p'`Rg^Tfb`0a){`2^1`Ag^Tf`0w`1,p=w^0,l=w`J;`w=w`5p&&p`J!=l&&p`J^5==l^5){`w=p;`2s.g^Tf(`w)}`2`w`Ag^T`0`1`5!`w){`w=`F`5!s.e^T)`w=s.cet('g^T^u`w,'g^Tet',s.g^Toe,'g^Tfb')}`2`w`Amrq`0u`1,l=@1],n,r;@1]=0`5l)^Bn=0;n<l`C;n++){r#Gs.mr(0,0,r.r,0,r.t,r.u)}`Abr`0id,rs`1`5@m`a$e^W@Nbr',rs))$1l=rs`Aflush`a`0`1;s.fbr(0)`Afbr`0id`1,br=^V@Nbr')`5!br)br=$1l`5br`H!@m`a)^W@Nbr`G'`Rmr(0,0,br)}$1l=0`Amr`0@q,q,$oid,ta,u`1,dc=$w,t1=s.`x@n,t2=s.`x@nSecure,ns=s.`c`ispace,un=u?u:$Ys.f$S,unc=`v$p'_`G-'),r`E,l,imn=@Ni^n($S,im,b,e`5!rs){rs=@u'+(@3?'s'`j+'://'+(t1?(@3@W2?t2:t1):($Y(@3?'102':unc))+'.'+($w?$w:112)+'.2o7.net')@fb/ss/'+^C+'/'+(s.$i?'5.1':'1'@fH.17/'+@q+'?AQB=1&ndh=1'+(q?q`j+'&AQE=1'`5^Y@Ls.^f`H`O>5.5)rs=^j$o4095);`mrs=^j$o2047)`lid){$1(id,rs);$h}`ls.d.images&&`O>=3^m!s.^e||`O>=7)^m@R<0||`O>=6.1)`H!s.rc)s.rc`E`5!^O){^O=1`5!s.rl)s.rl`E;@1n]`U;set@5'@t^1`hl)^1.`9@8',750)^zl=@1n]`5l){r.t=ta;r.u=un;r.r=rs;l[l`C]=r;`2''}imn+='^n^O;^O++}im=`F[imn]`5!im)im=`F[im@onew Image;im@0l=0;im.^v`7'e`G^S@0l=1`5^1`hl)^1.`9@8^Rim@I=rs`5rs`4$2=@d0^m!ta||ta`t_self$Ia`t_top'||(`F.^w@Wa==`F.^w))){b=e`Z;^4!im@0l&&e`T-b`T<500)e`Z}`2''}`2'<im'+'g sr'+'c=\"'+rs+'\" width=1 $j=1 border=0 alt=\"\">'`Agg`0v`1`5!`F['s^nv])`F['s^nv]`e;`2`F['s^nv]`Aglf`0t,a`Ht`30,2)`t$Z`32);`Ks=^S,v=$3t)`5v)s#Dv`Agl`0v`1`5$x)`Lv,`G,'gl^u0)`Agv`0v`1;`2s['vpm^nv]?s['vpv^nv]:(s[v]?s[v]`j`Ahavf`0t,a`1,b=t`30,4),x=t`34),n=^Fx),k='g^nt,m='vpm^nt,q=t,v=s.`N@UVa$oe=s.`N@U^Qs,mn;@X$4t)`5s.@G||^D||^p`H^p^Epe`30,4)$H@G_'){mn=^p`30,1)`D()+^p`31)`5$5){v=$5.`xVars;e=$5.`x^Qs}}v=v?v+`G+^Z+`G+^Z2:''`5v@L`Lv,`G,'is^ut))s[k]`e`5t`t$k'&&e)@Xs.fs(s[k],e)}s[m]=0`5t`t^K`ID`6`cID`Ivid`6^I@Bg'`d`Bt`t`X@Br'`d`Bt`tvmk`Ivmt`6@E@Bce'`5s[k]&&s[k]`D()`tAUTO')@X'ISO8859-1';`Bs[k]^Eem==2)@X'UTF-8'}`Bt`t`c`ispace`Ins`6c`V`Icdp`6`u@7`Icl`6^o`Ivvp`6@H`Icc`6$R`Ich`6#0@6ID`Ixact`6@r`Iv0`6^U`Is`6^2`Ic`6`o^k`Ij`6`f`Iv`6`u@9`Ik`6`z@2`Ibw`6`z^b`Ibh`6`g`Ict`6^x`Ihp`6p^J`Ip';`B$tx)`Hb`tprop`Ic$J;`Bb`teVar`Iv$J;`Bb`thier@Bh$J`d`ls[k]@W$H`N`i'@W$H`N^M')$6+='&'+q+'`Ps[k]);`2''`Ahav`0`1;$6`e;`L^a,`G,'hav^u0);`2$6`Alnf`0^c`8^r`8:'';`Kte=t`4@e`5t@We>0&&h`4t`3te$O>=0)`2t`30,te);`2''`Aln`0h`1,n=s.`N`is`5n)`2`Ln,`G,'ln^uh);`2''`Altdf`0^c`8^r`8:'';`Kqi=h`4'?^Rh=qi>=0?h`30,qi):h`5#Ah`3h`C-(t`C$O`t.'+t)`21;`20`Altef`0^c`8^r`8:''`5#Ah`4t)>=0)`21;`20`Alt`0h`1,lft=s.`N^PFile^Ms,lef=s.`NEx`n,@s=s.`NIn`n;@s=@s?@s:`F`J^5^w;h=h`8`5s.`x^PLinks&&lf#A`Llft,`G$yd^uh))`2'd'`5s.`x@D&&h`30,1)$H# '^mlef||@s)^m!lef||`Llef,`G$ye^uh))^m!@s$e`L@s,`G$ye^uh)))`2'e';`2''`Alc`7'e`G`Ks=`9,b=^X(^S,\"`k\"`R@G=@w^S`Rt(`R@G=0`5b)`2^S$f`2@p'`Rbc`7'e`G`Ks=`9,f,^d`5s.d^Ed.all^Ed.all.cppXYctnr)$h;^D=e@I`S?e@I`S:e$T;^d`7\"s\",\"`Ke@O@t^D^m^D.tag`i||^D^0`S||^D^0Node))s.t()`b}\");^d(s`Reo=0'`Roh`0o`1,l=`F`J,h=o^h?o^h:'',i,j,k,p;i=h`4':^Rj=h`4'?^Rk=h`4'/')`5h^mi<0||(j>=0&&i>j)||(k>=0&&i>k))$Lo`Y&&o`Y`C>1?o`Y:(l`Y?l`Y`j;i=l.path^w^6/^Rh=(p?p+'//'`j+(o^5?o^5:(l^5?l^5`j)+(h`30,1)$H/'?l.path^w`30,i<0?0:i@f'`j+h}`2h`Aot`0o){`Kt=o.tag`i;t=t@W`D?t`D$M`5t`tSHAPE')t`e`5t`Ht`tINPUT'&&@4&&@4`D)t=@4`D();`B!#Ao^h)t='A';}`2t`Aoid`0o`1,^G,p,c,n`e,x=0`5t@L`y$Lo`Y;c=o.`k`5o^h^mt`tA$I`tAREA')^m!c$ep||p`8`4'`o$d0))n@k`Bc@g`vs.rep(`vs.rep$Gc,\"\\r@h\"\\n@h\"\\t@h' `G^Rx=2}`B$U^mt`tINPUT$I`tSUBMIT')@g$U;x=3}`Bo@I@W`tIMAGE')n=o@I`5n){`y=^jn@v;`yt=x}}`2`y`Arqf`0t,un`1,e=t`4@e,u=e>=0?`G+t`30,e)+`G:'';`2u&&u`4`G+un+`G)>=0?@Yt`3e$O:''`Arq`0un`1,c=un`4`G),v=^V@Nsq'),q`e`5c<0)`2`Lv,'&`Grq^u$S;`2`L$p`G,'rq',0)`Asqp`0t,a`1,e=t`4@e,q=e<0?'':@Yt`3e+1)`Rsqq[q]`e`5e>=0)`Lt`30,e),`G@b`20`Asqs`0$pq`1;^7u[u@oq;`20`Asq`0q`1,k=@Nsq',v=^Vk),x,c=0;^7q`E;^7u`E;^7q[q]`e;`Lv,'&`Gsqp',0);`L^C,`G@bv`e;^B@x^7u`Q)^7q[^7u[x]]+=(^7q[^7u[x]]?`G`j+x;^B@x^7q`Q&&^7q[x]^mx==q||c<2)){v+=(v#8'`j+^7q[x]+'`Px);c++}`2^Wk,v,0)`Awdl`7'e`G`Ks=`9,r=@p,b=^X(`F,\"^v\"),i,o,oc`5b)r=^S$f^Bi=0;i<s.d.`Ns`C@A{o=s.d.`Ns[i];oc=o.`k?\"\"+o.`k:\"\"`5(oc`4$B<0||oc`4\"@0oc(\")>=0)&&oc`4$W<0)^X(o,\"`k\",0,s.lc);}`2r^R`Fs`0`1`5`O>3^m!^Y$es.^f||`O#E`Hs.b^E$D^Q)s.$D^Q('`k',s.bc);`Bs.b^Eb.add^Q$A)s.b.add^Q$A('clic$a,false);`m^X(`F,'^v',0,`Fl)}`Avs`0x`1,v=s.`c^N,g=s.`c^N#5k=@Nvsn^n^C+(g?'^ng`j,n=^Vk),e`Z,y=e.g@K);e.s@Ky+10@l1900:0))`5v){v*=100`5!n`H!^Wk,x,e))`20;n=x`ln%10000>v)`20}`21`Adyasmf`0t,m`H#Am&&m`4t)>=0)`21;`20`Adyasf`0t,m`1,i=t?t`4@e:-1,n,x`5i>=0&&m){`Kn=t`30,i),x=t`3i+1)`5`Lx,`G,'dyasm^um))`2n}`20`Auns`0`1,x=s.`MSele@6,l=s.`MList,m=s.`MM$s,n,i;^C=^C`8`5x&&l`H!m)m=`F`J^5`5!m.toLowerCase)m`e+m;l=l`8;m=m`8;n=`Ll,';`Gdyas^um)`5n)^C=n}i=^C`4`G`Rfun=i<0?^C:^C`30,i)`Asa`0un`1;^C=un`5!@S)@S=un;`B(`G+@S+`G)`4$S<0)@S+=`G+un;^Cs()`Am_i`0n,a`1,m,f=n`30,1),r,l,i`5!`Wl)`Wl`E`5!`Wnl)`Wnl`U;m=`Wl[n]`5!a&&m&&m._e@Lm^s)`Wa(n)`5!m){m`E,m._c=@Nm';m^sn=`F`hn;m^sl=s^sl;m^sl[m^s@om;`F`hn++;m.s=s;m._n=n;m._l`U('_c`G_in`G_il`G_i`G_e`G_d`G_dl`Gs`Gn`G_r`G_g`G_g1`G_t`G_t1`G_x`G_x1`G_l'`Rm_l[@om;`Wnl[`Wnl`C]=n}`Bm._r@Lm._m){r=m._r;r._m=m;l=m._l;^Bi=0;i<l`C@A@tm[l[i]])r[l[i]]=m[l[i]];r^sl[r^s@or;m=`Wl[@or`lf==f`D())s[@om;`2m`Am_a`7'n`Gg`G@t!g)g=#2;`Ks=`9,c=s[$V,m,x,f=0`5!c)c=`F$u$V`5c&&s_d)s[g]`7\"s\",s_ft(s_d(c)));x=s[g]`5!x)x=`F$ug];m=`Wi(n,1)`5x){m^s=f=1`5(\"\"+x)`4\"fun@6\")>=0)x(s);`m`Wm(\"x\",n,x)}m=`Wi(n,1)`5@Zl)@Zl=@Z=0;`pt();`2f'`Rm_m`0t,n,d){t='^nt;`Ks=^S,i,x,m,f='^nt`5`Wl&&`Wnl)^Bi=0;i<`Wnl`C@A{x=`Wnl[i]`5!n||x==n){m=`Wi(x)`5m[t]`Ht`t_d')`21`5d)m#Fd);`mm#F)`lm[t+1]@Lm[f]`Hd)$gd);`m$g)}m[f]=1}}`20`AloadModule`0n,u,d,l`1,m,i=n`4':'),g=i<0?#2:n`3i+1),o=0,f,c=s.h?s.h:s.b,^d`5i>=0)n=n`30,i);m=`Wi(n)`5(l$e`Wa(n,g))&&u^Ed&&c^E$E`S`Hd){@Z=1;@Zl=1`l@3)u=`vu,@u:`Ghttps:^Rf`7'e`G`9.m_a(\"$J+'\",\"'+g+'\")^R^d`7's`Gf`Gu`Gc`G`Ke,o=0@Oo=s.$E`S(\"script\")`5o){@4=\"text/`o\"`5f)o.^v=f;o@I=u;c.appendChild(o)}`bo=0}`2o^Ro=^d(s,f,u,c)}`mm=`Wi(n);m._e=1;`2m`Avo1`0t,a`Ha[t]||$P)^S#Da[t]`Avo2`0t,a`H#H{a#D^S[t]`5#H$P=1}`Adlt`7'`Ks=`9,d`Z,i,vo,f=0`5`pl)^Bi=0;i<`pl`C@A{vo=`pl[i]`5vo`H!`Wm(\"d\")||d`T-$C>=^8){`pl[i]=0;s.t(@i}`mf=1}`l`pi)clear@5`pi`Rdli=0`5f`H!`pi)`pi=set@5`pt,^8)}`m`pl=0'`Rdl`0vo`1,d`Z`5!@ivo`E;`L^9,`G$72',@i;$C=d`T`5!`pl)`pl`U;`pl[`pl`C]=vo`5!^8)^8=250;`pt()`At`0vo,id`1,trk=1,tm`Z,sed=Math&&@P$l?@P$r@P$l()*10000000000000):tm`T,@q='s'+@P$rtm`T/10800000)%10+sed,y=tm.g@K),vt=tm.getDate(@f`sMonth(@f'@ly+1900:y)+' `sHour$K:`sMinute$K:`sSecond$K `sDay()+' `sTimezoneO@z(),^d,^T=s.g^T(),ta`e,q`e,qs`e,$m`e,vb`E#1^9`Runs()`5!s.td){`Ktl=^T`J,a,o,i,x`e,c`e,v`e,p`e,bw`e,bh`e,^H0',k=^W@Ncc`G@p',0^q,hp`e,ct`e,pn=0,ps`5^3&&^3.prototype){^H1'`5j.m$s){^H2'`5tm.setUTCDate){^H3'`5^Y^E^f&&`O#E^H4'`5pn.toPrecision){^H5';a`U`5a.forEach){^H6';i=0;o`E;^d`7'o`G`Ke,i=0@Oi=new Iterator(o)`b}`2i^Ri=^d(o)`5i&&i.next)^H7'}}}}`l`O>=4)x=^iwidth+'x'+^i$j`5s.isns||s.^e`H`O>=3$Q`f(^q`5`O>=4){c=^ipixelDepth;bw=`F$z@2;bh=`F$z^b}}$8=s.n.p^J}`B^Y`H`O>=4$Q`f(^q;c=^i^2`5`O#E{bw=s.d.^L`S.o@z@2;bh=s.d.^L`S.o@z^b`5!s.^f^Eb){^d`7's`Gtl`G`Ke,hp=0`qh$b\");hp=s.b.isH$b(tl)?\"Y\":\"N\"`b}`2hp^Rhp=^d(s,tl);^d`7's`G`Ke,ct=0`qclientCaps\");ct=s.b.`g`b}`2ct^Rct=^d(s)}}}`mr`e`l$8)^4pn<$8`C&&pn<30){ps=^j$8[pn].^w@v#9`5p`4ps)<0)p+=ps;pn++}s.^U=x;s.^2=c;s.`o^k=j;s.`f=v;s.`u@9=k;s.`z@2=bw;s.`z^b=bh;s.`g=ct;s.^x=hp;s.p^J=p;s.td=1`l@i{`L^9,`G$72',vb);`L^9,`G$71',@i`ls.useP^J)s.doP^J(s);`Kl=`F`J,r=^T.^L.`X`5!s.^I)s.^I=l^h?l^h:l`5!s.`X@Ls._1_`X#C`X=r;s._1_`X=1}`Wm('g')`5(vo&&$C)$e`Wm('d')`Hs.@G||^D){`Ko=^D?^D:s.@G`5!o)`2'';`Kp=$4'#4`i'),w=1,^G,@a,x=`yt,h,l,i,oc`5^D&&o==^D){^4o@Ln@W$HBODY'){o=o^0`S?o^0`S:o^0Node`5!o)`2'';^G;@a;x=`yt}oc=o.`k?''+o.`k:''`5(oc`4$B>=0&&oc`4\"@0oc(\")<0)||oc`4$W>=0)`2''}ta=n?o$T:1;h@ki=h`4'?^Rh=s.`N@c^3||i<0?h:h`30,i);l=s.`N`i?s.`N`i:s.ln(h);t=s.`N^M?s.`N^M`8:s.lt(h)`5t^mh||l))q+=$2=@G^n(t`td$I`te'?@y(t):'o')+(h?$2v1`Ph)`j+(l?$2v2`Pl)`j;`mtrk=0`5s.`x@T`H!p$L$4'^I^Rw=0}^G;i=o.sourceIndex`5$3'^y')@g$3'^y^Rx=1;i=1`lp&&n@W)qs='&pid`P^jp,255))+(w#8p#3w`j+'&oid`P^jn@v)+(x#8o#3x`j+'&ot`Pt)+(i#8oi='+i`j}`l!trk@Lqs)`2'';@j=s.vs(sed)`5trk`H@j)$m=s.mr(@q,(vt#8t`Pvt)`j+s.hav()+q+(qs?qs:s.rq(^C)),0,id,ta);qs`e;`Wm('t')`5s.p_r)s.p_r(`R`X`e}^7(qs);^z`p(@i;`l@i`L^9,`G$71',vb`R@G=^D=s.`N`i=s.`N^M=`F@0^y=s.ppu=^p=^pv1=^pv2=^pv3`e`5$x)`F@0@G=`F@0eo=`F@0`N`i=`F@0`N^M`e`5!id@Ls.tc#Ctc=1;s.flush`a()}`2$m`Atl`0o,t,n,vo`1;s.@G=@wo`R`N^M=t;s.`N`i=n;s.t(@i}`5pg){`F@0co`0o){`K@J\"_\",1,#B`2@wo)`Awd@0gs`0$S{`K@J$p1,#B`2s.t()`Awd@0dc`0$S{`K@J$p#B`2s.t()}}@3=(`F`J`Y`8`4@us@d0`Rd=^L;s.b=s.d.body`5$c`S#7`i#Ch=$c`S#7`i('HEAD')`5s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;@R=s.u`4'N$X6/^R`Kapn$F`i,v$F^k,ie=v`4$n'),o=s.u`4'@M '),i`5v`4'@M@d0||o>0)apn='@M';^Y$9`tMicrosoft Internet Explorer'`Risns$9`tN$X'`R^e$9`t@M'`R^f=(s.u`4'Mac@d0)`5o>0)`O`rs.u`3o+6));`Bie>0){`O=^Fi=v`3ie+5))`5`O>3)`O`ri)}`B@R>0)`O`rs.u`3@R+10));`m`O`rv`Rem=0`5^3#6^l){i=^g^3#6^l(256))`D(`Rem=(i`t%C4%80'?2:(i`t%U0100'?1:0))}s.sa(un`Rvl_l='^K,`cID,vmk,ppu,@E,`c`ispace,c`V,`u@7,#4`i,^I,`X,@H';^a=^Z+',^o,$R,server,#4^M,#0@6ID,purchaseID,@r,state,zip,$k,products,`N`i,`N^M';^B`Kn=1;n<51;n++)^a+=',prop$J+',eVar$J+',hier$J;^Z2=',^U,^2,`o^k,`f,`u@9,`z@2,`z^b,`g,^x,pe$q1$q2$q3,p^J';^a+=^Z2;^9=^a+',$i,`c^N,`c^N#5`MSele@6,`MList,`MM$s,`x^PLinks,`x@D,`x@T,`N@c^3,`N^PFile^Ms,`NEx`n,`NIn`n,`N@UVa$o`N@U^Qs,`N`is,@G,eo';$x=pg#1^9)`5!ss)`Fs()",J=window,C=J.s_c_il,A=navigator,L=A.userAgent,K=A.appVersion,G=K.indexOf("MSIE "),B=L.indexOf("Netscape6/"),I,D,M;if(E){E=E.toLowerCase();if(C){for(D=0;D<C.length;D++){M=C[D];if(M._c=="s_c"){if(M.oun==E){return M}else{if(M.fs&&M.sa&&M.fs(M.oun,E)){M.sa(E);return M}}}}}}J.s_r=new Function("x","o","n","var i=x.indexOf(o);if(i>=0&&x.split)x=(x.split(o)).join(n);else while(i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.indexOf(o)}return x");J.s_d=new Function("x","var t='`^@$#',l='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',d,n=0,b,k,w,i=x.lastIndexOf('~~');if(i>0){d=x.substring(0,i);x=x.substring(i+2);while(d){w=d;i=d.indexOf('~');if(i>0){w=d.substring(0,i);d=d.substring(i+1)}else d='';b=(n-n%62)/62;k=n-b*62;k=t.substring(b,b+1)+l.substring(k,k+1);x=s_r(x,k,w);n++}for(i=0;i<5;i++){w=t.substring(i,i+1);x=s_r(x,w+' ',w)}}return x");J.s_fe=new Function("c","return s_r(s_r(s_r(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");J.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s<e){c=f.substring(s,s+1);if(c==',')a+='\",\"';else if((\"\\n\\r\\t \").indexOf(c)<0)a+=c;s++}return a?'\"'+a+'\"':a");J.s_ft=new Function("c","c+='';var s,e,o,a,d,q,f,h,x;s=c.indexOf('=function(');while(s>=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){if(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")'+c.substring(e+1);s=c.indexOf('=function(')}return c;");H=s_d(H);if(G>0){I=parseInt(D=K.substring(G+5));if(I>3){I=parseFloat(D)}}else{if(B>0){I=parseFloat(L.substring(B+10))}else{I=parseFloat(K)}}if(I>=5&&K.indexOf("Opera")<0&&L.indexOf("Opera")<0){J.s_c=new Function("un","pg","ss","var s=this;"+H);return new s_c(E,F,N)}else{M=new Function("un","pg","ss","var s=new Object;"+s_ft(H)+";return s")}return M(E,F,N)}if(typeof mboxLoadSCPlugin!="undefined"){mboxLoadSCPlugin(s)};
/* /lib/comment-reading-util.js */
var CommentReadingUtil={};CommentReadingUtil.parseDataComment=function(D,I,G,L){var B=new RegExp("^\\s*"+I);var J=/^\s*([^:]*):\s*(.*)\s*$/;var A=$(D).get(0).childNodes,G=G||{};for(var H=0,E=A.length;H<E;H++){if(A[H].nodeType!=8){continue}if(!A[H].nodeValue.match(B)){continue}if(L===true){var N=A[H].nodeValue;N=$.trim(N.replace(B,""));G.raw=N}else{var O=A[H].nodeValue.replace(B,"").split(/[\n!]/);while(O.length>0){var F=O.shift();var C=F.match(J);if(!C){continue}var M=C[1],K=$.trim(C[2]);if(typeof G[M]=="string"){G[M]=[G[M]]}if(typeof G[M]=="undefined"){G[M]=K}else{G[M].push(K)}}}}return G};
/* /lib/comment-to-flash.js */
$(document).ready(function(){var A=$(".flashSwfContainer");A.each(function(D){var C=CommentReadingUtil.parseDataComment(this,"FLASH");var E={};for(var B in C){if(B.substr(0,3)=="fv-"){E[B.substr(3)]=C[B]}}if(C&&C.swf){$(this).flash({swf:C.swf,width:C.width||350,height:C.height||200,flashvars:E})}})});
/* /lib/jquery-lowpro.js */
(function(C){var B=function(L){var H=this.superclass&&this.superclass.prototype;var G=C.keys(L);if(!C.keys({toString:true}).length){G.push("toString","valueOf")}for(var F=0,I=G.length;F<I;F++){var K=G[F],J=L[K];if(H&&C.isFunction(J)&&C.argumentNames(J)[0]=="$super"){var M=J,J=C.extend(C.wrap((function(N){return function(){return H[N].apply(this,arguments)}})(K),M),{valueOf:function(){return M},toString:function(){return M.toString()}})}this.prototype[K]=J}return this};C.extend({keys:function(H){var G=[];for(var F in H){G.push(F)}return G},argumentNames:function(F){var G=F.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(/, ?/);return G.length==1&&!G[0]?[]:G},bind:function(G,F){return function(){return G.apply(F,C.makeArray(arguments))}},wrap:function(G,H){var F=G;return function(){return H.apply(this,[C.bind(F,this)].concat(C.makeArray(arguments)))}},klass:function(){var J=null,I=C.makeArray(arguments);if(C.isFunction(I[0])){J=I.shift()}var F=function(){this.initialize.apply(this,arguments)};F.superclass=J;F.subclasses=[];F.addMethods=B;if(J){var G=function(){};G.prototype=J.prototype;F.prototype=new G;J.subclasses.push(F)}for(var H=0;H<I.length;H++){F.addMethods(I[H])}if(!F.prototype.initialize){F.prototype.initialize=function(){}}F.prototype.constructor=F;return F},delegate:function(F){return function(J){var I=C(J.target),H=null;for(var G in F){if(I.is(G)||((H=I.parents(G))&&H.length>0)){return F[G].apply(this,[H||I].concat(C.makeArray(arguments)))}H=null}}}});var E=function(F){for(var G in F){if(G.match(/^on(.+)/)&&typeof F[G]=="function"){F.element.bind(RegExp.$1,C.bind(F[G],F))}}};var D=function(F){return C.klass(F,{initialize:function($super,H,G){this.element=C(H);if($super){$super.apply(this,G)}}})};var A=function(G,H,F){var I=D(H);instance=new I(G,F);E(instance);if(!H.instances){H.instances=[]}H.instances.push(instance);return instance};C.fn.extend({attach:function(){var F=C.makeArray(arguments),G=F.shift();if(C.livequery&&this.selector){return this.livequery(function(){A(this,G,F)})}else{return this.each(function(){A(this,G,F)})}},attachAndReturn:function(){var F=C.makeArray(arguments),G=F.shift();return C.map(this,function(H){return A(H,G,F)})},delegate:function(F,G){return this.bind(F,C.delegate(G))},attached:function(F){var G=[];if(!F.instances){return G}this.each(function(I,H){C.each(F.instances,function(K,J){if(J.element.get(0)==H){G.push(J)}})});return G},firstAttached:function(F){return this.attached(F)[0]}});Remote=C.klass({initialize:function(F){if(this.element.attr("nodeName")=="FORM"){this.element.attach(Remote.Form,F)}else{this.element.attach(Remote.Link,F)}}});Remote.Base=C.klass({initialize:function(F){this.options=C.extend({},F||{})},_makeRequest:function(F){C.ajax(F);return false}});Remote.Link=C.klass(Remote.Base,{onclick:function(){var F=C.extend({url:this.element.attr("href"),type:"GET"},this.options);return this._makeRequest(F)}});Remote.Form=C.klass(Remote.Base,{onclick:function(G){var F=G.target;if(C.inArray(F.nodeName.toLowerCase(),["input","button"])>=0&&F.type.match(/submit|image/)){this._submitButton=F}},onsubmit:function(){var G=this.element.serializeArray();if(this._submitButton){G.push({name:this._submitButton.name,value:this._submitButton.value})}var F=C.extend({url:this.element.attr("action"),type:this.element.attr("method")||"GET",data:G},this.options);this._makeRequest(F);return false}});C.ajaxSetup({beforeSend:function(F){F.setRequestHeader("Accept","text/javascript, text/html, application/xml, text/xml, */*")}})})(jQuery);
/* /lib/emailthis.js */
var portalUserData=null;var EmailthisWindow={onsubmit:function(){},clearFields:["toAddresses","fromAddress","emailthisMessage","captchaResponse"],create_window:function(){if(!$("emailthis")&&!this.load_overlay()){alert("Failed to load the feedback form. Please try again.");return false}if(!loadJS("lib/prototype/form.js")){alert("Failed to load the feedback form. Please try again.");return false}var A=new Window("emailthis","emailthis-close");A.onhide=function(){EmailthisWindow.clearFields._each(function(B){var C=$(B);C.value=C.proxy.origValue||""});$("copyMe").checked=false;$("toAddresses").proxy.set_status("default");$("fromAddress").proxy.set_status("default");$("captchaResponse").proxy.set_status("default");Element.removeClassName($("emailthis-to-label"),"failed");Element.removeClassName($("emailthis-from-label"),"failed");Element.removeClassName($("emailthis-captcha-label"),"failed");$("emailthis-subcaption").innerHTML="Enter up to 10 email addresses (Separate by commas)";$("emailthis").getElementsByTagName("form")[0].style.display="block";$("emailthis-otherarticles").style.display="none";$("emailthis-error").style.display="none";$("submit").style.display="block";$("emailthis-subcaption").className="";$("emailthis-from-subcaption").className="";$("emailthis-captcha-subcaption").className="";if($("inlineplayer")&&$("inlineplayer").playerResume){$("inlineplayer").playerResume()}};A.onshow=function(){if(getPortalData()){portalUserData=new UserData();jQuery(portalUserData).bind(UserDataEvent.SUCCESS,function(){if(portalUserData.getEmail()!=null){$("fromAddress").value=portalUserData.getEmail()}})}$("email-loader").style.display="none";EmailthisWindow.refresh_captcha();$("validation-error").style.display="none";if($("inlineplayer")&&$("inlineplayer").playerHalt){$("inlineplayer").playerHalt()}};return A},refresh_captcha:function(){new Ajax.Request("./overlays/email/captcha/"+Math.floor(Math.random()*999999),{method:"get",onComplete:function(A){$("emailthis-captcha-ajax").innerHTML=A.responseText}});return },load_overlay:function(){this.sendFields=this.clearFields.concat(["encryptedCaptcha"]);var X=($("video-metadata"))?"video":(($("trivia-options"))?"trivia":(($("viewer-detail-wrapper"))?"photo":"article"));var P="./overlays/email/"+X+"/";var A=new Ajax.Request(P,{method:"get",asynchronous:false});if(A.responseIsFailure()){return false}var H=document.createElement("div");H.innerHTML=A.transport.responseText;document.body.appendChild(H);var N=document.title.replace(" - Comcast.net","");if(X=="video"){$("video-metadata").getElementsByTagName("h2")[0].getElementsByTagName("strong")[0].innerHTML}else{if(X=="article"){$("article").getElementsByTagName("h2")[0].innerHTML}}if(N==""){N=document.title}$("emailthis-title").innerHTML=N;$("emailthisTitle").value=N;var G=$("extended-videolist")||$("relatedvideo-container");if(G){var S=G.getElementsByTagName("ul")[0];var T=S.getElementsByTagName("li");var Q=(T.length>5)?5:T.length;var K=document.createElement("ul");for(var U=0;U<Q;U++){var J=T[U].cloneNode(true);var L=J.getElementsByTagName("a")[0];$A(L.childNodes).each(function(Z){if(Z.nodeType==8){Z.parentNode.removeChild(Z)}});L.rel=L.rel+' track_load(Email Story Window - "Other Links" click)';L.appendChild(document.createComment("TRACKING ! prop11: ! eVar16: "));assign_handlers(L);K.appendChild(J)}$("emailthis-pageheadlines").appendChild(K);Element.addClassName($("emailthis-pageheadlines"),"imgList");if(G.id=="relatedvideo-container"){Element.addClassName($("emailthis-pageheadlines"),"wideimg")}}var M=$("headlines");if(M&&!G){var F=M.getElementsByTagName("ul")[0];var E=F.getElementsByTagName("li");var D=(E.length>5)?5:E.length;var W=document.createElement("ul");for(var U=0;U<D;U++){var V=E[U].cloneNode(true);var L=V.getElementsByTagName("a")[0];$A(L.childNodes).each(function(Z){if(Z.nodeType==8){Z.parentNode.removeChild(Z)}});L.rel=L.rel+' track_load(Email Story Window - "Other Links" click)';L.appendChild(document.createComment("TRACKING ! prop11: ! eVar16: "));assign_handlers(L);W.appendChild(V)}$("emailthis-pageheadlines").appendChild(W)}var I=$("carousel-panel0");if(I){var S=I.getElementsByTagName("ul")[1];var T=S.getElementsByTagName("li");var Q=(T.length>5)?5:T.length;var K=document.createElement("ul");for(var U=0;U<Q;U++){var J=T[U].cloneNode(true);var L=J.getElementsByTagName("a")[0];L.getElementsByTagName("span")[0].innerHTML=L.title;$A(L.childNodes).each(function(Z){if(Z.nodeType==8){Z.parentNode.removeChild(Z)}});L.rel=L.rel+' track_load(Email Story Window - "Other Links" click)';L.appendChild(document.createComment("TRACKING ! prop11: ! eVar16: "));assign_handlers(L);K.appendChild(J)}$("emailthis-pageheadlines").appendChild(K);Element.addClassName($("emailthis-pageheadlines"),"imgList");Element.addClassName($("emailthis-pageheadlines"),"movieList")}if(!G&&!M&&!I){$("emailthis-otherarticles").getElementsByTagName("h2")[0].getElementsByTagName("span")[0].style.display="none"}var Y=$("emailthis");var C=$("refreshCaptcha");var R=Y.getElementsByTagName("button")[0];var B=Y.getElementsByTagName("form")[0];if(X=="video"){B.action="/user/authkey/service/emailavideo/"}else{if(X=="trivia"){B.action="/user/authkey/service/emailapage/"}else{if(X=="photo"){B.action="/user/authkey/service/emailaphoto/"}}}Widgets.build(Y);C.onclick=function(Z){EmailthisWindow.refresh_captcha();return cancelEvent(Z)};var O=$("emailthisMessage");O.onkeyup=function(Z){if(O.value.length>500){O.value=O.value.substring(0,500)}};$("fromAddress").onfocus=function(){};$("fromAddress").onblur=function(){};$("toAddresses").onblur=function(){};B.onsubmit=function(){return false};R.onclick=function(i){var h="Please check that the domain of the email you entered is valid.";var j="The comcast.net email address you entered does not exist.";var d="Please check email formatting and that multiple emails are separated by commas.";var v="Please enter an email address to send the "+X+" to.";var p="Please check email formatting";var n="Please enter your email address";var c="Please enter the characters you see in the image";var w="Please enter the characters you see in the image";var l=true;var k;if($("toAddresses").value.replace(/^\s+/,"").replace(/\s+$/,"")){var m=$("toAddresses").value.split(",");if(m.length>10){k="Enter up to 10 email addresses";l=false}else{for(t=0;t<m.length;t++){if(!echeck(m[t].replace(/^\s+/,"").replace(/\s+$/,""))){k=d;l=false}}}if(l){$("emailthis-subcaption").innerHTML="Enter up to 10 email addresses (Separate by commas)";$("emailthis-subcaption").className="";Element.removeClassName($("emailthis-to-label"),"failed")}else{$("emailthis-subcaption").innerHTML=k;$("emailthis-subcaption").className="failed"}}else{$("emailthis-subcaption").innerHTML=v;$("emailthis-subcaption").className="failed"}var x=($("toAddresses").value.replace(/^\s+/,"").replace(/\s+$/,"")!=""&&l);var g=false;if($("fromAddress").value.replace(/^\s+/,"").replace(/\s+$/,"")){if(echeck($("fromAddress").value)){$("emailthis-from-subcaption").innerHTML="";$("emailthis-from-subcaption").className="";g=true;Element.removeClassName($("emailthis-from-label"),"failed")}else{$("emailthis-from-subcaption").innerHTML=p;$("emailthis-from-subcaption").className="failed"}}else{$("emailthis-from-subcaption").innerHTML=n;$("emailthis-from-subcaption").className="failed"}var b=false;if(getPortalData()||$("captchaResponse").value.replace(/^\s+/,"").replace(/\s+$/,"")){$("emailthis-captcha-subcaption").innerHTML="";$("emailthis-captcha-subcaption").className="";var o=Element.getByTagClass($("emailthis-captcha-widget"),"span","failed");if(o[0]){Element.removeClassName(o[0],"failed")}Element.removeClassName($("emailthis-captcha-label"),"failed");b=true}else{$("emailthis-captcha-subcaption").innerHTML=c;$("emailthis-captcha-subcaption").className="failed"}if(x&&g&&b){$("validation-error").style.display="none";var r=EmailthisWindow.sendFields.inject({},function(z,y){z[y]=$F(y);return z});r.emailthisUrl=window.location.href;r.exec="true";r.copyMe=$("copyMe").checked;r.fmt="xml";r.emailthisTitle=$("emailthisTitle").value;r.subject=N.replace(/[^a-zA-Z0-9_\&\-]/g," ");$("submit").style.display="none";$("email-loader").style.display="block";new Ajax.Request(B.action,{method:"post",onSuccess:function(AG){var AC=AG.responseText;var AD=AG.responseXML;var AB=AD.getElementsByTagName("error");if(AB.length!=0){$("submit").style.display="block";$("email-loader").style.display="none";if(AC.indexOf("recipient invalid domain")!=-1){$("emailthis-subcaption").innerHTML=h;$("emailthis-subcaption").className="failed";var AE=$("toAddresses");var z=$("emailthis-to-label");AE.proxy.set_status("failed");Element.addClassName(z,"failed");$("validation-error").style.display="block";$("validation-error").style.left="-254px"}else{if(AC.indexOf("Not our Customer")!=-1){$("emailthis-subcaption").innerHTML=j;$("emailthis-subcaption").className="failed";var AE=$("toAddresses");var z=$("emailthis-to-label");AE.proxy.set_status("failed");Element.addClassName(z,"failed");$("validation-error").style.display="block";$("validation-error").style.left="-254px"}else{if(AC.indexOf("Text did not match the image")!=-1){$("emailthis-captcha-subcaption").innerHTML=w;$("emailthis-captcha-subcaption").className="failed";var AA=$("captchaResponse");var y=$("emailthis-captcha-label");AA.proxy.set_status("failed");Element.addClassName(y,"failed");$("validation-error").style.display="block";$("validation-error").style.left="-254px"}else{B.style.display="none";$("emailthis-error").style.display="block";if(AG.responseXML){var AD=AG.responseXML;$("error-text").innerHTML=AD.getElementsByTagName("error")[0].firstChild.nodeValue}else{$("error-text").innerHTML="unknown error"}}}}}else{B.style.display="none";$("emailthis-otherarticles").style.display="block";EmailthisWindow.onsubmit(r)}Tracking.resetVars();Tracking.setVar("linkTrackVars","eVar2,eVar11,eVar34");Tracking.setVar("linkTrackEvents","event12");Tracking.setVar("events","event12");Tracking.setVar("products",";"+Tracking.articleTitle);Tracking.setVar("eVar2",Tracking.articleTitle);Tracking.setVar("prop2",Tracking.articleTitle);Tracking.setVar("eVar3",Tracking.articleCategory);Tracking.setVar("prop3",Tracking.articleCategory);Tracking.setVar("prop18",[Tracking.getVar("prop3"),Tracking.getVar("prop2")].join(":"));Tracking.setVar("eVar21",[Tracking.getVar("eVar3"),Tracking.getVar("eVar2")].join(":"));Tracking.setVar("eVar34",Tracking.pageContext);var AF=(document.location+"").replace(document.location.search,"");Tracking.setVar("prop14",AF);Tracking.setVar("eVar17",AF);var AH=$A(r.toAddresses.split(",")).collect(function(AI){var AJ=AI.split("@");return";"+AJ[1]});Tracking.setVar("eVar11",AH.length);s.tl(null,"o","")},onFailure:function(y){B.style.display="none";$("emailthis-error").style.display="block";$("error-text").innerHTML=(y.status==500)?("Server Error. Please try again.<!-- "+y.responseText+" -->"):(y.responseText||"unknown error")},parameters:Ajax.parameters(r)})}else{var f=$("toAddresses");var a=$("emailthis-to-label");var u=$("fromAddress");var q=$("emailthis-from-label");var Z=$("captchaResponse");var e=$("emailthis-captcha-label");if(!x){f.proxy.set_status("failed");Element.addClassName(a,"failed")}else{f.proxy.set_status("default");Element.removeClassName(a,"failed")}if(!g){u.proxy.set_status("failed");Element.addClassName(q,"failed")}else{u.proxy.set_status("default");Element.removeClassName(q,"failed")}if(!b){Z.proxy.set_status("failed");Element.addClassName(e,"failed")}else{Z.proxy.set_status("default");Element.removeClassName(e,"failed")}$("validation-error").style.display="block";$("validation-error").style.left="-254px"}return cancelEvent(i)};return true},toValue:"",saveToValue:function(){EmailthisWindow.toValue=$("toAddresses").value}};function onABCommComplete(C){if(C){var B=C[0];if(B.length>0){var D=[];for(var A=0;A<C.length;A++){D.push(C[A][1])}$("toAddresses").value=(EmailthisWindow.toValue=="")?D.join(", "):EmailthisWindow.toValue+", "+D.join(", ")}}EmailthisWindow.saveToValue()};
/* /component/dashboard.js */
$(document).ready(function(){var F={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11};var E=function(K){if(K<10){K="0"+K}return K};var I=function(L){var N=L.match(/\w+,\s+(\d+)\s+(\w+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+[+-]?\d+/);if(N){var P=new Date();P.setUTCDate(parseInt(N[1],10));P.setUTCMonth(F[N[2]]);P.setUTCFullYear(parseInt(N[3],10));P.setUTCHours(parseInt(N[4],10));P.setUTCMinutes(parseInt(N[5],10));P.setUTCSeconds(parseInt(N[6],10));var K=new Date();if(K.getYear()==P.getYear()&&K.getMonth()==P.getMonth()&&K.getDate()==P.getDate()){var M=E(P.getMinutes());var R="am";var T=P.getHours();if(T>12){T-=12;R="pm"}if(T==0){T=12;R="am"}return T+":"+M+" "+R}else{var O=P.getMonth()+1;var S=E(P.getDate());var Q=(P.getFullYear()+"").substr(2,2);return O+"/"+S+"/"+Q}}return""};var J=function(K){return K};var H=function(M,N){var P=new Drawer(M);var L=false;var K=function(){L=true;window.setTimeout(function(){if(!L){return }P.open()},500)};var O=function(){L=false;window.setTimeout(function(){if(L){return }P.close()},1500)};M.mouseover(K);M.mouseout(O);N.mouseover(K);N.mouseout(O);$(P).bind("open-complete",function(){N.removeClass("drawer-closed").addClass("drawer-open")});$(P).bind("close-complete",function(){N.removeClass("drawer-open").addClass("drawer-closed")})};var G=getPortalData();if(G&&($(".em-drawer").length>0)){H($(".em-drawer"),$(".em-drawer-handle"))}if($(".vm-drawer").length>0){H($(".vm-drawer"),$(".vm-drawer-handle"))}if($(".tv-drawer").length>0){H($(".tv-drawer"),$(".tv-drawer-handle"))}new Drawer($(".component.dashboard .aq-drawer")).addHandle($(".component.dashboard .aq-drawer-handle"));new Drawer($(".component.dashboard .is-drawer")).addHandle($(".component.dashboard .is-drawer-handle"));var G=getPortalData();if(typeof Local!="undefined"){Local.greeting.onchange(function(K,L){if(L.length>18){L=L.substr(0,15)+"..."}$(".user-name").text(L).parents(".greeting").fadeIn("slow")})}else{var A=G?G.gt.replace(/\+/g," "):"Guest";if(A.length>18){A=A.substr(0,15)+"..."}$(".user-name").text(A).parents(".greeting").fadeIn("slow")}var D=(G.cdvs==1)?true:false;$(".component.dashboard .greeting").addClass(G?"auth":"unauth");$(".component.dashboard .top-drawers .drawer-container").addClass(G?"auth":"unauth");$(".component.dashboard .vm-drawer").addClass(D?"dvcsub":"upsell");if(G){monitorEvent("dashboard","Email count request");$.ajax({url:document.config.yhmUrl,dataType:($.browser.msie)?"text":"xml",success:function(M,P){var O;if(typeof M=="string"){if(M.match("!-- Error 400 --")){return }var K=new ActiveXObject("Microsoft.XMLDOM");K.async=false;K.loadXML(M);O=$(K)}else{O=$(M)}monitorEvent("dashboard","Email count received",{stat:O.find("status").text()});if(O.find("status").text()=="SUCCESS"){$(".email-count").text(O.find("newmail").text()).parent().parent().addClass("has-emcount")}$(".component.dashboard .inbox-link").attr("href",J(O.find("inbox").text()));$(".component.dashboard .compose-link").attr("href",J(O.find("compose").text()));var N=$(".em-drawer ul.em-list");var L=O.find("item");if(L.length>0){N.empty()}else{$(".component.dashboard .inbox-link").text("Go to Inbox>")}L.each(function(){var R=$(this);var T=I(R.find("pubDate").text());var S=$("<a></a>").attr("href",J(R.find("link").text()));S.append(TrackingNode.build_comment("META",{linkText:["email dropdown link"]})).append($("<span></span>").addClass("sender").text(R.find("author").text())).append($("<br />")).append($("<span></span>").addClass("subject").text(R.find("title").text()));var Q=$("<span></span>").addClass("date").text(T);N.append($("<li></li>").append(S).append(Q))});N.find("li:first").addClass("first");N.find("li:last").addClass("last");N.find("li:odd").addClass("alt")}})}if(document.config.vmCount=="true"&&G&&D){var C=(function(){var K=$.cookie.read("dvc_count");if(K==null){return null}var L=K.split(" ");if(L[1]==G.guid){return L[0]}return null})();var B=function(K){$(".voice-count").text(K).parent().parent().addClass("has-vmcount")};if(C!=null){B(C)}else{monitorEvent("dashboard","DVC count request");$.ajax({url:"/user/authkey/service/voicemessagecount/",dataType:"json",success:function(L,M){monitorEvent("dashboard","DVC count received");var K=new Date();K.setTime(K.getTime()+600000);$.cookie.write("dvc_count",[L,G.guid].join(" "),{expire_date:K,domain:""});B(L)}})}}});var beta_prefs_displayname=(function(A){return function(B){A(B).bind("save",function(C,D){Local.greeting.change(D.display_name.val());B.setValuesFromFields(D)});B.setWidth(642);B.setValues({display_name:Local.greeting.get(true)});return B}})(jQuery);
/* /component/search.js */
$(document).ready(function(){var C=$("#searchfield");var A=function(){C.focus()};if(C.hasClass("search_test4")){window.setTimeout(A,3000)}else{A()}$(".comcastLogo img").fix_transparency();var B=$(".comcastLogo .logo-options").load_options({object_type:"none"});if(B.object_type=="flash"){$(".comcastLogo").flash({src:B.object_src,width:"257",height:"129",wmode:"transparent",flashvars:{url:B.object_url}})}var C=$("#searchfield");var A=function(){C.focus()};if(C.hasClass("search_test4")){window.setTimeout(A,3000)}else{A()}});
/* /component/video.js */
$(document).ready(function(){var A=$(".inlineVideoPlayer");A.each(function(D){var C=this;var E=CommentReadingUtil.parseDataComment(this,"VIDEO");var B=E.playerVersion||"1.3.1";if(E.mediaId){$(C).flash({swf:"/ui/swf/videoplayer/v"+B+"/InlinePlayer_"+B+".swf",width:E.width||300,height:E.height||300,allowFullScreen:true,flashvars:{mediaId:E.mediaId,width:E.width||300,height:E.height||300,autoplay:E.autoplay||false,useExternalAds:E.useExternalAds||false,pageSource:"comcast.net",endCard:E.endCard||"RelatedEndCard.swf",controlBar:E.controlBar||"FanControlBar.swf",launchPoint:E.launchPoint||"",domain:document.config.hostName,playRelatedInline:E.playRelatedInline||false,previewImage:E.previewImage||"",controlBarHeight:E.controlBarHeight||"",endCardURL:E.endCardURL||"http://www.comcast.net/video",channelName:E.channelName||""}})}})});
/* /lib/jquery_enum_utils.js */
(function(A){var B=function(D){return D};var C=function(D){return !!D};A.extend({all:function(E,F){var D=true;var F=F||C;A.each(E,function(G,H){if(!F(H)){D=false}});return D},any:function(E,F){var D=false;var F=F||C;A.each(E,function(G,H){return F(H)&&!(D=true)||true});return D},detect:function(E,F){var D=false;var F=F||C;A.each(E,function(G,H){if(F(H)){D=H;return false}});return D},eachSlice:function(E,F,G){var D=-F,H=[];while((D+=F)<E.length){H.push(A.map(E.slice(D,D+F),G||B))}return H},inject:function(D,F,E){A.each(D,function(G,H){F=E(F,H,G)});return F},invoke:function(E,F,D){A.each(E,function(){if(A.isFunction(F)){F.apply(E,D)}else{if(A.isFunction(window[F])){window[F].apply(E,D)}}});return E},max:function(E,F){var D=false;A.each(E,function(G,I){var H=(F||B)(I,G);if(!D||H>D){D=H}});return D},min:function(E,F){var D=false;A.each(E,function(G,I){var H=(F||B)(I,G);if(!D||H<D){D=H}});return D},partition:function(D,G){var F=[],E=[];A.each(D,function(H,I){((G||C)(I,H)?F:E).push(I)});return[F,E]},pluck:function(E,G,F){var D=[];var F=F||B;A.each(E,function(){D.push(F(this[G]))});return D},reject:function(D,E){return A.select(D,(E||function(F){return !F}))},select:function(E,F){var D=[];var F=F||C;A.each(E,function(G,H){if(F(H)){D.push(H)}});return D},sum:function(D,F){var F=F||function(G){return parseInt(G,10)};var E=0;A.each(D,function(){var G=F(this);if(!isNaN(G)){E=E+G}});return E},zip:function(E,G,F){var D=[];var F=F||B;A.each(E,function(H,I){if(G[H]){D.push([I,G[H]])}});return D},randomize:function(E){var F=E.length;if(F==0){return false}while(--F){var D=Math.floor(Math.random()*(F+1));var H=E[F];var G=E[D];E[F]=G;E[D]=H}return E},range:function(){if(!arguments.length){return[]}var H,D,I;if(arguments.length==1){H=0;D=arguments[0]-1;I=1}else{H=arguments[0];D=arguments[1]-1;I=arguments[2]||1}if(I<0&&H>=D){I*=-1;var G=H;H=D;D=G;H+=((D-H)%I)}var E=[];for(var F=H;F<=D;F+=I){E.push(F)}return E},bind:function(){var E=arguments[0]||null;var F=arguments[1]||this;var D=A.grep(arguments,function(G,H){return H>1});return function(){return E.apply(F,D)}}});A.extend(A.fn,{all:function(D){return A.all(this,D)},any:function(D){return A.any(this,D)},pluck:function(E,D){return A.pluck(this,E,D)},detect:function(D){return A(A.detect(this,D))},eachSlice:function(D,E){return A.eachSlice(this,D,E)},select:function(D){return A.findAll(this,D)},sum:function(D){var D=D||function(E){return parseFloat(A(E).val()||A(E).text(),10)};return A.sum(this,D)}})})(jQuery);
/* /lib/animator.js */
var Animator=$.klass();$.extend(Animator.prototype,{initialize:function(B,A){this.frames=B||[];this.delay=B.length>0?(A/B.length):0;this.display_timer=null;this.onupdate=function(){return true};this.oncomplete=function(){return };this._bound_update_display=$.bind(this._update_display,this)},is_running:function(){return this.display_timer!=null},run:function(){this.start_time=this.is_running()?0:(new Date()).getTime();this._update_display()},stop:function(A){if(this.display_timer!=null){window.clearTimeout(this.display_timer)}this.display_timer=null;if(!A){this.show_frame(0);this.oncomplete.call(this)}},show_frame:function(A){A=Math.min(this.frames.length-1,Math.max(0,A));return this.onupdate.call(this,this.frames[A])},_update_display:function(){var B=(new Date()).getTime();var D=Math.round((B-this.start_time)/this.delay);var A=this.show_frame(D);var C=(D<this.frames.length-1);if(A&&C){this.display_timer=window.setTimeout(this._bound_update_display,this.delay)}else{this.display_timer=null;this.oncomplete.call(this)}}});Animator.interpolate={_base:function(A,D){var B=[];for(var C=0;C<=A;C++){B.push(D(C))}return B},linear:function(E,A,C){var B=A-E;var D=B/C;return Animator.interpolate._base(C,function(F){return F*D+E})},root:function(D,A,C){var B=A-D;return Animator.interpolate._base(C,function(E){return Math.sqrt(E/C)*B+D})}};
/* /lib/swfobject.js */
if(typeof deconcept=="undefined"){var deconcept={}}if(typeof deconcept.util=="undefined"){deconcept.util={}}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil={}}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]||""},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]||""},getVariables:function(){return this.variables},getVariablePairs:function(){var C=[];var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+(this.getAttribute("style")||"")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){}}}}};if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/* /component/widgets/button.js */
var Button=$.klass();$.extend(Button.prototype,{handlers:{mouseover:function(){$(this.element).addClass("hover");if(this.mousedown){$(this.element).addClass("active")}},mouseout:function(){if(!this.focused){$(this.element).removeClass("hover")}$(this.element).removeClass("active")},mousedown:function(){this.mousedown=true;$(this.element).removeClass("active")},mouseup:function(){this.mousedown=false;$(this.element).removeClass("active")},focus:function(){this.focused=true;this.handlers.mouseover.call(this)},blur:function(){this.focused=false;this.mousedown=false;this.handlers.mouseout.call(this)}},initialize:function(A){this.element=$(A);this.element.proxy=this;this.focused=false;this.mousedown=false;$(this.element).mouseover($.bind(this.handlers.mouseover,this));$(this.element).mouseout($.bind(this.handlers.mouseout,this));$(this.element).mousedown($.bind(this.handlers.mousedown,this));$(this.element).mouseup($.bind(this.handlers.mouseup,this));$(this.element).focus($.bind(this.handlers.focus,this));$(this.element).blur($.bind(this.handlers.blur,this))}});
/* /component/widgets/widgets_core.js */
var Widgets={updateLabelClass:function(A){var C=[];C.push(["checkbox","checkbox-small","radio","radio-small"]);C.push(["hover","default"]);C.push(["checked","unchecked"]);var B=[0,0,0];var D=C.length;while(!B[D]){E=$.map(C,function(H,G){return H[B[G]]});var F=E.join("-");$(A).removeClass(F);B[0]++;$.each(B,function(G,H){if(G==D||H<C[G].length){return }B[G]=0;B[G+1]=(B[G+1]||0)+1})}var E=$.map(C,function(G){return $.grep(G,function(H){return $(A).hasClass(H)})});if($(A).hasClass("disabled")){E[1]="default"}$(A).addClass(E.join("-"))},getLabelForControl:function(B){var D=B.id;var C=B.parentNode.getElementsByTagName("label");for(var A=0;A<C.length;A++){if(D==C[A].htmlFor){return C[A]}}return C[0]},build:function(A){var B=document.getElementsByClassName("widget",$(A));$(B).each(function(D,F){var E=F.getElementsByTagName("button");$(E).each(function(G,H){new Button(H)});var C=$(F).find("input");$(C).each(function(H,G){switch(G.type){case"checkbox":if($(G).hasClass("fancy-checkbox")){new CheckBox(G)}break;case"radio":if($(G).hasClass("fancy-radio")){new RadioButton(G)}else{G.onclick=function(){if(typeof RadioButton!="undefined"){RadioButton.clearGroup(this.name)}}}break;case"text":new TextField(G);break}})})}};
/* /component/widgets/radio_button.js */
var RadioButton=$.klass();RadioButton.groups={};RadioButton.clearGroup=function(A){$.each(RadioButton.groups[A],function(B,C){C.clear()})};RadioButton.clearChecked=function(A){$.each(RadioButton.groups[A],function(B,C){C.element.checked=false})};$.extend(RadioButton.prototype,{handlers:{mouseover:function(){$(this.label).addClass("hover");$(this.label).removeClass("default");Widgets.updateLabelClass(this.label)},mouseout:function(){if(this.focused){return }$(this.label).addClass("default");$(this.label).removeClass("hover");Widgets.updateLabelClass(this.label)},click:function(){this.element.click();if(!this.element.checked){RadioButton.clearChecked(this.element.name);this.element.checked=true}this.updateDisplay()},focus:function(){this.focused=true;this.handlers.mouseover.call(this);window.setTimeout($.bind(this.updateDisplay,this),10)},blur:function(){this.focused=false;this.handlers.mouseout.call(this)},keypress:function(A){if((window.event?window.event.keyCode:A.which)!=32){return }window.setTimeout($.bind(this.updateDisplay,this),10)}},initialize:function(C){this.element=C;this.element.proxy=this;this.label=Widgets.getLabelForControl(this.element);this.focused=false;var B=this.element.name;if(!RadioButton.groups[B]){RadioButton.groups[B]=[]}RadioButton.groups[B].push(this);var A=$(this.element).hasClass("radio-small")?"radio-small":"radio";$(this.label).addClass(A);$(this.label).addClass("default");$(this.label).addClass(this.element.checked?"checked":"unchecked");Widgets.updateLabelClass(this.label);$(this.label).mouseover($.bind(this.handlers.mouseover,this));$(this.label).mouseout($.bind(this.handlers.mouseout,this));$(this.label).click($.bind(this.handlers.click,this));$(this.element).focus($.bind(this.handlers.focus,this));$(this.element).blur($.bind(this.handlers.blur,this));$(this.element).keyup($.bind(this.handlers.keypress,this))},clear:function(){$(this.label).addClass("unchecked");$(this.label).removeClass("checked");Widgets.updateLabelClass(this.label)},updateDisplay:function(){if(!this.element.checked){return }RadioButton.clearGroup(this.element.name);$(this.label).addClass("checked");$(this.label).removeClass("unchecked");Widgets.updateLabelClass(this.label)}});
/* /component/polls.js */
var PollComm=$.klass();$.extend(PollComm.prototype,{api_root:"/lithium/polls/",initialize:function(B,A){this.poll_id=B;this.onerror=A||function(){}},_req_name:function(B){var A=(new Date()).getTime();return[B,this.poll_id,A].join("_")},_is_error:function(B){var A=$(B).find("response").attr("status");return typeof A!="undefined"&&A=="error"},get_choices:function(B){var D=this;var A;var C=$.ajax({url:this.api_root+"id/"+this.poll_id,dataType:($.browser.msie)?"text":"xml",success:function(E){var F;if(typeof E=="string"){F=new ActiveXObject("Microsoft.XMLDOM");F.async=false;F.loadXML(E)}else{F=E}if(D._is_error(F)){D.onerror(F.error);return }var G=[];$.each($(F).find("choice"),function(H,I){G.push({id:$(I).find("id").text(),text:$(I).find("text").text(),votes:$(I).find("votes").find("count").text()})});if(B){B.call(this,G)}}})},get_end_time:function(A){var C=this;var B=$.ajax({url:this.api_root+"id/"+this.poll_id,dataType:($.browser.msie)?"text":"xml",success:function(D){var F;if(typeof D=="string"){F=new ActiveXObject("Microsoft.XMLDOM");F.async=false;F.loadXML(D)}else{F=D}if(C._is_error(F)){C.onerror(F.error);return }var E=$(F).find("end_time").text();var G=E.match(/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/);var H=new Date();H.setUTCFullYear(G[1]);H.setUTCMonth(parseInt(G[2],10)-1);H.setUTCDate(parseInt(G[3],10));H.setUTCHours(parseInt(G[4],10));H.setUTCMinutes(parseInt(G[5],10));H.setUTCSeconds(parseInt(G[6],10));if(A){A.call(this,H)}}})},get_question:function(B){var D=this;var A;var C=$.ajax({url:this.api_root+"id/"+this.poll_id,dataType:($.browser.msie)?"text":"xml",success:function(E){var F;if(typeof E=="string"){F=new ActiveXObject("Microsoft.XMLDOM");F.async=false;F.loadXML(E)}else{F=E}if(D._is_error(F)){D.onerror(F.error);return }A=$(F).find("question").text();if(B){B.call(this,A)}}})},get_vote_count:function(A){var C=this;var B=$.ajax({url:this.api_root+"id/"+this.poll_id+"/votes/count",dataType:($.browser.msie)?"text":"xml",success:function(D){var E;if(typeof D=="string"){E=new ActiveXObject("Microsoft.XMLDOM");E.async=false;E.loadXML(D)}else{E=D}if(C._is_error(E)){C.onerror(E.error);return }if(A){A.call(this,parseInt($(E).find("value").text(),10))}}})},can_vote:function(B){var E=this;var A=readCookie("poll_"+this.poll_id);var D;if(A!=null){B.call(this,false,"voted");return }var C=$.ajax({url:this.api_root+"id/"+this.poll_id,dataType:($.browser.msie)?"text":"xml",success:function(F){var G;if(typeof F=="string"){G=new ActiveXObject("Microsoft.XMLDOM");G.async=false;G.loadXML(F)}else{G=F}if(E._is_error(G)){E.onerror(G.error);return }D=$(G).find("allow_anonymous_votes").text();if(B){if(D=="true"){B.call(this,true,"")}else{E.get_end_time(function(I){var H=new Date();B.call(this,false,H<I?"unknown":"expired")})}}}})},place_vote:function(A,B){var D=this;var C=$.ajax({type:"POST",url:this.api_root+"id/"+this.poll_id+"/votes/place/",dataType:($.browser.msie)?"text":"xml",data:"poll.choice=id/"+A,success:function(G){var H;if(typeof G=="string"){H=new ActiveXObject("Microsoft.XMLDOM");H.async=false;H.loadXML(G)}else{H=G}var E=($(H).find("response").attr("status")=="success");var F=(D._is_error(H))?$(H).find("message").text():"";if(E){D.get_end_time(function(J){var I=new Date();var K=parseInt((J.getTime()-I.getTime())/86400000)+7;createCookie("poll_"+D.poll_id,A,K)})}if(B){B.call(this,E,F)}}})}});var Pole=$.klass();$.extend(Pole.prototype,{initialize:function(A){this.node=$(A);this.form=this.node.find("form")[0];this.container=this.form.parentNode;this.message=$(this.container).find("p.message");this.error=$(this.container).find("p.error");var C=this;this.poll_id=this.form.action.split("#")[1];this.comm=new PollComm(this.poll_id,function(D){C.set_display(C.DISP_ERROR);C.error.html("An error has occurred.");C.error.show()});this.form.onsubmit=function(){if(C.get_display()==C.DISP_RESULTS){C.set_display(C.DISP_VOTING);return false}var D=$(this).find("input").map(function(){return $(this).attr("checked")?$(this).val():null});if(typeof D=="undefined"){C.error.html("Please choose an item.");C.error.show();return false}C.comm.place_vote(D[0],function(F,E){if(F){C.message.html("Thank you. Your vote has been submitted.");C.show_vote(false);C.update_counts()}else{C.error.html("Failed to place vote: "+E);C.error.show()}});return false};var B=$(this.container).find("a.poll-results");B.click(function(D){C.message.html("Thank you for viewing the poll. Click Vote to return and submit a vote.");C.show_vote(true);C.update_counts();return cancelEvent(D)});this.comm.get_question(function(D){C.fill_question(D)});this.comm.can_vote(function(D,F){if(D){C.update_answers()}else{var E;switch(F){case"voted":E="Thank you. Your vote has been submitted.";break;case"expired":E="Voting for this poll has ended.";break;default:E="This poll is currently closed."}C.message.html(E);C.show_vote(false);C.update_counts()}})},DISP_VOTING:"voting",DISP_RESULTS:"results",DISP_LOADING:"loading",DISP_ERROR:"error",set_display:function(B){if(B==this.DISP_LOADING){var A=$(this.container).height();this.container.style.height=A+"px"}else{this.container.style.height=$.browser.msie?"1%":""}$(this.container).removeClass("loading");$(this.container).removeClass("voting");$(this.container).removeClass("results");$(this.container).addClass(B);this.error.hide()},get_display:function(){var B=[this.DISP_VOTING,this.DISP_RESULTS,this.DISP_LOADING,this.DISP_ERROR];for(var A=0;A<B.length;A++){if($(this.container).hasClass(B[A])){return B[A]}}return""},show_vote:function(A){if(A){$(this.container).removeClass("hide-vote")}else{$(this.container).addClass("hide-vote")}},update_counts:function(){var A=this;this.set_display(A.DISP_LOADING);this.comm.get_vote_count(function(B){A.fill_vote_count(B);A.comm.get_choices(function(D){var C=$.inject(D,{},function(E,F){E[F.text]=B?parseInt(F.votes/B*100):0;return E});A.fill_percents(C);A.set_display(A.DISP_RESULTS)})})},update_answers:function(){var A=this;this.set_display(A.DISP_LOADING);this.comm.get_choices(function(C){var B=$.inject(C,{},function(D,E){D[E.id]=E.text;return D});A.fill_answers(B);A.show_vote(true);A.set_display(A.DISP_VOTING)})},fill_vote_count:function(A){$(this.form).find("p.vote-count").each(function(B,D){if(D.className=="vote-count"){var C=$(D).find("span");$(C).html(A)}})},fill_percents:function(B){var D=$(this.container).width()-50;var A=this.container.getElementsByTagName("dl")[0];var F=[];while(A.childNodes.length>0){A.removeChild(A.firstChild)}$.each(B,function(H,K){var J=document.createElement("dd");var I=document.createElement("b");J.appendChild(I);J.appendChild(document.createTextNode(K+"%"));var G=document.createElement("dt");G.appendChild(document.createTextNode(H));A.appendChild(J);A.appendChild(G);F.push({node:I,width:(D*K/100)})});var E=Animator.interpolate.linear(0,1,50);var C=new Animator(E,500);C.onupdate=function(J){for(var H=0,G=F.length;H<G;H++){var I=F[H];I.node.style.width=(I.width*J)+"px"}return true};C.run()},fill_question:function(A){var B=$(this.container).find("p.question");B.html(A)},fill_answers:function(B){var A=$(this.container).find("ul")[0];$.each(B,function(E,G){var F=document.createElement("li");var D=document.createElement("input");D.className="fancy-radio";D.type="radio";D.name="poll-option";D.id="poll-"+E;D.value=E;var C=document.createElement("label");C.htmlFor="poll-"+E;C.innerHTML=G;F.appendChild(D);F.appendChild(C);A.appendChild(F);new RadioButton(D)})}});$(document).ready(function(){if(p=document.getElementById("poll")){new Pole(p)}});function readCookie(C){var F=C+"=";var B=document.cookie.split(";");var E=/\s*(.*)/;for(var D=0,A=B.length;D<A;D++){var G=B[D].match(E)[1];if(G.indexOf(F)==0){return G.substring(F.length,G.length)}}return null}function createCookie(C,D,E){var A="";if(E){var B;if(typeof E=="object"){B=E}else{var B=new Date();B.setTime(B.getTime()+E*86400000)}var A="; expires="+B.toGMTString()}document.cookie=C+"="+D+A+"; path=/; domain=.comcast.net"}function cancelEvent(A){A=window.event?window.event:A;if(!A){return false}A.cancelBubble=true;A.returnVal=false;return false};
/* /component/topbar.js */
$(document.body).ready(function(){var C=getPortalData();$(".component.topbar #login").attr("class",C?"sign-out":"sign-in");var A=getPortalData();var D=A?A.gt.replace("+"," "):"Guest";if(D.length>15){D=D.substr(0,12)+"..."}var B=A?"Hi, "+D:"Welcome "+D;$(".component.topbar #user-name").text(B);if(A){$.ajax({url:document.config.yhmUrl,dataType:($.browser.msie)?"text":"xml",success:function(F,H){var G;if(typeof F=="string"){var E=new ActiveXObject("Microsoft.XMLDOM");E.async=false;E.loadXML(F);G=$(E)}else{G=$(F)}if(G.find("status").text()=="SUCCESS"){$(".component.topbar #email-link-inbox b").text(" "+G.find("newmail").text()).parent().addClass("has-count")}}})}});
