/**
 * homepage.mb.1.n.min.js
 * $Revision: 1.2 $
 *
 *  homepage.mb.1.n.min.js -- aggregated and minified
 *  DO NOT EDIT THIS FILE -- edit the individual files and rebuild
 *
 * Writes and supports homepage javascript functions (minified) 
 * 
 *   (c) 1992-2011 Cisco Systems, Inc. All rights reserved.
 *   Terms and Conditions: http://cisco.com/en/US/swassets/sw293/sitewide_important_notices.html
 * 
 *
 * MANIFEST:
 *      /web/fw/lib/jquery-1.4.2.js 2 licenses.
 *      /web/fw/lib/jqmodal.js 06/22/2008 +r12
 *      /web/fw/j/homepage_frag/_util_frag.js 1.7 
 *      /web/fw/j/cors.js 1.4 
 *      /web/fw/w/includer.js 1.26 
 *      /web/fw/j/search_fragment.js 1.13 
 *      /web/fw/j/masterbrand_frag/_megamenu.js 1.4 
 *      /web/fw/j/masterbrand_frag/_megamenu_global.js 1.2 
 *      /web/fw/j/masterbrand_frag/_skip.js 1.2 
 *      /web/fw/j/masterbrand_frag/_toolbar.js 1.7 
 *      /web/fw/j/homepage_frag/_home.js 1.13 
 *      /web/fw/j/homepage_frag/_newsticker.js 1.7 
 *      /web/fw/j/homepage_frag/_fatfooter.js 1.6 
 *      /web/fw/m/rules-lib.js 1.4 
 *      /web/fw/m/mb-rules.js 1.6 
 *      /web/fw/m/home-rules.js 1.5 
 *      /web/fw/j/cdc.cookie.js 1.4 
 *      /web/fw/lo/sso.js 1.8 
 *      /web/fw/lib/t1m-video/cdc.homevideoplayer.js 1.2 
 *      /web/fw/j/home.mb.metrics.js 1.8 
 *      /web/fw/j/homepage_frag/_followus.js 1.2 
 */

/*!
 * BEGIN /web/fw/lib/jquery-1.4.2.js
 */
/*!
 * jQuery JavaScript Library v1.4.2
 * http://jquery.com/
 *
 * Copyright 2010, John Resig
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 * Copyright 2010, The Dojo Foundation
 * Released under the MIT, BSD, and GPL Licenses.
 *
 * Date: Sat Feb 13 22:33:48 2010 -0500
 */
