/*!
 * Modernizr JavaScript library 1.1
 * http://modernizr.com/
 *
 * Copyright (c) 2009 Faruk Ates - http://farukat.es/
 * Licensed under the MIT license.
 * http://modernizr.com/license/
 *
 * Featuring major contributions by
 * Paul Irish  - http://paulirish.com
 * Ben Alman   - http://benalman.com/
 */

window.Modernizr=function(l,e){function o(a,b){for(var d in a)if(f[a[d]]!==undefined&&(!b||b(a[d])))return true}function h(a,b){var d=a.charAt(0).toUpperCase()+a.substr(1);return!!o([a,"webkit"+d,"Moz"+d,"moz"+d,"o"+d,"ms"+d],b)}var g={},i=e.documentElement,q=e.createElement("modernizr"),f=q.style,m=e.createElement("input");" -o- -moz- -ms- -webkit- ".split(" ");var c={},r={},s={},j,t=[];c.canvas=function(){return!!e.createElement("canvas").getContext};c.canvastext=function(){return!!(c.canvas()&&
typeof e.createElement("canvas").getContext("2d").fillText=="function")};c.geolocation=function(){return!!navigator.geolocation};c.rgba=function(){f.cssText="background-color:rgba(150,255,150,.5)";return f.backgroundColor.indexOf("rgba")!==-1};c.hsla=function(){f.cssText="background-color:hsla(120,40%,100%,.5)";return f.backgroundColor.indexOf("rgba")!==-1};c.multiplebgs=function(){f.cssText="background:url(m.png),url(a.png),#f99 url(m.png)";return/(url\s*\(.*?){3}/.test(f.background)};c.borderimage=
function(){return h("borderImage")};c.borderradius=function(){return h("borderRadius","",function(a){return a.indexOf("orderRadius")!==-1})};c.boxshadow=function(){return h("boxShadow")};c.opacity=function(){f.cssText="opacity:.5";return f.opacity.indexOf("0.5")!==-1};c.cssanimations=function(){return h("animationName")};c.csscolumns=function(){return h("columnCount")};c.cssgradients=function(){f.cssText="background-image:gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:-moz-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:-o-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:-ms-gradient(linear,left top,right bottom,from(#9f9),to(white));background-image:linear-gradient(left top,#9f9, white);background-image:-webkit-linear-gradient(left top,#9f9, white);background-image:-moz-linear-gradient(left top,#9f9, white);background-image:-o-linear-gradient(left top,#9f9, white);background-image:-ms-linear-gradient(left top,#9f9, white);";
return f.backgroundImage.indexOf("gradient")!==-1};c.cssreflections=function(){return h("boxReflect")};c.csstransforms=function(){return!!o(["transformProperty","webkitTransform","MozTransform","mozTransform","oTransform","msTransform"])};c.csstransforms3d=function(){return!!o(["perspectiveProperty","webkitPerspective","MozPerspective","mozPerspective","oPerspective","msPerspective"])};c.csstransitions=function(){return h("transitionProperty")};c.fontface=function(){var a,b=e.createElement("style"),
d=e.createElement("span"),n,u=false,k=e.body,p,v;b.textContent="@font-face{font-family:testfont;src:url('data:font/ttf;base64,AAEAAAAMAIAAAwBAT1MvMliohmwAAADMAAAAVmNtYXCp5qrBAAABJAAAANhjdnQgACICiAAAAfwAAAAEZ2FzcP//AAMAAAIAAAAACGdseWYv5OZoAAACCAAAANxoZWFk69bnvwAAAuQAAAA2aGhlYQUJAt8AAAMcAAAAJGhtdHgGDgC4AAADQAAAABRsb2NhAIQAwgAAA1QAAAAMbWF4cABVANgAAANgAAAAIG5hbWUgXduAAAADgAAABPVwb3N03NkzmgAACHgAAAA4AAECBAEsAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAACAAMDAAAAAAAAgAACbwAAAAoAAAAAAAAAAFBmRWQAAAAgqS8DM/8zAFwDMwDNAAAABQAAAAAAAAAAAAMAAAADAAAAHAABAAAAAABGAAMAAQAAAK4ABAAqAAAABgAEAAEAAgAuqQD//wAAAC6pAP///9ZXAwAAAAAAAAACAAAABgBoAAAAAAAvAAEAAAAAAAAAAAAAAAAAAAABAAIAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEACoAAAAGAAQAAQACAC6pAP//AAAALqkA////1lcDAAAAAAAAAAIAAAAiAogAAAAB//8AAgACACIAAAEy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BnAC8ATwBGAEwAAAAAAgAAAAAAAP+BADMAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAQACAQIAEQt6ZXJva2F5YWhsaQ==')}";
e.getElementsByTagName("head")[0].appendChild(b);d.setAttribute("style","font:99px _,serif;position:absolute;visibility:hidden");if(!k){k=i.appendChild(e.createElement("fontface"));u=true}d.innerHTML="........";d.id="fonttest";k.appendChild(d);n=d.offsetWidth;d.style.font="99px testfont,_,serif";a=n!==d.offsetWidth;setTimeout(function(){a=g.fontface=n!==d.offsetWidth;i.className=i.className.replace(/(no-)?font.*?\b/,"")+(a?" ":" no-")+"fontface";p&&(v=true)&&p(a);u&&setTimeout(function(){k.parentNode.removeChild(k)},
50)},100);g._fontfaceready=function(w){v||a?w(a):p=w};return function(){return a||n!==d.offsetWidth}};c.video=function(){var a=e.createElement("video"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('video/ogg; codecs="theora, vorbis"');b.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')}return b};c.audio=function(){var a=e.createElement("audio"),b=!!a.canPlayType;if(b){b=new Boolean(b);b.ogg=a.canPlayType('audio/ogg; codecs="vorbis"');b.mp3=a.canPlayType("audio/mpeg3;");
b.wav=a.canPlayType('audio/wav; codecs="1"');b.m4a=a.canPlayType("audio/x-m4a;")}return b};c.localstorage=function(){return"localStorage"in l};c.sessionstorage=function(){return"sessionStorage"in l};c.webworkers=function(){return!!l.Worker};c.applicationcache=function(){return!!l.applicationCache};g.addTest=function(a,b){this.hasOwnProperty(a);b=!!b();i.className+=" "+(!b?"no-":"")+a;g[a]=b};g.input=function(a){for(var b in a)s[a[b]]=!!(a[b]in m);return s}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));
g.inputtypes=function(a){for(var b in a){m.setAttribute("type",a[b]);r[a[b]]=m.type!=="text"}return r}("search tel url email datetime date month week time datetime-local number range color".split(" "));f.cssText="";q=m=null;g._enableHTML5=true;g._enableNoClasses=true;g._version="1.1";g.run_tests=function(){for(j in c)if(c.hasOwnProperty(j))t.push((!(g[j]=c[j]())?"no-":"")+j);(function(a,b){a[b]=a[b].replace(/\bno-js\b/,"js")})(i,"className");i.className+=" "+t.join(" ")};return g}(this,this.document);

