var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;jsVersion=1.1;function JSGetSwfVer(B){if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var A=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var C=navigator.plugins["Shockwave Flash"+A].description;descArray=C.split(" ");tempArrayMajor=descArray[2].split(".");versionMajor=tempArrayMajor[0];versionMinor=tempArrayMajor[1];if(descArray[3]!=""){tempArrayMinor=descArray[3].split("r")}else{tempArrayMinor=descArray[4].split("r")}versionRevision=tempArrayMinor[1]>0?tempArrayMinor[1]:0;flashVer=versionMajor+"."+versionMinor+"."+versionRevision}else{flashVer=-1}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){flashVer=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){flashVer=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){flashVer=2}else{flashVer=-1}}}}return flashVer}function DetectFlashVer(A,C,B){reqVer=parseFloat(A+"."+B);for(i=25;i>0;i--){if(isIE&&isWin&&!isOpera){versionStr=VBGetSwfVer(i)}else{versionStr=JSGetSwfVer(i)}if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}versionMajor=versionArray[0];versionMinor=versionArray[1];versionRevision=versionArray[2];versionString=versionMajor+"."+versionRevision;versionNum=parseFloat(versionString);if((versionMajor>A)&&(versionNum>=reqVer)){return true}else{return((versionNum>=reqVer&&versionMinor>=C)?true:false)}}}}}function writeOE(F,G,D,Q,K,I,J,B,U,V,A,M,H,R,N,E,S,P,O,L,C){if(DetectFlashVer(O,L,C)==true){if(E&&!S){p=new String(D+"?"+E)}else{if(E&&S){p=new String(D+"?"+E+"&locale="+S)}else{if(!E&&S){p=new String(D+"?locale="+S)}else{p=D}}}if(!U||U==""){U="transparent"}var T='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"\nWIDTH="'+F+'" HEIGHT="'+G+' NAME="'+Q+'" ID="'+Q+'"\nCODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">\n<PARAM NAME="MOVIE" VALUE="'+p+'">\n<PARAM NAME="swLiveConnect" VALUE="'+K+'">\n<PARAM NAME="PLAY" VALUE="'+I+'">\n<PARAM NAME="LOOP" VALUE="'+J+'">\n<PARAM NAME="WMODE" VALUE="'+U+'">\n<PARAM NAME="QUALITY" VALUE="'+B+'">\n<PARAM NAME="BGCOLOR" VALUE="'+V+'">\n<PARAM NAME="SCALE" VALUE="'+A+'">\n<PARAM NAME="ALIGN" VALUE="'+M+'">\n<PARAM NAME="SALIGN" VALUE="'+H+'">\n<PARAM NAME="BASE" VALUE="'+R+'">\n<PARAM NAME="MENU" VALUE="'+N+'">\n<EMBED \nWIDTH="'+F+'" \nHEIGHT="'+G+'" \nSRC="'+p+'" \nID="'+Q+'" \nNAME="'+Q+'" \nswLiveConnect="'+K+'" \nPLAY="'+I+'" \nLOOP="'+J+'" \nQUALITY="'+B+'" \nWMODE="'+U+'" \nBGCOLOR="'+V+'" \nSCALE="'+A+'" \nALIGN="'+M+'" \nSALIGN="'+H+'" \nBASE="'+R+'" \nMENU="'+N+'" \nTYPE="application/x-shockwave-flash" \nPLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n</EMBED>\n</OBJECT>\n';P=new String(P.toLowerCase());if(P=="yes"){alert(T)}return T}else{if(document.getElementById("flashAlt")){alt=document.getElementById("flashAlt");alt.style.display="block"}}}function addtrackerlistener(A){if(A.addEventListener){A.addEventListener("click",trackfiles,true)}else{if(A.attachEvent){A.attachEvent("onclick",trackfiles)}}}function trackfiles(A){file_path="";if(location.host!=this.hostname){file_path="/exlinks/"+((A.srcElement)?"/"+A.srcElement.hostname:this.hostname)}file_path=file_path+((A.srcElement)?"/"+A.srcElement.pathname:this.pathname);urchinTracker(file_path)}
/*
 * 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 S=this,W,G=S.jQuery,J=S.$,M=S.jQuery=S.$=function(f,e){return new M.fn.init(f,e)},F=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,Z=/^.[^:#\[\.,]*$/;M.fn=M.prototype={init:function(h,g){h=h||document;if(h.nodeType){this[0]=h;this.length=1;this.context=h;return this}if(typeof h==="string"){var e=F.exec(h);if(e&&(e[1]||!g)){if(e[1]){h=M.clean([e[1]],g)}else{var f=document.getElementById(e[3]);if(f&&f.id!=e[3]){return M().find(h)}var j=M(f||[]);j.context=document;j.selector=h;return j}}else{return M(g).find(h)}}else{if(M.isFunction(h)){return M(document).ready(h)}}if(h.selector&&h.context){this.selector=h.selector;this.context=h.context}return this.setArray(M.isArray(h)?h:M.makeArray(h))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(e){return e===W?Array.prototype.slice.call(this):this[e]},pushStack:function(h,e,g){var f=M(h);f.prevObject=this;f.context=this.context;if(e==="find"){f.selector=this.selector+(this.selector?" ":"")+g}else{if(e){f.selector=this.selector+"."+e+"("+g+")"}}return f},setArray:function(e){this.length=0;Array.prototype.push.apply(this,e);return this},each:function(f,e){return M.each(this,f,e)},index:function(e){return M.inArray(e&&e.jquery?e[0]:e,this)},attr:function(e,h,f){var g=e;if(typeof e==="string"){if(h===W){return this[0]&&M[f||"attr"](this[0],e)}else{g={};g[e]=h}}return this.each(function(j){for(e in g){M.attr(f?this.style:this,e,M.prop(this,g[e],f,j,e))}})},css:function(f,e){if((f=="width"||f=="height")&&parseFloat(e)<0){e=W}return this.attr(f,e,"curCSS")},text:function(f){if(typeof f!=="object"&&f!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(f))}var e="";M.each(f||this,function(){M.each(this.childNodes,function(){if(this.nodeType!=8){e+=this.nodeType!=1?this.nodeValue:M.fn.text([this])}})});return e},wrapAll:function(e){if(this[0]){var f=M(e,this[0].ownerDocument).clone();if(this[0].parentNode){f.insertBefore(this[0])}f.map(function(){var g=this;while(g.firstChild){g=g.firstChild}return g}).append(this)}return this},wrapInner:function(e){return this.each(function(){M(this).contents().wrapAll(e)})},wrap:function(e){return this.each(function(){M(this).wrapAll(e)})},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType==1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType==1){this.insertBefore(e,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,false,function(e){this.parentNode.insertBefore(e,this.nextSibling)})},end:function(){return this.prevObject||M([])},push:[].push,sort:[].sort,splice:[].splice,find:function(e){if(this.length===1){var f=this.pushStack([],"find",e);f.length=0;M.find(e,this[0],f);return f}else{return this.pushStack(M.unique(M.map(this,function(g){return M.find(e,g)})),"find",e)}},clone:function(f){var h=this.map(function(){if(!M.support.noCloneEvent&&!M.isXMLDoc(this)){var k=this.outerHTML;if(!k){var j=this.ownerDocument.createElement("div");j.appendChild(this.cloneNode(true));k=j.innerHTML}return M.clean([k.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(f===true){var e=this.find("*").andSelf(),g=0;h.find("*").andSelf().each(function(){if(this.nodeName!==e[g].nodeName){return}var k=M.data(e[g],"events");for(var l in k){for(var j in k[l]){M.event.add(this,l,k[l][j],k[l][j].data)}}g++})}return h},filter:function(e){return this.pushStack(M.isFunction(e)&&M.grep(this,function(f,g){return e.call(f,g)})||M.multiFilter(e,M.grep(this,function(f){return f.nodeType===1})),"filter",e)},closest:function(f){var e=M.expr.match.POS.test(f)?M(f):null,g=0;return this.map(function(){var h=this;while(h&&h.ownerDocument){if(e?e.index(h)>-1:M(h).is(f)){M.data(h,"closest",g);return h}h=h.parentNode;g++}})},not:function(f){if(typeof f==="string"){if(Z.test(f)){return this.pushStack(M.multiFilter(f,this,true),"not",f)}else{f=M.multiFilter(f,this)}}var e=f.length&&f[f.length-1]!==W&&!f.nodeType;return this.filter(function(){return e?M.inArray(this,f)<0:this!=f})},add:function(e){return this.pushStack(M.unique(M.merge(this.get(),typeof e==="string"?M(e):M.makeArray(e))))},is:function(e){return !!e&&M.multiFilter(e,this).length>0},hasClass:function(e){return !!e&&this.is("."+e)},val:function(f){if(f===W){var m=this[0];if(m){if(M.nodeName(m,"option")){return(m.attributes.value||{}).specified?m.value:m.text}if(M.nodeName(m,"select")){var g=m.selectedIndex,h=[],e=m.options,l=m.type=="select-one";if(g<0){return null}for(var k=l?g:0,n=l?g+1:e.length;k<n;k++){var j=e[k];if(j.selected){f=M(j).val();if(l){return f}h.push(f)}}return h}return(m.value||"").replace(/\r/g,"")}return W}if(typeof f==="number"){f+=""}return this.each(function(){if(this.nodeType!=1){return}if(M.isArray(f)&&/radio|checkbox/.test(this.type)){this.checked=(M.inArray(this.value,f)>=0||M.inArray(this.name,f)>=0)}else{if(M.nodeName(this,"select")){var o=M.makeArray(f);M("option",this).each(function(){this.selected=(M.inArray(this.value,o)>=0||M.inArray(this.text,o)>=0)});if(!o.length){this.selectedIndex=-1}}else{this.value=f}}})},html:function(e){return e===W?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(e)},replaceWith:function(e){return this.after(e).remove()},eq:function(e){return this.slice(e,+e+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(e){return this.pushStack(M.map(this,function(f,g){return e.call(f,g,f)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(k,n,o){if(this[0]){var g=(this[0].ownerDocument||this[0]).createDocumentFragment(),j=M.clean(k,(this[0].ownerDocument||this[0]),g),m=g.firstChild;if(m){for(var e=0,h=this.length;e<h;e++){o.call(f(this[e],m),this.length>1||e>0?g.cloneNode(true):g)}}if(j){M.each(j,E)}}return this;function f(l,q){return n&&M.nodeName(l,"table")&&M.nodeName(q,"tr")?(l.getElementsByTagName("tbody")[0]||l.appendChild(l.ownerDocument.createElement("tbody"))):l}}};M.fn.init.prototype=M.fn;function E(f,e){if(e.src){M.ajax({url:e.src,async:false,dataType:"script"})}else{M.globalEval(e.text||e.textContent||e.innerHTML||"")}if(e.parentNode){e.parentNode.removeChild(e)}}function A(){return +new Date}M.extend=M.fn.extend=function(){var l=arguments[0]||{},j=1,k=arguments.length,g=false,e;if(typeof l==="boolean"){g=l;l=arguments[1]||{};j=2}if(typeof l!=="object"&&!M.isFunction(l)){l={}}if(k==j){l=this;--j}for(;j<k;j++){if((e=arguments[j])!=null){for(var f in e){var m=l[f],h=e[f];if(l===h){continue}if(g&&h&&typeof h==="object"&&!h.nodeType){l[f]=M.extend(g,m||(h.length!=null?[]:{}),h)}else{if(h!==W){l[f]=h}}}}}return l};var T=/z-?index|font-?weight|opacity|zoom|line-?height/i,a=document.defaultView||{},H=Object.prototype.toString;M.extend({noConflict:function(e){S.$=J;if(e){S.jQuery=G}return M},isFunction:function(e){return H.call(e)==="[object Function]"},isArray:function(e){return H.call(e)==="[object Array]"},isXMLDoc:function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&M.isXMLDoc(e.ownerDocument)},globalEval:function(g){if(g&&/\S/.test(g)){var e=document.getElementsByTagName("head")[0]||document.documentElement,f=document.createElement("script");f.type="text/javascript";if(M.support.scriptEval){f.appendChild(document.createTextNode(g))}else{f.text=g}e.insertBefore(f,e.firstChild);e.removeChild(f)}},nodeName:function(f,e){return f.nodeName&&f.nodeName.toUpperCase()==e.toUpperCase()},each:function(g,l,f){var e,h=0,k=g.length;if(f){if(k===W){for(e in g){if(l.apply(g[e],f)===false){break}}}else{for(;h<k;){if(l.apply(g[h++],f)===false){break}}}}else{if(k===W){for(e in g){if(l.call(g[e],e,g[e])===false){break}}}else{for(var j=g[0];h<k&&l.call(j,h,j)!==false;j=g[++h]){}}}return g},prop:function(g,e,h,j,f){if(M.isFunction(e)){e=e.call(g,j)}return typeof e==="number"&&h=="curCSS"&&!T.test(f)?e+"px":e},className:{add:function(e,f){M.each((f||"").split(/\s+/),function(h,g){if(e.nodeType==1&&!M.className.has(e.className,g)){e.className+=(e.className?" ":"")+g}})},remove:function(e,f){if(e.nodeType==1){e.className=f!==W?M.grep(e.className.split(/\s+/),function(g){return !M.className.has(f,g)}).join(" "):""}},has:function(e,f){return e&&M.inArray(f,(e.className||e).toString().split(/\s+/))>-1}},swap:function(g,h,j){var e={};for(var f in h){e[f]=g.style[f];g.style[f]=h[f]}j.call(g);for(var f in h){g.style[f]=e[f]}},css:function(k,j,m,l){if(j=="width"||j=="height"){var h,g={position:"absolute",visibility:"hidden",display:"block"},f=j=="width"?["Left","Right"]:["Top","Bottom"];function e(){h=j=="width"?k.offsetWidth:k.offsetHeight;if(l==="border"){return}M.each(f,function(){if(!l){h-=parseFloat(M.curCSS(k,"padding"+this,true))||0}if(l==="margin"){h+=parseFloat(M.curCSS(k,"margin"+this,true))||0}else{h-=parseFloat(M.curCSS(k,"border"+this+"Width",true))||0}})}if(k.offsetWidth!==0){e()}else{M.swap(k,g,e)}return Math.max(0,Math.round(h))}return M.curCSS(k,j,m)},curCSS:function(l,g,n){var e,m=l.style;if(g=="opacity"&&!M.support.opacity){e=M.attr(m,"opacity");return e==""?"1":e}if(g.match(/float/i)){g=Y}if(!n&&m&&m[g]){e=m[g]}else{if(a.getComputedStyle){if(g.match(/float/i)){g="float"}g=g.replace(/([A-Z])/g,"-$1").toLowerCase();var k=a.getComputedStyle(l,null);if(k){e=k.getPropertyValue(g)}if(g=="opacity"&&e==""){e="1"}}else{if(l.currentStyle){var h=g.replace(/\-(\w)/g,function(q,o){return o.toUpperCase()});e=l.currentStyle[g]||l.currentStyle[h];if(!/^\d+(px)?$/i.test(e)&&/^\d/.test(e)){var f=m.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;m.left=e||0;e=m.pixelLeft+"px";m.left=f;l.runtimeStyle.left=j}}}}return e},clean:function(j,l,f){l=l||document;if(typeof l.createElement==="undefined"){l=l.ownerDocument||l[0]&&l[0].ownerDocument||document}if(!f&&j.length===1&&typeof j[0]==="string"){var k=/^<(\w+)\s*\/?>$/.exec(j[0]);if(k){return[l.createElement(k[1])]}}var g=[],m=[],h=l.createElement("div");M.each(j,function(s,o){if(typeof o==="number"){o+=""}if(!o){return}if(typeof o==="string"){o=o.replace(/(<(\w+)[^>]*?)\/>/g,function(w,x,v){return v.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?w:x+"></"+v+">"});var n=o.replace(/^\s+/,"").substring(0,10).toLowerCase();var u=!n.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!n.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||n.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!n.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!n.indexOf("<td")||!n.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!n.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!M.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];h.innerHTML=u[1]+o+u[2];while(u[0]--){h=h.lastChild}if(!M.support.tbody){var r=/<tbody/i.test(o),q=!n.indexOf("<table")&&!r?h.firstChild&&h.firstChild.childNodes:u[1]=="<table>"&&!r?h.childNodes:[];for(var t=q.length-1;t>=0;--t){if(M.nodeName(q[t],"tbody")&&!q[t].childNodes.length){q[t].parentNode.removeChild(q[t])}}}if(!M.support.leadingWhitespace&&/^\s/.test(o)){h.insertBefore(l.createTextNode(o.match(/^\s*/)[0]),h.firstChild)}o=M.makeArray(h.childNodes)}if(o.nodeType){g.push(o)}else{g=M.merge(g,o)}});if(f){for(var e=0;g[e];e++){if(M.nodeName(g[e],"script")&&(!g[e].type||g[e].type.toLowerCase()==="text/javascript")){m.push(g[e].parentNode?g[e].parentNode.removeChild(g[e]):g[e])}else{if(g[e].nodeType===1){g.splice.apply(g,[e+1,0].concat(M.makeArray(g[e].getElementsByTagName("script"))))}f.appendChild(g[e])}}return m}return g},attr:function(j,e,g){if(!j||j.nodeType==3||j.nodeType==8){return W}var m=!M.isXMLDoc(j),f=g!==W;e=m&&M.props[e]||e;if(j.tagName){var l=/href|src|style/.test(e);if(e=="selected"&&j.parentNode){j.parentNode.selectedIndex}if(e in j&&m&&!l){if(f){if(e=="type"&&M.nodeName(j,"input")&&j.parentNode){throw"type property can't be changed"}j[e]=g}if(M.nodeName(j,"form")&&j.getAttributeNode(e)){return j.getAttributeNode(e).nodeValue}if(e=="tabIndex"){var k=j.getAttributeNode("tabIndex");return k&&k.specified?k.value:j.nodeName.match(/(button|input|object|select|textarea)/i)?0:j.nodeName.match(/^(a|area)$/i)&&j.href?0:W}return j[e]}if(!M.support.style&&m&&e=="style"){return M.attr(j.style,"cssText",g)}if(f){j.setAttribute(e,""+g)}var h=!M.support.hrefNormalized&&m&&l?j.getAttribute(e,2):j.getAttribute(e);return h===null?W:h}if(!M.support.opacity&&e=="opacity"){if(f){j.zoom=1;j.filter=(j.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(g)+""=="NaN"?"":"alpha(opacity="+g*100+")")}return j.filter&&j.filter.indexOf("opacity=")>=0?(parseFloat(j.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}e=e.replace(/-([a-z])/ig,function(o,n){return n.toUpperCase()});if(f){j[e]=g}return j[e]},trim:function(e){return(e||"").replace(/^\s+|\s+$/g,"")},makeArray:function(f){var g=[];if(f!=null){var e=f.length;if(e==null||typeof f==="string"||M.isFunction(f)||f.setInterval){g[0]=f}else{while(e){g[--e]=f[e]}}}return g},inArray:function(f,h){for(var g=0,e=h.length;g<e;g++){if(h[g]===f){return g}}return -1},merge:function(f,g){var j=0,e,h=f.length;if(!M.support.getAll){while((e=g[j++])!=null){if(e.nodeType!=8){f[h++]=e}}}else{while((e=g[j++])!=null){f[h++]=e}}return f},unique:function(l){var m=[],f={};try{for(var j=0,h=l.length;j<h;j++){var k=M.data(l[j]);if(!f[k]){f[k]=true;m.push(l[j])}}}catch(g){m=l}return m},grep:function(k,e,f){var g=[];for(var h=0,j=k.length;h<j;h++){if(!f!=!e(k[h],h)){g.push(k[h])}}return g},map:function(k,e){var f=[];for(var g=0,j=k.length;g<j;g++){var h=e(k[g],g);if(h!=null){f[f.length]=h}}return f.concat.apply([],f)}});var N=navigator.userAgent.toLowerCase();M.browser={version:(N.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(N),opera:/opera/.test(N),msie:/msie/.test(N)&&!/opera/.test(N),mozilla:/mozilla/.test(N)&&!/(compatible|webkit)/.test(N)};M.each({parent:function(e){return e.parentNode},parents:function(e){return M.dir(e,"parentNode")},next:function(e){return M.nth(e,2,"nextSibling")},prev:function(e){return M.nth(e,2,"previousSibling")},nextAll:function(e){return M.dir(e,"nextSibling")},prevAll:function(e){return M.dir(e,"previousSibling")},siblings:function(e){return M.sibling(e.parentNode.firstChild,e)},children:function(e){return M.sibling(e.firstChild)},contents:function(e){return M.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:M.makeArray(e.childNodes)}},function(f,e){M.fn[f]=function(g){var h=M.map(this,e);if(g&&typeof g=="string"){h=M.multiFilter(g,h)}return this.pushStack(M.unique(h),f,g)}});M.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,e){M.fn[f]=function(j){var n=[],h=M(j);for(var k=0,g=h.length;k<g;k++){var m=(k>0?this.clone(true):this).get();M.fn[e].apply(M(h[k]),m);n=n.concat(m)}return this.pushStack(n,f,j)}});M.each({removeAttr:function(e){M.attr(this,e,"");if(this.nodeType==1){this.removeAttribute(e)}},addClass:function(e){M.className.add(this,e)},removeClass:function(e){M.className.remove(this,e)},toggleClass:function(f,e){if(typeof e!=="boolean"){e=!M.className.has(this,f)}M.className[e?"add":"remove"](this,f)},remove:function(e){if(!e||M.filter(e,[this]).length){M("*",this).add([this]).each(function(){M.event.remove(this);M.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){M(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(f,e){M.fn[f]=function(){return this.each(e,arguments)}});function O(e,f){return e[0]&&parseInt(M.curCSS(e[0],f,true),10)||0}var R="jQuery"+A(),X=0,Q={};M.extend({cache:{},data:function(f,e,h){f=f==S?Q:f;var g=f[R];if(!g){g=f[R]=++X}if(e&&!M.cache[g]){M.cache[g]={}}if(h!==W){M.cache[g][e]=h}return e?M.cache[g][e]:g},removeData:function(g,f){g=g==S?Q:g;var j=g[R];if(f){if(M.cache[j]){delete M.cache[j][f];f="";for(f in M.cache[j]){break}if(!f){M.removeData(g)}}}else{try{delete g[R]}catch(h){if(g.removeAttribute){g.removeAttribute(R)}}delete M.cache[j]}},queue:function(e,f,h){if(e){f=(f||"fx")+"queue";var g=M.data(e,f);if(!g||M.isArray(h)){g=M.data(e,f,M.makeArray(h))}else{if(h){g.push(h)}}}return g},dequeue:function(f,g){var h=M.queue(f,g),e=h.shift();if(!g||g==="fx"){e=h[0]}if(e!==W){e.call(f)}}});M.fn.extend({data:function(f,e){var g=f.split(".");g[1]=g[1]?"."+g[1]:"";if(e===W){var h=this.triggerHandler("getData"+g[1]+"!",[g[0]]);if(h===W&&this.length){h=M.data(this[0],f)}return h===W&&g[1]?this.data(g[0]):h}else{return this.trigger("setData"+g[1]+"!",[g[0],e]).each(function(){M.data(this,f,e)})}},removeData:function(e){return this.each(function(){M.removeData(this,e)})},queue:function(e,f){if(typeof e!=="string"){f=e;e="fx"}if(f===W){return M.queue(this[0],e)}return this.each(function(){var g=M.queue(this,e,f);if(e=="fx"&&g.length==1){g[0].call(this)}})},dequeue:function(e){return this.each(function(){M.dequeue(this,e)})}});
/*
 * Sizzle CSS Selector Engine - v0.9.3
 *  Copyright 2009, The Dojo Foundation
 *  Released under the MIT, BSD, and GPL Licenses.
 *  More information: http://sizzlejs.com/
 */
(function(){var j=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,u=0,s=Object.prototype.toString;var r=function(Aa,Ag,z,Ae){z=z||[];Ag=Ag||document;if(Ag.nodeType!==1&&Ag.nodeType!==9){return[]}if(!Aa||typeof Aa!=="string"){return z}var Ac=[],Aj,x,Ak,Ai,e,y,Ab=true;j.lastIndex=0;while((Aj=j.exec(Aa))!==null){Ac.push(Aj[1]);if(Aj[2]){y=RegExp.rightContext;break}}if(Ac.length>1&&k.exec(Aa)){if(Ac.length===2&&o.relative[Ac[0]]){x=q(Ac[0]+Ac[1],Ag)}else{x=o.relative[Ac[0]]?[Ag]:r(Ac.shift(),Ag);while(Ac.length){Aa=Ac.shift();if(o.relative[Aa]){Aa+=Ac.shift()}x=q(Aa,x)}}}else{var w=Ae?{expr:Ac.pop(),set:g(Ae)}:r.find(Ac.pop(),Ac.length===1&&Ag.parentNode?Ag.parentNode:Ag,m(Ag));x=r.filter(w.expr,w.set);if(Ac.length>0){Ak=g(x)}else{Ab=false}while(Ac.length){var Ad=Ac.pop(),Ah=Ad;if(!o.relative[Ad]){Ad=""}else{Ah=Ac.pop()}if(Ah==null){Ah=Ag}o.relative[Ad](Ak,Ah,m(Ag))}}if(!Ak){Ak=x}if(!Ak){throw"Syntax error, unrecognized expression: "+(Ad||Aa)}if(s.call(Ak)==="[object Array]"){if(!Ab){z.push.apply(z,Ak)}else{if(Ag.nodeType===1){for(var Af=0;Ak[Af]!=null;Af++){if(Ak[Af]&&(Ak[Af]===true||Ak[Af].nodeType===1&&n(Ag,Ak[Af]))){z.push(x[Af])}}}else{for(var Af=0;Ak[Af]!=null;Af++){if(Ak[Af]&&Ak[Af].nodeType===1){z.push(x[Af])}}}}}else{g(Ak,z)}if(y){r(y,Ag,z,Ae);if(t){hasDuplicate=false;z.sort(t);if(hasDuplicate){for(var Af=1;Af<z.length;Af++){if(z[Af]===z[Af-1]){z.splice(Af--,1)}}}}}return z};r.matches=function(w,e){return r(w,null,null,e)};r.find=function(Ad,Ac,Aa){var y,Ab;if(!Ad){return[]}for(var e=0,x=o.order.length;e<x;e++){var z=o.order[e],Ab;if((Ab=o.match[z].exec(Ad))){var w=RegExp.leftContext;if(w.substr(w.length-1)!=="\\"){Ab[1]=(Ab[1]||"").replace(/\\/g,"");y=o.find[z](Ab,Ac,Aa);if(y!=null){Ad=Ad.replace(o.match[z],"");break}}}}if(!y){y=Ac.getElementsByTagName("*")}return{set:y,expr:Ad}};r.filter=function(y,Aa,Ab,Ai){var Ac=y,z=[],Ak=Aa,Ah,x,Aj=Aa&&Aa[0]&&m(Aa[0]);while(y&&Aa.length){for(var w in o.filter){if((Ah=o.match[w].exec(y))!=null){var Ae=o.filter[w],Ag,e;x=false;if(Ak==z){z=[]}if(o.preFilter[w]){Ah=o.preFilter[w](Ah,Ak,Ab,z,Ai,Aj);if(!Ah){x=Ag=true}else{if(Ah===true){continue}}}if(Ah){for(var Af=0;(e=Ak[Af])!=null;Af++){if(e){Ag=Ae(e,Ah,Af,Ak);var Ad=Ai^!!Ag;if(Ab&&Ag!=null){if(Ad){x=true}else{Ak[Af]=false}}else{if(Ad){z.push(e);x=true}}}}}if(Ag!==W){if(!Ab){Ak=z}y=y.replace(o.match[w],"");if(!x){return[]}break}}}if(y==Ac){if(x==null){throw"Syntax error, unrecognized expression: "+y}else{break}}Ac=y}return Ak};var o=r.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(e){return e.getAttribute("href")}},relative:{"+":function(Ad,y,Ab){var z=typeof y==="string",Aa=z&&!/\W/.test(y),w=z&&!Aa;if(Aa&&!Ab){y=y.toUpperCase()}for(var e=0,x=Ad.length,Ac;e<x;e++){if((Ac=Ad[e])){while((Ac=Ac.previousSibling)&&Ac.nodeType!==1){}Ad[e]=w||Ac&&Ac.nodeName===y?Ac||false:Ac===y}}if(w){r.filter(y,Ad,true)}},">":function(Ac,x,z){var y=typeof x==="string";if(y&&!/\W/.test(x)){x=z?x:x.toUpperCase();for(var e=0,w=Ac.length;e<w;e++){var Ab=Ac[e];if(Ab){var Aa=Ab.parentNode;Ac[e]=Aa.nodeName===x?Aa:false}}}else{for(var e=0,w=Ac.length;e<w;e++){var Ab=Ac[e];if(Ab){Ac[e]=y?Ab.parentNode:Ab.parentNode===x}}if(y){r.filter(x,Ac,true)}}},"":function(x,y,Aa){var w=u++,e=f;if(!y.match(/\W/)){var z=y=Aa?y:y.toUpperCase();e=v}e("parentNode",y,w,x,z,Aa)},"~":function(x,y,Aa){var w=u++,e=f;if(typeof y==="string"&&!y.match(/\W/)){var z=y=Aa?y:y.toUpperCase();e=v}e("previousSibling",y,w,x,z,Aa)}},find:{ID:function(w,y,e){if(typeof y.getElementById!=="undefined"&&!e){var x=y.getElementById(w[1]);return x?[x]:[]}},NAME:function(w,Aa,e){if(typeof Aa.getElementsByName!=="undefined"){var Ab=[],z=Aa.getElementsByName(w[1]);for(var y=0,x=z.length;y<x;y++){if(z[y].getAttribute("name")===w[1]){Ab.push(z[y])}}return Ab.length===0?null:Ab}},TAG:function(e,w){return w.getElementsByTagName(e[1])}},preFilter:{CLASS:function(Aa,Ac,x,w,y,z){Aa=" "+Aa[1].replace(/\\/g,"")+" ";if(z){return Aa}for(var e=0,Ab;(Ab=Ac[e])!=null;e++){if(Ab){if(y^(Ab.className&&(" "+Ab.className+" ").indexOf(Aa)>=0)){if(!x){w.push(Ab)}}else{if(x){Ac[e]=false}}}}return false},ID:function(e){return e[1].replace(/\\/g,"")},TAG:function(e,w){for(var x=0;w[x]===false;x++){}return w[x]&&m(w[x])?e[1]:e[1].toUpperCase()},CHILD:function(e){if(e[1]=="nth"){var w=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(e[2]=="even"&&"2n"||e[2]=="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(w[1]+(w[2]||1))-0;e[3]=w[3]-0}e[0]=u++;return e},ATTR:function(y,z,Ab,x,w,e){var Aa=y[1].replace(/\\/g,"");if(!e&&o.attrMap[Aa]){y[1]=o.attrMap[Aa]}if(y[2]==="~="){y[4]=" "+y[4]+" "}return y},PSEUDO:function(x,y,z,w,e){if(x[1]==="not"){if(x[3].match(j).length>1||/^\w/.test(x[3])){x[3]=r(x[3],null,null,y)}else{var Aa=r.filter(x[3],y,z,true^e);if(!z){w.push.apply(w,Aa)}return false}}else{if(o.match.POS.test(x[0])||o.match.CHILD.test(x[0])){return true}}return x},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){e.parentNode.selectedIndex;return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(w,x,e){return !!r(e[3],w).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){return"text"===e.type},radio:function(e){return"radio"===e.type},checkbox:function(e){return"checkbox"===e.type},file:function(e){return"file"===e.type},password:function(e){return"password"===e.type},submit:function(e){return"submit"===e.type},image:function(e){return"image"===e.type},reset:function(e){return"reset"===e.type},button:function(e){return"button"===e.type||e.nodeName.toUpperCase()==="BUTTON"},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)}},setFilters:{first:function(e,w){return w===0},last:function(w,x,e,y){return x===y.length-1},even:function(e,w){return w%2===0},odd:function(e,w){return w%2===1},lt:function(w,x,e){return x<e[3]-0},gt:function(w,x,e){return x>e[3]-0},nth:function(w,x,e){return e[3]-0==x},eq:function(w,x,e){return e[3]-0==x}},filter:{PSEUDO:function(Ab,Aa,e,z){var y=Aa[1],w=o.filters[y];if(w){return w(Ab,e,Aa,z)}else{if(y==="contains"){return(Ab.textContent||Ab.innerText||"").indexOf(Aa[3])>=0}else{if(y==="not"){var x=Aa[3];for(var e=0,Ac=x.length;e<Ac;e++){if(x[e]===Ab){return false}}return true}}}},CHILD:function(Ac,Aa){var w=Aa[1],e=Ac;switch(w){case"only":case"first":while(e=e.previousSibling){if(e.nodeType===1){return false}}if(w=="first"){return true}e=Ac;case"last":while(e=e.nextSibling){if(e.nodeType===1){return false}}return true;case"nth":var Ae=Aa[2],Ab=Aa[3];if(Ae==1&&Ab==0){return true}var z=Aa[0],y=Ac.parentNode;if(y&&(y.sizcache!==z||!Ac.nodeIndex)){var Ad=0;for(e=y.firstChild;e;e=e.nextSibling){if(e.nodeType===1){e.nodeIndex=++Ad}}y.sizcache=z}var x=Ac.nodeIndex-Ab;if(Ae==0){return x==0}else{return(x%Ae==0&&x/Ae>=0)}}},ID:function(w,e){return w.nodeType===1&&w.getAttribute("id")===e},TAG:function(w,e){return(e==="*"&&w.nodeType===1)||w.nodeName===e},CLASS:function(w,e){return(" "+(w.className||w.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(x,e){var Aa=e[1],w=o.attrHandle[Aa]?o.attrHandle[Aa](x):x[Aa]!=null?x[Aa]:x.getAttribute(Aa),Ab=w+"",y=e[2],z=e[4];return w==null?y==="!=":y==="="?Ab===z:y==="*="?Ab.indexOf(z)>=0:y==="~="?(" "+Ab+" ").indexOf(z)>=0:!z?Ab&&w!==false:y==="!="?Ab!=z:y==="^="?Ab.indexOf(z)===0:y==="$="?Ab.substr(Ab.length-z.length)===z:y==="|="?Ab===z||Ab.substr(0,z.length+1)===z+"-":false},POS:function(x,e,y,Aa){var w=e[2],z=o.setFilters[w];if(z){return z(x,y,e,Aa)}}}};var k=o.match.POS;for(var l in o.match){o.match[l]=RegExp(o.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var g=function(w,e){w=Array.prototype.slice.call(w);if(e){e.push.apply(e,w);return e}return w};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(h){g=function(y,x){var z=x||[];if(s.call(y)==="[object Array]"){Array.prototype.push.apply(z,y)}else{if(typeof y.length==="number"){for(var w=0,e=y.length;w<e;w++){z.push(y[w])}}else{for(var w=0;y[w];w++){z.push(y[w])}}}return z}}var t;if(document.documentElement.compareDocumentPosition){t=function(e,w){var x=e.compareDocumentPosition(w)&4?-1:e===w?0:1;if(x===0){hasDuplicate=true}return x}}else{if("sourceIndex" in document.documentElement){t=function(e,w){var x=e.sourceIndex-w.sourceIndex;if(x===0){hasDuplicate=true}return x}}else{if(document.createRange){t=function(w,x){var y=w.ownerDocument.createRange(),e=x.ownerDocument.createRange();y.selectNode(w);y.collapse(true);e.selectNode(x);e.collapse(true);var z=y.compareBoundaryPoints(Range.START_TO_END,e);if(z===0){hasDuplicate=true}return z}}}}(function(){var w=document.createElement("form"),x="script"+(new Date).getTime();w.innerHTML="<input name='"+x+"'/>";var e=document.documentElement;e.insertBefore(w,e.firstChild);if(!!document.getElementById(x)){o.find.ID=function(z,Ab,y){if(typeof Ab.getElementById!=="undefined"&&!y){var Aa=Ab.getElementById(z[1]);return Aa?Aa.id===z[1]||typeof Aa.getAttributeNode!=="undefined"&&Aa.getAttributeNode("id").nodeValue===z[1]?[Aa]:W:[]}};o.filter.ID=function(z,y){var Aa=typeof z.getAttributeNode!=="undefined"&&z.getAttributeNode("id");return z.nodeType===1&&Aa&&Aa.nodeValue===y}}e.removeChild(w)})();(function(){var e=document.createElement("div");e.appendChild(document.createComment(""));if(e.getElementsByTagName("*").length>0){o.find.TAG=function(x,Aa){var z=Aa.getElementsByTagName(x[1]);if(x[1]==="*"){var y=[];for(var w=0;z[w];w++){if(z[w].nodeType===1){y.push(z[w])}}z=y}return z}}e.innerHTML="<a href='#'></a>";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){o.attrHandle.href=function(w){return w.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var e=r,w=document.createElement("div");w.innerHTML="<p class='TEST'></p>";if(w.querySelectorAll&&w.querySelectorAll(".TEST").length===0){return}r=function(z,x,Ab,y){x=x||document;if(!y&&x.nodeType===9&&!m(x)){try{return g(x.querySelectorAll(z),Ab)}catch(Aa){}}return e(z,x,Ab,y)};r.find=e.find;r.filter=e.filter;r.selectors=e.selectors;r.matches=e.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var e=document.createElement("div");e.innerHTML="<div class='test e'></div><div class='test'></div>";if(e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}o.order.splice(1,0,"CLASS");o.find.CLASS=function(x,y,w){if(typeof y.getElementsByClassName!=="undefined"&&!w){return y.getElementsByClassName(x[1])}}})()}function v(x,Aa,Ac,Af,Ad,Ab){var e=x=="previousSibling"&&!Ab;for(var z=0,w=Af.length;z<w;z++){var Ae=Af[z];if(Ae){if(e&&Ae.nodeType===1){Ae.sizcache=Ac;Ae.sizset=z}Ae=Ae[x];var y=false;while(Ae){if(Ae.sizcache===Ac){y=Af[Ae.sizset];break}if(Ae.nodeType===1&&!Ab){Ae.sizcache=Ac;Ae.sizset=z}if(Ae.nodeName===Aa){y=Ae;break}Ae=Ae[x]}Af[z]=y}}}function f(x,Aa,Ac,Af,Ad,Ab){var e=x=="previousSibling"&&!Ab;for(var z=0,w=Af.length;z<w;z++){var Ae=Af[z];if(Ae){if(e&&Ae.nodeType===1){Ae.sizcache=Ac;Ae.sizset=z}Ae=Ae[x];var y=false;while(Ae){if(Ae.sizcache===Ac){y=Af[Ae.sizset];break}if(Ae.nodeType===1){if(!Ab){Ae.sizcache=Ac;Ae.sizset=z}if(typeof Aa!=="string"){if(Ae===Aa){y=true;break}}else{if(r.filter(Aa,[Ae]).length>0){y=Ae;break}}}Ae=Ae[x]}Af[z]=y}}}var n=document.compareDocumentPosition?function(e,w){return e.compareDocumentPosition(w)&16}:function(e,w){return e!==w&&(e.contains?e.contains(w):true)};var m=function(e){return e.nodeType===9&&e.documentElement.nodeName!=="HTML"||!!e.ownerDocument&&m(e.ownerDocument)};var q=function(z,Ac){var y=[],Aa="",Ab,w=Ac.nodeType?[Ac]:Ac;while((Ab=o.match.PSEUDO.exec(z))){Aa+=Ab[0];z=z.replace(o.match.PSEUDO,"")}z=o.relative[z]?z+"*":z;for(var e=0,x=w.length;e<x;e++){r(z,w[e],y)}return r.filter(Aa,y)};M.find=r;M.filter=r.filter;M.expr=r.selectors;M.expr[":"]=M.expr.filters;r.selectors.filters.hidden=function(e){return e.offsetWidth===0||e.offsetHeight===0};r.selectors.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0};r.selectors.filters.animated=function(e){return M.grep(M.timers,function(w){return e===w.elem}).length};M.multiFilter=function(w,x,e){if(e){w=":not("+w+")"}return r.matches(w,x)};M.dir=function(w,e){var x=[],y=w[e];while(y&&y!=document){if(y.nodeType==1){x.push(y)}y=y[e]}return x};M.nth=function(y,w,e,x){w=w||1;var z=0;for(;y;y=y[e]){if(y.nodeType==1&&++z==w){break}}return y};M.sibling=function(w,x){var e=[];for(;w;w=w.nextSibling){if(w.nodeType==1&&w!=x){e.push(w)}}return e};return;S.Sizzle=r})();M.event={add:function(h,j,g,l){if(h.nodeType==3||h.nodeType==8){return}if(h.setInterval&&h!=S){h=S}if(!g.guid){g.guid=this.guid++}if(l!==W){var e=g;g=this.proxy(e);g.data=l}var k=M.data(h,"events")||M.data(h,"events",{}),f=M.data(h,"handle")||M.data(h,"handle",function(){return typeof M!=="undefined"&&!M.event.triggered?M.event.handle.apply(arguments.callee.elem,arguments):W});f.elem=h;M.each(j.split(/\s+/),function(o,n){var m=n.split(".");n=m.shift();g.type=m.slice().sort().join(".");var q=k[n];if(M.event.specialAll[n]){M.event.specialAll[n].setup.call(h,l,m)}if(!q){q=k[n]={};if(!M.event.special[n]||M.event.special[n].setup.call(h,l,m)===false){if(h.addEventListener){h.addEventListener(n,f,false)}else{if(h.attachEvent){h.attachEvent("on"+n,f)}}}}q[g.guid]=g;M.event.global[n]=true});h=null},guid:1,global:{},remove:function(l,g,m){if(l.nodeType==3||l.nodeType==8){return}var h=M.data(l,"events"),f,j;if(h){if(g===W||(typeof g==="string"&&g.charAt(0)==".")){for(var e in h){this.remove(l,e+(g||""))}}else{if(g.type){m=g.handler;g=g.type}M.each(g.split(/\s+/),function(r,q){var n=q.split(".");q=n.shift();var o=RegExp("(^|\\.)"+n.slice().sort().join(".*\\.")+"(\\.|$)");if(h[q]){if(m){delete h[q][m.guid]}else{for(var s in h[q]){if(o.test(h[q][s].type)){delete h[q][s]}}}if(M.event.specialAll[q]){M.event.specialAll[q].teardown.call(l,n)}for(f in h[q]){break}if(!f){if(!M.event.special[q]||M.event.special[q].teardown.call(l,n)===false){if(l.removeEventListener){l.removeEventListener(q,M.data(l,"handle"),false)}else{if(l.detachEvent){l.detachEvent("on"+q,M.data(l,"handle"))}}}f=null;delete h[q]}}})}for(f in h){break}if(!f){var k=M.data(l,"handle");if(k){k.elem=null}M.removeData(l,"events");M.removeData(l,"handle")}}},trigger:function(g,h,n,j){var f=g.type||g;if(!j){g=typeof g==="object"?g[R]?g:M.extend(M.Event(f),g):M.Event(f);if(f.indexOf("!")>=0){g.type=f=f.slice(0,-1);g.exclusive=true}if(!n){g.stopPropagation();if(this.global[f]){M.each(M.cache,function(){if(this.events&&this.events[f]){M.event.trigger(g,h,this.handle.elem)}})}}if(!n||n.nodeType==3||n.nodeType==8){return W}g.result=W;g.target=n;h=M.makeArray(h);h.unshift(g)}g.currentTarget=n;var l=M.data(n,"handle");if(l){l.apply(n,h)}if((!n[f]||(M.nodeName(n,"a")&&f=="click"))&&n["on"+f]&&n["on"+f].apply(n,h)===false){g.result=false}if(!j&&n[f]&&!g.isDefaultPrevented()&&!(M.nodeName(n,"a")&&f=="click")){this.triggered=true;try{n[f]()}catch(k){}}this.triggered=false;if(!g.isPropagationStopped()){var m=n.parentNode||n.ownerDocument;if(m){M.event.trigger(g,h,m,true)}}},handle:function(h){var m,l;h=arguments[0]=M.event.fix(h||S.event);h.currentTarget=this;var k=h.type.split(".");h.type=k.shift();m=!k.length&&!h.exclusive;var f=RegExp("(^|\\.)"+k.slice().sort().join(".*\\.")+"(\\.|$)");l=(M.data(this,"events")||{})[h.type];for(var e in l){var n=l[e];if(m||f.test(n.type)){h.handler=n;h.data=n.data;var g=n.apply(this,arguments);if(g!==W){h.result=g;if(g===false){h.preventDefault();h.stopPropagation()}}if(h.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(h){if(h[R]){return h}var g=h;h=M.Event(g);for(var j=this.props.length,k;j;){k=this.props[--j];h[k]=g[k]}if(!h.target){h.target=h.srcElement||document}if(h.target.nodeType==3){h.target=h.target.parentNode}if(!h.relatedTarget&&h.fromElement){h.relatedTarget=h.fromElement==h.target?h.toElement:h.fromElement}if(h.pageX==null&&h.clientX!=null){var f=document.documentElement,e=document.body;h.pageX=h.clientX+(f&&f.scrollLeft||e&&e.scrollLeft||0)-(f.clientLeft||0);h.pageY=h.clientY+(f&&f.scrollTop||e&&e.scrollTop||0)-(f.clientTop||0)}if(!h.which&&((h.charCode||h.charCode===0)?h.charCode:h.keyCode)){h.which=h.charCode||h.keyCode}if(!h.metaKey&&h.ctrlKey){h.metaKey=h.ctrlKey}if(!h.which&&h.button){h.which=(h.button&1?1:(h.button&2?3:(h.button&4?2:0)))}return h},proxy:function(e,f){f=f||function(){return e.apply(this,arguments)};f.guid=e.guid=e.guid||f.guid||this.guid++;return f},special:{ready:{setup:b,teardown:function(){}}},specialAll:{live:{setup:function(f,e){M.event.add(this,e[0],d)},teardown:function(e){if(e.length){var g=0,f=RegExp("(^|\\.)"+e[0]+"(\\.|$)");M.each((M.data(this,"events").live||{}),function(){if(f.test(this.type)){g++}});if(g<1){M.event.remove(this,e[0],d)}}}}}};M.Event=function(e){if(!this.preventDefault){return new M.Event(e)}if(e&&e.type){this.originalEvent=e;this.type=e.type}else{this.type=e}this.timeStamp=A();this[R]=true};function D(){return false}function L(){return true}M.Event.prototype={preventDefault:function(){this.isDefaultPrevented=L;var f=this.originalEvent;if(!f){return}if(f.preventDefault){f.preventDefault()}f.returnValue=false},stopPropagation:function(){this.isPropagationStopped=L;var f=this.originalEvent;if(!f){return}if(f.stopPropagation){f.stopPropagation()}f.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=L;this.stopPropagation()},isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D};var C=function(g){var f=g.relatedTarget;while(f&&f!=this){try{f=f.parentNode}catch(h){f=this}}if(f!=this){g.type=g.data;M.event.handle.apply(this,arguments)}};M.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(f,e){M.event.special[e]={setup:function(){M.event.add(this,f,C,e)},teardown:function(){M.event.remove(this,f,C)}}});M.fn.extend({bind:function(f,g,e){return f=="unload"?this.one(f,g,e):this.each(function(){M.event.add(this,f,e||g,e&&g)})},one:function(g,h,e){var f=M.event.proxy(e||h,function(j){M(this).unbind(j,f);return(e||h).apply(this,arguments)});return this.each(function(){M.event.add(this,g,f,e&&h)})},unbind:function(f,e){return this.each(function(){M.event.remove(this,f,e)})},trigger:function(e,f){return this.each(function(){M.event.trigger(e,f,this)})},triggerHandler:function(f,g){if(this[0]){var e=M.Event(f);e.preventDefault();e.stopPropagation();M.event.trigger(e,g,this[0]);return e.result}},toggle:function(e){var f=arguments,g=1;while(g<f.length){M.event.proxy(e,f[g++])}return this.click(M.event.proxy(e,function(h){this.lastToggle=(this.lastToggle||0)%g;h.preventDefault();return f[this.lastToggle++].apply(this,arguments)||false}))},hover:function(f,e){return this.mouseenter(f).mouseleave(e)},ready:function(e){b();if(M.isReady){e.call(document,M)}else{M.readyList.push(e)}return this},live:function(f,e){var g=M.event.proxy(e);g.guid+=this.selector+f;M(document).bind(P(f,this.selector),this.selector,g);return this},die:function(f,e){M(document).unbind(P(f,this.selector),e?{guid:e.guid+this.selector+f}:null);return this}});function d(e){var f=RegExp("(^|\\.)"+e.type+"(\\.|$)"),g=true,h=[];M.each(M.data(this,"events").live||[],function(l,j){if(f.test(j.type)){var k=M(e.target).closest(j.data)[0];if(k){h.push({elem:k,fn:j})}}});h.sort(function(j,k){return M.data(j.elem,"closest")-M.data(k.elem,"closest")});M.each(h,function(){if(this.fn.call(this.elem,e,this.fn.data)===false){return(g=false)}});return g}function P(e,f){return["live",e,f.replace(/\./g,"`").replace(/ /g,"|")].join(".")}M.extend({isReady:false,readyList:[],ready:function(){if(!M.isReady){M.isReady=true;if(M.readyList){M.each(M.readyList,function(){this.call(document,M)});M.readyList=null}M(document).triggerHandler("ready")}}});var c=false;function b(){if(c){return}c=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);M.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);M.ready()}});if(document.documentElement.doScroll&&S==S.top){(function(){if(M.isReady){return}try{document.documentElement.doScroll("left")}catch(e){setTimeout(arguments.callee,0);return}M.ready()})()}}}M.event.add(S,"load",M.ready)}M.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(f,e){M.fn[e]=function(g){return g?this.bind(e,g):this.trigger(e)}});M(S).bind("unload",function(){for(var e in M.cache){if(e!=1&&M.cache[e].handle){M.event.remove(M.cache[e].handle.elem)}}});(function(){M.support={};var g=document.documentElement,k=document.createElement("script"),f=document.createElement("div"),l="script"+(new Date).getTime();f.style.display="none";f.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 h=f.getElementsByTagName("*"),m=f.getElementsByTagName("a")[0];if(!h||!h.length||!m){return}M.support={leadingWhitespace:f.firstChild.nodeType==3,tbody:!f.getElementsByTagName("tbody").length,objectAll:!!f.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!f.getElementsByTagName("link").length,style:/red/.test(m.getAttribute("style")),hrefNormalized:m.getAttribute("href")==="/a",opacity:m.style.opacity==="0.5",cssFloat:!!m.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};k.type="text/javascript";try{k.appendChild(document.createTextNode("window."+l+"=1;"))}catch(j){}g.insertBefore(k,g.firstChild);if(S[l]){M.support.scriptEval=true;delete S[l]}g.removeChild(k);if(f.attachEvent&&f.fireEvent){f.attachEvent("onclick",function(){M.support.noCloneEvent=false;f.detachEvent("onclick",arguments.callee)});f.cloneNode(true).fireEvent("onclick")}M(function(){var e=document.createElement("div");e.style.width=e.style.paddingLeft="1px";document.body.appendChild(e);M.boxModel=M.support.boxModel=e.offsetWidth===2;document.body.removeChild(e).style.display="none"})})();var Y=M.support.cssFloat?"cssFloat":"styleFloat";M.props={"for":"htmlFor","class":"className","float":Y,cssFloat:Y,styleFloat:Y,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};M.fn.extend({_load:M.fn.load,load:function(h,e,l){if(typeof h!=="string"){return this._load(h)}var f=h.indexOf(" ");if(f>=0){var j=h.slice(f,h.length);h=h.slice(0,f)}var g="GET";if(e){if(M.isFunction(e)){l=e;e=null}else{if(typeof e==="object"){e=M.param(e);g="POST"}}}var k=this;M.ajax({url:h,type:g,dataType:"html",data:e,complete:function(n,m){if(m=="success"||m=="notmodified"){k.html(j?M("<div/>").append(n.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(j):n.responseText)}if(l){k.each(l,[n.responseText,m,n])}}});return this},serialize:function(){return M.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?M.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(f,e){var g=M(this).val();return g==null?null:M.isArray(g)?M.map(g,function(j,h){return{name:e.name,value:j}}):{name:e.name,value:g}}).get()}});M.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(f,e){M.fn[e]=function(g){return this.bind(e,g)}});var K=A();M.extend({get:function(g,h,e,f){if(M.isFunction(h)){e=h;h=null}return M.ajax({type:"GET",url:g,data:h,success:e,dataType:f})},getScript:function(e,f){return M.get(e,null,f,"script")},getJSON:function(f,g,e){return M.get(f,g,e,"json")},post:function(g,h,e,f){if(M.isFunction(h)){e=h;h={}}return M.ajax({type:"POST",url:g,data:h,success:e,dataType:f})},ajaxSetup:function(e){M.extend(M.ajaxSettings,e)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return S.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(m){m=M.extend(true,m,M.extend(true,{},M.ajaxSettings,m));var g,r=/=\?(&|$)/g,n,o,h=m.type.toUpperCase();if(m.data&&m.processData&&typeof m.data!=="string"){m.data=M.param(m.data)}if(m.dataType=="jsonp"){if(h=="GET"){if(!m.url.match(r)){m.url+=(m.url.match(/\?/)?"&":"?")+(m.jsonp||"callback")+"=?"}}else{if(!m.data||!m.data.match(r)){m.data=(m.data?m.data+"&":"")+(m.jsonp||"callback")+"=?"}}m.dataType="json"}if(m.dataType=="json"&&(m.data&&m.data.match(r)||m.url.match(r))){g="jsonp"+K++;if(m.data){m.data=(m.data+"").replace(r,"="+g+"$1")}m.url=m.url.replace(r,"="+g+"$1");m.dataType="script";S[g]=function(s){o=s;t();w();S[g]=W;try{delete S[g]}catch(Ab){}if(Aa){Aa.removeChild(y)}}}if(m.dataType=="script"&&m.cache==null){m.cache=false}if(m.cache===false&&h=="GET"){var f=A();var l=m.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+f+"$2");m.url=l+((l==m.url)?(m.url.match(/\?/)?"&":"?")+"_="+f:"")}if(m.data&&h=="GET"){m.url+=(m.url.match(/\?/)?"&":"?")+m.data;m.data=null}if(m.global&&!M.active++){M.event.trigger("ajaxStart")}var z=/^(\w+:)?\/\/([^\/?#]+)/.exec(m.url);if(m.dataType=="script"&&h=="GET"&&z&&(z[1]&&z[1]!=location.protocol||z[2]!=location.host)){var Aa=document.getElementsByTagName("head")[0];var y=document.createElement("script");y.src=m.url;if(m.scriptCharset){y.charset=m.scriptCharset}if(!g){var k=false;y.onload=y.onreadystatechange=function(){if(!k&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){k=true;t();w();y.onload=y.onreadystatechange=null;Aa.removeChild(y)}}}Aa.appendChild(y);return W}var x=false;var j=m.xhr();if(m.username){j.open(h,m.url,m.async,m.username,m.password)}else{j.open(h,m.url,m.async)}try{if(m.data){j.setRequestHeader("Content-Type",m.contentType)}if(m.ifModified){j.setRequestHeader("If-Modified-Since",M.lastModified[m.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}j.setRequestHeader("X-Requested-With","XMLHttpRequest");j.setRequestHeader("Accept",m.dataType&&m.accepts[m.dataType]?m.accepts[m.dataType]+", */*":m.accepts._default)}catch(u){}if(m.beforeSend&&m.beforeSend(j,m)===false){if(m.global&&!--M.active){M.event.trigger("ajaxStop")}j.abort();return false}if(m.global){M.event.trigger("ajaxSend",[j,m])}var v=function(s){if(j.readyState==0){if(q){clearInterval(q);q=null;if(m.global&&!--M.active){M.event.trigger("ajaxStop")}}}else{if(!x&&j&&(j.readyState==4||s=="timeout")){x=true;if(q){clearInterval(q);q=null}n=s=="timeout"?"timeout":!M.httpSuccess(j)?"error":m.ifModified&&M.httpNotModified(j,m.url)?"notmodified":"success";if(n=="success"){try{o=M.httpData(j,m.dataType,m)}catch(Ac){n="parsererror"}}if(n=="success"){var Ab;try{Ab=j.getResponseHeader("Last-Modified")}catch(Ac){}if(m.ifModified&&Ab){M.lastModified[m.url]=Ab}if(!g){t()}}else{M.handleError(m,j,n)}w();if(s){j.abort()}if(m.async){j=null}}}};if(m.async){var q=setInterval(v,13);if(m.timeout>0){setTimeout(function(){if(j&&!x){v("timeout")}},m.timeout)}}try{j.send(m.data)}catch(u){M.handleError(m,j,null,u)}if(!m.async){v()}function t(){if(m.success){m.success(o,n)}if(m.global){M.event.trigger("ajaxSuccess",[j,m])}}function w(){if(m.complete){m.complete(j,n)}if(m.global){M.event.trigger("ajaxComplete",[j,m])}if(m.global&&!--M.active){M.event.trigger("ajaxStop")}}return j},handleError:function(f,j,g,h){if(f.error){f.error(j,g,h)}if(f.global){M.event.trigger("ajaxError",[j,f,h])}},active:0,httpSuccess:function(g){try{return !g.status&&location.protocol=="file:"||(g.status>=200&&g.status<300)||g.status==304||g.status==1223}catch(f){}return false},httpNotModified:function(j,g){try{var h=j.getResponseHeader("Last-Modified");return j.status==304||h==M.lastModified[g]}catch(f){}return false},httpData:function(j,g,e){var h=j.getResponseHeader("content-type"),f=g=="xml"||!g&&h&&h.indexOf("xml")>=0,k=f?j.responseXML:j.responseText;if(f&&k.documentElement.tagName=="parsererror"){throw"parsererror"}if(e&&e.dataFilter){k=e.dataFilter(k,g)}if(typeof k==="string"){if(g=="script"){M.globalEval(k)}if(g=="json"){k=S["eval"]("("+k+")")}}return k},param:function(g){var e=[];function f(k,j){e[e.length]=encodeURIComponent(k)+"="+encodeURIComponent(j)}if(M.isArray(g)||g.jquery){M.each(g,function(){f(this.name,this.value)})}else{for(var h in g){if(M.isArray(g[h])){M.each(g[h],function(){f(h,this)})}else{f(h,M.isFunction(g[h])?g[h]():g[h])}}}return e.join("&").replace(/%20/g,"+")}});var U={},B,I=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function V(f,g){var e={};M.each(I.concat.apply([],I.slice(0,g)),function(){e[this]=f});return e}M.fn.extend({show:function(h,n){if(h){return this.animate(V("show",3),h,n)}else{for(var e=0,f=this.length;e<f;e++){var j=M.data(this[e],"olddisplay");this[e].style.display=j||"";if(M.css(this[e],"display")==="none"){var g=this[e].tagName,k;if(U[g]){k=U[g]}else{var m=M("<"+g+" />").appendTo("body");k=m.css("display");if(k==="none"){k="block"}m.remove();U[g]=k}M.data(this[e],"olddisplay",k)}}for(var e=0,f=this.length;e<f;e++){this[e].style.display=M.data(this[e],"olddisplay")||""}return this}},hide:function(f,j){if(f){return this.animate(V("hide",3),f,j)}else{for(var h=0,g=this.length;h<g;h++){var e=M.data(this[h],"olddisplay");if(!e&&e!=="none"){M.data(this[h],"olddisplay",M.css(this[h],"display"))}}for(var h=0,g=this.length;h<g;h++){this[h].style.display="none"}return this}},_toggle:M.fn.toggle,toggle:function(e,f){var g=typeof e==="boolean";return M.isFunction(e)&&M.isFunction(f)?this._toggle.apply(this,arguments):e==null||g?this.each(function(){var h=g?e:M(this).is(":hidden");M(this)[h?"show":"hide"]()}):this.animate(V("toggle",3),e,f)},fadeTo:function(f,e,g){return this.animate({opacity:e},f,g)},animate:function(j,g,e,f){var h=M.speed(g,e,f);return this[h.queue===false?"each":"queue"](function(){var n=M.extend({},h),m,k=this.nodeType==1&&M(this).is(":hidden"),l=this;for(m in j){if(j[m]=="hide"&&k||j[m]=="show"&&!k){return n.complete.call(this)}if((m=="height"||m=="width")&&this.style){n.display=M.css(this,"display");n.overflow=this.style.overflow}}if(n.overflow!=null){this.style.overflow="hidden"}n.curAnim=M.extend({},j);M.each(j,function(o,v){var u=new M.fx(l,n,o);if(/toggle|show|hide/.test(v)){u[v=="toggle"?k?"show":"hide":v](j)}else{var t=v.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),r=u.cur(true)||0;if(t){var s=parseFloat(t[2]),q=t[3]||"px";if(q!="px"){l.style[o]=(s||1)+q;r=((s||1)/u.cur(true))*r;l.style[o]=r+q}if(t[1]){s=((t[1]=="-="?-1:1)*s)+r}u.custom(r,s,q)}else{u.custom(r,v,"")}}});return true})},stop:function(e,g){var f=M.timers;if(e){this.queue([])}this.each(function(){for(var h=f.length-1;h>=0;h--){if(f[h].elem==this){if(g){f[h](true)}f.splice(h,1)}}});if(!g){this.dequeue()}return this}});M.each({slideDown:V("show",1),slideUp:V("hide",1),slideToggle:V("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(f,e){M.fn[f]=function(g,h){return this.animate(e,g,h)}});M.extend({speed:function(g,f,e){var h=typeof g==="object"?g:{complete:e||!e&&f||M.isFunction(g)&&g,duration:g,easing:e&&f||f&&!M.isFunction(f)&&f};h.duration=M.fx.off?0:typeof h.duration==="number"?h.duration:M.fx.speeds[h.duration]||M.fx.speeds._default;h.old=h.complete;h.complete=function(){if(h.queue!==false){M(this).dequeue()}if(M.isFunction(h.old)){h.old.call(this)}};return h},easing:{linear:function(g,e,h,f){return h+f*g},swing:function(g,e,h,f){return((-Math.cos(g*Math.PI)/2)+0.5)*f+h}},timers:[],fx:function(e,f,g){this.options=f;this.elem=e;this.prop=g;if(!f.orig){f.orig={}}}});M.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(M.fx.step[this.prop]||M.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(f){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var e=parseFloat(M.css(this.elem,this.prop,f));return e&&e>-10000?e:parseFloat(M.curCSS(this.elem,this.prop))||0},custom:function(e,f,g){this.startTime=A();this.start=e;this.end=f;this.unit=g||this.unit||"px";this.now=this.start;this.pos=this.state=0;var h=this;function j(k){return h.step(k)}j.elem=this.elem;if(j()&&M.timers.push(j)&&!B){B=setInterval(function(){var k=M.timers;for(var l=0;l<k.length;l++){if(!k[l]()){k.splice(l--,1)}}if(!k.length){clearInterval(B);B=W}},13)}},show:function(){this.options.orig[this.prop]=M.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());M(this.elem).show()},hide:function(){this.options.orig[this.prop]=M.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(j){var g=A();if(j||g>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var e=true;for(var h in this.options.curAnim){if(this.options.curAnim[h]!==true){e=false}}if(e){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(M.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){M(this.elem).hide()}if(this.options.hide||this.options.show){for(var k in this.options.curAnim){M.attr(this.elem.style,k,this.options.orig[k])}}this.options.complete.call(this.elem)}return false}else{var f=g-this.startTime;this.state=f/this.options.duration;this.pos=M.easing[this.options.easing||(M.easing.swing?"swing":"linear")](this.state,f,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};M.extend(M.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){M.attr(e.elem.style,"opacity",e.now)},_default:function(e){if(e.elem.style&&e.elem.style[e.prop]!=null){e.elem.style[e.prop]=e.now+e.unit}else{e.elem[e.prop]=e.now}}}});if(document.documentElement["getBoundingClientRect"]){M.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return M.offset.bodyOffset(this[0])}var e=this[0].getBoundingClientRect(),j=this[0].ownerDocument,m=j.body,k=j.documentElement,l=k.clientTop||m.clientTop||0,f=k.clientLeft||m.clientLeft||0,g=e.top+(self.pageYOffset||M.boxModel&&k.scrollTop||m.scrollTop)-l,h=e.left+(self.pageXOffset||M.boxModel&&k.scrollLeft||m.scrollLeft)-f;return{top:g,left:h}}}else{M.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return M.offset.bodyOffset(this[0])}M.offset.initialized||M.offset.initialize();var q=this[0],o=q.offsetParent,f=q,l=q.ownerDocument,e,m=l.documentElement,n=l.body,j=l.defaultView,k=j.getComputedStyle(q,null),g=q.offsetTop,h=q.offsetLeft;while((q=q.parentNode)&&q!==n&&q!==m){e=j.getComputedStyle(q,null);g-=q.scrollTop,h-=q.scrollLeft;if(q===o){g+=q.offsetTop,h+=q.offsetLeft;if(M.offset.doesNotAddBorder&&!(M.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(q.tagName))){g+=parseInt(e.borderTopWidth,10)||0,h+=parseInt(e.borderLeftWidth,10)||0}f=o,o=q.offsetParent}if(M.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){g+=parseInt(e.borderTopWidth,10)||0,h+=parseInt(e.borderLeftWidth,10)||0}k=e}if(k.position==="relative"||k.position==="static"){g+=n.offsetTop,h+=n.offsetLeft}if(k.position==="fixed"){g+=Math.max(m.scrollTop,n.scrollTop),h+=Math.max(m.scrollLeft,n.scrollLeft)}return{top:g,left:h}}}M.offset={initialize:function(){if(this.initialized){return}var m=document.body,f=document.createElement("div"),o,j,e,n,k,g,l=m.style.marginTop,h='<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>';k={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(g in k){f.style[g]=k[g]}f.innerHTML=h;m.insertBefore(f,m.firstChild);o=f.firstChild,j=o.firstChild,n=o.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(j.offsetTop!==5);this.doesAddBorderForTableAndCells=(n.offsetTop===5);o.style.overflow="hidden",o.style.position="relative";this.subtractsBorderForOverflowNotVisible=(j.offsetTop===-5);m.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(m.offsetTop===0);m.style.marginTop=l;m.removeChild(f);this.initialized=true},bodyOffset:function(e){M.offset.initialized||M.offset.initialize();var f=e.offsetTop,g=e.offsetLeft;if(M.offset.doesNotIncludeMarginInBodyOffset){f+=parseInt(M.curCSS(e,"marginTop",true),10)||0,g+=parseInt(M.curCSS(e,"marginLeft",true),10)||0}return{top:f,left:g}}};M.fn.extend({position:function(){var h=0,f=0,j;if(this[0]){var k=this.offsetParent(),g=this.offset(),e=/^body|html$/i.test(k[0].tagName)?{top:0,left:0}:k.offset();g.top-=O(this,"marginTop");g.left-=O(this,"marginLeft");e.top+=O(k,"borderTopWidth");e.left+=O(k,"borderLeftWidth");j={top:g.top-e.top,left:g.left-e.left}}return j},offsetParent:function(){var e=this[0].offsetParent||document.body;while(e&&(!/^body|html$/i.test(e.tagName)&&M.css(e,"position")=="static")){e=e.offsetParent}return M(e)}});M.each(["Left","Top"],function(g,e){var f="scroll"+e;M.fn[f]=function(h){if(!this[0]){return null}return h!==W?this.each(function(){this==S||this==document?S.scrollTo(!g?h:M(S).scrollLeft(),g?h:M(S).scrollTop()):this[f]=h}):this[0]==S||this[0]==document?self[g?"pageYOffset":"pageXOffset"]||M.boxModel&&document.documentElement[f]||document.body[f]:this[0][f]}});M.each(["Height","Width"],function(h,f){var j=h?"Left":"Top",k=h?"Right":"Bottom",e=f.toLowerCase();M.fn["inner"+f]=function(){return this[0]?M.css(this[0],e,false,"padding"):null};M.fn["outer"+f]=function(l){return this[0]?M.css(this[0],e,false,l?"margin":"border"):null};var g=f.toLowerCase();M.fn[g]=function(l){return this[0]==S?document.compatMode=="CSS1Compat"&&document.documentElement["client"+f]||document.body["client"+f]:this[0]==document?Math.max(document.documentElement["client"+f],document.body["scroll"+f],document.documentElement["scroll"+f],document.body["offset"+f],document.documentElement["offset"+f]):l===W?(this.length?M.css(this[0],g):null):this.css(g,typeof l==="string"?l:l+"px")}})})();$j=jQuery.noConflict();function AttachEvents(){$j("ul.tabs li").hover(function(){if($j(this).find("#tabmenu_child a").length>0){$j(this).children("div").css("visibility","visible")}$j(this).find("#tabmenu_child a").each(function(B,A){$j(A).width($j(A).parent().width())});if((!$j(this).hasClass("tabon"))){$j(this).addClass("active")}},function(){$j(this).children("div").css("visibility","hidden");$j(this).removeClass("active")})}function SetStyles(){$j(".tabs li").each(function(B,A){if(parseInt($j(A).width())>120){$j(A).width(120)}});$j("div.tn_txt").each(function(B,A){if(parseInt($j(A).height())<17){$j(A).addClass("pad")}})}$j(SetStyles);$j(AttachEvents);var Videobox={init:function(B){this.options=Object.extend({resizeDuration:400,initialWidth:250,initialHeight:250,defaultWidth:540,defaultHeight:400,animateCaption:false,flvplayer:"/KodakGCG/KodakGCGPages/Scripts/flvplayer.swf"},B||{});this.anchors=[];$A($$("a")).each(function(C){if(C.rel&&C.href&&C.rel.test("^vidbox","i")){C.addEvent("click",function(D){D=new Event(D);D.stop();this.click(C)}.bind(this));this.anchors.push(C)}},this);this.overlay=new Element("div").setProperty("id","lbOverlay_video").injectInside(document.body);this.center=new Element("div").setProperty("id","lbCenter").setStyles({width:this.options.initialWidth+"px",height:this.options.initialHeight+"px",marginLeft:"-"+(this.options.initialWidth/2)+"px",display:"none"}).injectInside(document.body);this.bottomContainer=new Element("div").setProperty("id","lbBottomContainer").setStyle("display","none").injectInside(document.body);this.bottom=new Element("div").setProperty("id","lbBottom").injectInside(this.bottomContainer);new Element("a").setProperties({id:"lbCloseLink",href:"#"}).injectInside(this.bottom).onclick=this.overlay.onclick=this.close.bind(this);this.caption=new Element("div").setProperty("id","lbCaption_video").injectInside(this.bottom);this.number=new Element("div").setProperty("id","lbNumber").injectInside(this.bottom);new Element("div").setStyle("clear","both").injectInside(this.bottom);var A=this.nextEffect.bind(this);this.fx={overlay:this.overlay.effect("opacity",{duration:500}).hide(),center:this.center.effects({duration:500,transition:Fx.Transitions.sineInOut,onComplete:A}),bottom:this.bottom.effect("margin-top",{duration:400})}},click:function(A){return this.open(A.href,A.title,A.rel)},open:function(B,C,A){this.href=B;this.title=C;this.rel=A;this.position();this.setup();this.video(this.href);this.top=Window.getScrollTop()+(Window.getHeight()/15);this.center.setStyles({top:this.top+"px",display:""});this.fx.overlay.start(0.8);this.step=1;this.center.setStyle("background","#fff url(loading.gif) no-repeat center");this.caption.innerHTML=this.title;this.fx.center.start({"height":[this.options.contentsHeight]})},setup:function(){var A=this.rel.match(/[0-9]+/g);this.options.contentsWidth=(A&&(A[0]>0))?A[0]:this.options.defaultWidth;this.options.contentsHeight=(A&&(A[1]>0))?A[1]:this.options.defaultHeight},position:function(){this.overlay.setStyles({"top":window.getScrollTop()+"px","height":window.getHeight()+"px"})},video:function(C){if(C.match(/youtube\.com\/watch/i)){this.flash=true;var B=C;var A=B.split("=");this.videoID=A[1];this.so=new SWFObject("http://www.youtube.com/v/"+this.videoID,"flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0");this.so.addParam("wmode","transparent")}else{if(C.match(/metacafe\.com\/watch/i)){this.flash=true;var B=C;var A=B.split("/");this.videoID=A[4];this.so=new SWFObject("http://www.metacafe.com/fplayer/"+this.videoID+"/.swf","flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0");this.so.addParam("wmode","transparent")}else{if(C.match(/google\.com\/videoplay/i)){this.flash=true;var B=C;var A=B.split("=");this.videoID=A[1];this.so=new SWFObject("http://video.google.com/googleplayer.swf?docId="+this.videoID+"&hl=en","flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0");this.so.addParam("wmode","transparent")}else{if(C.match(/ifilm\.com\/video/i)){this.flash=true;var B=C;var A=B.split("video/");this.videoID=A[1];this.so=new SWFObject("http://www.ifilm.com/efp","flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0","#000");this.so.addVariable("flvbaseclip",this.videoID+"&");this.so.addParam("wmode","transparent")}else{if(C.match(/\.mov/i)){this.flash=false;if(navigator.plugins&&navigator.plugins.length){this.other='<object id="qtboxMovie" type="video/quicktime" codebase="http://www.apple.com/qtactivex/qtplugin.cab" data="'+C+'" width="'+this.options.contentsWidth+'" height="'+this.options.contentsHeight+'"><param name="src" value="'+C+'" /><param name="scale" value="aspect" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="bgcolor" value="#000000" /><param name="enablejavascript" value="true" /></object>'}else{this.other='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="'+this.options.contentsWidth+'" height="'+this.options.contentsHeight+'" id="qtboxMovie"><param name="src" value="'+C+'" /><param name="scale" value="aspect" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="bgcolor" value="#000000" /><param name="enablejavascript" value="true" /></object>'}}else{if(C.match(/\.wmv/i)||C.match(/\.asx/i)){this.flash=false;this.other='<object NAME="Player" WIDTH="'+this.options.contentsWidth+'" HEIGHT="'+this.options.contentsHeight+'" align="left" hspace="0" type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"><param NAME="URL" VALUE="'+C+'"><param><param NAME="AUTOSTART" VALUE="false"></param><param name="showControls" value="true"></param><embed WIDTH="'+this.options.contentsWidth+'" HEIGHT="'+this.options.contentsHeight+'" align="left" hspace="0" SRC="'+C+'" TYPE="application/x-oleobject" AUTOSTART="false"></embed></object>'}else{if(C.match(/\.flv/i)){this.flash=true;this.so=new SWFObject(this.options.flvplayer+"?file="+C,"flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0","#000")}else{this.flash=true;this.videoID=C;this.so=new SWFObject(this.videoID,"flvvideo",this.options.contentsWidth,this.options.contentsHeight,"0")}}}}}}}},nextEffect:function(){switch(this.step++){case 1:this.fx.center.start({"width":[this.options.contentsWidth],"marginLeft":[this.options.contentsWidth/-2]});break;this.step++;case 2:this.center.setStyle("background","#fff");this.flash?this.so.write(this.center):this.center.setHTML(this.other);this.bottomContainer.setStyles({top:(this.top+this.center.clientHeight)+"px",height:"0px",marginLeft:this.center.style.marginLeft,width:this.options.contentsWidth+"px",display:""});if(this.options.animateCaption){this.fx.bottom.set(-this.bottom.offsetHeight);this.bottomContainer.style.height="";this.fx.bottom.start(0);break}this.bottomContainer.style.height="";this.step++}},close:function(){this.fx.overlay.start(0);this.center.style.display=this.bottomContainer.style.display="none";this.center.innerHTML="";return false}};window.addEvent("domready",Videobox.init.bind(Videobox));