/*
 jQuery JavaScript Library v1.3.2
 http://jquery.com/

 Copyright (c) 2009 John Resig
 Dual licensed under the MIT and GPL licenses.
 http://docs.jquery.com/License

 Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
 Revision: 6246
*/
(function(){var x=this,i,p=x.jQuery,s=x.$,b=x.jQuery=x.$=function(a,c){return new b.fn.init(a,c)},E=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,F=/^.[^:#\[\.,]*$/;b.fn=b.prototype={init:function(a,c){a=a||document;if(a.nodeType){this[0]=a;this.length=1;this.context=a;return this}if(typeof a==="string"){var d=E.exec(a);if(d&&(d[1]||!c))if(d[1])a=b.clean([d[1]],c);else{var e=document.getElementById(d[3]);if(e&&e.id!=d[3])return b().find(a);var g=b(e||[]);g.context=document;g.selector=a;return g}else return b(c).find(a)}else if(b.isFunction(a))return b(document).ready(a);
if(a.selector&&a.context){this.selector=a.selector;this.context=a.context}return this.setArray(b.isArray(a)?a:b.makeArray(a))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===i?Array.prototype.slice.call(this):this[a]},pushStack:function(a,c,d){var e=b(a);e.prevObject=this;e.context=this.context;if(c==="find")e.selector=this.selector+(this.selector?" ":"")+d;else if(c)e.selector=this.selector+"."+c+"("+d+")";return e},setArray:function(a){this.length=0;Array.prototype.push.apply(this,
a);return this},each:function(a,c){return b.each(this,a,c)},index:function(a){return b.inArray(a&&a.jquery?a[0]:a,this)},attr:function(a,c,d){var e=a;if(typeof a==="string")if(c===i)return this[0]&&b[d||"attr"](this[0],a);else{e={};e[a]=c}return this.each(function(g){for(a in e)b.attr(d?this.style:this,a,b.prop(this,e[a],d,g,a))})},css:function(a,c){if((a=="width"||a=="height")&&parseFloat(c)<0)c=i;return this.attr(a,c,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null)return this.empty().append((this[0]&&
this[0].ownerDocument||document).createTextNode(a));var c="";b.each(a||this,function(){b.each(this.childNodes,function(){if(this.nodeType!=8)c+=this.nodeType!=1?this.nodeValue:b.fn.text([this])})});return c},wrapAll:function(a){if(this[0]){var c=b(a,this[0].ownerDocument).clone();this[0].parentNode&&c.insertBefore(this[0]);c.map(function(){for(var d=this;d.firstChild;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){return this.each(function(){b(this).contents().wrapAll(a)})},
wrap:function(a){return this.each(function(){b(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType==1&&this.insertBefore(a,this.firstChild)})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,
this.nextSibling)})},end:function(){return this.prevObject||b([])},push:[].push,sort:[].sort,splice:[].splice,find:function(a){if(this.length===1){var c=this.pushStack([],"find",a);c.length=0;b.find(a,this[0],c);return c}else return this.pushStack(b.unique(b.map(this,function(d){return b.find(a,d)})),"find",a)},clone:function(a){var c=this.map(function(){if(!b.support.noCloneEvent&&!b.isXMLDoc(this)){var g=this.outerHTML;if(!g){var j=this.ownerDocument.createElement("div");j.appendChild(this.cloneNode(true));
g=j.innerHTML}return b.clean([g.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else return this.cloneNode(true)});if(a===true){var d=this.find("*").andSelf(),e=0;c.find("*").andSelf().each(function(){if(!(this.nodeName!==d[e].nodeName)){var g=b.data(d[e],"events");for(var j in g)for(var n in g[j])b.event.add(this,j,g[j][n],g[j][n].data);e++}})}return c},filter:function(a){return this.pushStack(b.isFunction(a)&&b.grep(this,function(c,d){return a.call(c,d)})||b.multiFilter(a,b.grep(this,
function(c){return c.nodeType===1})),"filter",a)},closest:function(a){var c=b.expr.match.POS.test(a)?b(a):null,d=0;return this.map(function(){for(var e=this;e&&e.ownerDocument;){if(c?c.index(e)>-1:b(e).is(a)){b.data(e,"closest",d);return e}e=e.parentNode;d++}})},not:function(a){if(typeof a==="string")if(F.test(a))return this.pushStack(b.multiFilter(a,this,true),"not",a);else a=b.multiFilter(a,this);var c=a.length&&a[a.length-1]!==i&&!a.nodeType;return this.filter(function(){return c?b.inArray(this,
a)<0:this!=a})},add:function(a){return this.pushStack(b.unique(b.merge(this.get(),typeof a==="string"?b(a):b.makeArray(a))))},is:function(a){return!!a&&b.multiFilter(a,this).length>0},hasClass:function(a){return!!a&&this.is("."+a)},val:function(a){if(a===i){var c=this[0];if(c){if(b.nodeName(c,"option"))return(c.attributes.value||{}).specified?c.value:c.text;if(b.nodeName(c,"select")){var d=c.selectedIndex,e=[],g=c.options,j=c.type=="select-one";if(d<0)return null;for(var n=j?d:0,o=j?d+1:g.length;n<
o;n++){var v=g[n];if(v.selected){a=b(v).val();if(j)return a;e.push(a)}}return e}return(c.value||"").replace(/\r/g,"")}return i}if(typeof a==="number")a+="";return this.each(function(){if(!(this.nodeType!=1))if(b.isArray(a)&&/radio|checkbox/.test(this.type))this.checked=b.inArray(this.value,a)>=0||b.inArray(this.name,a)>=0;else if(b.nodeName(this,"select")){var u=b.makeArray(a);b("option",this).each(function(){this.selected=b.inArray(this.value,u)>=0||b.inArray(this.text,u)>=0});if(!u.length)this.selectedIndex=
-1}else this.value=a})},html:function(a){return a===i?this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null:this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,function(c,d){return a.call(c,d,c)}))},andSelf:function(){return this.add(this.prevObject)},
domManip:function(a,c,d){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),g=b.clean(a,this[0].ownerDocument||this[0],e),j=e.firstChild;if(j)for(var n=0,o=this.length;n<o;n++)d.call(v(this[n],j),this.length>1||n>0?e.cloneNode(true):e);g&&b.each(g,H)}return this;function v(u,C){return c&&b.nodeName(u,"table")&&b.nodeName(C,"tr")?u.getElementsByTagName("tbody")[0]||u.appendChild(u.ownerDocument.createElement("tbody")):u}}};b.fn.init.prototype=b.fn;function H(a,c){c.src?b.ajax({url:c.src,
async:false,dataType:"script"}):b.globalEval(c.text||c.textContent||c.innerHTML||"");c.parentNode&&c.parentNode.removeChild(c)}function G(){return+new Date}b.extend=b.fn.extend=function(){var a=arguments[0]||{},c=1,d=arguments.length,e=false,g;if(typeof a==="boolean"){e=a;a=arguments[1]||{};c=2}if(typeof a!=="object"&&!b.isFunction(a))a={};if(d==c){a=this;--c}for(;c<d;c++)if((g=arguments[c])!=null)for(var j in g){var n=a[j],o=g[j];if(!(a===o))if(e&&o&&typeof o==="object"&&!o.nodeType)a[j]=b.extend(e,
n||(o.length!=null?[]:{}),o);else if(o!==i)a[j]=o}return a};var R=/z-?index|font-?weight|opacity|zoom|line-?height/i,L=document.defaultView||{},D=Object.prototype.toString;b.extend({noConflict:function(a){x.$=s;if(a)x.jQuery=p;return b},isFunction:function(a){return D.call(a)==="[object Function]"},isArray:function(a){return D.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&b.isXMLDoc(a.ownerDocument)},globalEval:function(a){if(a&&
/\S/.test(a)){var c=document.getElementsByTagName("head")[0]||document.documentElement,d=document.createElement("script");d.type="text/javascript";if(b.support.scriptEval)d.appendChild(document.createTextNode(a));else d.text=a;c.insertBefore(d,c.firstChild);c.removeChild(d)}},nodeName:function(a,c){return a.nodeName&&a.nodeName.toUpperCase()==c.toUpperCase()},each:function(a,c,d){var e,g=0,j=a.length;if(d)if(j===i)for(e in a){if(c.apply(a[e],d)===false)break}else for(;g<j;){if(c.apply(a[g++],d)===
false)break}else if(j===i)for(e in a){if(c.call(a[e],e,a[e])===false)break}else for(var n=a[0];g<j&&c.call(n,g,n)!==false;n=a[++g]);return a},prop:function(a,c,d,e,g){if(b.isFunction(c))c=c.call(a,e);return typeof c==="number"&&d=="curCSS"&&!R.test(g)?c+"px":c},className:{add:function(a,c){b.each((c||"").split(/\s+/),function(d,e){if(a.nodeType==1&&!b.className.has(a.className,e))a.className+=(a.className?" ":"")+e})},remove:function(a,c){if(a.nodeType==1)a.className=c!==i?b.grep(a.className.split(/\s+/),
function(d){return!b.className.has(c,d)}).join(" "):""},has:function(a,c){return a&&b.inArray(c,(a.className||a).toString().split(/\s+/))>-1}},swap:function(a,c,d){var e={};for(var g in c){e[g]=a.style[g];a.style[g]=c[g]}d.call(a);for(g in c)a.style[g]=e[g]},css:function(a,c,d,e){if(c=="width"||c=="height"){var g,j={position:"absolute",visibility:"hidden",display:"block"},n=c=="width"?["Left","Right"]:["Top","Bottom"];function o(){g=c=="width"?a.offsetWidth:a.offsetHeight;e==="border"||b.each(n,function(){e||
(g-=parseFloat(b.curCSS(a,"padding"+this,true))||0);if(e==="margin")g+=parseFloat(b.curCSS(a,"margin"+this,true))||0;else g-=parseFloat(b.curCSS(a,"border"+this+"Width",true))||0})}a.offsetWidth!==0?o():b.swap(a,j,o);return Math.max(0,Math.round(g))}return b.curCSS(a,c,d)},curCSS:function(a,c,d){var e,g=a.style;if(c=="opacity"&&!b.support.opacity){e=b.attr(g,"opacity");return e==""?"1":e}if(c.match(/float/i))c=da;if(!d&&g&&g[c])e=g[c];else if(L.getComputedStyle){if(c.match(/float/i))c="float";c=c.replace(/([A-Z])/g,
"-$1").toLowerCase();var j=L.getComputedStyle(a,null);if(j)e=j.getPropertyValue(c);if(c=="opacity"&&e=="")e="1"}else if(a.currentStyle){var n=c.replace(/\-(\w)/g,function(u,C){return C.toUpperCase()});e=a.currentStyle[c]||a.currentStyle[n];if(!/^\d+(px)?$/i.test(e)&&/^\d/.test(e)){var o=g.left,v=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;g.left=e||0;e=g.pixelLeft+"px";g.left=o;a.runtimeStyle.left=v}}return e},clean:function(a,c,d){c=c||document;if(typeof c.createElement==="undefined")c=
c.ownerDocument||c[0]&&c[0].ownerDocument||document;if(!d&&a.length===1&&typeof a[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(a[0]);if(e)return[c.createElement(e[1])]}var g=[],j=[],n=c.createElement("div");b.each(a,function(v,u){if(typeof u==="number")u+="";if(u){if(typeof u==="string"){u=u.replace(/(<(\w+)[^>]*?)\/>/g,function(X,f,h){return h.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?X:f+"></"+h+">"});var C=u.replace(/^\s+/,"").substring(0,10).toLowerCase(),O=!C.indexOf("<opt")&&
[1,"<select multiple='multiple'>","</select>"]||!C.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||C.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!C.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!C.indexOf("<td")||!C.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!C.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!b.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];for(n.innerHTML=O[1]+u+O[2];O[0]--;)n=n.lastChild;
if(!b.support.tbody)for(var W=/<tbody/i.test(u),B=!C.indexOf("<table")&&!W?n.firstChild&&n.firstChild.childNodes:O[1]=="<table>"&&!W?n.childNodes:[],M=B.length-1;M>=0;--M)b.nodeName(B[M],"tbody")&&!B[M].childNodes.length&&B[M].parentNode.removeChild(B[M]);!b.support.leadingWhitespace&&/^\s/.test(u)&&n.insertBefore(c.createTextNode(u.match(/^\s*/)[0]),n.firstChild);u=b.makeArray(n.childNodes)}if(u.nodeType)g.push(u);else g=b.merge(g,u)}});if(d){for(var o=0;g[o];o++)if(b.nodeName(g[o],"script")&&(!g[o].type||
g[o].type.toLowerCase()==="text/javascript"))j.push(g[o].parentNode?g[o].parentNode.removeChild(g[o]):g[o]);else{g[o].nodeType===1&&g.splice.apply(g,[o+1,0].concat(b.makeArray(g[o].getElementsByTagName("script"))));d.appendChild(g[o])}return j}return g},attr:function(a,c,d){if(!a||a.nodeType==3||a.nodeType==8)return i;var e=!b.isXMLDoc(a),g=d!==i;c=e&&b.props[c]||c;if(a.tagName){var j=/href|src|style/.test(c);if(c in a&&e&&!j){if(g){if(c=="type"&&b.nodeName(a,"input")&&a.parentNode)throw"type property can't be changed";
a[c]=d}if(b.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c=="tabIndex"){var n=a.getAttributeNode("tabIndex");return n&&n.specified?n.value:a.nodeName.match(/(button|input|object|select|textarea)/i)?0:a.nodeName.match(/^(a|area)$/i)&&a.href?0:i}return a[c]}if(!b.support.style&&e&&c=="style")return b.attr(a.style,"cssText",d);g&&a.setAttribute(c,""+d);var o=!b.support.hrefNormalized&&e&&j?a.getAttribute(c,2):a.getAttribute(c);return o===null?i:o}if(!b.support.opacity&&
c=="opacity"){if(g){a.zoom=1;a.filter=(a.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(d)+""=="NaN"?"":"alpha(opacity="+d*100+")")}return a.filter&&a.filter.indexOf("opacity=")>=0?parseFloat(a.filter.match(/opacity=([^)]*)/)[1])/100+"":""}c=c.replace(/-([a-z])/ig,function(v,u){return u.toUpperCase()});if(g)a[c]=d;return a[c]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var d=a.length;if(d==null||typeof a==="string"||b.isFunction(a)||a.setInterval)c[0]=
a;else for(;d;)c[--d]=a[d]}return c},inArray:function(a,c){for(var d=0,e=c.length;d<e;d++)if(c[d]===a)return d;return-1},merge:function(a,c){var d=0,e,g=a.length;if(b.support.getAll)for(;(e=c[d++])!=null;)a[g++]=e;else for(;(e=c[d++])!=null;)if(e.nodeType!=8)a[g++]=e;return a},unique:function(a){var c=[],d={};try{for(var e=0,g=a.length;e<g;e++){var j=b.data(a[e]);if(!d[j]){d[j]=true;c.push(a[e])}}}catch(n){c=a}return c},grep:function(a,c,d){for(var e=[],g=0,j=a.length;g<j;g++)!d!=!c(a[g],g)&&e.push(a[g]);
return e},map:function(a,c){for(var d=[],e=0,g=a.length;e<g;e++){var j=c(a[e],e);if(j!=null)d[d.length]=j}return d.concat.apply([],d)}});var z=navigator.userAgent.toLowerCase();b.browser={version:(z.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(z),opera:/opera/.test(z),msie:/msie/.test(z)&&!/opera/.test(z),mozilla:/mozilla/.test(z)&&!/(compatible|webkit)/.test(z)};b.each({parent:function(a){return a.parentNode},parents:function(a){return b.dir(a,"parentNode")},next:function(a){return b.nth(a,
2,"nextSibling")},prev:function(a){return b.nth(a,2,"previousSibling")},nextAll:function(a){return b.dir(a,"nextSibling")},prevAll:function(a){return b.dir(a,"previousSibling")},siblings:function(a){return b.sibling(a.parentNode.firstChild,a)},children:function(a){return b.sibling(a.firstChild)},contents:function(a){return b.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:b.makeArray(a.childNodes)}},function(a,c){b.fn[a]=function(d){var e=b.map(this,c);if(d&&typeof d=="string")e=
b.multiFilter(d,e);return this.pushStack(b.unique(e),a,d)}});b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,c){b.fn[a]=function(d){for(var e=[],g=b(d),j=0,n=g.length;j<n;j++){var o=(j>0?this.clone(true):this).get();b.fn[c].apply(b(g[j]),o);e=e.concat(o)}return this.pushStack(e,a,d)}});b.each({removeAttr:function(a){b.attr(this,a,"");this.nodeType==1&&this.removeAttribute(a)},addClass:function(a){b.className.add(this,a)},
removeClass:function(a){b.className.remove(this,a)},toggleClass:function(a,c){if(typeof c!=="boolean")c=!b.className.has(this,a);b.className[c?"add":"remove"](this,a)},remove:function(a){if(!a||b.filter(a,[this]).length){b("*",this).add([this]).each(function(){b.event.remove(this);b.removeData(this)});this.parentNode&&this.parentNode.removeChild(this)}},empty:function(){for(b(this).children().remove();this.firstChild;)this.removeChild(this.firstChild)}},function(a,c){b.fn[a]=function(){return this.each(c,
arguments)}});function y(a,c){return a[0]&&parseInt(b.curCSS(a[0],c,true),10)||0}var w="jQuery"+G(),J=0,P={};b.extend({cache:{},data:function(a,c,d){a=a==x?P:a;var e=a[w];e||(e=a[w]=++J);if(c&&!b.cache[e])b.cache[e]={};if(d!==i)b.cache[e][c]=d;return c?b.cache[e][c]:e},removeData:function(a,c){a=a==x?P:a;var d=a[w];if(c){if(b.cache[d]){delete b.cache[d][c];c="";for(c in b.cache[d])break;c||b.removeData(a)}}else{try{delete a[w]}catch(e){a.removeAttribute&&a.removeAttribute(w)}delete b.cache[d]}},queue:function(a,
c,d){if(a){c=(c||"fx")+"queue";var e=b.data(a,c);if(!e||b.isArray(d))e=b.data(a,c,b.makeArray(d));else d&&e.push(d)}return e},dequeue:function(a,c){var d=b.queue(a,c),e=d.shift();if(!c||c==="fx")e=d[0];e!==i&&e.call(a)}});b.fn.extend({data:function(a,c){var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(c===i){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===i&&this.length)e=b.data(this[0],a);return e===i&&d[1]?this.data(d[0]):e}else return this.trigger("setData"+d[1]+"!",[d[0],c]).each(function(){b.data(this,
a,c)})},removeData:function(a){return this.each(function(){b.removeData(this,a)})},queue:function(a,c){if(typeof a!=="string"){c=a;a="fx"}if(c===i)return b.queue(this[0],a);return this.each(function(){var d=b.queue(this,a,c);a=="fx"&&d.length==1&&d[0].call(this)})},dequeue:function(a){return this.each(function(){b.dequeue(this,a)})}});(function(){var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,c=0,d=Object.prototype.toString,
e=function(f,h,k,l){k=k||[];h=h||document;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!f||typeof f!=="string")return k;var m=[],q,r,t,I,A=true;for(a.lastIndex=0;(q=a.exec(f))!==null;){m.push(q[1]);if(q[2]){I=RegExp.rightContext;break}}if(m.length>1&&j.exec(f))if(m.length===2&&g.relative[m[0]])r=X(m[0]+m[1],h);else for(r=g.relative[m[0]]?[h]:e(m.shift(),h);m.length;){f=m.shift();if(g.relative[f])f+=m.shift();r=X(f,r)}else{var T=l?{expr:m.pop(),set:o(l)}:e.find(m.pop(),m.length===1&&h.parentNode?
h.parentNode:h,M(h));r=e.filter(T.expr,T.set);if(m.length>0)t=o(r);else A=false;for(;m.length;){var aa=m.pop(),Y=aa;if(g.relative[aa])Y=m.pop();else aa="";if(Y==null)Y=h;g.relative[aa](t,Y,M(h))}}t||(t=r);if(!t)throw"Syntax error, unrecognized expression: "+(aa||f);if(d.call(t)==="[object Array]")if(A)if(h.nodeType===1)for(var K=0;t[K]!=null;K++){if(t[K]&&(t[K]===true||t[K].nodeType===1&&B(h,t[K])))k.push(r[K])}else for(K=0;t[K]!=null;K++)t[K]&&t[K].nodeType===1&&k.push(r[K]);else k.push.apply(k,
t);else o(t,k);if(I){e(I,h,k,l);if(u){C=false;k.sort(u);if(C)for(K=1;K<k.length;K++)k[K]===k[K-1]&&k.splice(K--,1)}}return k};e.matches=function(f,h){return e(f,null,null,h)};e.find=function(f,h,k){var l,m;if(!f)return[];for(var q=0,r=g.order.length;q<r;q++){var t=g.order[q];if(m=g.match[t].exec(f)){var I=RegExp.leftContext;if(I.substr(I.length-1)!=="\\"){m[1]=(m[1]||"").replace(/\\/g,"");l=g.find[t](m,h,k);if(l!=null){f=f.replace(g.match[t],"");break}}}}l||(l=h.getElementsByTagName("*"));return{set:l,
expr:f}};e.filter=function(f,h,k,l){for(var m=f,q=[],r=h,t,I,A=h&&h[0]&&M(h[0]);f&&h.length;){for(var T in g.filter)if((t=g.match[T].exec(f))!=null){var aa=g.filter[T],Y,K;I=false;if(r==q)q=[];if(g.preFilter[T])if(t=g.preFilter[T](t,r,k,q,l,A)){if(t===true)continue}else I=Y=true;if(t)for(var ea=0;(K=r[ea])!=null;ea++)if(K){Y=aa(K,t,ea,r);var ha=l^!!Y;if(k&&Y!=null)if(ha)I=true;else r[ea]=false;else if(ha){q.push(K);I=true}}if(Y!==i){k||(r=q);f=f.replace(g.match[T],"");if(!I)return[];break}}if(f==
m)if(I==null)throw"Syntax error, unrecognized expression: "+f;else break;m=f}return r};var g=e.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\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(f){return f.getAttribute("href")}},relative:{"+":function(f,h,k){var l=typeof h==="string",m=l&&!/\W/.test(h),q=l&&!m;if(m&&!k)h=h.toUpperCase();for(var r=0,t=f.length,I;r<t;r++)if(I=f[r]){for(;(I=I.previousSibling)&&I.nodeType!==1;);f[r]=q||I&&I.nodeName===h?I||false:I===h}q&&e.filter(h,f,true)},">":function(f,h,k){var l=typeof h==="string";
if(l&&!/\W/.test(h)){h=k?h:h.toUpperCase();for(var m=0,q=f.length;m<q;m++){var r=f[m];if(r){var t=r.parentNode;f[m]=t.nodeName===h?t:false}}}else{m=0;for(q=f.length;m<q;m++)if(r=f[m])f[m]=l?r.parentNode:r.parentNode===h;l&&e.filter(h,f,true)}},"":function(f,h,k){var l=c++,m=W;if(!h.match(/\W/)){var q=h=k?h:h.toUpperCase();m=O}m("parentNode",h,l,f,q,k)},"~":function(f,h,k){var l=c++,m=W;if(typeof h==="string"&&!h.match(/\W/)){var q=h=k?h:h.toUpperCase();m=O}m("previousSibling",h,l,f,q,k)}},find:{ID:function(f,
h,k){if(typeof h.getElementById!=="undefined"&&!k){var l=h.getElementById(f[1]);return l?[l]:[]}},NAME:function(f,h){if(typeof h.getElementsByName!=="undefined"){for(var k=[],l=h.getElementsByName(f[1]),m=0,q=l.length;m<q;m++)l[m].getAttribute("name")===f[1]&&k.push(l[m]);return k.length===0?null:k}},TAG:function(f,h){return h.getElementsByTagName(f[1])}},preFilter:{CLASS:function(f,h,k,l,m,q){f=" "+f[1].replace(/\\/g,"")+" ";if(q)return f;for(var r=0,t;(t=h[r])!=null;r++)if(t)if(m^(t.className&&
(" "+t.className+" ").indexOf(f)>=0))k||l.push(t);else if(k)h[r]=false;return false},ID:function(f){return f[1].replace(/\\/g,"")},TAG:function(f,h){for(var k=0;h[k]===false;k++);return h[k]&&M(h[k])?f[1]:f[1].toUpperCase()},CHILD:function(f){if(f[1]=="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(f[2]=="even"&&"2n"||f[2]=="odd"&&"2n+1"||!/\D/.test(f[2])&&"0n+"+f[2]||f[2]);f[2]=h[1]+(h[2]||1)-0;f[3]=h[3]-0}f[0]=c++;return f},ATTR:function(f,h,k,l,m,q){var r=f[1].replace(/\\/g,"");if(!q&&g.attrMap[r])f[1]=
g.attrMap[r];if(f[2]==="~=")f[4]=" "+f[4]+" ";return f},PSEUDO:function(f,h,k,l,m){if(f[1]==="not")if(f[3].match(a).length>1||/^\w/.test(f[3]))f[3]=e(f[3],null,null,h);else{var q=e.filter(f[3],h,k,true^m);k||l.push.apply(l,q);return false}else if(g.match.POS.test(f[0])||g.match.CHILD.test(f[0]))return true;return f},POS:function(f){f.unshift(true);return f}},filters:{enabled:function(f){return f.disabled===false&&f.type!=="hidden"},disabled:function(f){return f.disabled===true},checked:function(f){return f.checked===
true},selected:function(f){return f.selected===true},parent:function(f){return!!f.firstChild},empty:function(f){return!f.firstChild},has:function(f,h,k){return!!e(k[3],f).length},header:function(f){return/h\d/i.test(f.nodeName)},text:function(f){return"text"===f.type},radio:function(f){return"radio"===f.type},checkbox:function(f){return"checkbox"===f.type},file:function(f){return"file"===f.type},password:function(f){return"password"===f.type},submit:function(f){return"submit"===f.type},image:function(f){return"image"===
f.type},reset:function(f){return"reset"===f.type},button:function(f){return"button"===f.type||f.nodeName.toUpperCase()==="BUTTON"},input:function(f){return/input|select|textarea|button/i.test(f.nodeName)}},setFilters:{first:function(f,h){return h===0},last:function(f,h,k,l){return h===l.length-1},even:function(f,h){return h%2===0},odd:function(f,h){return h%2===1},lt:function(f,h,k){return h<k[3]-0},gt:function(f,h,k){return h>k[3]-0},nth:function(f,h,k){return k[3]-0==h},eq:function(f,h,k){return k[3]-
0==h}},filter:{PSEUDO:function(f,h,k,l){var m=h[1],q=g.filters[m];if(q)return q(f,k,h,l);else if(m==="contains")return(f.textContent||f.innerText||"").indexOf(h[3])>=0;else if(m==="not"){var r=h[3];k=0;for(var t=r.length;k<t;k++)if(r[k]===f)return false;return true}},CHILD:function(f,h){var k=h[1],l=f;switch(k){case "only":case "first":for(;l=l.previousSibling;)if(l.nodeType===1)return false;if(k=="first")return true;l=f;case "last":for(;l=l.nextSibling;)if(l.nodeType===1)return false;return true;
case "nth":var m=h[2],q=h[3];if(m==1&&q==0)return true;var r=h[0],t=f.parentNode;if(t&&(t.sizcache!==r||!f.nodeIndex)){var I=0;for(l=t.firstChild;l;l=l.nextSibling)if(l.nodeType===1)l.nodeIndex=++I;t.sizcache=r}var A=f.nodeIndex-q;return m==0?A==0:A%m==0&&A/m>=0}},ID:function(f,h){return f.nodeType===1&&f.getAttribute("id")===h},TAG:function(f,h){return h==="*"&&f.nodeType===1||f.nodeName===h},CLASS:function(f,h){return(" "+(f.className||f.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(f,
h){var k=h[1],l=g.attrHandle[k]?g.attrHandle[k](f):f[k]!=null?f[k]:f.getAttribute(k),m=l+"",q=h[2],r=h[4];return l==null?q==="!=":q==="="?m===r:q==="*="?m.indexOf(r)>=0:q==="~="?(" "+m+" ").indexOf(r)>=0:!r?m&&l!==false:q==="!="?m!=r:q==="^="?m.indexOf(r)===0:q==="$="?m.substr(m.length-r.length)===r:q==="|="?m===r||m.substr(0,r.length+1)===r+"-":false},POS:function(f,h,k,l){var m=h[2],q=g.setFilters[m];if(q)return q(f,k,h,l)}}},j=g.match.POS;for(var n in g.match)g.match[n]=RegExp(g.match[n].source+
/(?![^\[]*\])(?![^\(]*\))/.source);var o=function(f,h){f=Array.prototype.slice.call(f);if(h){h.push.apply(h,f);return h}return f};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(v){o=function(f,h){var k=h||[];if(d.call(f)==="[object Array]")Array.prototype.push.apply(k,f);else if(typeof f.length==="number")for(var l=0,m=f.length;l<m;l++)k.push(f[l]);else for(l=0;f[l];l++)k.push(f[l]);return k}}var u,C;if(document.documentElement.compareDocumentPosition)u=function(f,h){var k=
f.compareDocumentPosition(h)&4?-1:f===h?0:1;if(k===0)C=true;return k};else if("sourceIndex"in document.documentElement)u=function(f,h){var k=f.sourceIndex-h.sourceIndex;if(k===0)C=true;return k};else if(document.createRange)u=function(f,h){var k=f.ownerDocument.createRange(),l=h.ownerDocument.createRange();k.selectNode(f);k.collapse(true);l.selectNode(h);l.collapse(true);var m=k.compareBoundaryPoints(Range.START_TO_END,l);if(m===0)C=true;return m};(function(){var f=document.createElement("form"),
h="script"+(new Date).getTime();f.innerHTML="<input name='"+h+"'/>";var k=document.documentElement;k.insertBefore(f,k.firstChild);if(document.getElementById(h)){g.find.ID=function(l,m,q){if(typeof m.getElementById!=="undefined"&&!q){var r=m.getElementById(l[1]);return r?r.id===l[1]||typeof r.getAttributeNode!=="undefined"&&r.getAttributeNode("id").nodeValue===l[1]?[r]:i:[]}};g.filter.ID=function(l,m){var q=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id");return l.nodeType===1&&q&&
q.nodeValue===m}}k.removeChild(f)})();(function(){var f=document.createElement("div");f.appendChild(document.createComment(""));if(f.getElementsByTagName("*").length>0)g.find.TAG=function(h,k){var l=k.getElementsByTagName(h[1]);if(h[1]==="*"){for(var m=[],q=0;l[q];q++)l[q].nodeType===1&&m.push(l[q]);l=m}return l};f.innerHTML="<a href='#'></a>";if(f.firstChild&&typeof f.firstChild.getAttribute!=="undefined"&&f.firstChild.getAttribute("href")!=="#")g.attrHandle.href=function(h){return h.getAttribute("href",
2)}})();document.querySelectorAll&&function(){var f=e,h=document.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){e=function(k,l,m,q){l=l||document;if(!q&&l.nodeType===9&&!M(l))try{return o(l.querySelectorAll(k),m)}catch(r){}return f(k,l,m,q)};e.find=f.find;e.filter=f.filter;e.selectors=f.selectors;e.matches=f.matches}}();document.getElementsByClassName&&document.documentElement.getElementsByClassName&&function(){var f=document.createElement("div");
f.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(f.getElementsByClassName("e").length===0)){f.lastChild.className="e";if(!(f.getElementsByClassName("e").length===1)){g.order.splice(1,0,"CLASS");g.find.CLASS=function(h,k,l){if(typeof k.getElementsByClassName!=="undefined"&&!l)return k.getElementsByClassName(h[1])}}}}();function O(f,h,k,l,m,q){for(var r=f=="previousSibling"&&!q,t=0,I=l.length;t<I;t++){var A=l[t];if(A){if(r&&A.nodeType===1){A.sizcache=k;A.sizset=t}A=A[f];for(var T=
false;A;){if(A.sizcache===k){T=l[A.sizset];break}if(A.nodeType===1&&!q){A.sizcache=k;A.sizset=t}if(A.nodeName===h){T=A;break}A=A[f]}l[t]=T}}}function W(f,h,k,l,m,q){for(var r=f=="previousSibling"&&!q,t=0,I=l.length;t<I;t++){var A=l[t];if(A){if(r&&A.nodeType===1){A.sizcache=k;A.sizset=t}A=A[f];for(var T=false;A;){if(A.sizcache===k){T=l[A.sizset];break}if(A.nodeType===1){if(!q){A.sizcache=k;A.sizset=t}if(typeof h!=="string"){if(A===h){T=true;break}}else if(e.filter(h,[A]).length>0){T=A;break}}A=A[f]}l[t]=
T}}}var B=document.compareDocumentPosition?function(f,h){return f.compareDocumentPosition(h)&16}:function(f,h){return f!==h&&(f.contains?f.contains(h):true)},M=function(f){return f.nodeType===9&&f.documentElement.nodeName!=="HTML"||!!f.ownerDocument&&M(f.ownerDocument)},X=function(f,h){for(var k=[],l="",m,q=h.nodeType?[h]:h;m=g.match.PSEUDO.exec(f);){l+=m[0];f=f.replace(g.match.PSEUDO,"")}f=g.relative[f]?f+"*":f;for(var r=0,t=q.length;r<t;r++)e(f,q[r],k);return e.filter(l,k)};b.find=e;b.filter=e.filter;
b.expr=e.selectors;b.expr[":"]=b.expr.filters;e.selectors.filters.hidden=function(f){return f.offsetWidth===0||f.offsetHeight===0};e.selectors.filters.visible=function(f){return f.offsetWidth>0||f.offsetHeight>0};e.selectors.filters.animated=function(f){return b.grep(b.timers,function(h){return f===h.elem}).length};b.multiFilter=function(f,h,k){if(k)f=":not("+f+")";return e.matches(f,h)};b.dir=function(f,h){for(var k=[],l=f[h];l&&l!=document;){l.nodeType==1&&k.push(l);l=l[h]}return k};b.nth=function(f,
h,k){h=h||1;for(var l=0;f;f=f[k])if(f.nodeType==1&&++l==h)break;return f};b.sibling=function(f,h){for(var k=[];f;f=f.nextSibling)f.nodeType==1&&f!=h&&k.push(f);return k}})();b.event={add:function(a,c,d,e){if(!(a.nodeType==3||a.nodeType==8)){if(a.setInterval&&a!=x)a=x;if(!d.guid)d.guid=this.guid++;if(e!==i){var g=d;d=this.proxy(g);d.data=e}var j=b.data(a,"events")||b.data(a,"events",{}),n=b.data(a,"handle")||b.data(a,"handle",function(){return typeof b!=="undefined"&&!b.event.triggered?b.event.handle.apply(arguments.callee.elem,
arguments):i});n.elem=a;b.each(c.split(/\s+/),function(o,v){var u=v.split(".");v=u.shift();d.type=u.slice().sort().join(".");var C=j[v];b.event.specialAll[v]&&b.event.specialAll[v].setup.call(a,e,u);if(!C){C=j[v]={};if(!b.event.special[v]||b.event.special[v].setup.call(a,e,u)===false)if(a.addEventListener)a.addEventListener(v,n,false);else a.attachEvent&&a.attachEvent("on"+v,n)}C[d.guid]=d;b.event.global[v]=true});a=null}},guid:1,global:{},remove:function(a,c,d){if(!(a.nodeType==3||a.nodeType==8)){var e=
b.data(a,"events"),g;if(e){if(c===i||typeof c==="string"&&c.charAt(0)==".")for(var j in e)this.remove(a,j+(c||""));else{if(c.type){d=c.handler;c=c.type}b.each(c.split(/\s+/),function(o,v){var u=v.split(".");v=u.shift();var C=RegExp("(^|\\.)"+u.slice().sort().join(".*\\.")+"(\\.|$)");if(e[v]){if(d)delete e[v][d.guid];else for(var O in e[v])C.test(e[v][O].type)&&delete e[v][O];b.event.specialAll[v]&&b.event.specialAll[v].teardown.call(a,u);for(g in e[v])break;if(!g){if(!b.event.special[v]||b.event.special[v].teardown.call(a,
u)===false)if(a.removeEventListener)a.removeEventListener(v,b.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+v,b.data(a,"handle"));g=null;delete e[v]}}})}for(g in e)break;if(!g){var n=b.data(a,"handle");if(n)n.elem=null;b.removeData(a,"events");b.removeData(a,"handle")}}}},trigger:function(a,c,d,e){var g=a.type||a;if(!e){a=typeof a==="object"?a[w]?a:b.extend(b.Event(g),a):b.Event(g);if(g.indexOf("!")>=0){a.type=g=g.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[g]&&
b.each(b.cache,function(){this.events&&this.events[g]&&b.event.trigger(a,c,this.handle.elem)})}if(!d||d.nodeType==3||d.nodeType==8)return i;a.result=i;a.target=d;c=b.makeArray(c);c.unshift(a)}a.currentTarget=d;var j=b.data(d,"handle");j&&j.apply(d,c);if((!d[g]||b.nodeName(d,"a")&&g=="click")&&d["on"+g]&&d["on"+g].apply(d,c)===false)a.result=false;if(!e&&d[g]&&!a.isDefaultPrevented()&&!(b.nodeName(d,"a")&&g=="click")){this.triggered=true;try{d[g]()}catch(n){}}this.triggered=false;if(!a.isPropagationStopped()){var o=
d.parentNode||d.ownerDocument;o&&b.event.trigger(a,c,o,true)}},handle:function(a){var c,d;a=arguments[0]=b.event.fix(a||x.event);a.currentTarget=this;var e=a.type.split(".");a.type=e.shift();c=!e.length&&!a.exclusive;var g=RegExp("(^|\\.)"+e.slice().sort().join(".*\\.")+"(\\.|$)");d=(b.data(this,"events")||{})[a.type];for(var j in d){var n=d[j];if(c||g.test(n.type)){a.handler=n;a.data=n.data;var o=n.apply(this,arguments);if(o!==i){a.result=o;if(o===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}},
props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(a){if(a[w])return a;var c=a;a=b.Event(c);for(var d=this.props.length,e;d;){e=this.props[--d];a[e]=c[e]}if(!a.target)a.target=a.srcElement||document;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){var g=document.documentElement,j=document.body;a.pageX=a.clientX+(g&&g.scrollLeft||j&&j.scrollLeft||0)-(g.clientLeft||0);a.pageY=a.clientY+(g&&g.scrollTop||j&&j.scrollTop||0)-(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)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},proxy:function(a,c){c=c||function(){return a.apply(this,arguments)};c.guid=a.guid=a.guid||c.guid||this.guid++;return c},special:{ready:{setup:ca,teardown:function(){}}},specialAll:{live:{setup:function(a,c){b.event.add(this,c[0],S)},teardown:function(a){if(a.length){var c=0,d=RegExp("(^|\\.)"+a[0]+"(\\.|$)");b.each(b.data(this,"events").live||{},function(){d.test(this.type)&&c++});c<1&&b.event.remove(this,a[0],S)}}}}};b.Event=function(a){if(!this.preventDefault)return new b.Event(a);
if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=G();this[w]=true};function N(){return false}function Q(){return true}b.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Q;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Q;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
Q;this.stopPropagation()},isDefaultPrevented:N,isPropagationStopped:N,isImmediatePropagationStopped:N};var V=function(a){for(var c=a.relatedTarget;c&&c!=this;)try{c=c.parentNode}catch(d){c=this}if(c!=this){a.type=a.data;b.event.handle.apply(this,arguments)}};b.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,c){b.event.special[c]={setup:function(){b.event.add(this,a,V,c)},teardown:function(){b.event.remove(this,a,V)}}});b.fn.extend({bind:function(a,c,d){return a=="unload"?this.one(a,
c,d):this.each(function(){b.event.add(this,a,d||c,d&&c)})},one:function(a,c,d){var e=b.event.proxy(d||c,function(g){b(this).unbind(g,e);return(d||c).apply(this,arguments)});return this.each(function(){b.event.add(this,a,e,d&&c)})},unbind:function(a,c){return this.each(function(){b.event.remove(this,a,c)})},trigger:function(a,c){return this.each(function(){b.event.trigger(a,c,this)})},triggerHandler:function(a,c){if(this[0]){var d=b.Event(a);d.preventDefault();d.stopPropagation();b.event.trigger(d,
c,this[0]);return d.result}},toggle:function(a){for(var c=arguments,d=1;d<c.length;)b.event.proxy(a,c[d++]);return this.click(b.event.proxy(a,function(e){this.lastToggle=(this.lastToggle||0)%d;e.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(a,c){return this.mouseenter(a).mouseleave(c)},ready:function(a){ca();b.isReady?a.call(document,b):b.readyList.push(a);return this},live:function(a,c){var d=b.event.proxy(c);d.guid+=this.selector+a;b(document).bind(Z(a,
this.selector),this.selector,d);return this},die:function(a,c){b(document).unbind(Z(a,this.selector),c?{guid:c.guid+this.selector+a}:null);return this}});function S(a){var c=RegExp("(^|\\.)"+a.type+"(\\.|$)"),d=true,e=[];b.each(b.data(this,"events").live||[],function(g,j){if(c.test(j.type)){var n=b(a.target).closest(j.data)[0];n&&e.push({elem:n,fn:j})}});e.sort(function(g,j){return b.data(g.elem,"closest")-b.data(j.elem,"closest")});b.each(e,function(){if(this.fn.call(this.elem,a,this.fn.data)===
false)return d=false});return d}function Z(a,c){return["live",a,c.replace(/\./g,"`").replace(/ /g,"|")].join(".")}b.extend({isReady:false,readyList:[],ready:function(){if(!b.isReady){b.isReady=true;if(b.readyList){b.each(b.readyList,function(){this.call(document,b)});b.readyList=null}b(document).triggerHandler("ready")}}});var U=false;function ca(){if(!U){U=true;if(document.addEventListener)document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,
false);b.ready()},false);else if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);b.ready()}});document.documentElement.doScroll&&x==x.top&&function(){if(!b.isReady){try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}b.ready()}}()}b.event.add(x,"load",b.ready)}}b.each("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error".split(","),
function(a,c){b.fn[c]=function(d){return d?this.bind(c,d):this.trigger(c)}});b(x).bind("unload",function(){for(var a in b.cache)a!=1&&b.cache[a].handle&&b.event.remove(b.cache[a].handle.elem)});(function(){b.support={};var a=document.documentElement,c=document.createElement("script"),d=document.createElement("div"),e="script"+(new Date).getTime();d.style.display="none";d.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';
var g=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!g||!g.length||!j)){b.support={leadingWhitespace:d.firstChild.nodeType==3,tbody:!d.getElementsByTagName("tbody").length,objectAll:!!d.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:j.style.opacity==="0.5",cssFloat:!!j.style.cssFloat,scriptEval:false,noCloneEvent:true,
boxModel:null};c.type="text/javascript";try{c.appendChild(document.createTextNode("window."+e+"=1;"))}catch(n){}a.insertBefore(c,a.firstChild);if(x[e]){b.support.scriptEval=true;delete x[e]}a.removeChild(c);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function(){b.support.noCloneEvent=false;d.detachEvent("onclick",arguments.callee)});d.cloneNode(true).fireEvent("onclick")}b(function(){var o=document.createElement("div");o.style.width=o.style.paddingLeft="1px";document.body.appendChild(o);
b.boxModel=b.support.boxModel=o.offsetWidth===2;document.body.removeChild(o).style.display="none"})}})();var da=b.support.cssFloat?"cssFloat":"styleFloat";b.props={"for":"htmlFor","class":"className","float":da,cssFloat:da,styleFloat:da,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};b.fn.extend({_load:b.fn.load,load:function(a,c,d){if(typeof a!=="string")return this._load(a);var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,
e)}var j="GET";if(c)if(b.isFunction(c)){d=c;c=null}else if(typeof c==="object"){c=b.param(c);j="POST"}var n=this;b.ajax({url:a,type:j,dataType:"html",data:c,complete:function(o,v){if(v=="success"||v=="notmodified")n.html(g?b("<div/>").append(o.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):o.responseText);d&&n.each(d,[o.responseText,v,o])}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?
b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(a,c){var d=b(this).val();return d==null?null:b.isArray(d)?b.map(d,function(e){return{name:c.name,value:e}}):{name:c.name,value:d}}).get()}});b.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(a,c){b.fn[c]=function(d){return this.bind(c,d)}});var ja=G();b.extend({get:function(a,
c,d,e){if(b.isFunction(c)){d=c;c=null}return b.ajax({type:"GET",url:a,data:c,success:d,dataType:e})},getScript:function(a,c){return b.get(a,null,c,"script")},getJSON:function(a,c,d){return b.get(a,c,d,"json")},post:function(a,c,d,e){if(b.isFunction(c)){d=c;c={}}return b.ajax({type:"POST",url:a,data:c,success:d,dataType:e})},ajaxSetup:function(a){b.extend(b.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,
xhr:function(){return x.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(a){a=b.extend(true,a,b.extend(true,{},b.ajaxSettings,a));var c,d=/=\?(&|$)/g,e,g,j=a.type.toUpperCase();if(a.data&&a.processData&&typeof a.data!=="string")a.data=b.param(a.data);if(a.dataType==
"jsonp"){if(j=="GET")a.url.match(d)||(a.url+=(a.url.match(/\?/)?"&":"?")+(a.jsonp||"callback")+"=?");else if(!a.data||!a.data.match(d))a.data=(a.data?a.data+"&":"")+(a.jsonp||"callback")+"=?";a.dataType="json"}if(a.dataType=="json"&&(a.data&&a.data.match(d)||a.url.match(d))){c="jsonp"+ja++;if(a.data)a.data=(a.data+"").replace(d,"="+c+"$1");a.url=a.url.replace(d,"="+c+"$1");a.dataType="script";x[c]=function(m){g=m;k();l();x[c]=i;try{delete x[c]}catch(q){}u&&u.removeChild(C)}}if(a.dataType=="script"&&
a.cache==null)a.cache=false;if(a.cache===false&&j=="GET"){var n=G(),o=a.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+n+"$2");a.url=o+(o==a.url?(a.url.match(/\?/)?"&":"?")+"_="+n:"")}if(a.data&&j=="GET"){a.url+=(a.url.match(/\?/)?"&":"?")+a.data;a.data=null}a.global&&!b.active++&&b.event.trigger("ajaxStart");var v=/^(\w+:)?\/\/([^\/?#]+)/.exec(a.url);if(a.dataType=="script"&&j=="GET"&&v&&(v[1]&&v[1]!=location.protocol||v[2]!=location.host)){var u=document.getElementsByTagName("head")[0],C=document.createElement("script");
C.src=a.url;if(a.scriptCharset)C.charset=a.scriptCharset;if(!c){var O=false;C.onload=C.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;k();l();C.onload=C.onreadystatechange=null;u.removeChild(C)}}}u.appendChild(C);return i}var W=false,B=a.xhr();a.username?B.open(j,a.url,a.async,a.username,a.password):B.open(j,a.url,a.async);try{a.data&&B.setRequestHeader("Content-Type",a.contentType);if(a.ifModified)B.setRequestHeader("If-Modified-Since",
b.lastModified[a.url]||"Thu, 01 Jan 1970 00:00:00 GMT");B.setRequestHeader("X-Requested-With","XMLHttpRequest");B.setRequestHeader("Accept",a.dataType&&a.accepts[a.dataType]?a.accepts[a.dataType]+", */*":a.accepts._default)}catch(M){}if(a.beforeSend&&a.beforeSend(B,a)===false){a.global&&!--b.active&&b.event.trigger("ajaxStop");B.abort();return false}a.global&&b.event.trigger("ajaxSend",[B,a]);var X=function(m){if(B.readyState==0){if(f){clearInterval(f);f=null;a.global&&!--b.active&&b.event.trigger("ajaxStop")}}else if(!W&&
B&&(B.readyState==4||m=="timeout")){W=true;if(f){clearInterval(f);f=null}e=m=="timeout"?"timeout":!b.httpSuccess(B)?"error":a.ifModified&&b.httpNotModified(B,a.url)?"notmodified":"success";if(e=="success")try{g=b.httpData(B,a.dataType,a)}catch(q){e="parsererror"}if(e=="success"){var r;try{r=B.getResponseHeader("Last-Modified")}catch(t){}if(a.ifModified&&r)b.lastModified[a.url]=r;c||k()}else b.handleError(a,B,e);l();m&&B.abort();if(a.async)B=null}};if(a.async){var f=setInterval(X,13);a.timeout>0&&
setTimeout(function(){B&&!W&&X("timeout")},a.timeout)}try{B.send(a.data)}catch(h){b.handleError(a,B,null,h)}a.async||X();function k(){a.success&&a.success(g,e);a.global&&b.event.trigger("ajaxSuccess",[B,a])}function l(){a.complete&&a.complete(B,e);a.global&&b.event.trigger("ajaxComplete",[B,a]);a.global&&!--b.active&&b.event.trigger("ajaxStop")}return B},handleError:function(a,c,d,e){a.error&&a.error(c,d,e);a.global&&b.event.trigger("ajaxError",[c,a,e])},active:0,httpSuccess:function(a){try{return!a.status&&
location.protocol=="file:"||a.status>=200&&a.status<300||a.status==304||a.status==1223}catch(c){}return false},httpNotModified:function(a,c){try{var d=a.getResponseHeader("Last-Modified");return a.status==304||d==b.lastModified[c]}catch(e){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),g=c=="xml"||!c&&e&&e.indexOf("xml")>=0,j=g?a.responseXML:a.responseText;if(g&&j.documentElement.tagName=="parsererror")throw"parsererror";if(d&&d.dataFilter)j=d.dataFilter(j,c);if(typeof j===
"string"){c=="script"&&b.globalEval(j);if(c=="json")j=x.eval("("+j+")")}return j},param:function(a){var c=[];function d(g,j){c[c.length]=encodeURIComponent(g)+"="+encodeURIComponent(j)}if(b.isArray(a)||a.jquery)b.each(a,function(){d(this.name,this.value)});else for(var e in a)b.isArray(a[e])?b.each(a[e],function(){d(e,this)}):d(e,b.isFunction(a[e])?a[e]():a[e]);return c.join("&").replace(/%20/g,"+")}});var ga={},fa,ia=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft",
"marginRight","paddingLeft","paddingRight"],["opacity"]];function ba(a,c){var d={};b.each(ia.concat.apply([],ia.slice(0,c)),function(){d[this]=a});return d}b.fn.extend({show:function(a,c){if(a)return this.animate(ba("show",3),a,c);else{for(var d=0,e=this.length;d<e;d++){var g=b.data(this[d],"olddisplay");this[d].style.display=g||"";if(b.css(this[d],"display")==="none"){var j=this[d].tagName,n;if(ga[j])n=ga[j];else{var o=b("<"+j+" />").appendTo("body");n=o.css("display");if(n==="none")n="block";o.remove();
ga[j]=n}b.data(this[d],"olddisplay",n)}}d=0;for(e=this.length;d<e;d++)this[d].style.display=b.data(this[d],"olddisplay")||"";return this}},hide:function(a,c){if(a)return this.animate(ba("hide",3),a,c);else{for(var d=0,e=this.length;d<e;d++){var g=b.data(this[d],"olddisplay");!g&&g!=="none"&&b.data(this[d],"olddisplay",b.css(this[d],"display"))}d=0;for(e=this.length;d<e;d++)this[d].style.display="none";return this}},_toggle:b.fn.toggle,toggle:function(a,c){var d=typeof a==="boolean";return b.isFunction(a)&&
b.isFunction(c)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var e=d?a:b(this).is(":hidden");b(this)[e?"show":"hide"]()}):this.animate(ba("toggle",3),a,c)},fadeTo:function(a,c,d){return this.animate({opacity:c},a,d)},animate:function(a,c,d,e){var g=b.speed(c,d,e);return this[g.queue===false?"each":"queue"](function(){var j=b.extend({},g),n,o=this.nodeType==1&&b(this).is(":hidden"),v=this;for(n in a){if(a[n]=="hide"&&o||a[n]=="show"&&!o)return j.complete.call(this);if((n=="height"||
n=="width")&&this.style){j.display=b.css(this,"display");j.overflow=this.style.overflow}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=b.extend({},a);b.each(a,function(u,C){var O=new b.fx(v,j,u);if(/toggle|show|hide/.test(C))O[C=="toggle"?o?"show":"hide":C](a);else{var W=C.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),B=O.cur(true)||0;if(W){var M=parseFloat(W[2]),X=W[3]||"px";if(X!="px"){v.style[u]=(M||1)+X;B=(M||1)/O.cur(true)*B;v.style[u]=B+X}if(W[1])M=(W[1]=="-="?-1:1)*M+B;O.custom(B,
M,X)}else O.custom(B,C,"")}});return true})},stop:function(a,c){var d=b.timers;a&&this.queue([]);this.each(function(){for(var e=d.length-1;e>=0;e--)if(d[e].elem==this){c&&d[e](true);d.splice(e,1)}});c||this.dequeue();return this}});b.each({slideDown:ba("show",1),slideUp:ba("hide",1),slideToggle:ba("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,c){b.fn[a]=function(d,e){return this.animate(c,d,e)}});b.extend({speed:function(a,c,d){var e=typeof a==="object"?a:{complete:d||!d&&
c||b.isFunction(a)&&a,duration:a,easing:d&&c||c&&!b.isFunction(c)&&c};e.duration=b.fx.off?0:typeof e.duration==="number"?e.duration:b.fx.speeds[e.duration]||b.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&b(this).dequeue();b.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,c,d,e){return d+e*a},swing:function(a,c,d,e){return(-Math.cos(a*Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,c,d){this.options=c;this.elem=a;this.prop=d;if(!c.orig)c.orig={}}});
b.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(b.fx.step[this.prop]||b.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var c=parseFloat(b.css(this.elem,this.prop,a));return c&&c>-10000?c:parseFloat(b.curCSS(this.elem,this.prop))||0},custom:function(a,
c,d){this.startTime=G();this.start=a;this.end=c;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function g(j){return e.step(j)}g.elem=this.elem;if(g()&&b.timers.push(g)&&!fa)fa=setInterval(function(){for(var j=b.timers,n=0;n<j.length;n++)j[n]()||j.splice(n--,1);if(!j.length){clearInterval(fa);fa=i}},13)},show:function(){this.options.orig[this.prop]=b.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());
b(this.elem).show()},hide:function(){this.options.orig[this.prop]=b.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var c=G();if(a||c>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();var d=this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=
this.options.display;if(b.css(this.elem,"display")=="none")this.elem.style.display="block"}this.options.hide&&b(this.elem).hide();if(this.options.hide||this.options.show)for(var g in this.options.curAnim)b.attr(this.elem.style,g,this.options.orig[g]);this.options.complete.call(this.elem)}return false}else{var j=c-this.startTime;this.state=j/this.options.duration;this.pos=b.easing[this.options.easing||(b.easing.swing?"swing":"linear")](this.state,j,0,1,this.options.duration);this.now=this.start+(this.end-
this.start)*this.pos;this.update()}return true}};b.extend(b.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){b.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=a.now+a.unit;else a.elem[a.prop]=a.now}}});b.fn.offset=document.documentElement.getBoundingClientRect?function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);var a=this[0].getBoundingClientRect(),
c=this[0].ownerDocument,d=c.body,e=c.documentElement,g=e.clientTop||d.clientTop||0,j=e.clientLeft||d.clientLeft||0,n=a.top+(self.pageYOffset||b.boxModel&&e.scrollTop||d.scrollTop)-g,o=a.left+(self.pageXOffset||b.boxModel&&e.scrollLeft||d.scrollLeft)-j;return{top:n,left:o}}:function(){if(!this[0])return{top:0,left:0};if(this[0]===this[0].ownerDocument.body)return b.offset.bodyOffset(this[0]);b.offset.initialized||b.offset.initialize();for(var a=this[0],c=a.offsetParent,d=a.ownerDocument,e,g=d.documentElement,
j=d.body,n=d.defaultView,o=n.getComputedStyle(a,null),v=a.offsetTop,u=a.offsetLeft;(a=a.parentNode)&&a!==j&&a!==g;){e=n.getComputedStyle(a,null);v-=a.scrollTop,u-=a.scrollLeft;if(a===c){v+=a.offsetTop,u+=a.offsetLeft;if(b.offset.doesNotAddBorder&&!(b.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(a.tagName)))v+=parseInt(e.borderTopWidth,10)||0,u+=parseInt(e.borderLeftWidth,10)||0;c,c=a.offsetParent}if(b.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible")v+=parseInt(e.borderTopWidth,
10)||0,u+=parseInt(e.borderLeftWidth,10)||0;o=e}if(o.position==="relative"||o.position==="static")v+=j.offsetTop,u+=j.offsetLeft;if(o.position==="fixed")v+=Math.max(g.scrollTop,j.scrollTop),u+=Math.max(g.scrollLeft,j.scrollLeft);return{top:v,left:u}};b.offset={initialize:function(){if(!this.initialized){var a=document.body,c=document.createElement("div"),d,e,g,j,n,o=a.style.marginTop,v='<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>';
j={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(n in j)c.style[n]=j[n];c.innerHTML=v;a.insertBefore(c,a.firstChild);d=c.firstChild,e=d.firstChild,g=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=e.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;d.style.overflow="hidden",d.style.position="relative";this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5;a.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=
a.offsetTop===0;a.style.marginTop=o;a.removeChild(c);this.initialized=true}},bodyOffset:function(a){b.offset.initialized||b.offset.initialize();var c=a.offsetTop,d=a.offsetLeft;if(b.offset.doesNotIncludeMarginInBodyOffset)c+=parseInt(b.curCSS(a,"marginTop",true),10)||0,d+=parseInt(b.curCSS(a,"marginLeft",true),10)||0;return{top:c,left:d}}};b.fn.extend({position:function(){var a;if(this[0]){var c=this.offsetParent(),d=this.offset(),e=/^body|html$/i.test(c[0].tagName)?{top:0,left:0}:c.offset();d.top-=
y(this,"marginTop");d.left-=y(this,"marginLeft");e.top+=y(c,"borderTopWidth");e.left+=y(c,"borderLeftWidth");a={top:d.top-e.top,left:d.left-e.left}}return a},offsetParent:function(){for(var a=this[0].offsetParent||document.body;a&&!/^body|html$/i.test(a.tagName)&&b.css(a,"position")=="static";)a=a.offsetParent;return b(a)}});b.each(["Left","Top"],function(a,c){var d="scroll"+c;b.fn[d]=function(e){if(!this[0])return null;return e!==i?this.each(function(){this==x||this==document?x.scrollTo(!a?e:b(x).scrollLeft(),
a?e:b(x).scrollTop()):(this[d]=e)}):this[0]==x||this[0]==document?self[a?"pageYOffset":"pageXOffset"]||b.boxModel&&document.documentElement[d]||document.body[d]:this[0][d]}});b.each(["Height","Width"],function(a,c){var d=c.toLowerCase();b.fn["inner"+c]=function(){return this[0]?b.css(this[0],d,false,"padding"):null};b.fn["outer"+c]=function(g){return this[0]?b.css(this[0],d,false,g?"margin":"border"):null};var e=c.toLowerCase();b.fn[e]=function(g){return this[0]==x?document.compatMode=="CSS1Compat"&&
document.documentElement["client"+c]||document.body["client"+c]:this[0]==document?Math.max(document.documentElement["client"+c],document.body["scroll"+c],document.documentElement["scroll"+c],document.body["offset"+c],document.documentElement["offset"+c]):g===i?this.length?b.css(this[0],e):null:this.css(e,typeof g==="string"?g:g+"px")}})})();(function(){try{document.execCommand("BackgroundImageCache",false,true)}catch(x){}window.CODESITE_CSITimer={};CODESITE_CSITimer.load=window.jstiming.load})(jQuery);(function(){var x=null,i=null,p=null;function s(){var G=jQuery("#projects-dropdown")[0];if(!G)return false;p=new Menu(G,null,null,function(){CODESITE_click("/gb/sc/myprojects")});p.addOnOpen(b);jQuery("body").append(p.menu);x=CODESITE_getProduct();i=CODESITE_getSearchTabTitle(x);return true}function b(){codesite_token?jQuery.ajax({type:"POST",url:"/hosting/projects",data:"token="+codesite_token,success:E}):E()}function E(G){jQuery(document).ready(function(){if(p||s()){p.clear();if(codesite_token){var R=
[],L=[],D=[],z=eval("("+G+")");for(var y in z)switch(y){case "memberof":case "ownerof":for(var w=0;w<z[y].length;w++)R.push(z[y][w]);break;case "starred_projects":for(w=0;w<z[y].length;w++)L.push(z[y][w]);break;case "starred_products":var J="http://www.gstatic.com/codesite/ph/images/star_off.gif";for(w=0;w<z[y].length;w++){var P=z[y][w];D.push(P);if(P==x)J="http://www.gstatic.com/codesite/ph/images/star_on.gif"}if(jQuery("#gc-topnav h1").length&&i){var N=jQuery("#gc-topnav img");if(N.length)N.attr("src",
J);else{var Q=jQuery("<img>").attr("src",J).attr("width","15").attr("height","15").attr("id","gc-star");Q.click(function(){F(Q)});jQuery("#gc-topnav").prepend(Q);var V="default";if(jQuery.browser.msie)V="msie";else if(jQuery.browser.mozilla)V="mozilla";jQuery("#gc-topnav h1").addClass(V)}}break;default:break}R.sort();for(w=0;w<R.length;w++)p.addItem(R[w],"/p/"+R[w]+"/","projects",CODESITE_msgs.myprojects.PROJECTS);L.sort();for(w=0;w<L.length;w++)p.addItem(L[w],"/p/"+L[w]+"/","starred_projects",CODESITE_msgs.myprojects.STARRED_PROJECTS);
D.sort();var S=CODESITE_productDictionary.dictionariesList;for(w=0;w<D.length;w++)for(var Z=0;Z<S.length;Z++){var U=CODESITE_productDictionary[S[Z]].entries[D[w]];if(U&&U.title&&U.url){p.addItem(U.title,CODESITE_getIntlUrl(U.url),"starred_products",CODESITE_msgs.myprojects.STARRED_PRODUCTS);break}}}else{var ca=encodeURIComponent(window.location.href);p.addItem(CODESITE_msgs.myprojects.SIGN_IN,"https://www.google.com/accounts/Login?continue="+ca+"&amp;followup="+ca,"controls")}p.addSeparator("controls",
"");p.addItem(CODESITE_msgs.myprojects.FIND_PRODUCTS,"/more/","controls");p.addItem(CODESITE_msgs.myprojects.FIND_PROJECTS,"/hosting/","controls")}})}function F(G){var R;if(G.attr("src")=="http://www.gstatic.com/codesite/ph/images/star_off.gif"){G.attr("src","http://www.gstatic.com/codesite/ph/images/star_on.gif");R=1}else{G.attr("src","http://www.gstatic.com/codesite/ph/images/star_off.gif");R=0}var L={scope:"products",user:"_CURRENT_USER",item:x,starred:R,token:codesite_token},D="";for(var z in L)D+=
z+"="+encodeURIComponent(L[z])+"&";jQuery.ajax({type:"POST",url:"/hosting/stars.do",data:D,success:H})}function H(){try{b()}catch(G){}}b()})(jQuery);(function(){var x=/\/\/([^\/]*)?(\/[^\#\?]*)?([^\#]*)?(.*)$/,i=["a + ul","a + ol","h1 + ul","h1 + ol","h2 + ul","h2 + ol","span.tlw-title + ul","span.tlw-title + ol"].join();function p(E){for(var F=5381,H=0;H<E.length;H++)F=(F<<5)+F+E.charCodeAt(H);return F}var s=window._tocPath_?[null,null,_tocPath_,null,""]:x.exec(location.href),b=s?["ck_",p(s[2]+s[4])].join(""):"ck_checksumError";window.CODESITE_filterSingleQuotes=function(E){var F=/(\')/g;return String.prototype.replace.call(E,F,"\\$1")};window.CODESITE_createTreeLists=
function(E){E=E!=jQuery&&E||".treelist";function F(D,z,y,w){var J=y||CODESITE_msgs.treelist.EXPAND_DEFAULT,P=w||CODESITE_msgs.treelist.COLLAPSE_DEFAULT,N=jQuery(z),Q=N.parents("div:first").next(),V=D?P:J,S=D?"tlw-minus":"tlw-plus";N.attr("alt",V).parent().attr("title",V);N.removeClass("tlw-minus tlw-plus").addClass(S);D?Q.show():Q.hide()}var H=function(){var D=function(){var z=[],y=null;for(var w in this)if(!(w=="toString")){w=CODESITE_filterSingleQuotes(w);y=CODESITE_filterSingleQuotes(this[w]);
z.push(['"',w,'":"',y,'"'].join(""))}return["{",z.join(),"}"].join("")};return function(){var z=null,y=null;if(z=(new RegExp([b,"=([^;]*)?"].join(""))).exec(document.cookie))y=eval("["+z[1]+"][0]");y=y||{};y.toString=D;return y}}();function G(D,z){var y=H();if(z)y[D]=true;else delete y[D];document.cookie=[b,"=",y.toString()].join("")}var R=['<div class="tlw-title"><a href="javascript:void(0)" class="tlw-control" title=""><img src="',CODESITE_derivePath("/images/cleardot.gif"),'" alt="" class="tlw-control"></a></div>'].join("");
jQuery(E).each(function(){var D=jQuery(this);if(!D.is(".tlw-processed")){D._count=0;var z=arguments.callee,y=(z._list=z._list||[]).length;z._list.push(D);D.addClass("tlw-processed tlw-instance-"+y);D.find("a + span.new").each(function(){var w=jQuery(this),J=w.prev(),P=jQuery("<span>");P.css("textDecoration",J.css("textDecoration"));P.append(J.html());J.css("textDecoration","none").empty();J.append(P).append(this)});D.find(i).each(function(){var w=jQuery(this),J=[y,"sub",D._count].join("-"),P=w.prev(),
N=jQuery(R),Q=jQuery("img.tlw-control:first",N),V=CODESITE_msgs.treelist.EXPAND.replace(/@1/g,P.text()),S=CODESITE_msgs.treelist.COLLAPSE.replace(/@1/g,P.text());if(!P.is(".tlw-ignore")){var Z={$open:function(U){if((U=U||false)||w.is(":hidden")){F(true,Q,V,S);CODESITE_createTreeLists._init&&G(J,true)}},$close:function(U){if((U=U||false)||w.is(":visible")){F(false,Q,V,S);CODESITE_createTreeLists._init&&G(J,false)}},$toggle:function(){var U=w.is(":hidden");F(U,Q,V,S);CODESITE_createTreeLists._init&&
G(J,U)}};jQuery.extend(this,Z);jQuery.extend(Q.parent()[0],Z);w.attr("id",J);w.before(N);N.append(P);N.addClass("tlw-branch");N.parent().css({paddingTop:"0",paddingBottom:"0"});this.$close(true);Q.parent().click(function(){this.$toggle()});D._count++}})}});var L=H();jQuery.each(L,function(D){if(!(D=="toString"))try{jQuery("#"+D)[0].$open()}catch(z){}});window.ontreelistcomplete&&typeof ontreelistcomplete=="function"&&window.ontreelistcomplete(E)};window.CODESITE_derivePath=function(E){var F=window.ORIGINAL_PAGE_PATH;
if(!F)return E;var H=window.location.href;H=H.substring(0,H.lastIndexOf("/"));var G=F.substring(0,F.lastIndexOf("/"));H=H.substring(0,H.length-G.length);return H+E};window.CODESITE_convertTableOfContents=function(){jQuery("#gc-toc ul:first, #gc-toc ol:first").addClass("treelist tlw-nested-only").siblings("ul, ol").addClass("treelist tlw-nested-only");for(var E=0,F=jQuery(".treelist.tlw-nested-only").children();E<F.length;E++)jQuery(F[E]).children(":first").next(i).prev().addClass("tlw-ignore")};window.CODESITE_tocHighlighter=
function(){var E=/\/intl\/.*?\//,F=/\/index\.html$/,H=jQuery("#gc-toc a[href]"),G=window.location.href,R=null,L=null,D=null,z=x.exec(G);if(z)G=z[2];G=G.replace(E,"/").replace(F,"/");for(var y=0;y<H.length;y++)if(L=x.exec(H[y].href)){D=jQuery(H[y]);R=(L[2]+L[4]).replace(E,"/").replace(F,"/");if(G==R){D.parent().addClass("selected");D.is(".tlw-hidden")&&D.parent().addClass("tlw-hidden");for(var w=D.siblings("a.tlw-control"),J=0;J<w.length;J++)w[J].$open();for(var P=D.parents("ul").siblings(".tlw-branch").find("a.tlw-control"),
N=0;N<P.length;N++)P[N].$open()}}var Q=jQuery(".tlw-branch .tlw-expanded"),V=jQuery(".tlw-branch .tlw-collapsed"),S;for(y=0;y<Q.length;y++)(S=Q[y].previousSibling)&&S.$open&&S.$open();for(y=0;y<V.length;y++)(S=V[y].previousSibling)&&S.$close&&S.$close();window.ontreelisthighlight&&typeof ontreelisthighlight=="function"&&window.ontreelisthighlight()};window.CODESITE_buildTreelistWidgetCalled=false;window.CODESITE_buildTreelistWidget=function(){if(!CODESITE_buildTreelistWidgetCalled){var E=new window.jstiming.Timer;
CODESITE_CSITimer.load.tick("toc_start");CODESITE_convertTableOfContents();CODESITE_createTreeLists();CODESITE_tocHighlighter();CODESITE_CSITimer.load.tick("toc_done");E.tick("toc");E.name="toc";CODESITE_CSITimer.toc=E;window.CODESITE_buildTreelistWidgetCalled=true}};window.CODESITE_docEarlyProcessing=function(){CODESITE_buildTreelistWidget()};jQuery(document).ready(function(){CODESITE_buildTreelistWidget()});jQuery(window).load(function(){CODESITE_createTreeLists._init=true})})(jQuery);(function(){var x="Menu";window[x]=function(i,p,s,b){this.iid=window[x].instance.length;window[x].instance[this.iid]=this;this.target=typeof i=="string"?document.getElementById(i):i;p=typeof p=="string"?document.getElementById(p):p;this.onShow=b&&typeof b=="function"?b:null;this.trigger=p||i;this.items=[];this.onOpenEvents=[];this.triggerType=s||"click";this.menu=this.createElement("div","menuDiv instance"+this.iid);this.targetId=this.target.getAttribute("id");var E=this.targetId!=null?"menuDiv-"+
this.targetId:"menuDiv-instance"+this.iid;this.menu.setAttribute("id",E);this.icon=this.createIcon();this.hide();this.addCategory("default");this.addEvent(this.trigger,this.triggerType,this.wrap(this.toggle));this.addEvent(window,"resize",this.wrap(this.adjustSizeAndLocation));this.addEvent(document,"click",this.wrap(this.hide));this.addEvent(this.menu,"click",this.stopPropagation());this.addEvent(this.trigger,"click",this.stopPropagation());this.addEvent(this.icon,"click",this.stopPropagation())};
window[x].prototype={target:null,targetId:null,trigger:null,triggerType:null,menu:null,onShow:null,icon:null,categories:null,thread:-1,iid:-1,items:null,scrolls:false,onOpenEvents:null,createElement:function(i,p,s){var b=document.createElement(i);b.className=p;s&&this.append(s,b);return b},createIcon:function(){var i=this.createElement("img","menuIcon off instance"+this.iid),p=this.targetId!=null?"menuIcon-"+this.targetId:"menuIcon-instance"+this.iid;i.setAttribute("id",p);i.setAttribute("src","http://www.gstatic.com/codesite/ph/images/cleardot.gif");
i.setAttribute("height","14");i.setAttribute("width","14");i.style.verticalAlignment="middle";this.target.parentNode.insertBefore(i,this.target.nextSibling);this.addEvent(this.trigger,"mouseover",this.wrap(this.iconOver,i));this.addEvent(this.trigger,"mouseout",this.wrap(this.iconOut,i));this.addEvent(i,"mouseover",this.wrap(this.iconOver,i));this.addEvent(i,"mouseout",this.wrap(this.iconOut,i));this.addEvent(i,"mousedown",this.wrap(this.toggle));return i},iconOver:function(){if(this.className)this.className=
this.className.replace(/ off/g," on")},iconOut:function(i){if(this.className){if(i)var p=/ (on|down)/g;else p=/ on/g;this.className=this.className.replace(p," off")}},iconDown:function(){if(this.className)this.className=this.className.replace(/ (off|on)/g," down")},addEvent:function(i,p,s){if(i.addEventListener)i.addEventListener(p,s,false);else try{i.attachEvent("on"+p,s)}catch(b){i["on"+p]=s}},addOnOpen:function(i){var p=this.onOpenEvents.length;this.onOpenEvents.push(i);return p},wrap:function(i,
p){var s=i,b=p||this;return function(){s.apply(b)}},addCategory:function(i,p){this.categories=this.categories||[];var s=this.createElement("div","menuCategory "+i);s._categoryName=i;if(p){var b=this.createElement("b","categoryTitle "+i,p);b.style.display="block";this.append(b)}this.append(s);return this.categories[this.categories.length]=this.categories[i]=s},emptyCategory:function(i){if(this.categories[i])for(var p=this.categories[i],s=p.childNodes.length-1;s>=0;s--)p.removeChild(p.childNodes[s])},
clear:function(){for(var i=0;i<this.categories.length;i++)this.categories[this.categories[i]._categoryName]=null;this.items.splice(0,this.items.length);this.categories.splice(0,this.categories.length);this.categories=[];this.items=[];this.menu.innerHTML=""},removeItem:function(i){for(var p=null,s=0;s<this.items.length;s++){if(this.items[s]==i){p=this.items[s];this.items.splice(s,1)}this.items[s].item._index=s}return p},removeCategory:function(i){var p=this.categories[i];if(p&&p.parentNode){p.parentNode.removeChild(p);
for(var s=0;s<this.categories.length;s++)if(this.categories[s]===p){this.categories[this.categories[s]._categoryName]=null;this.categories.splice(s,1);return}for(s=0;s<p.childNodes.length;s++)p.childNodes[s]._index?this.items.splice(p.childNodes[s]._index,1):this.removeItem(p.childNodes[s])}},addItem:function(i,p,s,b){var E=s?this.categories[s]||this.addCategory(s,b):this.categories["default"],F=this.createElement("a","menuItem",i),H=p||"#",G=typeof i=="string"?i:i.innerText||"ERROR";F.style.display=
"block";F.setAttribute("href",H);F._index=this.items.length;this.append(F,E);this.items[this.items.length]={item:F,text:G};return F},addSeparator:function(i,p){var s=i?this.categories[i]||this.addCategory(i,p):this.categories["default"],b=this.createElement("hr","menuSeparator");this.append(b,s)},adjustSizeAndLocation:function(){var i=this.menu.style;i.position="absolute";for(var p=null,s=0;s<this.categories.length;s++){this.categories[s].className=this.categories[s].className.replace(/ first/,"");
if(this.categories[s].childNodes.length==0)this.categories[s].style.display="none";else{this.categories[s].style.display="";if(!p){p=this.categories[s];p.className+=" first"}}}var b=i.display!="none"&&i.visibility!="hidden",E=document.documentElement.clientWidth,F=document.documentElement.clientHeight,H={w:(window.innerWidth||E&&E>0?E:document.body.clientWidth)||1,h:(window.innerHeight||F&&F>0?F:document.body.clientHeight)||1},G=this.find(this.icon),R={w:this.icon.offsetWidth,h:this.icon.offsetHeight},
L=this.find(this.target),D={w:this.target.offsetWidth,h:this.target.offsetHeight},z={w:this.menu.offsetWidth,h:this.menu.offsetHeight};if(!b){var y=i.visibility,w=i.display;i.visibility="hidden";i.display="";i.height="";i.width="";z={w:this.menu.offsetWidth,h:this.menu.offsetHeight};i.display=w;i.visibility=y}var J=this.menu.offsetHeight/H.h>0.8;if(J){z.h=parseInt(H.h*0.8,10);i.height=z.h+"px";i.overflowX="hidden";i.overflowY="auto"}else i.height=i.overflowY=i.overflowX="";i.top=L.y+D.h+"px";i.left=
L.x+"px";if(z.w<175)i.width="175px";if(J)i.width=parseInt(i.width,10)+13+"px";if(L.x+z.w>H.w)i.left=G.x-(z.w-R.w)+"px"},html:function(i){var p=this.menu.innerHTML;if(i)this.menu.innerHTML=i;return p},append:function(i,p){var s=p||this.menu;if(typeof p=="string"&&this.categories[p])s=this.categories[p];if(typeof i=="string")s.innerHTML+=i;else s.appendChild(i)},over:function(){this.menu.style.display!="none"&&this.show();if(this.thread!=-1){clearTimeout(this.thread);this.thread=-1}},out:function(){if(this.thread!=
-1){clearTimeout(this.thread);this.thread=-1}this.thread=setTimeout(this.wrap(this.hide),400)},stopPropagation:function(){return function(i){if(!i)i=window.event;i.cancelBubble=true;i.stopPropagation&&i.stopPropagation()}},toggle:function(){this.menu.style.display=="none"?this.show():this.hide()},show:function(){if(this.menu.style.display!=""){for(var i=0;i<this.onOpenEvents.length;i++)this.onOpenEvents[i].call(null,this);this.menu.style.visibility="hidden";this.menu.style.display="";this.adjustSizeAndLocation();
this.iconDown.apply(this.icon);this.trigger.nodeName&&this.trigger.nodeName=="A"&&this.trigger.blur();this.menu.style.visibility="visible";for(i=0;i<window[x].instance.length;i++){var p=window[x].instance[i];p!=this&&p.hide()}this.onShow&&this.onShow()}},hide:function(){this.iconOut.apply(this.icon,[true]);this.menu.style.display="none"},find:function(i){var p=0,s=0;if(i.offsetParent){do{p+=i.offsetLeft;s+=i.offsetTop}while((i=i.offsetParent)&&i.style&&i.style.position!="relative"&&i.style.position!=
"absolute")}return{x:p,y:s}}};window[x].instance=[]})();window.CODESITE_msgs={imagebar:{POSTED_ON:"Posted on"},treelist:{EXPAND:"Expand @1",EXPAND_DEFAULT:"Expand branch",COLLAPSE:"Collapse @1",COLLAPSE_DEFAULT:"Collapse branch"},search:{SUGGESTIONS:"Suggestions",MORE:"more",NO_RESULTS_FOUND:"No search results found. Search query: ",SUGGESTIONS_TITLE:"Suggestions",SUGGESTIONS_ITEMS:["Make sure all words are spelled correctly.","Try different keywords.","Try more general keywords."],TRY_WEBSEARCH:"Or try web search",SEARCH_URL:"http://www.google.com/search?q="},
myprojects:{PROJECTS:"Projects",STARRED_PROJECTS:"Starred projects",STARRED_PRODUCTS:"Starred products",PLAYGROUND_PROJECTS:"Playground projects",SIGN_IN:"Sign in to see your favorites",FIND_PROJECTS:"Find open source projects...",FIND_PRODUCTS:"Find developer products..."}};