/*
 * jQuery Templating Plugin
 * Copyright 2010, John Resig (Original Author)
 * @author Peng Wang
 * Dual licensed under the MIT or GPL Version 2 licenses.
 */

(function(b){var h=b.fn.domManip;b.fn.extend({render:function(a){return this.map(function(d,c){return b.render(c,a)})},domManip:function(a){if(a.length>1&&a[0].nodeType)arguments[0]=[b.makeArray(a)];if(a.length===2&&typeof a[0]==="string"&&typeof a[1]!=="string")arguments[0]=[b.render(a[0],a[1])];return h.apply(this,arguments)}});b.extend({render:function(a,d){var c;if(b.templates[a])c=b.templates[a];else if(a.nodeType)c=b.data(a).tmpl||b.tmpl(a.innerHTML);c=c||b.tmpl(a);return b.isArray(d)?b.map(d,
function(e,g){return c.call(e,b,e,g)}):c.call(d,b,d,0)},templates:{},tmplcmd:{each:{_default:[null,"$i"],prefix:"jQuery.each($1, function($2) { with(this) {",suffix:"}});"},"if":{prefix:"if ($1) {",suffix:"}"},"else":{prefix:"} else {"},html:{prefix:"_.push((typeof $1==='function') ? $1.call(this) : $1);"},"=":{_default:["this"],prefix:"_.push($.encode((typeof $1==='function') ? $1.call(this) : $1));"}},encode:function(a){return a!=null?document.createTextNode(a.toString()).nodeValue:""},tmpl:function(a,
d,c){a=new Function("jQuery","$data","$i","var _=[];_.data=$data;_.index=$i;with($data){_.push('"+a.replace(/[\r\t\n]/g," ").replace(/\${([^}]*)}/g,"{{= $1}}").replace(/{{(\/?)(\w+|.)(?:\((.*?)\))?(?: (.*?))?}}/g,function(e,g,f,i,j){e=b.tmplcmd[f];if(!e)throw"Template not found: "+f;f=e._default;return"');"+e[g?"suffix":"prefix"].split("$1").join(j||f[0]).split("$2").join(i||f[1])+"_.push('"})+"');}return $(_.join('')).get();");return d?a.call(this,b,d,c):a}})})(jQuery);