(function(aU,ae){function a6(){if(!an.isReady){try{af.documentElement.doScroll("left")}catch(w){setTimeout(a6,1);return}an.ready()}}function ac(A,w){w.src?an.ajax({url:w.src,async:false,dataType:"script"}):an.globalEval(w.text||w.textContent||w.innerHTML||"");w.parentNode&&w.parentNode.removeChild(w)}function aw(A,w,N,J,K,F){var G=A.length;if(typeof w==="object"){for(var L in w){aw(A,L,w[L],J,K,N)}return A}if(N!==ae){J=!F&&J&&an.isFunction(N);for(L=0;L<G;L++){K(A[L],w,J?N.call(A[L],L,K(A[L],w)):N,F)}return A}return G?K(A[0],w):ae}function aL(){return(new Date).getTime()}function av(){return false}function at(){return true}function aQ(A,w,F){F[0].type=A;return an.event.handle.apply(w,F)}function am(Q){var P,O=[],L=[],N=arguments,J,K,A,G,F,w;K=an.data(this,"events");if(!(Q.liveFired===this||!K||!K.live||Q.button&&Q.type==="click")){Q.liveFired=this;var R=K.live.slice(0);for(G=0;G<R.length;G++){K=R[G];K.origType.replace(aF,"")===Q.type?L.push(K.selector):R.splice(G--,1)}J=an(Q.target).closest(L,Q.currentTarget);F=0;for(w=J.length;F<w;F++){for(G=0;G<R.length;G++){K=R[G];if(J[F].selector===K.selector){A=J[F].elem;L=null;if(K.preType==="mouseenter"||K.preType==="mouseleave"){L=an(Q.relatedTarget).closest(K.selector)[0]}if(!L||L!==A){O.push({elem:A,handleObj:K})}}}}F=0;for(w=O.length;F<w;F++){J=O[F];Q.currentTarget=J.elem;Q.data=J.handleObj.data;Q.handleObj=J.handleObj;if(J.handleObj.origHandler.apply(J.elem,N)===false){P=false;break}}return P}}function I(A,w){return"live."+(A&&A!=="*"?A+".":"")+w.replace(/\./g,"`").replace(/ /g,"&")}function q(w){return !w||!w.parentNode||w.parentNode.nodeType===11}function bp(A,w){var F=0;w.each(function(){if(this.nodeName===(A[F]&&A[F].nodeName)){var K=an.data(A[F++]),L=an.data(this,K);if(K=K&&K.events){delete L.handle;L.events={};for(var G in K){for(var J in K[G]){an.event.add(this,G,K[G][J],K[G][J].data)}}}}})}function a9(A,w,K){var G,J,F;w=w&&w[0]?w[0].ownerDocument||w[0]:af;if(A.length===1&&typeof A[0]==="string"&&A[0].length<512&&w===af&&!aV.test(A[0])&&(an.support.checkClone||!aq.test(A[0]))){J=true;if(F=an.fragments[A[0]]){if(F!==1){G=F}}}if(!G){G=w.createDocumentFragment();an.clean(A,w,G,K)}if(J){an.fragments[A[0]]=F?G:1}return{fragment:G,cacheable:J}}function aI(A,w){var F={};an.each(U.concat.apply([],U.slice(0,w)),function(){F[this]=A});return F}function u(w){return"scrollTo" in w&&w.document?w:w.nodeType===9?w.defaultView||w.parentWindow:false}var an=function(A,w){return new an.fn.init(A,w)},v=aU.jQuery,h=aU.$,af=aU.document,az,bf=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,aZ=/^.[^:#\[\.,]*$/,au=/\S/,ad=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,y=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,aD=navigator.userAgent,g=false,aB=[],aH,a7=Object.prototype.toString,a1=Object.prototype.hasOwnProperty,aE=Array.prototype.push,aA=Array.prototype.slice,be=Array.prototype.indexOf;an.fn=an.prototype={init:function(A,w){var G,F;if(!A){return this}if(A.nodeType){this.context=this[0]=A;this.length=1;return this}if(A==="body"&&!w){this.context=af;this[0]=af.body;this.selector="body";this.length=1;return this}if(typeof A==="string"){if((G=bf.exec(A))&&(G[1]||!w)){if(G[1]){F=w?w.ownerDocument||w:af;if(A=y.exec(A)){if(an.isPlainObject(w)){A=[af.createElement(A[1])];an.fn.attr.call(A,w,true)}else{A=[F.createElement(A[1])]}}else{A=a9([G[1]],[F]);A=(A.cacheable?A.fragment.cloneNode(true):A.fragment).childNodes}return an.merge(this,A)}else{if(w=af.getElementById(G[2])){if(w.id!==G[2]){return az.find(A)}this.length=1;this[0]=w}this.context=af;this.selector=A;return this}}else{if(!w&&/^\w+$/.test(A)){this.selector=A;this.context=af;A=af.getElementsByTagName(A);return an.merge(this,A)}else{return !w||w.jquery?(w||az).find(A):an(w).find(A)}}}else{if(an.isFunction(A)){return az.ready(A)}}if(A.selector!==ae){this.selector=A.selector;this.context=A.context}return an.makeArray(A,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return aA.call(this,0)},get:function(w){return w==null?this.toArray():w<0?this.slice(w)[0]:this[w]},pushStack:function(A,w,G){var F=an();an.isArray(A)?aE.apply(F,A):an.merge(F,A);F.prevObject=this;F.context=this.context;if(w==="find"){F.selector=this.selector+(this.selector?" ":"")+G}else{if(w){F.selector=this.selector+"."+w+"("+G+")"}}return F},each:function(A,w){return an.each(this,A,w)},ready:function(w){an.bindReady();if(an.isReady){w.call(af,an)}else{aB&&aB.push(w)}return this},eq:function(w){return w===-1?this.slice(w):this.slice(w,+w+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aA.apply(this,arguments),"slice",aA.call(arguments).join(","))},map:function(w){return this.pushStack(an.map(this,function(A,F){return w.call(A,F,A)}))},end:function(){return this.prevObject||an(null)},push:aE,sort:[].sort,splice:[].splice};an.fn.init.prototype=an.fn;an.extend=an.fn.extend=function(){var A=arguments[0]||{},w=1,N=arguments.length,J=false,K,F,G,L;if(typeof A==="boolean"){J=A;A=arguments[1]||{};w=2}if(typeof A!=="object"&&!an.isFunction(A)){A={}}if(N===w){A=this;--w}for(;w<N;w++){if((K=arguments[w])!=null){for(F in K){G=A[F];L=K[F];if(A!==L){if(J&&L&&(an.isPlainObject(L)||an.isArray(L))){G=G&&(an.isPlainObject(G)||an.isArray(G))?G:an.isArray(L)?[]:{};A[F]=an.extend(J,G,L)}else{if(L!==ae){A[F]=L}}}}}}return A};an.extend({noConflict:function(w){aU.$=h;if(w){aU.jQuery=v}return an},isReady:false,ready:function(){if(!an.isReady){if(!af.body){return setTimeout(an.ready,13)}an.isReady=true;if(aB){for(var A,w=0;A=aB[w++];){A.call(af,an)}aB=null}an.fn.triggerHandler&&an(af).triggerHandler("ready")}},bindReady:function(){if(!g){g=true;if(af.readyState==="complete"){return an.ready()}if(af.addEventListener){af.addEventListener("DOMContentLoaded",aH,false);aU.addEventListener("load",an.ready,false)}else{if(af.attachEvent){af.attachEvent("onreadystatechange",aH);aU.attachEvent("onload",an.ready);var A=false;try{A=aU.frameElement==null}catch(w){}af.documentElement.doScroll&&A&&a6()}}}},isFunction:function(w){return a7.call(w)==="[object Function]"},isArray:function(w){return a7.call(w)==="[object Array]"},isPlainObject:function(A){if(!A||a7.call(A)!=="[object Object]"||A.nodeType||A.setInterval){return false}if(A.constructor&&!a1.call(A,"constructor")&&!a1.call(A.constructor.prototype,"isPrototypeOf")){return false}var w;for(w in A){}return w===ae||a1.call(A,w)},isEmptyObject:function(A){for(var w in A){return false}return true},error:function(w){throw w},parseJSON:function(w){if(typeof w!=="string"||!w){return null}w=an.trim(w);if(/^[\],:{}\s]*$/.test(w.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return aU.JSON&&aU.JSON.parse?aU.JSON.parse(w):(new Function("return "+w))()}else{an.error("Invalid JSON: "+w)}},noop:function(){},globalEval:function(A){if(A&&au.test(A)){var w=af.getElementsByTagName("head")[0]||af.documentElement,F=af.createElement("script");F.type="text/javascript";if(an.support.scriptEval){F.appendChild(af.createTextNode(A))}else{F.text=A}w.insertBefore(F,w.firstChild);w.removeChild(F)}},nodeName:function(A,w){return A.nodeName&&A.nodeName.toUpperCase()===w.toUpperCase()},each:function(A,w,L){var J,K=0,F=A.length,G=F===ae||an.isFunction(A);if(L){if(G){for(J in A){if(w.apply(A[J],L)===false){break}}}else{for(;K<F;){if(w.apply(A[K++],L)===false){break}}}}else{if(G){for(J in A){if(w.call(A[J],J,A[J])===false){break}}}else{for(L=A[0];K<F&&w.call(L,K,L)!==false;L=A[++K]){}}}return A},trim:function(w){return(w||"").replace(ad,"")},makeArray:function(A,w){w=w||[];if(A!=null){A.length==null||typeof A==="string"||an.isFunction(A)||typeof A!=="function"&&A.setInterval?aE.call(w,A):an.merge(w,A)}return w},inArray:function(A,w){if(w.indexOf){return w.indexOf(A)}for(var G=0,F=w.length;G<F;G++){if(w[G]===A){return G}}return -1},merge:function(A,w){var J=A.length,F=0;if(typeof w.length==="number"){for(var G=w.length;F<G;F++){A[J++]=w[F]}}else{for(;w[F]!==ae;){A[J++]=w[F++]}}A.length=J;return A},grep:function(A,w,K){for(var G=[],J=0,F=A.length;J<F;J++){!K!==!w(A[J],J)&&G.push(A[J])}return G},map:function(A,w,L){for(var J=[],K,F=0,G=A.length;F<G;F++){K=w(A[F],F,L);if(K!=null){J[J.length]=K}}return J.concat.apply([],J)},guid:1,proxy:function(A,w,F){if(arguments.length===2){if(typeof w==="string"){F=A;A=F[w];w=ae}else{if(w&&!an.isFunction(w)){F=w;w=ae}}}if(!w&&A){w=function(){return A.apply(F||this,arguments)}}if(A){w.guid=A.guid=A.guid||w.guid||an.guid++}return w},uaMatch:function(w){w=w.toLowerCase();w=/(webkit)[ \/]([\w.]+)/.exec(w)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(w)||/(msie) ([\w.]+)/.exec(w)||!/compatible/.test(w)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(w)||[];return{browser:w[1]||"",version:w[2]||"0"}},browser:{}});aD=an.uaMatch(aD);if(aD.browser){an.browser[aD.browser]=true;an.browser.version=aD.version}if(an.browser.webkit){an.browser.safari=true}if(be){an.inArray=function(A,w){return be.call(w,A)}}az=an(af);if(af.addEventListener){aH=function(){af.removeEventListener("DOMContentLoaded",aH,false);an.ready()}}else{if(af.attachEvent){aH=function(){if(af.readyState==="complete"){af.detachEvent("onreadystatechange",aH);an.ready()}}}}(function(){an.support={};var O=af.documentElement,N=af.createElement("script"),L=af.createElement("div"),J="script"+aL();L.style.display="none";L.innerHTML="   <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var K=L.getElementsByTagName("*"),F=L.getElementsByTagName("a")[0];if(!(!K||!K.length||!F)){an.support={leadingWhitespace:L.firstChild.nodeType===3,tbody:!L.getElementsByTagName("tbody").length,htmlSerialize:!!L.getElementsByTagName("link").length,style:/red/.test(F.getAttribute("style")),hrefNormalized:F.getAttribute("href")==="/a",opacity:/^0.55$/.test(F.style.opacity),cssFloat:!!F.style.cssFloat,checkOn:L.getElementsByTagName("input")[0].value==="on",optSelected:af.createElement("select").appendChild(af.createElement("option")).selected,parentNode:L.removeChild(L.appendChild(af.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};N.type="text/javascript";try{N.appendChild(af.createTextNode("window."+J+"=1;"))}catch(G){}O.insertBefore(N,O.firstChild);if(aU[J]){an.support.scriptEval=true;delete aU[J]}try{delete N.test}catch(w){an.support.deleteExpando=false}O.removeChild(N);if(L.attachEvent&&L.fireEvent){L.attachEvent("onclick",function A(){an.support.noCloneEvent=false;L.detachEvent("onclick",A)});L.cloneNode(true).fireEvent("onclick")}L=af.createElement("div");L.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";O=af.createDocumentFragment();O.appendChild(L.firstChild);an.support.checkClone=O.cloneNode(true).cloneNode(true).lastChild.checked;an(function(){var P=af.createElement("div");P.style.width=P.style.paddingLeft="1px";af.body.appendChild(P);an.boxModel=an.support.boxModel=P.offsetWidth===2;af.body.removeChild(P).style.display="none"});O=function(P){var R=af.createElement("div");P="on"+P;var Q=P in R;if(!Q){R.setAttribute(P,"return;");Q=typeof R[P]==="function"}return Q};an.support.submitBubbles=O("submit");an.support.changeBubbles=O("change");O=N=L=K=F=null}})();an.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var aN="jQuery"+aL(),j=0,aY={};an.extend({cache:{},expando:aN,noData:{embed:true,object:true,applet:true},data:function(A,w,J){if(!(A.nodeName&&an.noData[A.nodeName.toLowerCase()])){A=A==aU?aY:A;var F=A[aN],G=an.cache;if(!F&&typeof w==="string"&&J===ae){return null}F||(F=++j);if(typeof w==="object"){A[aN]=F;G[F]=an.extend(true,{},w)}else{if(!G[F]){A[aN]=F;G[F]={}}}A=G[F];if(J!==ae){A[w]=J}return typeof w==="string"?A[w]:A}},removeData:function(A,w){if(!(A.nodeName&&an.noData[A.nodeName.toLowerCase()])){A=A==aU?aY:A;var J=A[aN],F=an.cache,G=F[J];if(w){if(G){delete G[w];an.isEmptyObject(G)&&an.removeData(A)}}else{if(an.support.deleteExpando){delete A[an.expando]}else{A.removeAttribute&&A.removeAttribute(an.expando)}delete F[J]}}}});an.fn.extend({data:function(A,w){if(typeof A==="undefined"&&this.length){return an.data(this[0])}else{if(typeof A==="object"){return this.each(function(){an.data(this,A)})}}var G=A.split(".");G[1]=G[1]?"."+G[1]:"";if(w===ae){var F=this.triggerHandler("getData"+G[1]+"!",[G[0]]);if(F===ae&&this.length){F=an.data(this[0],A)}return F===ae&&G[1]?this.data(G[0]):F}else{return this.trigger("setData"+G[1]+"!",[G[0],w]).each(function(){an.data(this,A,w)})}},removeData:function(w){return this.each(function(){an.removeData(this,w)})}});an.extend({queue:function(A,w,G){if(A){w=(w||"fx")+"queue";var F=an.data(A,w);if(!G){return F||[]}if(!F||an.isArray(G)){F=an.data(A,w,an.makeArray(G))}else{F.push(G)}return F}},dequeue:function(A,w){w=w||"fx";var G=an.queue(A,w),F=G.shift();if(F==="inprogress"){F=G.shift()}if(F){w==="fx"&&G.unshift("inprogress");F.call(A,function(){an.dequeue(A,w)})}}});an.fn.extend({queue:function(A,w){if(typeof A!=="string"){w=A;A="fx"}if(w===ae){return an.queue(this[0],A)}return this.each(function(){var F=an.queue(this,A,w);A==="fx"&&F[0]!=="inprogress"&&an.dequeue(this,A)})},dequeue:function(w){return this.each(function(){an.dequeue(this,w)})},delay:function(A,w){A=an.fx?an.fx.speeds[A]||A:A;w=w||"fx";return this.queue(w,function(){var F=this;setTimeout(function(){an.dequeue(F,w)},A)})},clearQueue:function(w){return this.queue(w||"fx",[])}});var bk=/[\n\t]/g,ah=/\s+/,bg=/\r/g,aS=/href|src|style/,a0=/(button|input)/i,aC=/(button|input|object|select|textarea)/i,ag=/^(a|area)$/i,a4=/radio|checkbox/;an.fn.extend({attr:function(A,w){return aw(this,A,w,true,an.attr)},removeAttr:function(w){return this.each(function(){an.attr(this,w,"");this.nodeType===1&&this.removeAttribute(w)})},addClass:function(O){if(an.isFunction(O)){return this.each(function(Q){var P=an(this);P.addClass(O.call(this,Q,P.attr("class")))})}if(O&&typeof O==="string"){for(var N=(O||"").split(ah),L=0,J=this.length;L<J;L++){var K=this[L];if(K.nodeType===1){if(K.className){for(var F=" "+K.className+" ",G=K.className,w=0,A=N.length;w<A;w++){if(F.indexOf(" "+N[w]+" ")<0){G+=" "+N[w]}}K.className=an.trim(G)}else{K.className=O}}}}return this},removeClass:function(A){if(an.isFunction(A)){return this.each(function(O){var P=an(this);P.removeClass(A.call(this,O,P.attr("class")))})}if(A&&typeof A==="string"||A===ae){for(var w=(A||"").split(ah),N=0,J=this.length;N<J;N++){var K=this[N];if(K.nodeType===1&&K.className){if(A){for(var F=(" "+K.className+" ").replace(bk," "),G=0,L=w.length;G<L;G++){F=F.replace(" "+w[G]+" "," ")}K.className=an.trim(F)}else{K.className=""}}}}return this},toggleClass:function(A,w){var G=typeof A,F=typeof w==="boolean";if(an.isFunction(A)){return this.each(function(K){var J=an(this);J.toggleClass(A.call(this,K,J.attr("class"),w),w)})}return this.each(function(){if(G==="string"){for(var N,K=0,L=an(this),O=w,J=A.split(ah);N=J[K++];){O=F?O:!L.hasClass(N);L[O?"addClass":"removeClass"](N)}}else{if(G==="undefined"||G==="boolean"){this.className&&an.data(this,"__className__",this.className);this.className=this.className||A===false?"":an.data(this,"__className__")||""}}})},hasClass:function(A){A=" "+A+" ";for(var w=0,F=this.length;w<F;w++){if((" "+this[w].className+" ").replace(bk," ").indexOf(A)>-1){return true}}return false},val:function(A){if(A===ae){var w=this[0];if(w){if(an.nodeName(w,"option")){return(w.attributes.value||{}).specified?w.value:w.text}if(an.nodeName(w,"select")){var N=w.selectedIndex,J=[],K=w.options;w=w.type==="select-one";if(N<0){return null}var F=w?N:0;for(N=w?N+1:K.length;F<N;F++){var G=K[F];if(G.selected){A=an(G).val();if(w){return A}J.push(A)}}return J}if(a4.test(w.type)&&!an.support.checkOn){return w.getAttribute("value")===null?"on":w.value}return(w.value||"").replace(bg,"")}return ae}var L=an.isFunction(A);return this.each(function(O){var R=an(this),Q=A;if(this.nodeType===1){if(L){Q=A.call(this,O,R.val())}if(typeof Q==="number"){Q+=""}if(an.isArray(Q)&&a4.test(this.type)){this.checked=an.inArray(R.val(),Q)>=0}else{if(an.nodeName(this,"select")){var P=an.makeArray(Q);an("option",this).each(function(){this.selected=an.inArray(an(this).val(),P)>=0});if(!P.length){this.selectedIndex=-1}}else{this.value=Q}}}})}});an.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(A,w,K,G){if(!A||A.nodeType===3||A.nodeType===8){return ae}if(G&&w in an.attrFn){return an(A)[w](K)}G=A.nodeType!==1||!an.isXMLDoc(A);var J=K!==ae;w=G&&an.props[w]||w;if(A.nodeType===1){var F=aS.test(w);if(w in A&&G&&!F){if(J){w==="type"&&a0.test(A.nodeName)&&A.parentNode&&an.error("type property can't be changed");A[w]=K}if(an.nodeName(A,"form")&&A.getAttributeNode(w)){return A.getAttributeNode(w).nodeValue}if(w==="tabIndex"){return(w=A.getAttributeNode("tabIndex"))&&w.specified?w.value:aC.test(A.nodeName)||ag.test(A.nodeName)&&A.href?0:ae}return A[w]}if(!an.support.style&&G&&w==="style"){if(J){A.style.cssText=""+K}return A.style.cssText}J&&A.setAttribute(w,""+K);A=!an.support.hrefNormalized&&G&&F?A.getAttribute(w,2):A.getAttribute(w);return A===null?ae:A}return an.style(A,w,K)}});var aF=/\.(.*)$/,z=function(w){return w.replace(/[^\w\s\.\|`]/g,function(A){return"\\"+A})};an.event={add:function(R,Q,O,L){if(!(R.nodeType===3||R.nodeType===8)){if(R.setInterval&&R!==aU&&!R.frameElement){R=aU}var N,J;if(O.handler){N=O;O=N.handler}if(!O.guid){O.guid=an.guid++}if(J=an.data(R)){var K=J.events=J.events||{},A=J.handle;if(!A){J.handle=A=function(){return typeof an!=="undefined"&&!an.event.triggered?an.event.handle.apply(A.elem,arguments):ae}}A.elem=R;Q=Q.split(" ");for(var G,F=0,w;G=Q[F++];){J=N?an.extend({},N):{handler:O,data:L};if(G.indexOf(".")>-1){w=G.split(".");G=w.shift();J.namespace=w.slice(0).sort().join(".")}else{w=[];J.namespace=""}J.type=G;J.guid=O.guid;var T=K[G],P=an.event.special[G]||{};if(!T){T=K[G]=[];if(!P.setup||P.setup.call(R,L,w,A)===false){if(R.addEventListener){R.addEventListener(G,A,false)}else{R.attachEvent&&R.attachEvent("on"+G,A)}}}if(P.add){P.add.call(R,J);if(!J.handler.guid){J.handler.guid=O.guid}}T.push(J);an.event.global[G]=true}R=null}}},global:{},remove:function(V,T,Q,O){if(!(V.nodeType===3||V.nodeType===8)){var P,L=0,N,G,K,J,w,W,R=an.data(V),A=R&&R.events;if(R&&A){if(T&&T.type){Q=T.handler;T=T.type}if(!T||typeof T==="string"&&T.charAt(0)==="."){T=T||"";for(P in A){an.event.remove(V,P+T)}}else{for(T=T.split(" ");P=T[L++];){J=P;N=P.indexOf(".")<0;G=[];if(!N){G=P.split(".");P=G.shift();K=new RegExp("(^|\\.)"+an.map(G.slice(0).sort(),z).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(w=A[P]){if(Q){J=an.event.special[P]||{};for(F=O||0;F<w.length;F++){W=w[F];if(Q.guid===W.guid){if(N||K.test(W.namespace)){O==null&&w.splice(F--,1);J.remove&&J.remove.call(V,W)}if(O!=null){break}}}if(w.length===0||O!=null&&w.length===1){if(!J.teardown||J.teardown.call(V,G)===false){aM(V,P,R.handle)}delete A[P]}}else{for(var F=0;F<w.length;F++){W=w[F];if(N||K.test(W.namespace)){an.event.remove(V,J,W.handler,F);w.splice(F--,1)}}}}}if(an.isEmptyObject(A)){if(T=R.handle){T.elem=null}delete R.events;delete R.handle;an.isEmptyObject(R)&&an.removeData(V)}}}}},trigger:function(P,O,N,K){var L=P.type||P;if(!K){P=typeof P==="object"?P[aN]?P:an.extend(an.Event(L),P):an.Event(L);if(L.indexOf("!")>=0){P.type=L=L.slice(0,-1);P.exclusive=true}if(!N){P.stopPropagation();an.event.global[L]&&an.each(an.cache,function(){this.events&&this.events[L]&&an.event.trigger(P,O,this.handle.elem)})}if(!N||N.nodeType===3||N.nodeType===8){return ae}P.result=ae;P.target=N;O=an.makeArray(O);O.unshift(P)}P.currentTarget=N;(K=an.data(N,"handle"))&&K.apply(N,O);K=N.parentNode||N.ownerDocument;try{if(!(N&&N.nodeName&&an.noData[N.nodeName.toLowerCase()])){if(N["on"+L]&&N["on"+L].apply(N,O)===false){P.result=false}}}catch(G){}if(!P.isPropagationStopped()&&K){an.event.trigger(P,O,K,true)}else{if(!P.isDefaultPrevented()){K=P.target;var J,w=an.nodeName(K,"a")&&L==="click",F=an.event.special[L]||{};if((!F._default||F._default.call(N,P)===false)&&!w&&!(K&&K.nodeName&&an.noData[K.nodeName.toLowerCase()])){try{if(K[L]){if(J=K["on"+L]){K["on"+L]=null}an.event.triggered=true;K[L]()}}catch(A){}if(J){K["on"+L]=J}an.event.triggered=false}}}},handle:function(A){var w,L,J,K;A=arguments[0]=an.event.fix(A||aU.event);A.currentTarget=this;w=A.type.indexOf(".")<0&&!A.exclusive;if(!w){L=A.type.split(".");A.type=L.shift();J=new RegExp("(^|\\.)"+L.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}K=an.data(this,"events");L=K[A.type];if(K&&L){L=L.slice(0);K=0;for(var F=L.length;K<F;K++){var G=L[K];if(w||J.test(G.namespace)){A.handler=G.handler;A.data=G.data;A.handleObj=G;G=G.handler.apply(this,arguments);if(G!==ae){A.result=G;if(G===false){A.preventDefault();A.stopPropagation()}}if(A.isImmediatePropagationStopped()){break}}}}return A.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(A){if(A[aN]){return A}var w=A;A=an.Event(w);for(var G=this.props.length,F;G;){F=this.props[--G];A[F]=w[F]}if(!A.target){A.target=A.srcElement||af}if(A.target.nodeType===3){A.target=A.target.parentNode}if(!A.relatedTarget&&A.fromElement){A.relatedTarget=A.fromElement===A.target?A.toElement:A.fromElement}if(A.pageX==null&&A.clientX!=null){w=af.documentElement;G=af.body;A.pageX=A.clientX+(w&&w.scrollLeft||G&&G.scrollLeft||0)-(w&&w.clientLeft||G&&G.clientLeft||0);A.pageY=A.clientY+(w&&w.scrollTop||G&&G.scrollTop||0)-(w&&w.clientTop||G&&G.clientTop||0)}if(!A.which&&(A.charCode||A.charCode===0?A.charCode:A.keyCode)){A.which=A.charCode||A.keyCode}if(!A.metaKey&&A.ctrlKey){A.metaKey=A.ctrlKey}if(!A.which&&A.button!==ae){A.which=A.button&1?1:A.button&2?3:A.button&4?2:0}return A},guid:100000000,proxy:an.proxy,special:{ready:{setup:an.bindReady,teardown:an.noop},live:{add:function(w){an.event.add(this,w.origType,an.extend({},w,{handler:am}))},remove:function(A){var w=true,F=A.origType.replace(aF,"");an.each(an.data(this,"events").live||[],function(){if(F===this.origType.replace(aF,"")){return w=false}});w&&an.event.remove(this,A.origType,am)}},beforeunload:{setup:function(A,w,F){if(this.setInterval){this.onbeforeunload=F}return false},teardown:function(A,w){if(this.onbeforeunload===w){this.onbeforeunload=null}}}}};var aM=af.removeEventListener?function(A,w,F){A.removeEventListener(w,F,false)}:function(A,w,F){A.detachEvent("on"+w,F)};an.Event=function(w){if(!this.preventDefault){return new an.Event(w)}if(w&&w.type){this.originalEvent=w;this.type=w.type}else{this.type=w}this.timeStamp=aL();this[aN]=true};an.Event.prototype={preventDefault:function(){this.isDefaultPrevented=at;var w=this.originalEvent;if(w){w.preventDefault&&w.preventDefault();w.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=at;var w=this.originalEvent;if(w){w.stopPropagation&&w.stopPropagation();w.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=at;this.stopPropagation()},isDefaultPrevented:av,isPropagationStopped:av,isImmediatePropagationStopped:av};var ak=function(A){var w=A.relatedTarget;try{for(;w&&w!==this;){w=w.parentNode}if(w!==this){A.type=A.data;an.event.handle.apply(this,arguments)}}catch(F){}},E=function(w){w.type=w.data;an.event.handle.apply(this,arguments)};an.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(A,w){an.event.special[A]={setup:function(F){an.event.add(this,w,F&&F.selector?E:ak,A)},teardown:function(F){an.event.remove(this,w,F&&F.selector?E:ak)}}});if(!an.support.submitBubbles){an.event.special.submit={setup:function(){if(this.nodeName.toLowerCase()!=="form"){an.event.add(this,"click.specialSubmit",function(A){var w=A.target,F=w.type;if((F==="submit"||F==="image")&&an(w).closest("form").length){return aQ("submit",this,arguments)}});an.event.add(this,"keypress.specialSubmit",function(A){var w=A.target,F=w.type;if((F==="text"||F==="password")&&an(w).closest("form").length&&A.keyCode===13){return aQ("submit",this,arguments)}})}else{return false}},teardown:function(){an.event.remove(this,".specialSubmit")}}}if(!an.support.changeBubbles){var B=/textarea|input|select/i,l,o=function(A){var w=A.type,F=A.value;if(w==="radio"||w==="checkbox"){F=A.checked}else{if(w==="select-multiple"){F=A.selectedIndex>-1?an.map(A.options,function(G){return G.selected}).join("-"):""}else{if(A.nodeName.toLowerCase()==="select"){F=A.selectedIndex}}}return F},bj=function(A,w){var J=A.target,F,G;if(!(!B.test(J.nodeName)||J.readOnly)){F=an.data(J,"_change_data");G=o(J);if(A.type!=="focusout"||J.type!=="radio"){an.data(J,"_change_data",G)}if(!(F===ae||G===F)){if(F!=null||G){A.type="change";return an.event.trigger(A,w,J)}}}};an.event.special.change={filters:{focusout:bj,click:function(A){var w=A.target,F=w.type;if(F==="radio"||F==="checkbox"||w.nodeName.toLowerCase()==="select"){return bj.call(this,A)}},keydown:function(A){var w=A.target,F=w.type;if(A.keyCode===13&&w.nodeName.toLowerCase()!=="textarea"||A.keyCode===32&&(F==="checkbox"||F==="radio")||F==="select-multiple"){return bj.call(this,A)}},beforeactivate:function(w){w=w.target;an.data(w,"_change_data",o(w))}},setup:function(){if(this.type==="file"){return false}for(var w in l){an.event.add(this,w+".specialChange",l[w])}return B.test(this.nodeName)},teardown:function(){an.event.remove(this,".specialChange");return B.test(this.nodeName)}};l=an.event.special.change.filters}af.addEventListener&&an.each({focus:"focusin",blur:"focusout"},function(A,w){function F(G){G=an.event.fix(G);G.type=w;return an.event.handle.call(this,G)}an.event.special[w]={setup:function(){this.addEventListener(A,F,true)},teardown:function(){this.removeEventListener(A,F,true)}}});an.each(["bind","one"],function(A,w){an.fn[w]=function(N,J,K){if(typeof N==="object"){for(var F in N){this[w](F,J,N[F],K)}return this}if(an.isFunction(J)){K=J;J=ae}var G=w==="one"?an.proxy(K,function(O){an(this).unbind(O,G);return K.apply(this,arguments)}):K;if(N==="unload"&&w!=="one"){this.one(N,J,K)}else{F=0;for(var L=this.length;F<L;F++){an.event.add(this[F],N,G,J)}}return this}});an.fn.extend({unbind:function(A,w){if(typeof A==="object"&&!A.preventDefault){for(var G in A){this.unbind(G,A[G])}}else{G=0;for(var F=this.length;G<F;G++){an.event.remove(this[G],A,w)}}return this},delegate:function(A,w,G,F){return this.live(w,G,F,A)},undelegate:function(A,w,F){return arguments.length===0?this.unbind("live"):this.die(w,null,F,A)},trigger:function(A,w){return this.each(function(){an.event.trigger(A,w,this)})},triggerHandler:function(A,w){if(this[0]){A=an.Event(A);A.preventDefault();A.stopPropagation();an.event.trigger(A,w,this[0]);return A.result}},toggle:function(A){for(var w=arguments,F=1;F<w.length;){an.proxy(A,w[F++])}return this.click(an.proxy(A,function(G){var J=(an.data(this,"lastToggle"+A.guid)||0)%F;an.data(this,"lastToggle"+A.guid,J+1);G.preventDefault();return w[J].apply(this,arguments)||false}))},hover:function(A,w){return this.mouseenter(A).mouseleave(w||A)}});var bn={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};an.each(["live","die"],function(A,w){an.fn[w]=function(Q,O,P,L){var N,G=0,K,J,F=L||this.selector,R=L?this:an(this.context);if(an.isFunction(O)){P=O;O=ae}for(Q=(Q||"").split(" ");(N=Q[G++])!=null;){L=aF.exec(N);K="";if(L){K=L[0];N=N.replace(aF,"")}if(N==="hover"){Q.push("mouseenter"+K,"mouseleave"+K)}else{J=N;if(N==="focus"||N==="blur"){Q.push(bn[N]+K);N+=K}else{N=(bn[N]||N)+K}w==="live"?R.each(function(){an.event.add(this,I(N,F),{data:O,selector:F,handler:P,origType:N,origHandler:P,preType:J})}):R.unbind(I(N,F),P)}}return this}});an.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(A,w){an.fn[w]=function(F){return F?this.bind(w,F):this.trigger(w)};if(an.attrFn){an.attrFn[w]=true}});aU.attachEvent&&!aU.addEventListener&&aU.attachEvent("onunload",function(){for(var A in an.cache){if(an.cache[A].handle){try{an.event.remove(an.cache[A].handle.elem)}catch(w){}}}});(function(){function Y(bb){for(var ba="",ab,aa=0;bb[aa];aa++){ab=bb[aa];if(ab.nodeType===3||ab.nodeType===4){ba+=ab.nodeValue}else{if(ab.nodeType!==8){ba+=Y(ab.childNodes)}}}return ba}function X(bs,br,bb,ba,aa,ab){aa=0;for(var bu=ba.length;aa<bu;aa++){var bv=ba[aa];if(bv){bv=bv[bs];for(var bt=false;bv;){if(bv.sizcache===bb){bt=ba[bv.sizset];break}if(bv.nodeType===1&&!ab){bv.sizcache=bb;bv.sizset=aa}if(bv.nodeName.toLowerCase()===br){bt=bv;break}bv=bv[bs]}ba[aa]=bt}}}function W(bs,br,bb,ba,aa,ab){aa=0;for(var bu=ba.length;aa<bu;aa++){var bv=ba[aa];if(bv){bv=bv[bs];for(var bt=false;bv;){if(bv.sizcache===bb){bt=ba[bv.sizset];break}if(bv.nodeType===1){if(!ab){bv.sizcache=bb;bv.sizset=aa}if(typeof br!=="string"){if(bv===br){bt=true;break}}else{if(P.filter(br,[bv]).length>0){bt=bv;break}}}bv=bv[bs]}ba[aa]=bt}}}var T=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,V=0,Q=Object.prototype.toString,R=false,N=true;[0,0].sort(function(){N=false;return 0});var P=function(bu,bt,br,bb){br=br||[];var ab=bt=bt||af;if(bt.nodeType!==1&&bt.nodeType!==9){return[]}if(!bu||typeof bu!=="string"){return br}for(var ba=[],bz,bA,bw,bs,by=true,bv=A(bt),bx=bu;(T.exec(""),bz=T.exec(bx))!==null;){bx=bz[3];ba.push(bz[1]);if(bz[2]){bs=bz[3];break}}if(ba.length>1&&K.exec(bu)){if(ba.length===2&&O.relative[ba[0]]){bA=Z(ba[0]+ba[1],bt)}else{for(bA=O.relative[ba[0]]?[bt]:P(ba.shift(),bt);ba.length;){bu=ba.shift();if(O.relative[bu]){bu+=ba.shift()}bA=Z(bu,bA)}}}else{if(!bb&&ba.length>1&&bt.nodeType===9&&!bv&&O.match.ID.test(ba[0])&&!O.match.ID.test(ba[ba.length-1])){bz=P.find(ba.shift(),bt,bv);bt=bz.expr?P.filter(bz.expr,bz.set)[0]:bz.set[0]}if(bt){bz=bb?{expr:ba.pop(),set:w(bb)}:P.find(ba.pop(),ba.length===1&&(ba[0]==="~"||ba[0]==="+")&&bt.parentNode?bt.parentNode:bt,bv);bA=bz.expr?P.filter(bz.expr,bz.set):bz.set;if(ba.length>0){bw=w(bA)}else{by=false}for(;ba.length;){var aa=ba.pop();bz=aa;if(O.relative[aa]){bz=ba.pop()}else{aa=""}if(bz==null){bz=bt}O.relative[aa](bw,bz,bv)}}else{bw=[]}}bw||(bw=bA);bw||P.error(aa||bu);if(Q.call(bw)==="[object Array]"){if(by){if(bt&&bt.nodeType===1){for(bu=0;bw[bu]!=null;bu++){if(bw[bu]&&(bw[bu]===true||bw[bu].nodeType===1&&G(bt,bw[bu]))){br.push(bA[bu])}}}else{for(bu=0;bw[bu]!=null;bu++){bw[bu]&&bw[bu].nodeType===1&&br.push(bA[bu])}}}else{br.push.apply(br,bw)}}else{w(bw,br)}if(bs){P(bs,ab,br,bb);P.uniqueSort(br)}return br};P.uniqueSort=function(ab){if(L){R=N;ab.sort(L);if(R){for(var aa=1;aa<ab.length;aa++){ab[aa]===ab[aa-1]&&ab.splice(aa--,1)}}}return ab};P.matches=function(ab,aa){return P(ab,null,null,aa)};P.find=function(bs,br,bb){var ba,aa;if(!bs){return[]}for(var ab=0,bu=O.order.length;ab<bu;ab++){var bv=O.order[ab];if(aa=O.leftMatch[bv].exec(bs)){var bt=aa[1];aa.splice(1,1);if(bt.substr(bt.length-1)!=="\\"){aa[1]=(aa[1]||"").replace(/\\/g,"");ba=O.find[bv](aa,br,bb);if(ba!=null){bs=bs.replace(O.match[bv],"");break}}}}ba||(ba=br.getElementsByTagName("*"));return{set:ba,expr:bs}};P.filter=function(bv,bu,bs,bb){for(var ab=bv,ba=[],bB=bu,bC,by,bt=bu&&bu[0]&&A(bu[0]);bv&&bu.length;){for(var bA in O.filter){if((bC=O.leftMatch[bA].exec(bv))!=null&&bC[2]){var bw=O.filter[bA],bz,aa;aa=bC[1];by=false;bC.splice(1,1);if(aa.substr(aa.length-1)!=="\\"){if(bB===ba){ba=[]}if(O.preFilter[bA]){if(bC=O.preFilter[bA](bC,bB,bs,ba,bb,bt)){if(bC===true){continue}}else{by=bz=true}}if(bC){for(var br=0;(aa=bB[br])!=null;br++){if(aa){bz=bw(aa,bC,br,bB);var bx=bb^!!bz;if(bs&&bz!=null){if(bx){by=true}else{bB[br]=false}}else{if(bx){ba.push(aa);by=true}}}}}if(bz!==ae){bs||(bB=ba);bv=bv.replace(O.match[bA],"");if(!by){return[]}break}}}}if(bv===ab){if(by==null){P.error(bv)}else{break}}ab=bv}return bB};P.error=function(aa){throw"Syntax error, unrecognized expression: "+aa};var O=P.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(aa){return aa.getAttribute("href")}},relative:{"+":function(bb,ba){var ab=typeof ba==="string",aa=ab&&!/\W/.test(ba);ab=ab&&!aa;if(aa){ba=ba.toLowerCase()}aa=0;for(var br=bb.length,bs;aa<br;aa++){if(bs=bb[aa]){for(;(bs=bs.previousSibling)&&bs.nodeType!==1;){}bb[aa]=ab||bs&&bs.nodeName.toLowerCase()===ba?bs||false:bs===ba}}ab&&P.filter(ba,bb,true)},">":function(bb,ba){var ab=typeof ba==="string";if(ab&&!/\W/.test(ba)){ba=ba.toLowerCase();for(var aa=0,br=bb.length;aa<br;aa++){var bs=bb[aa];if(bs){ab=bs.parentNode;bb[aa]=ab.nodeName.toLowerCase()===ba?ab:false}}}else{aa=0;for(br=bb.length;aa<br;aa++){if(bs=bb[aa]){bb[aa]=ab?bs.parentNode:bs.parentNode===ba}}ab&&P.filter(ba,bb,true)}},"":function(bb,ba,ab){var aa=V++,br=W;if(typeof ba==="string"&&!/\W/.test(ba)){var bs=ba=ba.toLowerCase();br=X}br("parentNode",ba,aa,bb,bs,ab)},"~":function(bb,ba,ab){var aa=V++,br=W;if(typeof ba==="string"&&!/\W/.test(ba)){var bs=ba=ba.toLowerCase();br=X}br("previousSibling",ba,aa,bb,bs,ab)}},find:{ID:function(ba,ab,aa){if(typeof ab.getElementById!=="undefined"&&!aa){return(ba=ab.getElementById(ba[1]))?[ba]:[]}},NAME:function(bb,ba){if(typeof ba.getElementsByName!=="undefined"){var ab=[];ba=ba.getElementsByName(bb[1]);for(var aa=0,br=ba.length;aa<br;aa++){ba[aa].getAttribute("name")===bb[1]&&ab.push(ba[aa])}return ab.length===0?null:ab}},TAG:function(ab,aa){return aa.getElementsByTagName(ab[1])}},preFilter:{CLASS:function(br,bb,ab,aa,bs,bt){br=" "+br[1].replace(/\\/g,"")+" ";if(bt){return br}bt=0;for(var ba;(ba=bb[bt])!=null;bt++){if(ba){if(bs^(ba.className&&(" "+ba.className+" ").replace(/[\t\n]/g," ").indexOf(br)>=0)){ab||aa.push(ba)}else{if(ab){bb[bt]=false}}}}return false},ID:function(aa){return aa[1].replace(/\\/g,"")},TAG:function(aa){return aa[1].toLowerCase()},CHILD:function(ab){if(ab[1]==="nth"){var aa=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(ab[2]==="even"&&"2n"||ab[2]==="odd"&&"2n+1"||!/\D/.test(ab[2])&&"0n+"+ab[2]||ab[2]);ab[2]=aa[1]+(aa[2]||1)-0;ab[3]=aa[3]-0}ab[0]=V++;return ab},ATTR:function(bb,ba,ab,aa,br,bs){ba=bb[1].replace(/\\/g,"");if(!bs&&O.attrMap[ba]){bb[1]=O.attrMap[ba]}if(bb[2]==="~="){bb[4]=" "+bb[4]+" "}return bb},PSEUDO:function(bb,ba,ab,aa,br){if(bb[1]==="not"){if((T.exec(bb[3])||"").length>1||/^\w/.test(bb[3])){bb[3]=P(bb[3],null,null,ba)}else{bb=P.filter(bb[3],ba,ab,true^br);ab||aa.push.apply(aa,bb);return false}}else{if(O.match.POS.test(bb[0])||O.match.CHILD.test(bb[0])){return true}}return bb},POS:function(aa){aa.unshift(true);return aa}},filters:{enabled:function(aa){return aa.disabled===false&&aa.type!=="hidden"},disabled:function(aa){return aa.disabled===true},checked:function(aa){return aa.checked===true},selected:function(aa){return aa.selected===true},parent:function(aa){return !!aa.firstChild},empty:function(aa){return !aa.firstChild},has:function(ba,ab,aa){return !!P(aa[3],ba).length},header:function(aa){return/h\d/i.test(aa.nodeName)},text:function(aa){return"text"===aa.type},radio:function(aa){return"radio"===aa.type},checkbox:function(aa){return"checkbox"===aa.type},file:function(aa){return"file"===aa.type},password:function(aa){return"password"===aa.type},submit:function(aa){return"submit"===aa.type},image:function(aa){return"image"===aa.type},reset:function(aa){return"reset"===aa.type},button:function(aa){return"button"===aa.type||aa.nodeName.toLowerCase()==="button"},input:function(aa){return/input|select|textarea|button/i.test(aa.nodeName)}},setFilters:{first:function(ab,aa){return aa===0},last:function(bb,ba,ab,aa){return ba===aa.length-1},even:function(ab,aa){return aa%2===0},odd:function(ab,aa){return aa%2===1},lt:function(ba,ab,aa){return ab<aa[3]-0},gt:function(ba,ab,aa){return ab>aa[3]-0},nth:function(ba,ab,aa){return aa[3]-0===ab},eq:function(ba,ab,aa){return aa[3]-0===ab}},filter:{PSEUDO:function(bb,ba,ab,aa){var br=ba[1],bs=O.filters[br];if(bs){return bs(bb,ab,ba,aa)}else{if(br==="contains"){return(bb.textContent||bb.innerText||Y([bb])||"").indexOf(ba[3])>=0}else{if(br==="not"){ba=ba[3];ab=0;for(aa=ba.length;ab<aa;ab++){if(ba[ab]===bb){return false}}return true}else{P.error("Syntax error, unrecognized expression: "+br)}}}},CHILD:function(br,bb){var ab=bb[1],aa=br;switch(ab){case"only":case"first":for(;aa=aa.previousSibling;){if(aa.nodeType===1){return false}}if(ab==="first"){return true}aa=br;case"last":for(;aa=aa.nextSibling;){if(aa.nodeType===1){return false}}return true;case"nth":ab=bb[2];var bs=bb[3];if(ab===1&&bs===0){return true}bb=bb[0];var bt=br.parentNode;if(bt&&(bt.sizcache!==bb||!br.nodeIndex)){var ba=0;for(aa=bt.firstChild;aa;aa=aa.nextSibling){if(aa.nodeType===1){aa.nodeIndex=++ba}}bt.sizcache=bb}br=br.nodeIndex-bs;return ab===0?br===0:br%ab===0&&br/ab>=0}},ID:function(ab,aa){return ab.nodeType===1&&ab.getAttribute("id")===aa},TAG:function(ab,aa){return aa==="*"&&ab.nodeType===1||ab.nodeName.toLowerCase()===aa},CLASS:function(ab,aa){return(" "+(ab.className||ab.getAttribute("class"))+" ").indexOf(aa)>-1},ATTR:function(bb,ba){var ab=ba[1];bb=O.attrHandle[ab]?O.attrHandle[ab](bb):bb[ab]!=null?bb[ab]:bb.getAttribute(ab);ab=bb+"";var aa=ba[2];ba=ba[4];return bb==null?aa==="!=":aa==="="?ab===ba:aa==="*="?ab.indexOf(ba)>=0:aa==="~="?(" "+ab+" ").indexOf(ba)>=0:!ba?ab&&bb!==false:aa==="!="?ab!==ba:aa==="^="?ab.indexOf(ba)===0:aa==="$="?ab.substr(ab.length-ba.length)===ba:aa==="|="?ab===ba||ab.substr(0,ba.length+1)===ba+"-":false},POS:function(bb,ba,ab,aa){var br=O.setFilters[ba[2]];if(br){return br(bb,ab,ba,aa)}}}},K=O.match.POS;for(var F in O.match){O.match[F]=new RegExp(O.match[F].source+/(?![^\[]*\])(?![^\(]*\))/.source);O.leftMatch[F]=new RegExp(/(^(?:.|\r|\n)*?)/.source+O.match[F].source.replace(/\\(\d+)/g,function(ab,aa){return"\\"+(aa-0+1)}))}var w=function(ab,aa){ab=Array.prototype.slice.call(ab,0);if(aa){aa.push.apply(aa,ab);return aa}return ab};try{Array.prototype.slice.call(af.documentElement.childNodes,0)}catch(J){w=function(bb,ba){ba=ba||[];if(Q.call(bb)==="[object Array]"){Array.prototype.push.apply(ba,bb)}else{if(typeof bb.length==="number"){for(var ab=0,aa=bb.length;ab<aa;ab++){ba.push(bb[ab])}}else{for(ab=0;bb[ab];ab++){ba.push(bb[ab])}}}return ba}}var L;if(af.documentElement.compareDocumentPosition){L=function(ab,aa){if(!ab.compareDocumentPosition||!aa.compareDocumentPosition){if(ab==aa){R=true}return ab.compareDocumentPosition?-1:1}ab=ab.compareDocumentPosition(aa)&4?-1:ab===aa?0:1;if(ab===0){R=true}return ab}}else{if("sourceIndex" in af.documentElement){L=function(ab,aa){if(!ab.sourceIndex||!aa.sourceIndex){if(ab==aa){R=true}return ab.sourceIndex?-1:1}ab=ab.sourceIndex-aa.sourceIndex;if(ab===0){R=true}return ab}}else{if(af.createRange){L=function(bb,ba){if(!bb.ownerDocument||!ba.ownerDocument){if(bb==ba){R=true}return bb.ownerDocument?-1:1}var ab=bb.ownerDocument.createRange(),aa=ba.ownerDocument.createRange();ab.setStart(bb,0);ab.setEnd(bb,0);aa.setStart(ba,0);aa.setEnd(ba,0);bb=ab.compareBoundaryPoints(Range.START_TO_END,aa);if(bb===0){R=true}return bb}}}}(function(){var ba=af.createElement("div"),ab="script"+(new Date).getTime();ba.innerHTML="<a name='"+ab+"'/>";var aa=af.documentElement;aa.insertBefore(ba,aa.firstChild);if(af.getElementById(ab)){O.find.ID=function(bb,br,bs){if(typeof br.getElementById!=="undefined"&&!bs){return(br=br.getElementById(bb[1]))?br.id===bb[1]||typeof br.getAttributeNode!=="undefined"&&br.getAttributeNode("id").nodeValue===bb[1]?[br]:ae:[]}};O.filter.ID=function(bb,br){var bs=typeof bb.getAttributeNode!=="undefined"&&bb.getAttributeNode("id");return bb.nodeType===1&&bs&&bs.nodeValue===br}}aa.removeChild(ba);aa=ba=null})();(function(){var aa=af.createElement("div");aa.appendChild(af.createComment(""));if(aa.getElementsByTagName("*").length>0){O.find.TAG=function(bb,ba){ba=ba.getElementsByTagName(bb[1]);if(bb[1]==="*"){bb=[];for(var ab=0;ba[ab];ab++){ba[ab].nodeType===1&&bb.push(ba[ab])}ba=bb}return ba}}aa.innerHTML="<a href='#'></a>";if(aa.firstChild&&typeof aa.firstChild.getAttribute!=="undefined"&&aa.firstChild.getAttribute("href")!=="#"){O.attrHandle.href=function(ab){return ab.getAttribute("href",2)}}aa=null})();af.querySelectorAll&&function(){var ba=P,ab=af.createElement("div");ab.innerHTML="<p class='TEST'></p>";if(!(ab.querySelectorAll&&ab.querySelectorAll(".TEST").length===0)){P=function(bb,bt,bu,br){bt=bt||af;if(!br&&bt.nodeType===9&&!A(bt)){try{return w(bt.querySelectorAll(bb),bu)}catch(bs){}}return ba(bb,bt,bu,br)};for(var aa in ba){P[aa]=ba[aa]}ab=null}}();(function(){var aa=af.createElement("div");aa.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!aa.getElementsByClassName||aa.getElementsByClassName("e").length===0)){aa.lastChild.className="e";if(aa.getElementsByClassName("e").length!==1){O.order.splice(1,0,"CLASS");O.find.CLASS=function(bb,ba,ab){if(typeof ba.getElementsByClassName!=="undefined"&&!ab){return ba.getElementsByClassName(bb[1])}};aa=null}}})();var G=af.compareDocumentPosition?function(ab,aa){return !!(ab.compareDocumentPosition(aa)&16)}:function(ab,aa){return ab!==aa&&(ab.contains?ab.contains(aa):true)},A=function(aa){return(aa=(aa?aa.ownerDocument||aa:0).documentElement)?aa.nodeName!=="HTML":false},Z=function(bb,ba){var ab=[],aa="",br;for(ba=ba.nodeType?[ba]:ba;br=O.match.PSEUDO.exec(bb);){aa+=br[0];bb=bb.replace(O.match.PSEUDO,"")}bb=O.relative[bb]?bb+"*":bb;br=0;for(var bs=ba.length;br<bs;br++){P(bb,ba[br],ab)}return P.filter(aa,ab)};an.find=P;an.expr=P.selectors;an.expr[":"]=an.expr.filters;an.unique=P.uniqueSort;an.text=Y;an.isXMLDoc=A;an.contains=G})();var k=/Until$/,bh=/^(?:parents|prevUntil|prevAll)/,a2=/,/;aA=Array.prototype.slice;var aR=function(A,w,G){if(an.isFunction(w)){return an.grep(A,function(K,J){return !!w.call(K,J,K)===G})}else{if(w.nodeType){return an.grep(A,function(J){return J===w===G})}else{if(typeof w==="string"){var F=an.grep(A,function(J){return J.nodeType===1});if(aZ.test(w)){return an.filter(w,F,!G)}else{w=an.filter(w,F)}}}}return an.grep(A,function(J){return an.inArray(J,w)>=0===G})};an.fn.extend({find:function(A){for(var w=this.pushStack("","find",A),L=0,J=0,K=this.length;J<K;J++){L=w.length;an.find(A,this[J],w);if(J>0){for(var F=L;F<w.length;F++){for(var G=0;G<L;G++){if(w[G]===w[F]){w.splice(F--,1);break}}}}}return w},has:function(A){var w=an(A);return this.filter(function(){for(var G=0,F=w.length;G<F;G++){if(an.contains(this,w[G])){return true}}})},not:function(w){return this.pushStack(aR(this,w,false),"not",w)},filter:function(w){return this.pushStack(aR(this,w,true),"filter",w)},is:function(w){return !!w&&an.filter(w,this).length>0},closest:function(O,N){if(an.isArray(O)){var L=[],J=this[0],K,F={},G;if(J&&O.length){K=0;for(var w=O.length;K<w;K++){G=O[K];F[G]||(F[G]=an.expr.match.POS.test(G)?an(G,N||this.context):G)}for(;J&&J.ownerDocument&&J!==N;){for(G in F){K=F[G];if(K.jquery?K.index(J)>-1:an(J).is(K)){L.push({selector:G,elem:J});delete F[G]}}J=J.parentNode}}return L}var A=an.expr.match.POS.test(O)?an(O,N||this.context):null;return this.map(function(Q,P){for(;P&&P.ownerDocument&&P!==N;){if(A?A.index(P)>-1:an(P).is(O)){return P}P=P.parentNode}return null})},index:function(w){if(!w||typeof w==="string"){return an.inArray(this[0],w?an(w):this.parent().children())}return an.inArray(w.jquery?w[0]:w,this)},add:function(A,w){A=typeof A==="string"?an(A,w||this.context):an.makeArray(A);w=an.merge(this.get(),A);return this.pushStack(q(A[0])||q(w[0])?w:an.unique(w))},andSelf:function(){return this.add(this.prevObject)}});an.each({parent:function(w){return(w=w.parentNode)&&w.nodeType!==11?w:null},parents:function(w){return an.dir(w,"parentNode")},parentsUntil:function(A,w,F){return an.dir(A,"parentNode",F)},next:function(w){return an.nth(w,2,"nextSibling")},prev:function(w){return an.nth(w,2,"previousSibling")},nextAll:function(w){return an.dir(w,"nextSibling")},prevAll:function(w){return an.dir(w,"previousSibling")},nextUntil:function(A,w,F){return an.dir(A,"nextSibling",F)},prevUntil:function(A,w,F){return an.dir(A,"previousSibling",F)},siblings:function(w){return an.sibling(w.parentNode.firstChild,w)},children:function(w){return an.sibling(w.firstChild)},contents:function(w){return an.nodeName(w,"iframe")?w.contentDocument||w.contentWindow.document:an.makeArray(w.childNodes)}},function(A,w){an.fn[A]=function(J,F){var G=an.map(this,w,J);k.test(A)||(F=J);if(F&&typeof F==="string"){G=an.filter(F,G)}G=this.length>1?an.unique(G):G;if((this.length>1||a2.test(F))&&bh.test(A)){G=G.reverse()}return this.pushStack(G,A,aA.call(arguments).join(","))}});an.extend({filter:function(A,w,F){if(F){A=":not("+A+")"}return an.find.matches(A,w)},dir:function(A,w,G){var F=[];for(A=A[w];A&&A.nodeType!==9&&(G===ae||A.nodeType!==1||!an(A).is(G));){A.nodeType===1&&F.push(A);A=A[w]}return F},nth:function(A,w,G){w=w||1;for(var F=0;A;A=A[G]){if(A.nodeType===1&&++F===w){break}}return A},sibling:function(A,w){for(var F=[];A;A=A.nextSibling){A.nodeType===1&&A!==w&&F.push(A)}return F}});var ao=/ jQuery\d+="(?:\d+|null)"/g,ay=/^\s+/,M=/(<([\w:]+)[^>]*?)\/>/g,aJ=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,r=/<([\w:]+)/,ai=/<tbody/i,C=/<|&#?\w+;/,aV=/<script|<object|<embed|<option|<style/i,aq=/checked\s*(?:[^=]|=\s*.checked.)/i,bq=function(A,w,F){return aJ.test(F)?A:w+"></"+F+">"},aP={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};aP.optgroup=aP.option;aP.tbody=aP.tfoot=aP.colgroup=aP.caption=aP.thead;aP.th=aP.td;if(!an.support.htmlSerialize){aP._default=[1,"div<div>","</div>"]}an.fn.extend({text:function(w){if(an.isFunction(w)){return this.each(function(A){var F=an(this);F.text(w.call(this,A,F.text()))})}if(typeof w!=="object"&&w!==ae){return this.empty().append((this[0]&&this[0].ownerDocument||af).createTextNode(w))}return an.text(this)},wrapAll:function(A){if(an.isFunction(A)){return this.each(function(F){an(this).wrapAll(A.call(this,F))})}if(this[0]){var w=an(A,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&w.insertBefore(this[0]);w.map(function(){for(var F=this;F.firstChild&&F.firstChild.nodeType===1;){F=F.firstChild}return F}).append(this)}return this},wrapInner:function(w){if(an.isFunction(w)){return this.each(function(A){an(this).wrapInner(w.call(this,A))})}return this.each(function(){var A=an(this),F=A.contents();F.length?F.wrapAll(w):A.append(w)})},wrap:function(w){return this.each(function(){an(this).wrapAll(w)})},unwrap:function(){return this.parent().each(function(){an.nodeName(this,"body")||an(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(w){this.nodeType===1&&this.appendChild(w)})},prepend:function(){return this.domManip(arguments,true,function(w){this.nodeType===1&&this.insertBefore(w,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this)})}else{if(arguments.length){var w=an(arguments[0]);w.push.apply(w,this.toArray());return this.pushStack(w,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(A){this.parentNode.insertBefore(A,this.nextSibling)})}else{if(arguments.length){var w=this.pushStack(this,"after",arguments);w.push.apply(w,an(arguments[0]).toArray());return w}}},remove:function(A,w){for(var G=0,F;(F=this[G])!=null;G++){if(!A||an.filter(A,[F]).length){if(!w&&F.nodeType===1){an.cleanData(F.getElementsByTagName("*"));an.cleanData([F])}F.parentNode&&F.parentNode.removeChild(F)}}return this},empty:function(){for(var A=0,w;(w=this[A])!=null;A++){for(w.nodeType===1&&an.cleanData(w.getElementsByTagName("*"));w.firstChild;){w.removeChild(w.firstChild)}}return this},clone:function(A){var w=this.map(function(){if(!an.support.noCloneEvent&&!an.isXMLDoc(this)){var G=this.outerHTML,F=this.ownerDocument;if(!G){G=F.createElement("div");G.appendChild(this.cloneNode(true));G=G.innerHTML}return an.clean([G.replace(ao,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(ay,"")],F)[0]}else{return this.cloneNode(true)}});if(A===true){bp(this,w);bp(this.find("*"),w.find("*"))}return w},html:function(A){if(A===ae){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ao,""):null}else{if(typeof A==="string"&&!aV.test(A)&&(an.support.leadingWhitespace||!ay.test(A))&&!aP[(r.exec(A)||["",""])[1].toLowerCase()]){A=A.replace(M,bq);try{for(var w=0,G=this.length;w<G;w++){if(this[w].nodeType===1){an.cleanData(this[w].getElementsByTagName("*"));this[w].innerHTML=A}}}catch(F){this.empty().append(A)}}else{an.isFunction(A)?this.each(function(L){var J=an(this),K=J.html();J.empty().append(function(){return A.call(this,L,K)})}):this.empty().append(A)}}return this},replaceWith:function(w){if(this[0]&&this[0].parentNode){if(an.isFunction(w)){return this.each(function(A){var G=an(this),F=G.html();G.replaceWith(w.call(this,A,F))})}if(typeof w!=="string"){w=an(w).detach()}return this.each(function(){var A=this.nextSibling,F=this.parentNode;an(this).remove();A?an(A).before(w):an(F).append(w)})}else{return this.pushStack(an(an.isFunction(w)?w():w),"replaceWith",w)}},detach:function(w){return this.remove(w,true)},domManip:function(Q,P,O){function L(R){return an.nodeName(R,"table")?R.getElementsByTagName("tbody")[0]||R.appendChild(R.ownerDocument.createElement("tbody")):R}var N,J,K=Q[0],A=[],G;if(!an.support.checkClone&&arguments.length===3&&typeof K==="string"&&aq.test(K)){return this.each(function(){an(this).domManip(Q,P,O,true)})}if(an.isFunction(K)){return this.each(function(R){var T=an(this);Q[0]=K.call(this,R,P?T.html():ae);T.domManip(Q,P,O)})}if(this[0]){N=K&&K.parentNode;N=an.support.parentNode&&N&&N.nodeType===11&&N.childNodes.length===this.length?{fragment:N}:a9(Q,this,A);G=N.fragment;if(J=G.childNodes.length===1?(G=G.firstChild):G.firstChild){P=P&&an.nodeName(J,"tr");for(var F=0,w=this.length;F<w;F++){O.call(P?L(this[F],J):this[F],F>0||N.cacheable||this.length>1?G.cloneNode(true):G)}}A.length&&an.each(A,ac)}return this}});an.fragments={};an.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(A,w){an.fn[A]=function(L){var J=[];L=an(L);var K=this.length===1&&this[0].parentNode;if(K&&K.nodeType===11&&K.childNodes.length===1&&L.length===1){L[w](this[0]);return this}else{K=0;for(var F=L.length;K<F;K++){var G=(K>0?this.clone(true):this).get();an.fn[w].apply(an(L[K]),G);J=J.concat(G)}return this.pushStack(J,A,L.selector)}}});an.extend({clean:function(Q,P,O,L){P=P||af;if(typeof P.createElement==="undefined"){P=P.ownerDocument||P[0]&&P[0].ownerDocument||af}for(var N=[],J=0,K;(K=Q[J])!=null;J++){if(typeof K==="number"){K+=""}if(K){if(typeof K==="string"&&!C.test(K)){K=P.createTextNode(K)}else{if(typeof K==="string"){K=K.replace(M,bq);var A=(r.exec(K)||["",""])[1].toLowerCase(),G=aP[A]||aP._default,F=G[0],w=P.createElement("div");for(w.innerHTML=G[1]+K+G[2];F--;){w=w.lastChild}if(!an.support.tbody){F=ai.test(K);A=A==="table"&&!F?w.firstChild&&w.firstChild.childNodes:G[1]==="<table>"&&!F?w.childNodes:[];for(G=A.length-1;G>=0;--G){an.nodeName(A[G],"tbody")&&!A[G].childNodes.length&&A[G].parentNode.removeChild(A[G])}}!an.support.leadingWhitespace&&ay.test(K)&&w.insertBefore(P.createTextNode(ay.exec(K)[0]),w.firstChild);K=w.childNodes}}if(K.nodeType){N.push(K)}else{N=an.merge(N,K)}}}if(O){for(J=0;N[J];J++){if(L&&an.nodeName(N[J],"script")&&(!N[J].type||N[J].type.toLowerCase()==="text/javascript")){L.push(N[J].parentNode?N[J].parentNode.removeChild(N[J]):N[J])}else{N[J].nodeType===1&&N.splice.apply(N,[J+1,0].concat(an.makeArray(N[J].getElementsByTagName("script"))));O.appendChild(N[J])}}}return N},cleanData:function(O){for(var N,L,J=an.cache,K=an.event.special,F=an.support.deleteExpando,G=0,w;(w=O[G])!=null;G++){if(L=w[an.expando]){N=J[L];if(N.events){for(var A in N.events){K[A]?an.event.remove(w,A):aM(w,A,N.handle)}}if(F){delete w[an.expando]}else{w.removeAttribute&&w.removeAttribute(an.expando)}delete J[L]}}}});var m=/z-?index|font-?weight|opacity|zoom|line-?height/i,bc=/alpha\([^)]*\)/,aW=/opacity=([^)]*)/,aK=/float/i,aj=/-([a-z])/ig,bl=/([A-Z])/g,a5=/^-?\d+(?:px)?$/i,aO=/^-?\d/,al={position:"absolute",visibility:"hidden",display:"block"},H=["Left","Right"],p=["Top","Bottom"],bo=af.defaultView&&af.defaultView.getComputedStyle,ar=an.support.cssFloat?"cssFloat":"styleFloat",D=function(A,w){return w.toUpperCase()};an.fn.css=function(A,w){return aw(this,A,w,true,function(J,F,G){if(G===ae){return an.curCSS(J,F)}if(typeof G==="number"&&!m.test(F)){G+="px"}an.style(J,F,G)})};an.extend({style:function(A,w,J){if(!A||A.nodeType===3||A.nodeType===8){return ae}if((w==="width"||w==="height")&&parseFloat(J)<0){J=ae}var F=A.style||A,G=J!==ae;if(!an.support.opacity&&w==="opacity"){if(G){F.zoom=1;w=parseInt(J,10)+""==="NaN"?"":"alpha(opacity="+J*100+")";A=F.filter||an.curCSS(A,"filter")||"";F.filter=bc.test(A)?A.replace(bc,w):w}return F.filter&&F.filter.indexOf("opacity=")>=0?parseFloat(aW.exec(F.filter)[1])/100+"":""}if(aK.test(w)){w=ar}w=w.replace(aj,D);if(G){F[w]=J}return F[w]},css:function(A,w,L,J){if(w==="width"||w==="height"){var K,F=w==="width"?H:p;function G(){K=w==="width"?A.offsetWidth:A.offsetHeight;J!=="border"&&an.each(F,function(){J||(K-=parseFloat(an.curCSS(A,"padding"+this,true))||0);if(J==="margin"){K+=parseFloat(an.curCSS(A,"margin"+this,true))||0}else{K-=parseFloat(an.curCSS(A,"border"+this+"Width",true))||0}})}A.offsetWidth!==0?G():an.swap(A,al,G);return Math.max(0,Math.round(K))}return an.curCSS(A,w,L)},curCSS:function(A,w,K){var G,J=A.style;if(!an.support.opacity&&w==="opacity"&&A.currentStyle){G=aW.test(A.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return G===""?"1":G}if(aK.test(w)){w=ar}if(!K&&J&&J[w]){G=J[w]}else{if(bo){if(aK.test(w)){w="float"}w=w.replace(bl,"-$1").toLowerCase();J=A.ownerDocument.defaultView;if(!J){return null}if(A=J.getComputedStyle(A,null)){G=A.getPropertyValue(w)}if(w==="opacity"&&G===""){G="1"}}else{if(A.currentStyle){K=w.replace(aj,D);G=A.currentStyle[w]||A.currentStyle[K];if(!a5.test(G)&&aO.test(G)){w=J.left;var F=A.runtimeStyle.left;A.runtimeStyle.left=A.currentStyle.left;J.left=K==="fontSize"?"1em":G||0;G=J.pixelLeft+"px";J.left=w;A.runtimeStyle.left=F}}}}return G},swap:function(A,w,J){var F={};for(var G in w){F[G]=A.style[G];A.style[G]=w[G]}J.call(A);for(G in w){A.style[G]=F[G]}}});if(an.expr&&an.expr.filters){an.expr.filters.hidden=function(A){var w=A.offsetWidth,G=A.offsetHeight,F=A.nodeName.toLowerCase()==="tr";return w===0&&G===0&&!F?true:w>0&&G>0&&!F?false:an.curCSS(A,"display")==="none"};an.expr.filters.visible=function(w){return !an.expr.filters.hidden(w)}}var a8=aL(),aT=/<script(.|\s)*?\/script>/gi,ap=/select|textarea/i,S=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,aG=/=\?(&|$)/,n=/\?/,t=/(\?|&)_=.*?(&|$)/,f=/^(\w+:)?\/\/([^\/?#]+)/,bd=/%20/g,aX=an.fn.load;an.fn.extend({load:function(A,w,K){if(typeof A!=="string"){return aX.call(this,A)}else{if(!this.length){return this}}var G=A.indexOf(" ");if(G>=0){var J=A.slice(G,A.length);A=A.slice(0,G)}G="GET";if(w){if(an.isFunction(w)){K=w;w=null}else{if(typeof w==="object"){w=an.param(w,an.ajaxSettings.traditional);G="POST"}}}var F=this;an.ajax({url:A,type:G,dataType:"html",data:w,complete:function(L,N){if(N==="success"||N==="notmodified"){F.html(J?an("<div />").append(L.responseText.replace(aT,"")).find(J):L.responseText)}K&&F.each(K,[L.responseText,N,L])}});return this},serialize:function(){return an.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?an.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ap.test(this.nodeName)||S.test(this.type))}).map(function(A,w){A=an(this).val();return A==null?null:an.isArray(A)?an.map(A,function(F){return{name:w.name,value:F}}):{name:w.name,value:A}}).get()}});an.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(A,w){an.fn[w]=function(F){return this.bind(w,F)}});an.extend({get:function(A,w,G,F){if(an.isFunction(w)){F=F||G;G=w;w=null}return an.ajax({type:"GET",url:A,data:w,success:G,dataType:F})},getScript:function(A,w){return an.get(A,null,w,"script")},getJSON:function(A,w,F){return an.get(A,w,F,"json")},post:function(A,w,G,F){if(an.isFunction(w)){F=F||G;G=w;w={}}return an.ajax({type:"POST",url:A,data:w,success:G,dataType:F})},ajaxSetup:function(w){an.extend(an.ajaxSettings,w)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:aU.XMLHttpRequest&&(aU.location.protocol!=="file:"||!aU.ActiveXObject)?function(){return new aU.XMLHttpRequest}:function(){try{return new aU.ActiveXObject("Microsoft.XMLHTTP")}catch(w){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(ba){function ab(){Z.success&&Z.success.call(R,N,V,A);Z.global&&Y("ajaxSuccess",[A,Z])}function aa(){Z.complete&&Z.complete.call(R,A,V);Z.global&&Y("ajaxComplete",[A,Z]);Z.global&&!--an.active&&an.event.trigger("ajaxStop")}function Y(br,bs){(Z.context?an(Z.context):an.event).trigger(br,bs)}var Z=an.extend(true,{},an.ajaxSettings,ba),T,V,N,R=ba&&ba.context||Z,O=Z.type.toUpperCase();if(Z.data&&Z.processData&&typeof Z.data!=="string"){Z.data=an.param(Z.data,Z.traditional)}if(Z.dataType==="jsonp"){if(O==="GET"){aG.test(Z.url)||(Z.url+=(n.test(Z.url)?"&":"?")+(Z.jsonp||"callback")+"=?")}else{if(!Z.data||!aG.test(Z.data)){Z.data=(Z.data?Z.data+"&":"")+(Z.jsonp||"callback")+"=?"}}Z.dataType="json"}if(Z.dataType==="json"&&(Z.data&&aG.test(Z.data)||aG.test(Z.url))){T=Z.jsonpCallback||"jsonp"+a8++;if(Z.data){Z.data=(Z.data+"").replace(aG,"="+T+"$1")}Z.url=Z.url.replace(aG,"="+T+"$1");Z.dataType="script";aU[T]=aU[T]||function(br){N=br;ab();aa();aU[T]=ae;try{delete aU[T]}catch(bs){}w&&w.removeChild(J)}}if(Z.dataType==="script"&&Z.cache===null){Z.cache=false}if(Z.cache===false&&O==="GET"){var K=aL(),F=Z.url.replace(t,"$1_="+K+"$2");Z.url=F+(F===Z.url?(n.test(Z.url)?"&":"?")+"_="+K:"")}if(Z.data&&O==="GET"){Z.url+=(n.test(Z.url)?"&":"?")+Z.data}Z.global&&!an.active++&&an.event.trigger("ajaxStart");K=(K=f.exec(Z.url))&&(K[1]&&K[1]!==location.protocol||K[2]!==location.host);if(Z.dataType==="script"&&O==="GET"&&K){var w=af.getElementsByTagName("head")[0]||af.documentElement,J=af.createElement("script");J.src=Z.url;if(Z.scriptCharset){J.charset=Z.scriptCharset}if(!T){var L=false;J.onload=J.onreadystatechange=function(){if(!L&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){L=true;ab();aa();J.onload=J.onreadystatechange=null;w&&J.parentNode&&w.removeChild(J)}}}w.insertBefore(J,w.firstChild);return ae}var G=false,A=Z.xhr();if(A){Z.username?A.open(O,Z.url,Z.async,Z.username,Z.password):A.open(O,Z.url,Z.async);try{if(Z.data||ba&&ba.contentType){A.setRequestHeader("Content-Type",Z.contentType)}if(Z.ifModified){an.lastModified[Z.url]&&A.setRequestHeader("If-Modified-Since",an.lastModified[Z.url]);an.etag[Z.url]&&A.setRequestHeader("If-None-Match",an.etag[Z.url])}K||A.setRequestHeader("X-Requested-With","XMLHttpRequest");A.setRequestHeader("Accept",Z.dataType&&Z.accepts[Z.dataType]?Z.accepts[Z.dataType]+", */*":Z.accepts._default)}catch(bb){}if(Z.beforeSend&&Z.beforeSend.call(R,A,Z)===false){Z.global&&!--an.active&&an.event.trigger("ajaxStop");A.abort();return false}Z.global&&Y("ajaxSend",[A,Z]);var X=A.onreadystatechange=function(bs){if(!A||A.readyState===0||bs==="abort"){G||aa();G=true;if(A){A.onreadystatechange=an.noop}}else{if(!G&&A&&(A.readyState===4||bs==="timeout")){G=true;A.onreadystatechange=an.noop;V=bs==="timeout"?"timeout":!an.httpSuccess(A)?"error":Z.ifModified&&an.httpNotModified(A,Z.url)?"notmodified":"success";var bt;if(V==="success"){try{N=an.httpData(A,Z.dataType,Z)}catch(br){V="parsererror";bt=br}}if(V==="success"||V==="notmodified"){T||ab()}else{an.handleError(Z,A,V,bt)}aa();bs==="timeout"&&A.abort();if(Z.async){A=null}}}};try{var W=A.abort;A.abort=function(){A&&W.call(A);X("abort")}}catch(Q){}Z.async&&Z.timeout>0&&setTimeout(function(){A&&!G&&X("timeout")},Z.timeout);try{A.send(O==="POST"||O==="PUT"||O==="DELETE"?Z.data:null)}catch(P){an.handleError(Z,A,null,P);aa()}Z.async||X();return A}},handleError:function(A,w,G,F){if(A.error){A.error.call(A.context||A,w,G,F)}if(A.global){(A.context?an(A.context):an.event).trigger("ajaxError",[w,A,F])}},active:0,httpSuccess:function(A){try{return !A.status&&location.protocol==="file:"||A.status>=200&&A.status<300||A.status===304||A.status===1223||A.status===0}catch(w){}return false},httpNotModified:function(A,w){var G=A.getResponseHeader("Last-Modified"),F=A.getResponseHeader("Etag");if(G){an.lastModified[w]=G}if(F){an.etag[w]=F}return A.status===304||A.status===0},httpData:function(A,w,J){var F=A.getResponseHeader("content-type")||"",G=w==="xml"||!w&&F.indexOf("xml")>=0;A=G?A.responseXML:A.responseText;G&&A.documentElement.nodeName==="parsererror"&&an.error("parsererror");if(J&&J.dataFilter){A=J.dataFilter(A,w)}if(typeof A==="string"){if(w==="json"||!w&&F.indexOf("json")>=0){A=an.parseJSON(A)}else{if(w==="script"||!w&&F.indexOf("javascript")>=0){an.globalEval(A)}}}return A},param:function(A,w){function K(L,N){if(an.isArray(N)){an.each(N,function(O,P){w||/\[\]$/.test(L)?G(L,P):K(L+"["+(typeof P==="object"||an.isArray(P)?O:"")+"]",P)})}else{!w&&N!=null&&typeof N==="object"?an.each(N,function(O,P){K(L+"["+O+"]",P)}):G(L,N)}}function G(L,N){N=an.isFunction(N)?N():N;J[J.length]=encodeURIComponent(L)+"="+encodeURIComponent(N)}var J=[];if(w===ae){w=an.ajaxSettings.traditional}if(an.isArray(A)||A.jquery){an.each(A,function(){G(this.name,this.value)})}else{for(var F in A){K(F,A[F])}}return J.join("&").replace(bd,"+")}});var bm={},bi=/toggle|show|hide/,a3=/^([+-]=)?([\d+-.]+)(.*)$/,ax,U=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];an.fn.extend({show:function(A,w){if(A||A===0){return this.animate(aI("show",3),A,w)}else{A=0;for(w=this.length;A<w;A++){var J=an.data(this[A],"olddisplay");this[A].style.display=J||"";if(an.css(this[A],"display")==="none"){J=this[A].nodeName;var F;if(bm[J]){F=bm[J]}else{var G=an("<"+J+" />").appendTo("body");F=G.css("display");if(F==="none"){F="block"}G.remove();bm[J]=F}an.data(this[A],"olddisplay",F)}}A=0;for(w=this.length;A<w;A++){this[A].style.display=an.data(this[A],"olddisplay")||""}return this}},hide:function(A,w){if(A||A===0){return this.animate(aI("hide",3),A,w)}else{A=0;for(w=this.length;A<w;A++){var F=an.data(this[A],"olddisplay");!F&&F!=="none"&&an.data(this[A],"olddisplay",an.css(this[A],"display"))}A=0;for(w=this.length;A<w;A++){this[A].style.display="none"}return this}},_toggle:an.fn.toggle,toggle:function(A,w){var F=typeof A==="boolean";if(an.isFunction(A)&&an.isFunction(w)){this._toggle.apply(this,arguments)}else{A==null||F?this.each(function(){var G=F?A:an(this).is(":hidden");an(this)[G?"show":"hide"]()}):this.animate(aI("toggle",3),A,w)}return this},fadeTo:function(A,w,F){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:w},A,F)},animate:function(A,w,J,F){var G=an.speed(w,J,F);if(an.isEmptyObject(A)){return this.each(G.complete)}return this[G.queue===false?"each":"queue"](function(){var L=an.extend({},G),N,O=this.nodeType===1&&an(this).is(":hidden"),K=this;for(N in A){var P=N.replace(aj,D);if(N!==P){A[P]=A[N];delete A[N];N=P}if(A[N]==="hide"&&O||A[N]==="show"&&!O){return L.complete.call(this)}if((N==="height"||N==="width")&&this.style){L.display=an.css(this,"display");L.overflow=this.style.overflow}if(an.isArray(A[N])){(L.specialEasing=L.specialEasing||{})[N]=A[N][1];A[N]=A[N][0]}}if(L.overflow!=null){this.style.overflow="hidden"}L.curAnim=an.extend({},A);an.each(A,function(R,Q){var W=new an.fx(K,L,R);if(bi.test(Q)){W[Q==="toggle"?O?"show":"hide":Q](A)}else{var V=a3.exec(Q),X=W.cur(true)||0;if(V){Q=parseFloat(V[2]);var T=V[3]||"px";if(T!=="px"){K.style[R]=(Q||1)+T;X=(Q||1)/W.cur(true)*X;K.style[R]=X+T}if(V[1]){Q=(V[1]==="-="?-1:1)*Q+X}W.custom(X,Q,T)}else{W.custom(X,Q,"")}}});return true})},stop:function(A,w){var F=an.timers;A&&this.queue([]);this.each(function(){for(var G=F.length-1;G>=0;G--){if(F[G].elem===this){w&&F[G](true);F.splice(G,1)}}});w||this.dequeue();return this}});an.each({slideDown:aI("show",1),slideUp:aI("hide",1),slideToggle:aI("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(A,w){an.fn[A]=function(G,F){return this.animate(w,G,F)}});an.extend({speed:function(A,w,G){var F=A&&typeof A==="object"?A:{complete:G||!G&&w||an.isFunction(A)&&A,duration:A,easing:G&&w||w&&!an.isFunction(w)&&w};F.duration=an.fx.off?0:typeof F.duration==="number"?F.duration:an.fx.speeds[F.duration]||an.fx.speeds._default;F.old=F.complete;F.complete=function(){F.queue!==false&&an(this).dequeue();an.isFunction(F.old)&&F.old.call(this)};return F},easing:{linear:function(A,w,G,F){return G+F*A},swing:function(A,w,G,F){return(-Math.cos(A*Math.PI)/2+0.5)*F+G}},timers:[],fx:function(A,w,F){this.options=w;this.elem=A;this.prop=F;if(!w.orig){w.orig={}}}});an.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(an.fx.step[this.prop]||an.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(w){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}return(w=parseFloat(an.css(this.elem,this.prop,w)))&&w>-10000?w:parseFloat(an.curCSS(this.elem,this.prop))||0},custom:function(A,w,J){function F(K){return G.step(K)}this.startTime=aL();this.start=A;this.end=w;this.unit=J||this.unit||"px";this.now=this.start;this.pos=this.state=0;var G=this;F.elem=this.elem;if(F()&&an.timers.push(F)&&!ax){ax=setInterval(an.fx.tick,13)}},show:function(){this.options.orig[this.prop]=an.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());an(this.elem).show()},hide:function(){this.options.orig[this.prop]=an.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(A){var w=aL(),J=true;if(A||w>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){J=false}}if(J){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;A=an.data(this.elem,"olddisplay");this.elem.style.display=A?A:this.options.display;if(an.css(this.elem,"display")==="none"){this.elem.style.display="block"}}this.options.hide&&an(this.elem).hide();if(this.options.hide||this.options.show){for(var G in this.options.curAnim){an.style(this.elem,G,this.options.orig[G])}}this.options.complete.call(this.elem)}return false}else{G=w-this.startTime;this.state=G/this.options.duration;A=this.options.easing||(an.easing.swing?"swing":"linear");this.pos=an.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||A](this.state,G,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};an.extend(an.fx,{tick:function(){for(var A=an.timers,w=0;w<A.length;w++){A[w]()||A.splice(w--,1)}A.length||an.fx.stop()},stop:function(){clearInterval(ax);ax=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(w){an.style(w.elem,"opacity",w.now)},_default:function(w){if(w.elem.style&&w.elem.style[w.prop]!=null){w.elem.style[w.prop]=(w.prop==="width"||w.prop==="height"?Math.max(0,w.now):w.now)+w.unit}else{w.elem[w.prop]=w.now}}}});if(an.expr&&an.expr.filters){an.expr.filters.animated=function(w){return an.grep(an.timers,function(A){return w===A.elem}).length}}an.fn.offset="getBoundingClientRect" in af.documentElement?function(A){var w=this[0];if(A){return this.each(function(J){an.offset.setOffset(this,A,J)})}if(!w||!w.ownerDocument){return null}if(w===w.ownerDocument.body){return an.offset.bodyOffset(w)}var G=w.getBoundingClientRect(),F=w.ownerDocument;w=F.body;F=F.documentElement;return{top:G.top+(self.pageYOffset||an.support.boxModel&&F.scrollTop||w.scrollTop)-(F.clientTop||w.clientTop||0),left:G.left+(self.pageXOffset||an.support.boxModel&&F.scrollLeft||w.scrollLeft)-(F.clientLeft||w.clientLeft||0)}}:function(P){var O=this[0];if(P){return this.each(function(Q){an.offset.setOffset(this,P,Q)})}if(!O||!O.ownerDocument){return null}if(O===O.ownerDocument.body){return an.offset.bodyOffset(O)}an.offset.initialize();var N=O.offsetParent,K=O,L=O.ownerDocument,G,J=L.documentElement,w=L.body;K=(L=L.defaultView)?L.getComputedStyle(O,null):O.currentStyle;for(var F=O.offsetTop,A=O.offsetLeft;(O=O.parentNode)&&O!==w&&O!==J;){if(an.offset.supportsFixedPosition&&K.position==="fixed"){break}G=L?L.getComputedStyle(O,null):O.currentStyle;F-=O.scrollTop;A-=O.scrollLeft;if(O===N){F+=O.offsetTop;A+=O.offsetLeft;if(an.offset.doesNotAddBorder&&!(an.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(O.nodeName))){F+=parseFloat(G.borderTopWidth)||0;A+=parseFloat(G.borderLeftWidth)||0}K=N;N=O.offsetParent}if(an.offset.subtractsBorderForOverflowNotVisible&&G.overflow!=="visible"){F+=parseFloat(G.borderTopWidth)||0;A+=parseFloat(G.borderLeftWidth)||0}K=G}if(K.position==="relative"||K.position==="static"){F+=w.offsetTop;A+=w.offsetLeft}if(an.offset.supportsFixedPosition&&K.position==="fixed"){F+=Math.max(J.scrollTop,w.scrollTop);A+=Math.max(J.scrollLeft,w.scrollLeft)}return{top:F,left:A}};an.offset={initialize:function(){var A=af.body,w=af.createElement("div"),K,G,J,F=parseFloat(an.curCSS(A,"marginTop",true))||0;an.extend(w.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});w.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";A.insertBefore(w,A.firstChild);K=w.firstChild;G=K.firstChild;J=K.nextSibling.firstChild.firstChild;this.doesNotAddBorder=G.offsetTop!==5;this.doesAddBorderForTableAndCells=J.offsetTop===5;G.style.position="fixed";G.style.top="20px";this.supportsFixedPosition=G.offsetTop===20||G.offsetTop===15;G.style.position=G.style.top="";K.style.overflow="hidden";K.style.position="relative";this.subtractsBorderForOverflowNotVisible=G.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=A.offsetTop!==F;A.removeChild(w);an.offset.initialize=an.noop},bodyOffset:function(A){var w=A.offsetTop,F=A.offsetLeft;an.offset.initialize();if(an.offset.doesNotIncludeMarginInBodyOffset){w+=parseFloat(an.curCSS(A,"marginTop",true))||0;F+=parseFloat(an.curCSS(A,"marginLeft",true))||0}return{top:w,left:F}},setOffset:function(A,w,L){if(/static/.test(an.curCSS(A,"position"))){A.style.position="relative"}var J=an(A),K=J.offset(),F=parseInt(an.curCSS(A,"top",true),10)||0,G=parseInt(an.curCSS(A,"left",true),10)||0;if(an.isFunction(w)){w=w.call(A,L,K)}L={top:w.top-K.top+F,left:w.left-K.left+G};"using" in w?w.using.call(A,L):J.css(L)}};an.fn.extend({position:function(){if(!this[0]){return null}var A=this[0],w=this.offsetParent(),G=this.offset(),F=/^body|html$/i.test(w[0].nodeName)?{top:0,left:0}:w.offset();G.top-=parseFloat(an.curCSS(A,"marginTop",true))||0;G.left-=parseFloat(an.curCSS(A,"marginLeft",true))||0;F.top+=parseFloat(an.curCSS(w[0],"borderTopWidth",true))||0;F.left+=parseFloat(an.curCSS(w[0],"borderLeftWidth",true))||0;return{top:G.top-F.top,left:G.left-F.left}},offsetParent:function(){return this.map(function(){for(var w=this.offsetParent||af.body;w&&!/^body|html$/i.test(w.nodeName)&&an.css(w,"position")==="static";){w=w.offsetParent}return w})}});an.each(["Left","Top"],function(A,w){var F="scroll"+w;an.fn[F]=function(J){var K=this[0],G;if(!K){return null}if(J!==ae){return this.each(function(){if(G=u(this)){G.scrollTo(!A?J:an(G).scrollLeft(),A?J:an(G).scrollTop())}else{this[F]=J}})}else{return(G=u(K))?"pageXOffset" in G?G[A?"pageYOffset":"pageXOffset"]:an.support.boxModel&&G.document.documentElement[F]||G.document.body[F]:K[F]}}});an.each(["Height","Width"],function(A,w){var F=w.toLowerCase();an.fn["inner"+w]=function(){return this[0]?an.css(this[0],F,false,"padding"):null};an.fn["outer"+w]=function(G){return this[0]?an.css(this[0],F,false,G?"margin":"border"):null};an.fn[F]=function(G){var J=this[0];if(!J){return G==null?null:this}if(an.isFunction(G)){return this.each(function(K){var L=an(this);L[F](G.call(this,K,L[F]()))})}return"scrollTo" in J&&J.document?J.document.compatMode==="CSS1Compat"&&J.document.documentElement["client"+w]||J.document.body["client"+w]:J.nodeType===9?Math.max(J.documentElement["client"+w],J.body["scroll"+w],J.documentElement["scroll"+w],J.body["offset"+w],J.documentElement["offset"+w]):G===ae?an.css(J,F):this.css(F,typeof G==="string"?G:G+"px")}});aU.jQuery=aU.$=an})(window);
/*!
 * BEGIN /web/fw/lib/jqmodal.js
 */
(function(k){k.fn.jqm=function(m){var f={overlay:50,overlayClass:"jqmOverlay",closeClass:"jqmClose",trigger:".jqModal",ajax:false,ajaxText:"",target:false,modal:false,toTop:false,onShow:false,onHide:false,noAutoFocus:false,onLoad:false};return this.each(function(){if(this._jqm){return q[this._jqm].c=k.extend({},q[this._jqm].c,m)}t++;this._jqm=t;q[t]={c:k.extend(f,m),a:false,w:k(this).addClass("jqmID"+t),s:t};if(f.trigger){k(this).jqmAddTrigger(f.trigger)}})};k.fn.jqmAddClose=function(f){p(this,f,"jqmHide");return this};k.fn.jqmAddTrigger=function(f){p(this,f,"jqmShow");return this};k.fn.jqmShow=function(f){return this.each(function(){if(!q[this._jqm].a){k.jqm.open(this._jqm,f)}})};k.fn.jqmHide=function(f){return this.each(function(){if(q[this._jqm].a){k.jqm.close(this._jqm,f)}})};k.jqm={hash:{},open:function(F,E){var w=q[F],A=w.c,v="."+A.closeClass,B=(parseInt(w.w.css("z-index"))),B=(B>0)?B:3000,m=k("<div></div>").css({height:"100%",width:"100%",position:"fixed",left:0,top:0,"z-index":B-1,opacity:A.overlay/100});w.t=E;w.a=true;w.w.css("z-index",B);if(A.modal){if(!g[0]){r("bind")}g.push(F);m.css("cursor","wait")}else{if(A.overlay>0){w.w.jqmAddClose(m)}else{m=false}}w.o=(m)?m.addClass(A.overlayClass).prependTo("body"):false;if(j){k("html,body").css({height:"100%",width:"100%"});if(m){m=m.css({position:"absolute"})[0];for(var C in {Top:1,Left:1}){m.style.setExpression(C.toLowerCase(),"(_=(document.documentElement.scroll"+C+" || document.body.scroll"+C+"))+'px'")}}}if(A.ajax){var f=A.target||w.w,D=A.ajax,f=(typeof f=="string")?k(f,w.w):k(f),D=(D.substr(0,1)=="@")?k(E).attr(D.substring(1)):D;f.html(A.ajaxText).load(D,function(){if(A.onLoad){A.onLoad.call(this,w)}if(v){w.w.jqmAddClose(k(v,w.w))}o(w)})}else{if(v){w.w.jqmAddClose(k(v,w.w))}}if(A.toTop&&w.o){w.w.before('<span id="jqmP'+w.w[0]._jqm+'"></span>').insertAfter(w.o)}(A.onShow)?A.onShow(w):w.w.show();o(w);return false},close:function(m){var f=q[m];f.a=false;if(g[0]){g.pop();if(!g[0]){r("unbind")}}if(f.c.toTop&&f.o){k("#jqmP"+f.w[0]._jqm).after(f.w).remove()}if(f.c.onHide){f.c.onHide(f)}else{f.w.hide();if(f.o){f.o.remove()}}return false}};var t=0,q=k.jqm.hash,g=[],j=k.browser.msie&&(k.browser.version=="6.0"),l=k('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),o=function(f){if(j){if(f.o){f.o.html('<p style="width:100%;height:100%"/>').prepend(l)}else{if(!k("iframe.jqm",f.w)[0]){f.w.prepend(l)}}}n(f)},n=function(f){if(f.c.noAutoFocus){return}try{k(":input:visible",f.w)[0].focus()}catch(m){}},r=function(f){k()[f]("keypress",h)[f]("keydown",h)[f]("mousedown",h)},h=function(u){var f=q[g[g.length-1]],m=(!k(u.target).parents(".jqmID"+f.s)[0]);if(m){n(f)}return !m},p=function(f,u,v){var m=[];f.each(function(){m.push(this._jqm)});k(u).each(function(){if(this[v]){k.extend(this[v],m)}else{this[v]=m;k(this).click(function(){for(var w in {jqmShow:1,jqmHide:1}){for(var y in this[w]){if(q[this[w][y]]){q[this[w][y]].w[w](this)}}}return false})}})}})(jQuery);
/*!
 * BEGIN /web/fw/j/homepage_frag/_util_frag.js
 */
if(window.cdc===undefined){window.cdc={}}cdc.util={ensureNamespace:function(g){if(!g){return}var h=g.split(".");var j=window;for(var f=0;f<h.length;f++){var k=h[f];if(typeof(j[k])!="object"){j[k]={}}j=j[k]}},checkClear:function(f,g){if(f.value==g){f.value=""}if(f.id=="searchPhrase"){if(!document.getElementById("search-drop-down")){setupSearch()}if(document.getElementById("search-drop-down")){showSuggestionsContainer()}}},isAuthenticated:function(){var f=cdc.cookie.getCookie("SMSESSION");var g=null;if(f&&f!=""&&f!="LOGGEDOFF"){g=true}else{g=false}return g},openCdcPopup:function(j,k,f){if(!j){return true}var l="";var m="";var h="globalCDCpopup";if(typeof(j)=="object"){k=j.width;f=j.height;xtop=typeof(j.top)!="undefined"?j.top:"";left=typeof(j.left)!="undefined"?j.left:"";m="top="+xtop+",left="+left+",";if(typeof(j.windowName)!="undefined"){h=j.windowName}if(j.controls!=false){if(typeof(j.location)!="undefined"&&j.location=="no"){var l=",toolbar=yes,location=no,menubar=yes"}else{var l=",toolbar=yes,location=yes,menubar=yes"}}j=j.address}k=isNaN(parseInt(k))?550:parseInt(k);f=isNaN(parseInt(f))?550:parseInt(f);if(document.all){k=k+20}m+="width="+k+",height="+f+",status=yes,scrollbars=yes,resizable=yes"+l;var g=window.open(j,h,m);if(g){g.focus()}return false},onElementLoadById:(function(){var f=false;jQuery(document).ready(function(){f=true});function g(h){if(f){return true}while(h){if(h.nextSibling){return true}h=h.parentNode}return false}return function(k,j){var h=false;(function(){h=h||document.getElementById(k);if(h&&g(h)){j.call(h)}else{window.setTimeout(arguments.callee,100)}})()}})()};cdc.util.ensureNamespace("cdc.util.logoutdialog");cdc.util.logoutdialog.show=function(){cdc.util.ensureNamespace("cdc.local.wpx");if(!jQuery("#logoutmsg").length){cdc.local.wpx=jQuery.extend({LOGOUT_MODAL_TITLE:"Log Out",LOGOUT_MODAL_QUERY:"You are about to log out of Cisco.com.<br />If your task is incomplete, please click Cancel to finish or save.",LOGOUT_YES_BUTTON_TEXT:"Log Out",LOGOUT_NO_BUTTON_TEXT:"Cancel"},cdc.local.wpx);cdc.util.logoutdialog.url=jQuery(".ft-logout a").attr("href");cdc.util.logoutdialog.html='<div id="logoutmsg"><span id="lm-corner-top"><span></span></span><h4>'+cdc.local.wpx.LOGOUT_MODAL_TITLE+"</h4><div>"+cdc.local.wpx.LOGOUT_MODAL_QUERY+'</div><a class="a00v1" href="'+cdc.util.logoutdialog.url+'">'+cdc.local.wpx.LOGOUT_YES_BUTTON_TEXT+'</a><a id="logoutclose" class="a00v1" href="javascript:return false">'+cdc.local.wpx.LOGOUT_NO_BUTTON_TEXT+'</a><span id="lm-corner-bot"><span></span></span></div>';jQuery(".ft-logout a").append(cdc.util.logoutdialog.html);jQuery("#logoutmsg").jqm({modal:true,toTop:true}).jqmAddClose("#logoutmsg #logoutclose")}jQuery("#logoutmsg").css("left",jQuery("#fw-banner").offset().left+240+"px");jQuery("#logoutmsg").jqmShow();return false};if(!(jQuery.browser.msie&&jQuery.browser.version<"7")){jQuery(".ft-logout a[href]").live("click",cdc.util.logoutdialog.show);
/*!
 * BEGIN /web/fw/j/cors.js
 */
}cdc.util.ensureNamespace("cdc.util.cors");cdc.util.cors.CORS=(function(){var f=(function(){var o=(function(){var p=document.createElement("a");return function(q){p.href=q;return p.href}})();var g=(function(){var p=/^(.*\/\/[^\/]*).*$/;return function(q,r){r=!!r;var t=q.match(p);if(!t&&r){return""}return t?t[1]:g(location.href,true)}})();var n=false;var j=function(q,p){n=n||document.createElement("div");n.innerHTML=q;var r=false;if(n.querySelector){r=n.querySelector("#"+p)}else{r=k(n,p)}if(r){var t=r.outerHTML;if(t){return t}n.innerHTML="";n.appendChild(r);return n.innerHTML}return null};function k(r,v){var u=[r];while(u.length){r=u.shift();if(r.id&&r.id===v){return r}for(var p=0;p<r.childNodes.length;p++){var t=r.childNodes[p];if(t.nodeType===1){u.push(t)}}}return null}var h={};var m=function(){};var l=function(){if(!(this instanceof arguments.callee)){throw new Error("constructor called as function (missing 'new' keyword)")}var E,y={};if(window.XMLHttpRequest){E=new XMLHttpRequest();if(E.withCredentials===undefined&&window.XDomainRequest){y=new XDomainRequest()}}else{if(window.ActiveXObject){try{E=new ActiveXObject("Msxml2.XMLHTTP")}catch(t){try{E=new ActiveXObject("Msxml3.XMLHTTP")}catch(r){try{E=new ActiveXObject("Microsoft.XMLHTTP")}catch(p){throw new Error("XML HTTP request not implemented")}}}}else{throw new Error("XML HTTP request not implemented")}}var w;var G=false;var A=false;this.open=function(K,H){K=K.toUpperCase();if(K!=="GET"){throw new Error(K+" method not allowed")}H=o(H);if(y.open&&g(H)!==g(location.href)){E=y}var J=H.indexOf("#");if(J>-1){G=H.substring(J+1);H=H.substring(0,J)}w=H;try{E.open(K,H)}catch(I){A=I}};var v,F,D;var u=m;var z=m;var B=m;var C=m;var q=false;this.setHandlers=function(J){u=J.setup||u;z=J.success||z;B=J.failBeforeSetup||B;C=J.failAfterSetup||C;q=!!J.caching;var L=false;var H=false;var I=false;v=function(){if(L||H||I){return}L=true;u()};F=function(M){if(q){h[w]=M}if(G){M=j(M,G);if(M===null){D("fragment #"+G+" not found")}}v();if(H||I){return}H=true;z(M)};D=function(M){if(I||H){return}I=true;L?C(M):B(M)};E.onreadystatechange=y.onreadystatechange=function(){if(E.readyState===4){if(E.status===200){F(E.responseText)}else{if(E.status>0){D("error: "+E.status+": "+E.statusText)}else{D("unspecified error")}}}};try{E.onload=y.onload=function(){F(E.responseText)}}catch(K){}try{E.onerror=y.onerror=function(){D("unspecified error")}}catch(K){}try{E.onabort=y.onabort=function(){D("the request was aborted")}}catch(K){}try{E.ontimeout=y.ontimeout=function(){D("the request timed out")}}catch(K){}};this.send=function(){if(q&&h.hasOwnProperty(w)){F(h[w]);return}if(A){D(A.message)}else{try{E.send(null)}catch(H){D(H.message)}v()}}};return l})();return f})();
/*!
 * BEGIN /web/fw/w/includer.js
 */
var host=location.host;if(typeof(cdc)=="undefined"){cdc={}}if(typeof(cdc.includer)=="undefined"){cdc.includer={};if(typeof(cdc.includer.alreadyInPage)=="undefined"){cdc.includer.alreadyInPage=[]}if(typeof(cdc.includer.asset_prefix)=="undefined"){cdc.includer.asset_prefix=""}cdc.includer.domainConfig={subdomains:["newsroom","tools","about","investor","apps"]};cdc.includer.addSubDomain=function(f){if(typeof f=="string"){f=[f]}if(f.length){for(i in f){if(cdc.includer.domainConfig.subdomains.join().indexOf(""+f[i])<0){cdc.includer.domainConfig.subdomains.push(f[i])}}}};cdc.includer.removeSubDomain=function(f){if(typeof f=="string"){f=[f]}if(f.length){for(i in f){if(cdc.includer.domainConfig.subdomains.join().indexOf(""+f[i])>0){arrString=cdc.includer.domainConfig.subdomains.join("~");arrString=arrString.split("~");cdc.includer.domainConfig.subdomains=[];for(x in arrString){if(arrString[x]!=f[i]){cdc.includer.domainConfig.subdomains.push(arrString[x])}}}}}};cdc.includer.widgets={"module-sbt":{js:["//cisco.com/cdc_content_elements/visualsciences/visualsciences.js","/web/fw/j/sbt.js"],css:["/web/fw/c/sbt.css"]},"cdc-widget-accordion":{js:["//www.cisco.com/cdc_content_elements/visualsciences/visualsciences.js","/web/fw/lib/jquery.hoverIntent.minified.js","/web/fw/w/accordion/widget-accordion.js"]},"data-hero":{js:["/web/fw/m/series-models-rules.js"]},"support-mm-item":{js:["/web/fw/lib/jQuery.equalHeights.js"]},"cdc-widget-lightbox":{js:["/web/fw/lib/jqmodal.js","/web/fw/lib/jquery.bgiframe.min.js","//www.cisco.com/cdc_content_elements/flash/swfobject/swfobject.js","/web/fw/w/lightbox/lightbox.js"],css:["/web/fw/w/lightbox/lightbox.css"]},_default:{js:["/web/fw/w/cl/cl.js"]}};cdc.includer.search=function(f){for(id in f){if(id=="_default"||document.getElementById(id)){if(f[id]["css"]&&f[id]["css"].length){cdc.includer.loadCss(f[id]["css"])}if(f[id]["js"]&&f[id]["js"].length){cdc.includer.loadJs(f[id]["js"],{callback:f[id]["callback"]})}else{if(f[id]["callback"]){(f[id]["callback"])()}}}}};cdc.includer.uniquifyIncludes=function(h,j){var k={};var l=[];var m,g;if(j=="js"){m="script";g="src"}else{if(j=="css"){m="link";g="href"}}for(var f=0;f<h.length;f++){if(h[f].match(/^\//)){h[f]=cdc.includer.asset_prefix+h[f]}k[h[f]]=1}if(typeof(cdc.includer.alreadyInPage)!="undefined"){for(var f=0;f<cdc.includer.alreadyInPage.length;f++){k[cdc.includer.alreadyInPage[f]]=0}}jQuery(m).each(function(){if(this[g]){var n=this[g].replace(/http:\/\/[^\/]*/,"");n=n.replace(/[\&\?]cacheReset=[0-9\-]*/,"");k[n]=0}});for(var f=0;f<h.length;f++){if(k[h[f]]){l.push(h[f])}}return l};cdc.includer.loadCss=function(j,f){if(typeof j=="string"){j=[j]}if(!f){f={}}j=cdc.includer.uniquifyIncludes(j,"css");for(var h=0;h<j.length;h++){var g=document.createElement("link");g.setAttribute("rel","stylesheet");g.setAttribute("type","text/css");g.setAttribute("href",j[h]);if(f.ids&&f.ids[h]){g.setAttribute("id",f.ids[h])}document.getElementsByTagName("head")[0].appendChild(g)}};cdc.includer.loadJs=function(j,g){if(typeof j=="string"){j=[j]}else{}if(!g){g={}}if(!g.hasBeenCleaned){j=cdc.includer.uniquifyIncludes(j,"js");g.hasBeenCleaned=1;if(j.length==0){if(g.callback){g.callback()}return}}var h=j.shift();var f=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(f);f.language="javascript";if(g.ids&&g.ids.length){f.id=g.ids.shift()}if(j.length){if(document.attachEvent){f.onreadystatechange=function(){if(this.readyState=="loaded"){cdc.includer.loadJs(j,g)}}}else{f.onload=function(){cdc.includer.loadJs(j,g)}}}else{if(g.callback){if(document.attachEvent){f.onreadystatechange=function(){if(this.readyState=="loaded"){g.callback()}}}else{f.onload=function(){g.callback()}}}}var k=h;if(jQuery.browser.msie&&!k.match(/noCacheBust/)&&!g.noCacheBust){k=cdc.includer.cacheBust(h)}if((cdc.includer.domainConfig.subdomains.join().indexOf(""+host.replace(".cisco.com",""))!=-1)&&(k.indexOf("http")<0)){k=(document.location.protocol=="http:")?"http://www.cisco.com"+k:"https://www.cisco.com"+k}f.src=k};jQuery(function(){cdc.includer.search(cdc.includer.widgets)})}cdc.includer.cacheBust=function(g,j){if(!j){j="cacheReset"}var h="?";if(g.match(/(ng-prod1|\?)/)){h="&"}var f=h+j+"=";return g+f+cdc.includer.cdcRandNum()};cdc.includer.cdcRandNum=function(f){if(!f){f=1000}var h=Math.floor(Math.random()*f)+1;var g=(new Date).getTime();var j=g+"-"+h;return j};if(typeof(cdc.util)=="undefined"){cdc.util={}}cdc.util.JsLoader=new function(){var f=null;var j=[];var g=function(p,t,o,l){if(f==null){h()}var r=!!o;var m=l;var q=function(A,y){var z=0;if(y>=A.length){if(typeof(t)=="function"){t()}return}var w=A[y];if(typeof(f[w])=="undefined"||r){var v=y;var C=function(){q(A,v+1)};var B=0,u=j.length;for(;B<u;B++){if(j[B].url===w){break}}if(B>=u){j.push({url:w,callbacks:[C],okToUseCache:true,dataType:m});z=1}else{j[B].callbacks.push(C)}}else{z+=q(A,y+1)}return z};p=(typeof(p)=="string")?[p]:[].concat(p);var n=j.length<=0;if(q(p,0)>0&&n){k()}return this};this.load=function(m,n,l){if((!m||m.length<=0)&&typeof(n)=="function"){n();return}g(m,n,l,"script");return this};this.loadOne=function(m,n,q,p){var l=m;if(n){var o=(m.indexOf("?")>0)?"&":"?";l+=o+jQuery.param(n)}return g([l],q,p,"json")};this.assumeAlreadyLoaded=function(l){jQuery.each(l,function(m){f[m]=1})};function h(){f={};jQuery("script").each(function(l){var m=this.getAttribute("src");if(m){f[m]=1}})}function k(){if(j.length>=1){var l=j[0];jQuery.ajax({type:"GET",url:l.url,dataType:l.dataType||"script",cache:l.okToUseCache,success:function(n){f[l.url]=1;j.shift();for(var m=0;m<l.callbacks.length;m++){l.callbacks[m]()}k()}})}}return this};cdc.util.ServiceRequestQueue=function(){var h=[],g=false,f={};this.addRequest=function(l,o,p,k,n){var m=k||"json";if(typeof(f[l])=="undefined"||!n){h.push({url:l,parameters:o,callback:p,okToUseCache:!!n,dataType:m});f[l]=1;j()}};this.getQueueSize=function(){return h.length};function j(){if(h.length>=1&&!g){g=true;var k=h[0];jQuery.ajax({type:"GET",url:k.url,data:k.parameters,dataType:k.dataType,cache:k.okToUseCache,success:function(l){k.callback(l);g=false;h.splice(0,1);j()}})}}};
/*!
 * BEGIN /web/fw/j/search_fragment.js
 */
if(typeof(cdc.search)=="undefined"){cdc.search=new Object()}function QuerySuggester(){this.id=querySuggesters.length;querySuggesters[this.id]=this}QuerySuggester.prototype.useInlineSuggestion=false;QuerySuggester.prototype.clearInlineSuggestionBeforeSubmit=false;QuerySuggester.prototype.initialize=function(suggestionUrl,formId,tooltipId,queryId,containerID,buttonsID){this.__enabled=true;if(this.__enabled){this.__suggestionUrl=suggestionUrl;this.__form=document.sitewidesearch;if(!this.__form){this.__enabled=false;this.debug("Couldn't find the form, disabling.")}else{if(this.__enableContextual){this.__section=getSiteArea();if(!this.__section){this.__section=""}this.__showContextual=(/support/i).test(this.__section);if(this.__showContextual){setcontextual()}this.__contextualButtons=this.byId(buttonsID)}this.__tooltip=this.byId(tooltipId);this.__container=this.byId(containerID);this.__queryId=queryId;this.__query=this.byId(queryId);if(this.__query){this.__query.setAttribute("autocomplete","off",0);var oldKeyUp=this.getFunctionBody(this.__query.onkeyup);var oldKeyDown=this.getFunctionBody(this.__query.onkeydown);var suggester=this;this.__query.onkeyup=function(e){if(typeof e!="undefined"){event=e}eval(oldKeyUp);suggester.keyUp(event,queryId)};this.__query.onkeydown=function(e){if(typeof e!="undefined"){event=e}eval(oldKeyDown);suggester.keyDown(event,queryId)};this.__mousein=false;this.__container.onmouseover=function(){suggester.__mousein=true};this.__container.onmouseout=function(){suggester.__mousein=false;suggester.__query.focus()};this.__query.onblur=function(){if(suggester.__mousein==false){suggester.hideContainer()}}}}}else{this.debug("Unable to instantiate XMLHttpRequest, disabling.")}};QuerySuggester.prototype.setDebugAreaId=function(f){this.__debugAreaId=f};QuerySuggester.prototype.setQueryId=function(f){this.__queryId=f;this.__query=this.byId(f)};QuerySuggester.prototype.getSuggestionUrl=function(f){return this.__suggestionUrl+f};QuerySuggester.prototype.submitForm=function(){var f=jQuery("#"+this.__form.id).attr("action")+"?"+jQuery("#"+this.__form.id).serialize()+"&autosuggest=true";if(typeof this.__form.submit!=="undefined"){this.__form.submit()}window.location=f};QuerySuggester.prototype.keyUp=function(g,j){if(!this.__enabled){return}else{if(j!=this.__queryId){this.setQueryId(j)}}if(g){if(this.__timeout){clearTimeout(this.__timeout);this.__timeout=false}if(g.ctrlKey||g.altKey){return}var h=100;this.__deletePressed=false;switch(g.keyCode){case 9:case 27:this.hide();return;case 8:case 46:this.__deletePressed=true;h=200;break;case 13:case 16:case 17:case 18:case 20:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 45:return;default:h=100;break}this.__index=-1;var f=this;this.__timeout=setTimeout(function(){f.fetchAndDisplaySuggestions()},h)}};QuerySuggester.prototype.keyDown=function(f,g){if(!this.__enabled){return}else{if(g!=this.__queryId){this.setQueryId(g)}}if(f&&f.keyCode){switch(f.keyCode){case 9:this.hide();break;case 13:if(this.__index==-1){this.clearInlineSuggestion();break}else{this.__query.value=this.__terms[this.__index];this.submitForm();return false}case 38:if(this.__index>=0){this.updateSuggestions(this.__index--,-2)}break;case 40:if(this.__index<this.__terms.length-1){this.updateSuggestions(this.__index++,-2)}break}}};QuerySuggester.prototype.mouseOver=function(f){if(!this.__enabled){return}var g=this.__mouseIndex>=0?this.__mouseIndex:this.__index;this.__mouseIndex=f;this.updateSuggestions(-2,g)};QuerySuggester.prototype.mouseOut=function(f){if(!this.__enabled){return}var g=this.__mouseIndex;this.__mouseIndex=-1;this.updateSuggestions(-2,g)};QuerySuggester.prototype.mouseClick=function(f){if(!this.__enabled){return}if(f>=0){this.__query.value=this.__terms[f];this.submitForm()}else{this.hide()}};QuerySuggester.prototype.fetchAndDisplaySuggestions=function(){var f=this.__query.value;if(this.canHandleRanges()){f=f.substring(0,this.getCaretPosition())}if(f.length==0){this.hide();this.__prev=f;return}else{f=f.replace(new RegExp("\\\\","g"),"\\\\")}this.__prev=f;if(this.__cache[f]){this.debug("cache: "+f);this.displaySuggestions(this.__cache[f],this.__prev)}else{this.debug("query: '"+f+"'");this.fetchSuggestion(f)}};QuerySuggester.prototype.fetchSuggestion=function(g){var f=this;qs=this;cdc.search.jsonp(this.__suggestionUrl+"q="+encodeURI(g),"qs.parseSuggestions","")};QuerySuggester.prototype.parseSuggestions=function(matches){if(matches==""){return}var params=eval(matches);if(params.length>2){this.__cache[params[0]]=params}this.displaySuggestions(params,params.length>2?params[0]:"")};QuerySuggester.prototype.displaySuggestions=function(g,f){if(g.length<=2){this.noSuggestions();return}if(this.__tooltip&&this.__query){this.buildSuggestionsHtml(g);this.show();this.showInlineSuggestions(f)}};QuerySuggester.prototype.buildSuggestionsHtml=function(h){var j="";if(this.__showContextual){j+='<hr size="1" noshade="noshade" color="#CCCCCC" />'}var g=h.length/2-1;this.__terms=new Array(g);for(var f=0;f<g;++f){j+='<div class="suggestionEntry" id="tooltip_'+f+'"';j+=' onmouseover="cdc.search.mouseOver('+this.id+","+f+')"';j+=' onmouseout="cdc.search.mouseOut('+this.id+","+f+')"';j+=' onclick="cdc.search.mouseClick('+this.id+","+f+')"';j+=' style="cursor: pointer">'+h[f*2+2];j+="</div>\n";this.__terms[f]=h[f*2+2]}this.__tooltip.innerHTML=j;if(this.__container.style.display=="none"){this.showContainer()}};QuerySuggester.prototype.showInlineSuggestions=function(f){if(this.__terms.length>0&&this.__query.value==f&&!this.__deletePressed&&this.useInlineSuggestion){this.__original=this.__query.value;if(this.canHandleRanges()){this.__query.value=this.__terms[0];this.selectRange(this.__original.length,this.__query.value.length)}}};QuerySuggester.prototype.updateSuggestions=function(k,l){var g=this.byId("tooltip_"+k);var j=this.byId("tooltip_"+l);var h=this.byId("tooltip_"+this.__index);var f=this.byId("tooltip_"+this.__mouseIndex);if(g){if(k!=this.__mouseIndex){g.className="suggestionEntry"}}if(h){h.className="suggestionEntryHover";if(this.canHandleRanges()){this.selectRange(this.__original.length,this.__terms[this.__index].length)}}if(j&&l!=this.__index){j.className="suggestionEntry"}if(f){f.className="suggestionEntryHover"}};QuerySuggester.prototype.noSuggestions=function(){this.hide()};QuerySuggester.prototype.show=function(){if(this.__tooltip&&this.__query){this.__tooltip.style.display="block"}};QuerySuggester.prototype.showContainer=function(){if(this.__container&&this.__query){if(this.__showContextual||this.__terms.length>0){this.__container.style.display="block";if(this.__showContextual){this.__contextualButtons.style.display="block"}}}};QuerySuggester.prototype.hide=function(){if(this.__tooltip){this.__terms=new Array();this.__tooltip.style.display="none";if(!this.__showContextual){this.__container.style.display="none"}}};QuerySuggester.prototype.hideContainer=function(){if(this.__container){this.__container.style.display="none"}};QuerySuggester.prototype.canHandleRanges=function(){return this.__query.createTextRange||this.__query.setSelectionRange};QuerySuggester.prototype.selectRange=function(h,g){if(this.__query.createTextRange){var f=this.__query.createTextRange();f.moveStart("character",h);f.select()}else{if(this.__query.setSelectionRange){this.__query.setSelectionRange(h,g)}else{this.debug("Couldn't select range.")}}};QuerySuggester.prototype.getCaretPosition=function(){if(document.selection){var f=document.selection.createRange().duplicate();f.collapse(true);f.moveStart("character",-1000);return f.text.length}else{if(this.__query.setSelectionRange){return this.__query.selectionStart}else{this.debug("Couldn't find caret position.");return this.__query.value.length}}};QuerySuggester.prototype.clearInlineSuggestion=function(){if(this.__query&&this.canHandleRanges()&&this.clearInlineSuggestionBeforeSubmit){this.__query.value=this.__query.value.substring(0,this.getCaretPosition())}};QuerySuggester.prototype.getFunctionBody=function(g){var f="";if(typeof g=="function"){f=g.toString();f=f.substring(f.indexOf("{")+1,f.lastIndexOf("}"))}return f};QuerySuggester.prototype.findPosX=function(f){var g=0;if(f.offsetParent){while(f.offsetParent&&f.className!="pageContainer"){g+=f.offsetLeft;f=f.offsetParent}}else{if(f.x){g+=f.x}}return g};QuerySuggester.prototype.findPosY=function(g){var f=0;if(g.offsetParent){while(g.offsetParent&&g.className!="pageContainer"){f+=g.offsetTop;g=g.offsetParent}}else{if(g.y){f+=g.y}}return f};QuerySuggester.prototype.byId=function(g){var f=document.getElementById?document.getElementById(g):false;return f&&f!=null?f:false};QuerySuggester.prototype.debug=function(g){if(this.__debugAreaId){var f=this.byId(this.__debugAreaId);if(f){f.value+=g+"\n"}}};QuerySuggester.prototype.__suggestionUrl=false;QuerySuggester.prototype.__form=false;QuerySuggester.prototype.__query=false;QuerySuggester.prototype.__queryId=false;QuerySuggester.prototype.__tooltip=false;QuerySuggester.prototype.__container=false;QuerySuggester.prototype.__debugAreaId=false;QuerySuggester.prototype.__timeout=false;QuerySuggester.prototype.__prev="";QuerySuggester.prototype.__original="";QuerySuggester.prototype.__index=-1;QuerySuggester.prototype.__mouseIndex=-1;QuerySuggester.prototype.__terms=new Array();QuerySuggester.prototype.__cache=new Array();QuerySuggester.prototype.__enabled=false;QuerySuggester.prototype.__deletePressed=false;QuerySuggester.prototype.__section="";QuerySuggester.prototype.__showContextual=false;QuerySuggester.prototype.__enableContextual=false;var querySuggesters=new Array();cdc.search.mouseOver=function(g,f){if(g>=0&&g<querySuggesters.length){querySuggesters[g].mouseOver(f)}};cdc.search.mouseOut=function(g,f){if(g>=0&&g<querySuggesters.length){querySuggesters[g].mouseOut(f)}};cdc.search.mouseClick=function(h,f){if(h>=0&&h<querySuggesters.length){querySuggesters[h].mouseClick(f)}else{if(h==-1&&f==-1){for(var g=0;g<querySuggesters.length;++g){querySuggesters[g].mouseClick(f)}}}};function setsitewide(){document.getElementById("searchtype-contextual").checked=false;document.getElementById("searchtype-sitewide").checked=true;document.sitewidesearch.thissection.value="f"}function setcontextual(){document.getElementById("searchtype-contextual").checked=true;document.getElementById("searchtype-sitewide").checked=false;document.sitewidesearch.thissection.value="t"}function showSuggestionsContainer(){qs.showContainer()}function hideSuggestionsContainer(){if(qs.__mousein==false){qs.hideContainer()}}cdc.search.jsonp=function(h,g,j){if(h.indexOf("?")>-1){h+="&callback="}else{h+="?callback="}h+=g+"&";if(j){h+=encodeURIComponent(j)+"&"}h+=new Date().getTime().toString();var f=document.createElement("script");f.setAttribute("src",h);f.setAttribute("type","text/javascript");document.body.appendChild(f)};function setupSearch(){if(cdc.search.noTypeAhead){return}var h=window.location.hostname.toLowerCase();if((h.indexOf("newsroom.cisco.com")>=0)||(h.indexOf("investor.cisco.com")>=0)){return}var k='<div style="display:none;" id="search-drop-down">';k+='<div class="contextual-search-top"> </div>';k+='<div id="contextual-search-buttons">';k+='<span class="contextual-search-link" onclick="setsitewide()">';k+='<input type="radio" id="searchtype-sitewide" name="searchtype" value="sitewide" checked /> ';k+="All Cisco.com</span> &nbsp; &nbsp;";k+='<span class="contextual-search-link" onclick="setcontextual()">';k+='<input type="radio" id="searchtype-contextual" name="searchtype" value="contextual" /> ';k+="This Section</span>";k+="</div>";k+='<div id="autoSuggest"></div>';k+='<div class="contextual-search-bot"> </div></div>';var f=document.getElementById("fw-mbs");var g=document.createElement("DIV");g.innerHTML=k;f.insertBefore(g,f.firstChild);if(document.getElementById("searchPhrase")){document.getElementById("searchPhrase").form.id="sitewidesearch"}if(document.getElementById("searchPhrase")){document.getElementById("searchPhrase").onblur=hideSuggestionsContainer}var j=(h.indexOf("www.cisco.com")<0)?"http://www.cisco.com":"";j+="/pcgi-bin/search/searchrelay.pl?";j+="charset="+(document.charset||document.characterSet)+"&";if((typeof cdc.search.country)!="undefined"){j+="country="+cdc.search.country+"&"}if((typeof cdc.search.language)!="undefined"){j+="language="+cdc.search.language+"&"}qs=new QuerySuggester();qs.initialize(j,"sitewidesearch","autoSuggest","searchPhrase","search-drop-down","contextual-search-buttons")}jQuery("#searchPhrase").live("focus",function(){cdc.util.checkClear(this)});
/*!
 * BEGIN /web/fw/j/masterbrand_frag/_megamenu.js
 */
(function(j){var t=function(v){try{return encodeURIComponent(v)}catch(u){return escape(v)}},m=function(v){try{return decodeURIComponent(v)}catch(u){return unescape(v)}};function o(w){if(!w||typeof w!=="object"){return w+""}var u=[];for(var v in w){if(w.hasOwnProperty(v)){u.push(t(v)+"="+t(o(w[v])))}}return u.join(";")}function f(A){var u={};var C=A.split(/\s*;\s*/);if(C.length===1&&C[0].indexOf("=")===-1){return A}for(var y=0;y<C.length;y++){var z=C[y].indexOf("=");if(z<0){continue}var B=C[y].substring(0,z);var w=C[y].substring(z+1);u[m(B)]=f(m(w))}return u}function h(u){var v=f(document.cookie);if(v.hasOwnProperty("mmst")&&v.mmst.hasOwnProperty(u)){return v.mmst[u].t}return null}function n(w,v,y){y=y||0;var z=f(document.cookie);if(z.hasOwnProperty("mmst")){var C=z.mmst||{};if(C.hasOwnProperty(w)&&parseInt(C[w].p)>y&&v){return}}else{var C={}}if(v){C[w]={t:v,p:y}}else{delete C[w]}var B=new Date();B.setTime(B.getTime()+1000*60*60*24*365);var u=o(C);if(u===""){B.setTime(0)}var A=location.hostname.split(".");while(A.length>2){A.shift()}A="."+A.join(".");document.cookie="mmst="+t(u)+"; path=/; domain="+A+"; expires="+B.toUTCString()}function p(u){n(u,null)}var r=/(home\.cisco\.com)|(\/consumer\/)/;var g=/(\/small_business\/)/;var q=m(location.href);if(r.test(q)){n("products-mmt","home-mmt-container",1)}else{if(g.test(q)){n("products-mmt","smb-mmt-container",1)}}j(".mmt-content a[href]").live("click",function(){var v=j(this).parents(".mmt")[0];var u=j(this).parents(".mmt-container")[0];if(v.id=="products-mmt"&&u.id==="enterprise-mmt-container"){p(v.id)}else{n(v.id,u.id,2)}});j(".mmt-container").live("mouseenter focus",function(v){if(j(this).hasClass("mmt-current")){return}var u=j(this).parents(".mmt")[0];j(".mmt-container",u).each(function(){j(this).removeClass("mmt-current")});j(this).addClass("mmt-current")});(function(){var y=null;j("html").live("focusin click",function(A){var z=A.target;if(y&&!j.contains(y,z)){j(y).removeClass("mm-focused");y=null}var B=j(z).parents(".mm-item");if(B.length>0){y=B[0];j(y).addClass("mm-focused")}});var w=0;function v(A,z){if(z){j(".mm-focused",A.parentNode).filter(function(){return this!==A}).removeClass("mm-focused");j(A).addClass("mm-hovered")}else{w=window.setTimeout(function(){j(".mm-focused",A.parentNode).filter(function(){return this!==A}).removeClass("mm-focused");j(A).addClass("mm-hovered")},250)}}function u(z){window.clearTimeout(w);window.setTimeout(function(){j(z).removeClass("mm-hovered")},20)}j(".mm-item").live("mouseenter mouseleave",function(z){var A=j(z.relatedTarget).hasClass("mm-hovered")||j(z.relatedTarget).parents(".mm-hovered").length>0;z.type==="mouseover"?v(this,A):u(this)})})();j(".mm-item").live("mouseenter focus",function(v){var u=this;j(".mm-reflink[href*=#]",this).each(function(w){var z=this;var y=z.href;j(z).remove();if(w>0){return}(function(A){A.setHandlers({failBeforeSetup:function(B){},setup:function(){j(u).append('<div class="mm-menu"><div class="mm-container"><div class="mm-content mm-cols-1"><div class="mm-loading mm-col"></div></div></div></div>');j(".mm-menu",u).each(function(){l(this);k(this)})},failAfterSetup:function(B){j(".mm-menu",u).remove()},success:function(B){j(".mm-menu",u).remove();j(u).append(B);j(".mm-menu",u).each(function(){l(this);k(this)})},caching:true});A.open("GET",y);A.send(null)})(new cdc.util.cors.CORS())})});function l(v){if(v.whacked){return}v.whacked=true;if(!(j.browser.msie&&j.browser.version<7)){var u='<span class="mms"><span class="mms-tc"></span><span class="mms-tr"></span><span class="mms-mr"></span><span class="mms-br"></span><span class="mms-bc"></span><span class="mms-bl"></span><span class="mms-ml"></span><span class="mms-tl"></span><span class="mms-mc"></span></span>';if(!j(".mmt",v).length){u+='<span class="mmc"><span class="cbl"></span><span class="cbr"></span></span>'}j(".mm-container",v).prepend(u);j(".mm-sidebar",v).append('<div class="ctl"></div><div class="ctr"></div><div class="cbl"></div><div class="cbr"></div>')}j(".mmt",v).each(function(){var w=j(".mmt-container",this);j(this).addClass("mmt-has"+w.length);j(w).each(function(y){j(this).addClass("mmt-container"+(y+1))})});j(".mmt",v).each(function(){var y=h(this.id);var w=false;j("#"+y,this).each(function(z){if(z>0){return}j(this).addClass("mmt-current");w=true});if(!w){j(".mmt-container",this).each(function(z){if(z>0){return}j(this).addClass("mmt-current")})}})}function k(u){if(u.positioned){return}u.positioned=true;var J=j(u).parents("#fw-mb-w1")[0];var N=j(u).find(".mm-container")[0];var D=j(u).parents(".mm-items")[0];var K=j(u).parents(".mm-item")[0];var O=j(K).offset().left;var A=j(K).outerWidth()+O;var w=j(D).offset().left;var M=w+j(D).outerWidth();var z=j(J).outerWidth();var I=j(J).offset().left;var C=I+z;var L=j(N).outerWidth();var G=j(N).offset().left;var v=G+L;var y=(Math.abs(G-O)>Math.abs(v-A));if(j(u).hasClass("mm-center")){var B=z-L;var F=0-((G-I)-(B/2));if(!y){j(u).css({left:F+"px"})}else{j(u).css({right:(-F)+"px"})}}else{if(!y&&v>C){var H=C-v;j(N).css({left:H+"px"})}else{if(y&&G<I){var E=G-I;j(N).css({right:E+"px"})}}}(function(){var Q=j(".mm-content",u)[0].offsetWidth;var P=/(^|\s)mm\-cols((\-\d+)+)(\s|$)/;j(".mm-content, .mmt-content",u).filter(function(){return(j(".mmt-content",this).length<1&&P.test(this.className))}).each(function(){var W=j(".mm-col",this);var U=j(W).map(function(){return 1});j(this.className.match(P)[2].substring(1).split("-")).each(function(X){U[X]=parseInt(this)});var T=0;for(var R=0;R<U.length;R++){T+=U[R]}j(W[0]).addClass("mm-first-col");var V=48;if(j(this).closest("#support-mm-menu").length==1){V-=8;Q-=8}for(var R=0;R<W.length;R++){var S=Math.floor((U[R]/T)*Q);j(W[R]).css({width:(S-V)+"px"})}})})()}j(document).ready(function(){j(".mm-menu").each(function(){l(this);k(this)})})})(jQuery);
/*!
 * BEGIN /web/fw/j/masterbrand_frag/_megamenu_global.js
 */
function mmEqualHeights(f){setTimeout(function(){jQuery(f).equalHeights(true)},10)}
/*!
 * BEGIN /web/fw/j/masterbrand_frag/_skip.js
 */
(function(f){f("#fw-mbsk").live("focus blur",function(h){var g=document.body;if(h.type==="focus"||h.type==="focusin"){f(g).addClass("mbsk-focused")}else{if(h.type==="blur"||h.type==="focusout"){f(g).removeClass("mbsk-focused")}}})})(jQuery);
/*!
 * BEGIN /web/fw/j/masterbrand_frag/_toolbar.js
 */
(function(){function f(h,g){if(h.length>g){h=h.substring(0,g-3)+"..."}return h}cdc.util.onElementLoadById("fw-ft-basic",function(){var h=navigator.userAgent;var k=!((jQuery.browser.msie&&jQuery.browser.version<7)||h.indexOf("iPad")!=-1||h.indexOf("iPod")!=-1||h.indexOf("iPhone")!=-1);if(!document.getElementById("mb-home")){var j=this;jQuery('.ft-sect a[href*="/cisco/psn/web/workspace"]',j).parent().addClass("ft-mycisco");if(cdc.util.is1x||cdc.util.isCamp){var g=cdc.cookie.getCookie({cookieName:"SMSESSION"});if(g&&g!=""&&g!="LOGGEDOFF"){jQuery(".ft-guest-group",j).each(function(){jQuery(".ft-register",this).remove();var l="https://www.cisco.com/autho/logout.html?ReturnUrl=http://www.cisco.com/web/fw/lo/logout.html?locale=en_US";jQuery(".ft-login",this).replaceWith('<div class="ft-sect ft-logout"><a class="ft-label" href="'+l+'">Log Out</a></div>');jQuery(this).removeClass("ft-guest-group").addClass("ft-entitled-group");jQuery(".ft-account",this).remove().insertBefore(".ft-logout")})}}jQuery(".ft-welcome-name, .ft-country-name",j).each(function(){this.innerHTML=f(jQuery(this).text(),26)});jQuery(".ft-group",j).filter(function(){return jQuery(".ft-sect",this).length===0}).remove()}if(k&&!document.getElementById("mb-home")){if(cdc.util.useBackpack){cdc.util.initBackpack("fw-ft-basic")}}});cdc.util.useBackpack=!!cdc.util.useBackpack;jQuery(".ft-toolbar .ft-country a[href]").live("click",function(){cdc.util.openCdcPopup(this.href,643,468);return false})})();
/*!
 * BEGIN /web/fw/j/homepage_frag/_home.js
 */
if(typeof cdc=="undefined"){cdc={}}if(typeof cdc.homepage=="undefined"){cdc.homepage={}}if(typeof cdc.debug=="undefined"){cdc.debug={log:function(){}}}cdc.includer.widgets._default={};cdc.homepage.addCorners=function(f,g){if(g){jQuery(f).append('<div class="ctl"></div><div class="ctr"></div><div class="cbl"></div><div class="cbr"></div>')}else{jQuery(f).prepend('<span class="cl-top-corners"><span></span></span>').append('<span class="cl-bottom-corners"><span></span></span>')}};cdc.homepage.canAnimate=function(){return(navigator.platform.toLowerCase().indexOf("linux")==-1&&!(jQuery.browser.safari&&jQuery.browser.version<500))};function vs_makeImg(f){}function vs_makeSubmit(f){}function global_getCookie(g){var f=new String();f=document.cookie;var h=new RegExp("^.*"+g+"=");if(f.match(h)){f=f.replace(h,"");f=f.replace(/;.*/,"");return f}return""}jQuery(document).ready(function(){if(cdc.util.isAuthenticated()){$(".ft-guest-group").each(function(){cdc.util.ensureNamespace("cdc.local.wpx");cdc.local.wpx=jQuery.extend({LOGOUT_TOOLBAR_TEXT:"Log Out",LOGOUT_TOOLBAR_URL:"https://www.cisco.com/autho/logout.html?ReturnUrl=http://www.cisco.com/web/fw/lo/logout.html?locale=en_US"},cdc.local.wpx);$(".ft-register",this).remove();$(".ft-login",this).replaceWith('<div class="ft-sect ft-logout"><a class="ft-label" href="'+cdc.local.wpx.LOGOUT_TOOLBAR_URL+'">'+cdc.local.wpx.LOGOUT_TOOLBAR_TEXT+"</a></div>");$(this).removeClass("ft-guest-group").addClass("ft-entitled-group");$(".ft-account",this).remove().insertBefore(".ft-logout")})}});$("div.ft-country a.ft-label").live("click",function(){cdc.util.openCdcPopup($(this).attr("href"),643,468);return false});jQuery(function(){jQuery(".fw-dropin").each(function(){var f=this;var g=jQuery(f).attr("data-target");if(!g){return}var h=document.getElementById(g);if(!h){return}if(jQuery("#mboxDefault",f).length){if(jQuery("a",f).length<1){return}}jQuery("script",f).remove();h.innerHTML="";jQuery(f).remove().removeClass("fw-dropin").addClass("fw-dropin-done").appendTo(h)})});
/*!
 * BEGIN /web/fw/j/homepage_frag/_newsticker.js
 */
if(typeof cdc=="undefined"){cdc={}}if(typeof cdc.homepage=="undefined"){cdc.homepage={}}cdc.homepage.newsfeed={currItem:0,numItems:0,iPause:0,intervalLength:4500,maxItems:3,config:{feedUrl:"",title:"",link:"",linkLpos:"",pnews:"",nnews:"",linkTitle:"",rss:"",rssLink:"",rssLpos:""},config:function(f){jQuery.extend(this.config,f)},changeItem:function(h,g){var f=this.currItem;jQuery("#newsticker li:eq("+f+")").fadeOut(g,function(){jQuery(this).hide()});if(h<0&&f==0){f=this.numItems}f=(f+h)%this.numItems;jQuery("#newsticker li:eq("+f+")").fadeIn(g||"slow");if(jQuery("#newsticker li:eq("+f+")").height()>20){jQuery("#newsticker li:eq("+f+")").addClass("twolinenews")}this.currItem=f},fetchNews:function(f){if(typeof f=="object"){cdc.homepage.newsfeed.config(f);f=f.feedUrl}jQuery(document).ready(function(){cdc.includer.loadJs([f||cdc.homepage.newsfeed.config.feedUrl])})},renderNews:function(o){var z=this.config;var A=z.title||o.title||"";var k=z.link||o.link||"";if(k!=""){var l=z.linkLpos||o.linkLpos?' name="&amp;lpos='+(z.linkLpos||o.linkLpos)+'"':"";k='<a rel="exit"'+l+' href="'+k+'">'+A+"</a>";jQuery("#newsticker h3").empty().html(k)}jQuery("#newsticker").append('<div class="ctl"></div><div class="ctr"></div><div class="cbl"></div><div class="cbr"></div>');var p=z.pnews||"";var n=z.nnews||"";jQuery("#newsticker .newsitem-previous").html('<a href="" title="'+p+'">&nbsp;</a>').find("a").click(function(){cdc.homepage.newsfeed.changeItem(-1,"fast");return false});jQuery("#newsticker .newsitem-next").html('<a href="" title="'+n+'">&nbsp;</a>').find("a").click(function(){cdc.homepage.newsfeed.changeItem(1,"fast");return false});var f=z.linkTitle||o.linkTitle||"";if(f!=""){jQuery("#newsticker .newsticker-nav .sm-title").empty().html(f)}var q=z.rss||o.rss||"";var t=z.rssLink||o.rssLink||"";if(t!=""){var v=z.rssLpos||o.rssLpos?' name="&amp;lpos='+(z.rssLpos||o.rssLpos)+'"':"";t='<a rel="exit"'+v+' href="'+t+'" title="'+q+'"></a>';jQuery("#newsticker .newsticker-nav .rss").empty().html(t)}var w=jQuery("#newsticker ol");jQuery(w).empty();for(var r=0;r<o.items.length&&r<this.maxItems;r++){var y=o.items[r];var m=y.lpos?' name="&amp;lpos='+y.lpos+'"':"";jQuery(w).append('<li><a rel="exit"'+m+' href="'+y.link+'">'+y.shortTitle+'<span class="date"> - '+y.pubDate+"</span></a></li>")}if(o.items.length<this.maxItems){this.numItems=o.items.length}else{this.numItems=this.maxItems}var h=function(){cdc.homepage.newsfeed.iPause=1};var g=function(){cdc.homepage.newsfeed.iPause=0};jQuery("#newsticker .newsticker-controls a").focus(h).blur(g).hover(h,g);jQuery(w).find("a").focus(h).blur(g).hover(h,g);jQuery(w).find("li").hide().filter(":eq(0)").show().add("#newsticker li").length-1;jQuery(w).find("li").hide().filter(":eq(0)").show().add("#newsticker li").length-1;if(jQuery("#newsticker li:first").height()>20){jQuery("#newsticker li:first").addClass("twolinenews")}if(typeof vs_makeExit!="undefined"){var u=jQuery("#newsticker a[rel=exit]");for(var r=0;r<u.length;r++){var j=vs_makeExit(u[r]);jQuery(u[r]).mousedown(j)}}setInterval(function(){if(cdc.homepage.newsfeed.iPause==0){cdc.homepage.newsfeed.changeItem(1)}},this.intervalLength)}};
/*!
 * BEGIN /web/fw/j/homepage_frag/_fatfooter.js
 */
jQuery(document).ready(function(){jQuery("#pagefooter").append('<div class="ctl"></div><div class="ctr"></div>');jQuery("div.ffoot-menu").addClass("ffoot-mn");jQuery("div.ffoot-mn div.ffoot-menucontainer").prepend('<div class="ffmt"></div>').append('<div class="ffmb"></div>');marginSide=jQuery("div.ffoot-mn",".rtl").length>0?"margin-right":"margin-left";offsetSide=jQuery("div.ffoot-mn",".rtl").length>0?12:2;jQuery("div.ffoot-mn").hover(function(){jQuery(this).find("div.ffoot-menucontainer").css("margin-top",((jQuery(this).find("div.ffoot-menucontainer").height()/2)*-1)-10+"px");jQuery(this).find("div.ffoot-menucontainer").css(marginSide,jQuery(this).find("h3 a").width()+offsetSide+"px");jQuery(this).find("div.ffoot-menucontainer").show()},function(){jQuery(this).find("div.ffoot-menucontainer").hide()});jQuery("div.ffoot-mn a").focus(function(){jQuery(this).closest("div.ffoot-mn").find("div.ffoot-menucontainer").css("margin-top",((jQuery("div.ffoot-menucontainer").height()/2)*-1)+offsetSide+"px");jQuery(this).closest("div.ffoot-mn").find("div.ffoot-menucontainer").css(marginSide,jQuery("div.ffoot-mn h3 a").width()+2+"px");jQuery(this).closest("div.ffoot-mn").find("div.ffoot-menucontainer").show()});jQuery("div.ffoot-mn div.ffoot-menucontent ul:last-child li:last-child a").blur(function(){jQuery(this).closest("div.ffoot-mn").find("div.ffoot-menucontainer").hide()})});
/*!
 * BEGIN /web/fw/m/rules-lib.js
 */
(function(k){cdc.util.addMetricsRule=function(l,n,m){return f(l,n,m)};cdc.util.getMetricsInfo=function(l){var m=h(l);var o=l.name;if(o&&o.indexOf("&lpos=")===0){k(o.split("&")).each(function(){var n=k(this.split("=")).map(function(){return unescape(this)});if(n[0]==="lpos"&&!m.lpos){m.lpos=n[1]}if(n[0]==="lid"&&!m.lid){m.lid=n[1]}})}return m};var g=[],j=function(l){return typeof l==="function"};function h(m,n){var l={};n=n||g;k(n).each(function(){var p=this.cond,q=this.vals,o=this.subs;if(!(j(p)?p(m):k(m).is(p))){return}k.extend(l,j(q)?q(m):q);if(o.length<1){return}k.extend(l,h(m,o))});return l}function f(m,o,n,p){o=o||{};p=p||g;var l=[];var q={cond:m,vals:o,subs:l};p.push(q);if(j(n)){n({subrule:function(r,u,t){return f(r,u,t,l)}})}}})(jQuery);
/*!
 * BEGIN /web/fw/m/mb-rules.js
 */
(function(f){cdc.util.addMetricsRule("#fw-banner *",null,function(g){g.subrule("#fw-mm *",null,function(h){f([["td.mm-item a[href]",function(j){return{ntpagetag:{sensors:["cisco-tags.cisco.com/tag/ntpagetag.gif"]},lpos:"header_mb_"+f(j).closest("td.mm-item").attr("id").replace("-mm-item","")}}],[".mmt-container a[href]",function(j){return{lid:f(j).closest("div.mmt-container").attr("id").replace("-mmt-container","")}}],["#support-mm-menu a[href]",function(j){return{lid:f(j).closest("div.mm-col").attr("id")}}],[".mmt-container .mm-h a[href]",function(j){return{lid:f(j).closest("div.mmt-container").attr("id").replace("-mmt-container","")+" - Title: "+f(j).text()}}],[".mmt-container .mm-himg a[href].mm-himg-img",function(j){return{lid:f(j).closest("div.mmt-container").attr("id").replace("-mmt-container","")+" - Image: "+f(j).text()}}],[".mmt-container .mm-scol li a[href]",function(j){var k=(f(j).closest("div.mm-scol").find("h5").text())?f(j).closest("div.mm-scol").find("h5").text()+" - ":"";return{lid:k+f(j).closest("div.mmt-container").attr("id").replace("-mmt-container","")}}]]).each(function(){h.subrule(this[0],this[1])})});g.subrule("#fw-ft-basic *",null,function(h){h.subrule("#fw-ft-basic .ft-sect a",{lpos:"header_mb_hdr"})});f([["#fw-mbl a[href]",{lpos:"header_mb_hdr"}],["#fw-ft-enhanced a[href]",{lpos:"toolbar_mb"}],["#fw-ft-enhanced .ft-close a[href]",{linkText:"collapse"}],["#fw-ft-enhanced.ft-hidden .ft-close a[href]",{linkText:"expand"}]]).each(function(){g.subrule(this[0],this[1])})});cdc.util.addMetricsRule("div.ffoot-block li a[href]",function(g){return{lpos:"ff_mb",lid:f(g).closest("div.ffoot-block").find("h3").text()}});cdc.util.addMetricsRule("div.ffoot-block h3 a[href]",function(g){return{lpos:"ff_mb",lid:f(g).text()}});cdc.util.addMetricsRule("#footer-nav a[href]",{lpos:"lf_mb"});cdc.util.addMetricsRule("#pssubmitbutton",function(g){return{ntpagetag:{sensors:["cisco-tags.cisco.com/tag/ntpagetag.gif"],searchPhrase:f("#support-searchstring").val()}}});cdc.util.addMetricsRule("#mm-support-download-submitbutton",function(g){return{ntpagetag:{sensors:["cisco-tags.cisco.com/tag/ntpagetag.gif"],searchPhrase:f("#mm-support-download-searchstring").val()}}});f("#partner-mm-menu form").live("submit",function(){try{trackEvent.event("form",{elementtype:"form",elementname:"Login",sitearea:"header_mb_partners",countrysite:"us",action:"submit"})}catch(g){}});f("#fw-mbs form").live("submit",function(){try{trackEvent.event("form",{elementtype:"form",elementname:"sitewidesearch",sitearea:"header_mb_search",countrysite:"us",action:"submit"})}catch(g){}})})(jQuery);
/*!
 * BEGIN /web/fw/m/home-rules.js
 */
(function(f){cdc.util.addMetricsRule("body#mb-home div.ffoot-block li a[href]",function(g){return{lpos:"ff_hp",lid:f(g).closest("div.ffoot-block").find("h3").text()}});cdc.util.addMetricsRule("body#mb-home div.ffoot-block h3 a[href]",function(g){return{lpos:"ff_hp",lid:f(g).text()}});cdc.util.addMetricsRule("#newsticker h3 a[href],#newsticker ol a[href]",{lpos:"nws_hp"});cdc.util.addMetricsRule("#followus",{lpos:"sm_hp"});cdc.util.addMetricsRule("#spotlight li a",function(g){return{lpos:"SL",lid:f(g).attr("name")}});cdc.util.addMetricsRule("div.featurearea a[href]",{lpos:"fp_hp"})})(jQuery);
/*!
 * BEGIN /web/fw/j/cdc.cookie.js
 */
if(typeof(cdc)=="undefined"){cdc={}}if(typeof cdc.debug=="undefined"){cdc.debug={}}cdc.debug.log=function(){};cdc.debug.dump=function(){};cdc.debug.alert=function(){};cdc.cookie={setCookie:function(h){if(!h.cookieName){h={cookieName:h,cookieValue:arguments[1]};if(arguments.length>2){h.days=arguments[2]}}var g="";var k="";var f="";var m=parseInt(h.msecs);if(isNaN(m)&&h.days){m=h.days*24*60*60*1000}if(!isNaN(m)){var j=new Date();j.setTime(j.getTime()+m);g="; expires="+j.toUTCString()}if(h.path){k="; path="+h.path+";"}else{k="; path=/;"}if(h.domain){f="; domain="+h.domain}try{document.cookie=h.cookieName+"="+escape(h.cookieValue)+g+k+f}catch(l){return false}return true},getCookie:function(f){if(!f.cookieName){f={cookieName:f}}var g=cdc.cookie.unpackParamString(document.cookie,/\s*;\s*/);return g[f.cookieName]||""},deleteCookie:function(g){var h={};for(var f in g){if(g.hasOwnProperty(f)){h[f]=g[f]}}h.msecs=h.days=-1;h.cookieValue="";return cdc.cookie.setCookie(h)},daysFutureToTimeMS:function(h){if(isNaN(parseInt(h))){return 0}var g=new Date();g.setTime(g.getTime()+((h)*24*60*60*1000));var f=Date.parse(g);return f},addCookieChip:function(f){if(!f.cookieName){f={cookieName:f,chipName:arguments[1],chipValue:arguments[2]}}var g=cdc.cookie.getCookie(f),h=cdc.cookie.unpackParamString(g);h[f.chipName]=f.chipValue;cdc.cookie.setCookie({cookieName:f.cookieName,cookieValue:cdc.cookie.packParamString(h),days:366})},extractCookieChip:function(f){if(!f.cookieName){f={cookieName:f,chipName:arguments[1]}}var g=cdc.cookie.getCookie(f),h=cdc.cookie.unpackParamString(g);return h[f.chipName]||""},crumbleCookieChip:function(f){if(!f.cookieName){f={cookieName:f,chipName:arguments[1]}}var h=cdc.cookie.getCookie(f),k=cdc.cookie.unpackParamString(h),g=k.hasOwnProperty(f.chipName),j;delete k[f.chipName];j=cdc.cookie.packParamString(k);if(!j){cdc.cookie.deleteCookie(f)}else{cdc.cookie.setCookie({cookieName:f.cookieName,cookieValue:j,days:366})}return g},packParamString:function(j,g){g=g||"&";var h=[];for(var f in j){if(!j.hasOwnProperty(f)){continue}h.push(escape(f)+"="+escape(j[f]))}return h.join(g)},unpackParamString:function(l,o){o=o||"&";var k=l.split(o),h={},n,m,f,g,j;for(j=0;j<k.length&&(n=k[j]);j++){m=n.indexOf("=");if(m<0){continue}f=unescape(n.substring(0,m));g=unescape(n.substring(m+1));h[f]=g}return h}};cdc.cookie.newUser={newUserEndTime:168,cookieName:"cdc.cookie.newUser",updateUserVal:function(){var j;var f=cdc.cookie.getCookie({cookieName:this.cookieName});if(!f){j=this.setValidCookie()}else{var g=new Date();var h=g.getTime();if(f==0){j=0}else{if(f<h){j=this.endNewUser()}else{j=f}}}return j},setValidCookie:function(){var h=new Date();var j=h.getTime();var g=j+(1000*60*60*this.newUserEndTime);var f=1000*60*60*24*365*25;cdc.cookie.setCookie({cookieName:this.cookieName,cookieValue:g,msecs:f});return g},endNewUser:function(){var g=0;var f=1000*60*60*24*365*25;cdc.cookie.setCookie({cookieName:this.cookieName,cookieValue:g,msecs:f});return g}};jQuery(document).ready(function(){cdc.cookie.newUser.updateUserVal()});
/*!
 * BEGIN /web/fw/lo/sso.js
 */
cdc.util.ensureNamespace("cdc.sso");cdc.sso=new function(){var C="nosynch";var j=/cdc-site-dev/;var w=/www.cisco.com|www1.cisco.com|www2.cisco.com|www3.cisco.com|www9.cisco.com|investor.cisco.com|newsroom.cisco.com|tools.cisco.com|apps.cisco.com|cisco-apps.cisco.com|cepx-active-prod.cisco.com|cepx-.*-prod1.cisco.com/;var k=/tools-dev.cisco.com|tools-stage.cisco.com|tools-lt.cisco.com|apps-dev.cisco.com|apps-stage.cisco.com|apps-lt.cisco.com|www-dev.cisco.com|www-dev1.cisco.com|www-dev2.cisco.com|www-lt.cisco.com|www-lt1.cisco.com|www-lt2.cisco.com|www-stage.cisco.com|www-stage1.cisco.com|www-stage2.cisco.com|www-stage9.cisco.com|cepx-active-dev.cisco.com|cepx-.*-dev1.cisco.com|cepx-active-stage.cisco.com|cepx-.*-stage1.cisco.com|cepx-active-lt.cisco.com|cepx-.*-lt1.cisco.com/;function l(G){var H=window.location.host.match(G)?true:false;return H}if(l(j)){C="id"}else{if(l(w)){C="prod"}else{if(l(k)){C="stage"}}}var f={prod:{smCheck:window.location.protocol+"//www.cisco.com/auths/cdcsmcheck/smcheck.html",oamCheck:window.location.protocol+"//sso.cisco.com/autho/cdcoamcheck/oamcheck.html",wpxSync:window.location.protocol+"//www.cisco.com/web/login/index.html?Referrer=/docs/web/fw/lo/img.gif&amp;",portalSync:window.location.protocol+"//www.cisco.com/cisco/psn/web/site/collab/sign.gif?",logout:"https://www.cisco.com/autho/logout.html?ReturnUrl=http://www.cisco.com/web/fw/lo/logout.html"},stage:{smCheck:window.location.protocol+"//www-stage.cisco.com/auths/cdcsmcheck/smcheck.html",oamCheck:window.location.protocol+"//sso-nprd.cisco.com/autho/cdcoamcheck/oamcheck.html",wpxSync:window.location.protocol+"//www-stage1.cisco.com/web/login/index.html?Referrer=/docs/web/fw/lo/img.gif&amp;",portalSync:window.location.protocol+"//www-stage1.cisco.com/cisco/psn/web/site/collab/sign.gif?",logout:"https://www-stage.cisco.com/autho/logout.html?ReturnUrl=http://www-stage1.cisco.com/web/fw/lo/logout.html"},id:{smCheck:window.location.protocol+"//www.cisco.com/auths/cdcsmcheck/smcheck.html",oamCheck:window.location.protocol+"//sso.cisco.com/autho/cdcoamcheck/oamcheck.html",wpxSync:window.location.protocol+"//www.cisco.com/web/login/index.html?Referrer=/docs/web/fw/lo/img.gif&amp;",portalSync:window.location.protocol+"//www.cisco.com/cisco/psn/web/site/collab/sign.gif?",logout:"https://www.cisco.com/autho/logout.html?ReturnUrl=http://www.cisco.com/web/fw/lo/logout.html"}};var g=false;var D=[];if(C!="nosynch"){var u=f[C].smCheck;var r=f[C].oamCheck;var F=f[C].wpxSync;var q=f[C].portalSync;var B=f[C].logout;var v=(C=="prod")?"cdcSsoTimer":"cdcSsoTimerStage";var z=new Image();var n=new Image();function o(){if(!g){for(var G=0;G<D.length;G++){D[G]()}g=true}}n.onload=function(){o()};var t=240*60*1000;var E=29*60*1000;var m=50*1000}this.addReadyListener=function(G){if(typeof G!="function"){if(typeof console!="undefined"&&console.trace){console.log("cdc.sso.addReadyListener: expecting a function, got a "+typeof G);console.trace()}return}if(g||!cdc.util.isAuthenticated()){G()}else{D.push(G)}};this.check=function(){if(C!="nosynch"){var H=cdc.cookie.extractCookieChip(v,"idleTimer");var I=new Date().getTime();var G=document.createElement("script");G.type="text/javascript";if(H>I){this.initialSynch()}else{if(cdc.cookie.getCookie("SMSESSION")&&cdc.cookie.getCookie("SMSESSION")!="LOGGEDOFF"){G.src=u;document.getElementsByTagName("head")[0].appendChild(G)}else{if(cdc.cookie.getCookie("ObSSOCookie")&&cdc.cookie.getCookie("ObSSOCookie").indexOf("loggedout")!=0){G.src=r;document.getElementsByTagName("head")[0].appendChild(G)}}}}};this.initialSynch=function(){if(C!="nosynch"){var G=new Date().getTime();h({cookieName:v,chipName:"idleTimer",chipValue:G+t});p();setTimeout("cdc.sso.keepSynched()",m)}};this.keepSynched=function(){var G=new Date().getTime();if(cdc.util.isAuthenticated()){if(cdc.cookie.extractCookieChip(v,"idleTimer")<G){y()}else{p()}setTimeout("cdc.sso.keepSynched()",m)}};function p(){var G=new Date().getTime();var H=cdc.cookie.extractCookieChip(v,"resynchInterval");if(!H||H<=G){z.src=F+G;n.src=q+G;h({cookieName:v,chipName:"resynchInterval",chipValue:G+E})}else{o()}}function A(){if(cdc.cookie.getCookie(v)||cdc.util.isAuthenticated()){jQuery("body").append("<iframe src='"+B+"' style='height:0;width:0;' ></iframe>")}}function y(){A()}this.nonSynchable=function(){A()};function h(G){var H=cdc.cookie.getCookie(G),I=cdc.cookie.unpackParamString(H);I[G.chipName]=G.chipValue;cdc.cookie.setCookie({cookieName:G.cookieName,cookieValue:cdc.cookie.packParamString(I),domain:"cisco.com"})}};cdc.sso.staySynched=cdc.sso.initialSynch;cdc.sso.check();
/*!
 * BEGIN /web/fw/lib/t1m-video/cdc.homevideoplayer.js
 */
cdc.util.ensureNamespace("cdc.homeVideoPlayer");cdc.homeVideoPlayer.flashCallBacks={play:function(){},pause:function(){},complete:function(){},replay:function(){},jsReady:function(){return true},ready:function(){},error:function(){}};cdc.homeVideoPlayer.errors={ERROR_GENERAL:"General Error"};cdc.homeVideoPlayer.create=function(k){if(typeof(jQuery)=="undefined"){return false}var l=function(){};var m={errorCallback:l,readyToStartCallback:l,startCallback:l,doneCallback:l,playCallback:l,pauseCallback:l,videoSmil:"",videoH264:"",videoOGG:"",videoWebM:"",width:960,height:540,title:"",autoplay:false,poster:"",flashExpressInstall:"swf/expressInstall.swf",flashPlayerSwf:"swf/videoplayer.swf"};var g=$.extend(m,k||{});var p=[];function u(w){p.push(w);g.errorCallback(w)}var r={ie:jQuery.browser.msie,mobile:(navigator.userAgent.search(/(Pad)|(Pod)|(BlackBerry)|(Phone)|(Mobile)|(Android)|(Symbian)/i)!=-1),desktop:!this.mobile,ipad:(navigator.userAgent.search(/(iPad)/i)!=-1),video:(!!document.createElement("video").canPlayType),flash:false};function v(){if(r.ie){try{var w=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(w){return true}}catch(y){return false}}else{try{if(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){return true}}catch(y){return false}}return false}function f(z){var y=document.getElementById(z);if(y){for(var w in y){if(typeof y[w]=="function"){y[w]=null}}y.parentNode.removeChild(y)}}var q=null;t();function t(){r.flash=v();if(r.flash){o()}else{if(r.video){j()}else{n()}}}function h(w){var y=Math.round(w%60);y<10?y="0"+y:y;return Math.floor(w/60)+":"+y}function j(){var C=$('<div id="csVideoContainer" class="csvid-container" style="width:'+g.width+"px;height:"+g.height+'px;"><video id="csVideoElement" width="'+g.width+'" height="'+g.height+'"/><div id="csVideoOverlay" class="csvid-screen" style="position:absolute;top:0px;left:0px;width:'+g.width+"px;height:"+g.height+'px;" /></div>');ve$=C.find("video");ve=ve$.get(0);ve$.bind("error",w);if(g.videoH264!=""&&ve.canPlayType("video/mp4")){ve.src=g.videoH264}else{if(g.videoOGG!=""&&ve.canPlayType("video/ogg")){ve.src=g.videoOGG}else{if(g.videoWebM!=""&&ve.canPlayType("video/webm")){ve.src=g.videoWebM}else{u(cdc.homeVideoPlayer.errors.ERROR_GENERAL)}}}ve.load();if(g.poster!=""){C.find("#csVideoOverlay").append('<img id="imger" src="'+g.poster+'" style="cursor:pointer;width:'+g.width+"px;height:"+g.height+'px;" />')}var B=(r.ipad)?"csvid-playprogressfs":"csvid-playprogress";C.append('<div class="csvid-controls '+B+'"><a id="csVideoPlay" class="csvid-play" href="javascript:void(0);">Play</a><div class="csvid-progress"><div class="csvid-current-time" >0:00</div><div class="csvid-progress-right"><div class="csvid-progress-holder"><div class="csvid-load-progress">&nbsp;</div><div class="csvid-play-progress"></div></div></div><div class="csvid-total-time">0:00</div></div></div>');if(r.ipad){C.find(".csvid-controls").append('<a id="csVideoFS" class="csvid-fullscreen" href="javascript:void(0);">Full Screen</a>')}q={config:{started:false,progress:null,duration:null,type:"HTML5",title:g.title},getVideo:function(){return ve},getContainer:function(){return C},getOffset:function(){var G=null;try{G=this.getVideo().currentTime;return G}catch(F){return null}return null},play:function(){try{if(this.getVideo().ended){if(r.ipad){this.getVideo().load()}else{this.getVideo().currentTime=0}}this.getVideo().play();if(q.config.duration!=null){g.playCallback()}}catch(F){}},pause:function(){try{this.getVideo().pause();this.getContainer().find(".csvid-play").removeClass("csvid-pause");g.pauseCallback()}catch(F){}},fullscreen:function(){if(!!q.getVideo().webkitEnterFullScreen&&(!navigator.userAgent.match("Chrome")&&!navigator.userAgent.match("Mac OS X 10.5"))){try{this.getVideo().webkitEnterFullScreen()}catch(F){}}else{if(this.getContainer().hasClass("csvid-container-fullscreen")){this.getContainer().removeClass("csvid-container-fullscreen").css({width:g.width+"px",height:g.height+"px"})}else{this.getContainer().addClass("csvid-container-fullscreen").css({width:"100%",height:"100%"})}}},destroy:function(){this.getContainer().remove()}};function y(F){switch(F.target.id){case"csVideoPlay":if(q.getVideo().paused||q.getVideo().ended){q.play()}else{q.pause()}break;case"csVideoFS":q.fullscreen();break}}function w(G){if(!G.target.error){return}var F="";switch(G.target.error.code){case G.target.error.MEDIA_ERR_ABORTED:case G.target.error.MEDIA_ERR_NETWORK:case G.target.error.MEDIA_ERR_DECODE:case G.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:default:F=cdc.homeVideoPlayer.errors.ERROR_GENERAL;break}try{q.getContainer().find("video").unbind()}catch(G){}u(F)}function E(F){q.config.started=true;q.getContainer().find(".csvid-play").addClass("csvid-pause");q.getContainer().find("#csVideoOverlay img").hide()}function D(F){try{try{q.getVideo().webkitExitFullscreen()}catch(F){}q.config.started=false;q.getContainer().find(".csvid-play").removeClass("csvid-pause");q.getContainer().find(".csvid-play-progress").css("width","100%");q.getContainer().find(".csvid-current-time").html("0:00")}catch(F){}g.doneCallback()}function z(G){if(!isNaN(G.target.currentTime)&&!isNaN(G.target.duration)&&!G.target.paused){if(G.target.currentTime>=G.target.duration){if(q.config.started){D(G)}}else{if(q.config.duration==null){q.config.started=true;q.config.duration=G.target.duration;g.startCallback(q.config.duration);g.playCallback(q.config.duration)}var F=G.target.duration-G.target.currentTime;q.getContainer().find(".csvid-play-progress").css("width",(G.target.currentTime/G.target.duration)*100+"%");q.getContainer().find(".csvid-current-time").html(h(F));q.getContainer().find(".csvid-total-time").html(h(G.target.duration))}}else{}}function A(F){if(!q.config.started){q.play()}else{}}ve$.bind("timeupdate",z).bind("playing",E);C.find("#csVideoOverlay").click(A);C.find(".csvid-controls").click(y)}function o(){var D=$('<div id="csVideoContainer" class="csvid-container" style="width:'+g.width+"px;height:"+g.height+'px;" />');var F="";var z={width:g.width,height:g.height,smilPath:g.videoSmil||g.videoH264||"",videoName:g.title};if(r.ie){F='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+g.width+'" height="'+g.height+'" id="csVideoFlash"><param name="movie" value="'+g.flashPlayerSwf+'" /><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="scale" value="noscale" /><param name="salign" value="tl" /><param name="flashvars" value="'+jQuery.param(z)+'" /></object>'}else{F='<object type="application/x-shockwave-flash" data="'+g.flashPlayerSwf+'" width="'+g.width+'" height="'+g.height+'" id="csVideoFlash"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="scale" value="noscale" /><param name="salign" value="tl" /><param name="flashvars" value="'+jQuery.param(z)+'" /></object>'}var C="";q={config:{playWhenReady:false,started:false,progress:null,duration:null,ready:false,type:"Flash",title:g.title},getVideo:function(){var G=D.find("object");if(G.length){return G.get(0)}else{return false}},getContainer:function(){return D},getOffset:function(){var H=null;try{H=this.getVideo().getTime();return H}catch(G){return null}return null},init:function(){if(g.autoplay){this.config.playWhenReady=true}D.get(0).innerHTML=F},play:function(){try{if(this.getVideo()==false){this.config.playWhenReady=true;this.init()}else{this.getVideo().playVideo()}this.started=true}catch(G){}},pause:function(){try{this.getVideo().pauseVideo()}catch(G){}},fullscreen:function(){return},destroy:function(){if(r.ie&&$("#csVideoFlash").length){try{f("csVideoFlash")}catch(G){}}this.getContainer().remove()}};function w(){g.doneCallback()}function E(G){g.pauseCallback()}function B(G){q.config.duration=parseInt(G);g.playCallback()}function A(){q.config.ready=true;if(q.config.playWhenReady==true){q.play()}}function y(G){g.errorCallback(G)}cdc.homeVideoPlayer.flashCallBacks.play=B;cdc.homeVideoPlayer.flashCallBacks.pause=E;cdc.homeVideoPlayer.flashCallBacks.complete=w;cdc.homeVideoPlayer.flashCallBacks.ready=A;cdc.homeVideoPlayer.flashCallBacks.error=y;if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}}function n(){u(cdc.homeVideoPlayer.errors.ERROR_GENERAL);q=null}setTimeout(function(){if(p.length){}else{g.readyToStartCallback(q)}},25);return q};
/*!
 * BEGIN /web/fw/j/home.mb.metrics.js
 */
var Lm={q:{},l:[],f:{},p:0,o:0,ol:0,gbl:{},i:new Image(),A:function(a,b,c,d){if(a.c){this.l.push(a)}b=document;if(b.createElement){c="Lm_"+a.a;if(!b.getElementById(c)){try{eval(a.e)}catch(e){}d=b.createElement("script");d.language="javascript";d.type="text/javascript";d.src=a.b;d.id=c;b.getElementsByTagName("head")[0].appendChild(d)}}},LOAD:function(a,b,c,d){this.f[a]=0;c=this.l.length;for(b=this.p;b<c;b++){d=this.l[b];if(this.f[d.a]==0){this.f[d.a]=++this.p;try{eval(d.d)}catch(e){}}else{return}}if(this.p==c&&this.o==0){this.o=1}},EV:function(g,f,j,h){if(g.addEventListener){g.addEventListener(f,j,false)}else{if(g.attachEvent){g.attachEvent(((h==1)?"":"on")+f,j)}}}};Lm.t={tag:"ut2.1.20100916.0000"};Lm.config={sc_acct:"cisco-us",dop_domain:"www.cisco.com"};try{Lm.s=location.search.toLowerCase();if(Lm.s.indexOf("referring_site=")>0){var a=Lm.s.substring(1).split("&"),b={},c,d,e;for(d=0;d<a.length;d++){c=a[d].split("=");b[c[0]]=unescape(c[1])}c=Lm.config.dop_sensor+"&tag="+Lm.t.tag+"&vs_basepage="+escape(document.URL)+"&&vs_elementtype=page&vs_event=campaign";d=["referring_site","position","campaign","keyword","creative","country"];for(e=0;e<d.length;e++){if(typeof b[d[e]]!="undefined"){c+="&"+d[e]+"="+escape(b[d[e]])}}Lm.i.src=c}}catch(e){}Lm.lh=location.hostname;Lm.pre="";if(Lm.lh=="www-stage.cisco.com"||Lm.lh=="tacoma.cisco.com"||Lm.lh=="cco-stage.cisco.com"||Lm.lh=="ecmx-wip.cisco.com"||Lm.lh=="preview.cisco.com"||Lm.lh=="maunaloa.cisco.com"||Lm.lh=="ecmx-staging.cisco.com"||Lm.lh.indexOf("cisco.com")==-1){Lm.config.sc_acct="cisco-preview"}else{Lm.pre="//www.cisco.com"}Lm.ONLOAD=function(){Lm.A({a:"dop",b:Lm.pre+"/web/fw/j/home.metrics_ut.js?v="+Lm.t.tag,c:0});Lm.lp=location.pathname;if(typeof s_account=="undefined"&&typeof s_ut_account=="undefined"){if(Lm.lp=="/"||Lm.lp=="/index.html"||Lm.lp=="/warp/public/"||Lm.lp=="/customer/hmpgs/index.html"||Lm.lp=="/partner/hmpgs/index.html"||Lm.lp=="/en/US/hmpgs/index.html"||Lm.lp=="/en/US/hmpgs/test_index.html"||Lm.lp=="/en/US/partner/hmpgs/test_index.html"||Lm.lp=="/customer/"||Lm.lp=="/partner"||Lm.lp=="/en/US/partner/"||Lm.lp=="/en/US/customer/"){Lm.A({a:"s_code",b:Lm.pre+"/web/fw/j/home.s_code_ut.js?v="+Lm.t.tag,c:1,d:"s_ut.prop46='"+(Lm.t.tag)+"';s_ut.t()",e:""})}else{}}};try{jQuery(document).ready(function(){Lm.ONLOAD()})}catch(e){Lm.EV(window,"load",Lm.ONLOAD);setTimeout("Lm.ONLOAD",3000)}var trackEvent={i:new Image(),ii:new Image(),test:function(){return 1},tag:"ut2.1.20100524.1509",url:"",iurl:"",urlf:0,event:function(q,p,n,k,j,h){this.page=(typeof s!="undefined"&&typeof s.pageName!="undefined")?s.pageName.toLowerCase():(typeof s_ut!="undefined"&&typeof s_ut.pageName!="undefined")?s_ut.pageName.toLowerCase():"";try{if(location.search.indexOf("utdebug=true")>-1){var g="utdebug&utevent="+q;for(n in p){if(typeof p[n]=="string"){g+="&"+n+"="+escape(p[n])}}trackEvent.DB(g)}}catch(j){}p.element_name=(typeof p.element_name=="undefined")?"undefined element_name":p.element_name;p.content_container=(typeof p.content_container=="undefined")?"undefined content_container":p.content_container;if(typeof s!="undefined"&&typeof s_ut=="undefined"){s_ut=s;var l=s_account}try{for(k in p){if(typeof p[k]!="function"){p[k]=p[k].toLowerCase()}}}catch(j){}if(k=="ntpagetag"){n={}}if(q=="impression"){n={title:document.title,eventtype:"impression",basepage:"http://"+location.hostname+location.pathname,bp:document.URL,link:"spotlight",linktext:p.element_name,vs_campaign_page:p.campaign_page,lpos:"SL",cb:Math.random()};var o=new Array("ad_attribute","mbox","lpos","keyCode","keycode","tt_recipeid","ad_id","elementtype","contenttype","vs_elementtype","vs_contenttype");if(typeof p.ad_id!="undefined"&&p.ad_id!=""){k=[];for(j=0;j<o.length;j++){h=p[o[j]];if(typeof h!="undefined"){h=h.toLowerCase();k.push(o[j]+":"+escape(h));n[o[j]]=h}}document.cookie="dgad_"+p.ad_id.toLowerCase()+"="+k.join(",")+";path=/;domain=.cisco.com;expires=Thu, 31 Dec 2099 00:00:00 GMT"}}else{if(q=="link"&&typeof p.action!="undefined"&&p.action=="flash click"){n={title:document.title,eventtype:"click",basepage:"http://"+location.hostname+location.pathname,bp:document.URL,link:p.action,linktext:p.element_name,vs_campaign_page:p.campaign_page,vs_action:p.action,lpos:p.content_container,cb:Math.random()};if(p.content_container=="sl"){n.link="spotlight";n.lpos="SL"}try{s_ut.prop4=p.element_name;s_ut.prop5=p.content_container;s_ut.prop6=this.page;s_ut.prop8=p.element_name;s_ut.eVar8=p.element_name;s_ut.eVar14=p.element_name;s_ut.eVar15=p.content_container;s_ut.eVar23=p.content_container;s_ut.eVar37=this.page;s_ut.prop46=this.tag;s_ut.prop50=(typeof s_account!="undefined")?s_account:"";if(p.content_container!="sl"){s_ut.events="event1"}else{s_ut.events="event5"}s_ut.linkTrackVars="prop4,prop5,prop6,prop8,eVar8,eVar14,eVar15,eVar23,eVar37,prop46,prop50,events";s_ut.linkTrackEvents="event5";Lm.gbl.element_name=p.element_name;setTimeout("s_ut.tl(true, 'o', Lm.gbl['element_name'])",250)}catch(j){}}else{if(q=="form"){n={vs_elementname:p.elementname,vs_elementtype:p.elementtype,vs_sitearea:p.sitearea,title:document.title,vs_countrysite:p.countrysite,vs_eventtype:"click",vs_basepage:p.basepage,vs_formfield1:p.formfield1,vs_formfield2:p.formfield2,vs_formfield3:p.formfield3,vs_formfield4:p.formfield4,vs_action:p.action,cb:Math.random()};if(typeof p.elementname!="undefined"&&p.elementname=="support search"){try{s_ut.prop13=p.formfield1;s_ut.eVar9=p.formfield1;s_ut.prop46=this.tag;s_ut.events="event17,event5";s_ut.prop4=p.elementname;s_ut.prop5="header_mb_support";s_ut.prop6=s_ut.pageName;s_ut.prop8=p.elementname;s_ut.eVar8=p.elementname;s_ut.eVar14=p.elementname;s_ut.eVar15="header_mb_support";s_ut.eVar23="header_mb_support";s_ut.linkTrackVars="";s_ut.linkTrackEvents="";Lm.gbl.action=p.action;setTimeout("s_ut.tl(true, 'o', Lm.gbl['action'])",250)}catch(j){}try{vs_makeSubmit({action:"http://tools.cisco.com/search/JSP/search-results.get",name:"support search"})}catch(j){}}else{if(typeof p.elementname!="undefined"&&p.elementname=="login"){try{s_ut.prop46=this.tag;s_ut.events="event5";s_ut.prop4=p.elementname;s_ut.prop5="header_mb_partners";s_ut.prop6=s_ut.pageName;s_ut.prop8=p.elementname;s_ut.eVar8=p.elementname;s_ut.eVar14=p.elementname;s_ut.eVar15="header_mb_partners";s_ut.eVar23="header_mb_partners";s_ut.linkTrackVars="";s_ut.linkTrackEvents="";Lm.gbl.action=p.action;setTimeout("s_ut.tl(true, 'o', Lm.gbl['action'])",250)}catch(j){}try{vs_makeSubmit({action:"https://www.cisco.com/authc/forms/CDClogin.fcc",name:"login"})}catch(j){}}else{if(typeof p.elementname!="undefined"&&p.elementname=="sitewidesearch"){document.cookie="s_prev="+p.basepage+";path=/;domain=cisco.com;";document.cookie="prevpage="+p.basepage+";path=/;domain=cisco.com;";try{s_ut.prop46=this.tag;s_ut.events="event5";s_ut.prop4=p.elementname;s_ut.prop5="header_mb_hdr";s_ut.prop6=s_ut.pageName;s_ut.prop8=p.elementname;s_ut.eVar8=p.elementname;s_ut.eVar14=p.elementname;s_ut.eVar15="header_mb_hdr";s_ut.eVar23="header_mb_hdr";s_ut.linkTrackVars="";s_ut.linkTrackEvents="";Lm.gbl.action=p.action}catch(j){}try{vs_makeSubmit({action:"http://www.cisco.com/pcgi-bin/search/search.pl",name:"sitewidesearch"})}catch(j){}}}}}else{if(q=="video"){k=(typeof p.element_name=="string"&&p.element_name!="undefined element_name")?p.element_name:p.video_name;j=(typeof p.action=="string")?p.action:p.video_state;h=p.video_offset;p.video_length=(p.video_length=="00")?"0":p.video_length;try{s_ut.Media.trackVars="prop15,prop46,prop50";s_ut.prop46=this.tag;s_ut.prop50=l;k+=": "+this.page;k=k.toLowerCase();if(j=="start"){s_ut.prop15=this.page;s_ut.Media.open(k,(p.video_length=="0"?300:p.video_length),p.video_player);s_ut.Media.play(k,h)}else{if(j=="play"){s_ut.Media.play(k,h)}else{if(j=="pause"){s_ut.Media.stop(k,h)}else{if(j=="milestone"){s_ut.Media.track(k)}else{if(j=="end"){s_ut.Media.stop(k,h);s_ut.Media.close(k)}}}}}}catch(j){}n={title:document.title,vs_event:"click",vs_basepage:document.URL,vs_elementname:k,vs_action:j,vs_vlength:p.video_length,vs_voffset:p.video_offset,vs_vplayer:p.video_player,vs_element_type:"video",vs_content_container:p.content_container,vs_campaign_page:p.campaign_page,cb:Math.random()}}}}}k="";n.tag=this.tag;for(j in n){if(typeof n[j]=="string"){n[j]=(n[j].split("'")).join("");k+="&"+j+"="+escape(n[j])}}if(typeof vs_filename=="undefined"){vs_filename="//"+Lm.config.dop_domain+"/swa/j/zag2_vs_log1.asc?Log=1"}if(this.urlf==0){this.urlf=1;this.iurl=vs_filename+k+"&cb="+Math.random();setTimeout("trackEvent.ii.src=trackEvent.iurl",100)}else{this.urlf=0;this.url=vs_filename+k+"&cb="+Math.random();setTimeout("trackEvent.i.src=trackEvent.url",100)}},DB:function(f,g){g=new Image();g.src="//cdn.tealium.com/track.gif?uttag=ut2.0&utmsg="+f}}
/*!
 * BEGIN /web/fw/j/homepage_frag/_followus.js
 */
;jQuery(document).ready(function(){jQuery("#followus a").each(function(){jQuery(this).click(function(){s_objectID='"'+this.href+'_1"';return this.s_oc?this.s_oc(e):true})});cdc.util.addMetricsRule("#followus a[href]",{lpos:"sm_hp"})});if(typeof cdc!="undefined"&&typeof cdc.includer!="undefined"&&typeof cdc.includer.alreadyInPage=="object"){cdc.includer.alreadyInPage.push("/web/fw/lib/jquery-1.4.2.js","/web/fw/lib/jqmodal.js","/web/fw/j/homepage_frag/_util_frag.js","/web/fw/j/cors.js","/web/fw/w/includer.js","/web/fw/j/search_fragment.js","/web/fw/j/masterbrand_frag/_megamenu.js","/web/fw/j/masterbrand_frag/_megamenu_global.js","/web/fw/j/masterbrand_frag/_skip.js","/web/fw/j/masterbrand_frag/_toolbar.js","/web/fw/j/homepage_frag/_home.js","/web/fw/j/homepage_frag/_newsticker.js","/web/fw/j/homepage_frag/_fatfooter.js","/web/fw/m/rules-lib.js","/web/fw/m/mb-rules.js","/web/fw/m/home-rules.js","/web/fw/j/cdc.cookie.js","/web/fw/lo/sso.js","/web/fw/lib/t1m-video/cdc.homevideoplayer.js","/web/fw/j/home.mb.metrics.js","/web/fw/j/homepage_frag/_followus.js")};