/**
 * Cookie plugin
 *
 * Copyright (c) 2006 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */

jQuery.cookie=function(d,c,a){if(typeof c!="undefined"){a=a||{};if(c===null){c="";a.expires=-1}var b="";if(a.expires&&(typeof a.expires=="number"||a.expires.toUTCString)){if(typeof a.expires=="number"){b=new Date;b.setTime(b.getTime()+a.expires*24*60*60*1E3)}else b=a.expires;b="; expires="+b.toUTCString()}var e=a.path?"; path="+a.path:"",f=a.domain?"; domain="+a.domain:"";a=a.secure?"; secure":"";document.cookie=[d,"=",encodeURIComponent(c),b,e,f,a].join("")}else{c=null;if(document.cookie&&document.cookie!=
""){a=document.cookie.split(";");for(b=0;b<a.length;b++){e=jQuery.trim(a[b]);if(e.substring(0,d.length+1)==d+"="){c=decodeURIComponent(e.substring(d.length+1));break}}}return c}};

/**
 * PJP ToolTip 
 * contains PJU Hover function
 * NOTE Namespace: $('foo').myPlugin(options{p_foo:bar}) { var myPrivate; }
 * NOTE For conflicting property namespaces: plugin -> p_foo  utility -> u_foo
 * TODO window control, dynamic stems
 * TODO snap trigger, dynamic side
 * TODO dynamic dims
 * TODO x-browser
 * @param       {jQuery object}     set of matched elements
 * @see         http://cherne.net/brian/resources/jquery.hoverIntent.html
 * @requires    jQuery 1.2+
 * @package     Peng's JQuery Plugins
 * @subpackage  Peng's WordPress Frontend
 * @version     1.0
 * @author      peng@pengxwang.com
 */

(function(g){g.fn.pjpTip=function(a){a=g.extend({},{filters:undefined,p_type:"attribute",p_selector_class:"pjpTipTrigger",p_attr:"title",tip_class:"jTip",tip_inner_class:"in",tip_id:"pjpTip",tip_parent:"body",stem_class:"jStem",do_stem:true,do_follow:true,do_lock_x:false,do_lock_y:true,do_snap:true,do_fade:true,fade_in:200,fade_out:100,off_x:0,off_y:24,mouse:8,interval:300,timeout:0},a);return this.each(function(){$this=g(this);new g.PJPTip(a,$this)})};g.pjuHover=function(a,f){for(var c=(a.type==
"mouseover"?a.fromElement:a.toElement)||a.relatedTarget;c&&c!=f;)try{c=c.parentNode}catch(b){c=f}if(c==f)return false};g.PJPTip=function(a,f){var c={isHover:{timer:undefined,state:false}},b={myContent:undefined,myLeft:undefined,myTop:undefined,isSet:false,my$:undefined,my$In:undefined},d={currX:undefined,currY:undefined,prevX:undefined,prevY:undefined,sensitivity:a.mouse},k=function(e){c.isHover.timer=setTimeout(function(){c.isHover.timer=clearTimeout(c.isHover.timer);if(Math.abs(d.prevX-d.currX)+
Math.abs(d.prevY-d.currY)<d.sensitivity){c.isHover.state=true;b.my$=g("<div></div>").appendTo(a.tip_parent).html(b.myContent).attr({id:a.tip_id,className:a.tip_class});b.my$In=b.my$.wrapInner("<div></div>").children("div").attr("class",a.tip_inner_class);a.do_stem==true&&b.my$.prepend("<div></div>").children("div").not("."+a.tip_inner_class).attr("class",a.stem_class);b.my$In.css("max-width")&&parseInt(b.my$In.width())>=parseInt(b.my$In.css("max-width"))&&b.my$In.css("width",parseInt(b.my$In.css("max-width")));
i();a.do_fade==true&&b.my$.hide().fadeIn(a.fade_in);b.isSet=true}else{j();k(e)}},a.interval)},j=function(e){if(e){d.prevX=e.pageX;d.prevY=e.pageY}else{d.prevX=d.currX;d.prevY=d.currY}},l=function(e){d.currX=e.pageX;d.currY=e.pageY;i()},i=function(){if(c.isHover.state==true&&a.do_follow==true){if(!(a.do_lock_x==true&&b.isSet==true))b.myLeft=d.currX+a.off_x;if(!(a.do_lock_y==true&&b.isSet==true))b.myTop=d.currY+a.off_y;b.my$.css({top:b.myTop,left:b.myLeft})}},o=function(){c.isHover.timer=clearTimeout(c.isHover.timer);
c.isHover.state=false;if(b.isSet==true){b.isSet=false;a.do_fade?b.my$.fadeOut(a.fade_out,function(){b.my$.remove()}):b.my$.remove()}},n=function(e){var m=g.extend({},e);if(g.pjuHover&&g.pjuHover(e,this)==false)return false;if(c.isHover.timer)c.isHover.timer=clearTimeout(c.isHover.timer);if(e.type=="mouseover"){j(m);f.bind("mousemove",l);c.isHover.state==false&&k(m)}else if(e.type=="mouseout"){f.unbind("mousemove",l);if(c.isHover.state==true)c.isHover.timer=setTimeout(function(){o()},a.timeout)}},
h;a:switch(a.p_type){case "attribute":b.myContent=f.attr(a.p_attr);f.attr(a.p_attr,"");if(b.myContent==""){h=false;break a}if(a.filters&&f.is(a.filters)){h=false;break a}f.find("*["+a.p_attr+"]").attr(a.p_attr,"");if(b.myContent.search(/http:\/\//)!=-1)b.myContent=b.myContent.replace(/(http:\/\/www\.)|(http:\/\/)/i,"");break;case "selector":break}if(h==false)return f;return f.mouseover(n).mouseout(n)}})(jQuery);

/**
 * PJP Indexhibit Menu Navigation
 * @author      peng@pengxwang.com
 * @param       {jQuery object} set of matched elements
 * @version     1.0
 * @requires    jQuery 1.2+
 */

(function(c){c.fn.pjpNAccordion=function(a){a=c.extend(true,{selector:{classEnabled:"pjpna",classButton:"pjpnaButton",classExpanded:"pjpnaExpanded",classCollapsed:"pjpnaCollapsed",classDisabled:"pjpnaDisabled",header:"li.section-title",menu:"ul:not(ul ul)",item:"li",currentItem:"li.active"},element:{button:{wrapper:'<a href="#"></a>',expand:"+",collapse:"&ndash;",title:{more:"more work",less:"less work"}}},num:{show_base:2,show_custom:{}},autoCollapse:false},a);return new c.PJPNAccordion(a,c(this))};
c.PJPNAccordion=function(a,i){var h=i.find(a.selector.menu),l=h.find(a.selector.header),f=[],j=c(),m=function(d){var e=j.index(d.target),g=f[e].is(":hidden")?true:false;f[e].toggle();if(a.autoCollapse)for(var b=0;b<f.length;b++)if(b!=e){f[b].filter(":visible").hide();j.eq(b).html(a.element.button.expand).attr("title",a.element.button.title.more).trigger(c.Event("title_changed"))}h.eq(e).attr("class",g?a.selector.classExpanded:a.selector.classCollapsed);k(c(d.target),g)},k=function(d,e){d.html(e?a.element.button.collapse:
a.element.button.expand).attr("title",e?a.element.button.title.less:a.element.button.title.more).trigger(c.Event("title_changed"))};i.addClass(a.selector.classEnabled);h.each(function(d){var e=a.num.show_custom[(d+1).toString()]!=null?a.num.show_custom[(d+1).toString()]:a.num.show_base,g=c(a.element.button.wrapper).html(a.element.button.expand).attr({title:a.element.button.title.more,"class":a.selector.classButton}),b=c(this);b.hasCurrentItem=b.find(a.selector.currentItem).length;g=l.eq(d).append(g).find("."+
a.selector.classButton);f[d]=b.children("li:gt("+e+")");if(!a.autoCollapse||a.autoCollapse&&!b.hasCurrentItem){f[d].hide();f[d].length==0&&b.addClass(a.selector.classDisabled)}else b.hasCurrentItem&&k(g,true);b.addClass(a.selector.classCollapsed);g.filter(":not(."+a.selector.classDisabled+") ."+a.selector.classButton).click(m)});j=h.find("."+a.selector.classButton);return i}})(jQuery);


function getCookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end))}}return 0}function setCookie(a,d,c){var b=new Date;b.setDate(b.getDate()+c);document.cookie=a+"="+escape(d)+(c==null?"":";expires="+b.toGMTString())+"; path=/"};

/*! SWFObject v2.2 <http://code.google.com/p/swfobject/> 
    is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> 
*/

var swfobject=function(){function w(){if(!u){try{var a=g.getElementsByTagName("body")[0].appendChild(g.createElement("span"));a.parentNode.removeChild(a)}catch(b){return}u=true;a=A.length;for(var c=0;c<a;c++)A[c]()}}function R(a){if(u)a();else A[A.length]=a}function S(a){if(typeof m.addEventListener!=j)m.addEventListener("load",a,false);else if(typeof g.addEventListener!=j)g.addEventListener("load",a,false);else if(typeof m.attachEvent!=j)$(m,"onload",a);else if(typeof m.onload=="function"){var b=
m.onload;m.onload=function(){b();a()}}else m.onload=a}function aa(){var a=g.getElementsByTagName("body")[0],b=g.createElement(o);b.setAttribute("type",B);var c=a.appendChild(b);if(c){var d=0;(function(){if(typeof c.GetVariable!=j){var e=c.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");f.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else if(d<10){d++;setTimeout(arguments.callee,10);return}a.removeChild(b);c=null;J()})()}else J()}function J(){var a=r.length;if(a>0)for(var b=
0;b<a;b++){var c=r[b].id,d=r[b].callbackFn,e={success:false,id:c};if(f.pv[0]>0){var i=n(c);if(i)if(C(r[b].swfVersion)&&!(f.wk&&f.wk<312)){v(c,true);if(d){e.success=true;e.ref=K(c);d(e)}}else if(r[b].expressInstall&&L()){e={};e.data=r[b].expressInstall;e.width=i.getAttribute("width")||"0";e.height=i.getAttribute("height")||"0";if(i.getAttribute("class"))e.styleclass=i.getAttribute("class");if(i.getAttribute("align"))e.align=i.getAttribute("align");var h={};i=i.getElementsByTagName("param");for(var k=
i.length,l=0;l<k;l++)if(i[l].getAttribute("name").toLowerCase()!="movie")h[i[l].getAttribute("name")]=i[l].getAttribute("value");M(e,h,c,d)}else{ba(i);d&&d(e)}}else{v(c,true);if(d){if((c=K(c))&&typeof c.SetVariable!=j){e.success=true;e.ref=c}d(e)}}}}function K(a){var b=null;if((a=n(a))&&a.nodeName=="OBJECT")if(typeof a.SetVariable!=j)b=a;else if(a=a.getElementsByTagName(o)[0])b=a;return b}function L(){return!D&&C("6.0.65")&&(f.win||f.mac)&&!(f.wk&&f.wk<312)}function M(a,b,c,d){D=true;N=d||null;T=
{success:false,id:c};var e=n(c);if(e){if(e.nodeName=="OBJECT"){y=O(e);E=null}else{y=e;E=c}a.id=U;if(typeof a.width==j||!/%$/.test(a.width)&&parseInt(a.width,10)<310)a.width="310";if(typeof a.height==j||!/%$/.test(a.height)&&parseInt(a.height,10)<137)a.height="137";g.title=g.title.slice(0,47)+" - Flash Player Installation";d=f.ie&&f.win?"ActiveX":"PlugIn";d="MMredirectURL="+encodeURI(m.location).toString().replace(/&/g,"%26")+"&MMplayerType="+d+"&MMdoctitle="+g.title;if(typeof b.flashvars!=j)b.flashvars+=
"&"+d;else b.flashvars=d;if(f.ie&&f.win&&e.readyState!=4){d=g.createElement("div");c+="SWFObjectNew";d.setAttribute("id",c);e.parentNode.insertBefore(d,e);e.style.display="none";(function(){e.readyState==4?e.parentNode.removeChild(e):setTimeout(arguments.callee,10)})()}P(a,b,c)}}function ba(a){if(f.ie&&f.win&&a.readyState!=4){var b=g.createElement("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(O(a),b);a.style.display="none";(function(){a.readyState==4?a.parentNode.removeChild(a):
setTimeout(arguments.callee,10)})()}else a.parentNode.replaceChild(O(a),a)}function O(a){var b=g.createElement("div");if(f.win&&f.ie)b.innerHTML=a.innerHTML;else if(a=a.getElementsByTagName(o)[0])if(a=a.childNodes)for(var c=a.length,d=0;d<c;d++)!(a[d].nodeType==1&&a[d].nodeName=="PARAM")&&a[d].nodeType!=8&&b.appendChild(a[d].cloneNode(true));return b}function P(a,b,c){var d,e=n(c);if(f.wk&&f.wk<312)return d;if(e){if(typeof a.id==j)a.id=c;if(f.ie&&f.win){var i="";for(var h in a)if(a[h]!=Object.prototype[h])if(h.toLowerCase()==
"data")b.movie=a[h];else if(h.toLowerCase()=="styleclass")i+=' class="'+a[h]+'"';else if(h.toLowerCase()!="classid")i+=" "+h+'="'+a[h]+'"';h="";for(var k in b)if(b[k]!=Object.prototype[k])h+='<param name="'+k+'" value="'+b[k]+'" />';e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+i+">"+h+"</object>";F[F.length]=a.id;d=n(a.id)}else{k=g.createElement(o);k.setAttribute("type",B);for(var l in a)if(a[l]!=Object.prototype[l])if(l.toLowerCase()=="styleclass")k.setAttribute("class",
a[l]);else l.toLowerCase()!="classid"&&k.setAttribute(l,a[l]);for(i in b)if(b[i]!=Object.prototype[i]&&i.toLowerCase()!="movie"){a=k;h=i;l=b[i];c=g.createElement("param");c.setAttribute("name",h);c.setAttribute("value",l);a.appendChild(c)}e.parentNode.replaceChild(k,e);d=k}}return d}function V(a){var b=n(a);if(b&&b.nodeName=="OBJECT")if(f.ie&&f.win){b.style.display="none";(function(){if(b.readyState==4){var c=n(a);if(c){for(var d in c)if(typeof c[d]=="function")c[d]=null;c.parentNode.removeChild(c)}}else setTimeout(arguments.callee,
10)})()}else b.parentNode.removeChild(b)}function n(a){var b=null;try{b=g.getElementById(a)}catch(c){}return b}function $(a,b,c){a.attachEvent(b,c);x[x.length]=[a,b,c]}function C(a){var b=f.pv;a=a.split(".");a[0]=parseInt(a[0],10);a[1]=parseInt(a[1],10)||0;a[2]=parseInt(a[2],10)||0;return b[0]>a[0]||b[0]==a[0]&&b[1]>a[1]||b[0]==a[0]&&b[1]==a[1]&&b[2]>=a[2]?true:false}function W(a,b,c,d){if(!(f.ie&&f.mac)){var e=g.getElementsByTagName("head")[0];if(e){c=c&&typeof c=="string"?c:"screen";if(d)Q=p=null;
if(!p||Q!=c){d=g.createElement("style");d.setAttribute("type","text/css");d.setAttribute("media",c);p=e.appendChild(d);if(f.ie&&f.win&&typeof g.styleSheets!=j&&g.styleSheets.length>0)p=g.styleSheets[g.styleSheets.length-1];Q=c}if(f.ie&&f.win)p&&typeof p.addRule==o&&p.addRule(a,b);else p&&typeof g.createTextNode!=j&&p.appendChild(g.createTextNode(a+" {"+b+"}"))}}}function v(a,b){if(X){var c=b?"visible":"hidden";if(u&&n(a))n(a).style.visibility=c;else W("#"+a,"visibility:"+c)}}function Y(a){return/[\\\"<>\.;]/.exec(a)!=
null&&typeof encodeURIComponent!=j?encodeURIComponent(a):a}var j="undefined",o="object",B="application/x-shockwave-flash",U="SWFObjectExprInst",m=window,g=document,s=navigator,Z=false,A=[function(){Z?aa():J()}],r=[],F=[],x=[],y,E,N,T,u=false,D=false,p,Q,X=true,f=function(){var a=typeof g.getElementById!=j&&typeof g.getElementsByTagName!=j&&typeof g.createElement!=j,b=s.userAgent.toLowerCase(),c=s.platform.toLowerCase(),d=c?/win/.test(c):/win/.test(b);c=c?/mac/.test(c):/mac/.test(b);b=/webkit/.test(b)?
parseFloat(b.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false;var e=!+"\u000b1",i=[0,0,0],h=null;if(typeof s.plugins!=j&&typeof s.plugins["Shockwave Flash"]==o){if((h=s.plugins["Shockwave Flash"].description)&&!(typeof s.mimeTypes!=j&&s.mimeTypes[B]&&!s.mimeTypes[B].enabledPlugin)){Z=true;e=false;h=h.replace(/^.*\s+(\S+\s+\S+$)/,"$1");i[0]=parseInt(h.replace(/^(.*)\..*$/,"$1"),10);i[1]=parseInt(h.replace(/^.*\.(.*)\s.*$/,"$1"),10);i[2]=/[a-zA-Z]/.test(h)?parseInt(h.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),
10):0}}else if(typeof m.ActiveXObject!=j)try{var k=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(k)if(h=k.GetVariable("$version")){e=true;h=h.split(" ")[1].split(",");i=[parseInt(h[0],10),parseInt(h[1],10),parseInt(h[2],10)]}}catch(l){}return{w3:a,pv:i,wk:b,ie:e,win:d,mac:c}}();(function(){if(f.w3){if(typeof g.readyState!=j&&g.readyState=="complete"||typeof g.readyState==j&&(g.getElementsByTagName("body")[0]||g.body))w();if(!u){typeof g.addEventListener!=j&&g.addEventListener("DOMContentLoaded",
w,false);if(f.ie&&f.win){g.attachEvent("onreadystatechange",function(){if(g.readyState=="complete"){g.detachEvent("onreadystatechange",arguments.callee);w()}});m==top&&function(){if(!u){try{g.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}w()}}()}f.wk&&function(){u||(/loaded|complete/.test(g.readyState)?w():setTimeout(arguments.callee,0))}();S(w)}}})();(function(){f.ie&&f.win&&window.attachEvent("onunload",function(){for(var a=x.length,b=0;b<a;b++)x[b][0].detachEvent(x[b][1],
x[b][2]);a=F.length;for(b=0;b<a;b++)V(F[b]);for(var c in f)f[c]=null;f=null;for(var d in swfobject)swfobject[d]=null;swfobject=null})})();return{registerObject:function(a,b,c,d){if(f.w3&&a&&b){var e={};e.id=a;e.swfVersion=b;e.expressInstall=c;e.callbackFn=d;r[r.length]=e;v(a,false)}else d&&d({success:false,id:a})},getObjectById:function(a){if(f.w3)return K(a)},embedSWF:function(a,b,c,d,e,i,h,k,l,z){var G={success:false,id:b};if(f.w3&&!(f.wk&&f.wk<312)&&a&&b&&c&&d&&e){v(b,false);R(function(){c+="";
d+="";var t={};if(l&&typeof l===o)for(var q in l)t[q]=l[q];t.data=a;t.width=c;t.height=d;q={};if(k&&typeof k===o)for(var H in k)q[H]=k[H];if(h&&typeof h===o)for(var I in h)if(typeof q.flashvars!=j)q.flashvars+="&"+I+"="+h[I];else q.flashvars=I+"="+h[I];if(C(e)){H=P(t,q,b);t.id==b&&v(b,true);G.success=true;G.ref=H}else if(i&&L()){t.data=i;M(t,q,b,z);return}else v(b,true);z&&z(G)})}else z&&z(G)},switchOffAutoHideShow:function(){X=false},ua:f,getFlashPlayerVersion:function(){return{major:f.pv[0],minor:f.pv[1],
release:f.pv[2]}},hasFlashPlayerVersion:C,createSWF:function(a,b,c){if(f.w3)return P(a,b,c)},showExpressInstall:function(a,b,c,d){f.w3&&L()&&M(a,b,c,d)},removeSWF:function(a){f.w3&&V(a)},createCSS:function(a,b,c,d){f.w3&&W(a,b,c,d)},addDomLoadEvent:R,addLoadEvent:S,getQueryParamValue:function(a){var b=g.location.search||g.location.hash;if(b){if(/\?/.test(b))b=b.split("?")[1];if(a==null)return Y(b);b=b.split("&");for(var c=0;c<b.length;c++)if(b[c].substring(0,b[c].indexOf("="))==a)return Y(b[c].substring(b[c].indexOf("=")+
1))}return""},expressInstallCallback:function(){if(D){var a=n(U);if(a&&y){a.parentNode.replaceChild(y,a);if(E){v(E,true);if(f.ie&&f.win)y.style.display="block"}N&&N(T)}D=false}}}}();


Modernizr.run_tests();var Site=Site||{};jQuery(document).ready(function(a){a("#navigation").pjpNAccordion({autoCollapse:true,num:{show_custom:{1:1,2:1,3:1,4:1,5:1}}});var c={tip_class:"pjpTip",stem_class:"pjpTipStem"};a("[title]").pjpTip(c);a("*").bind("title_changed",function(b){a(b.target).pjpTip(c)});a(".jPrint").bind("click",function(b){window.print();b.preventDefault()})});


