var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);
/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/
return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:></script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();jQuery.fn.hint=function(a){if(!a){a="blur"}return this.each(function(){var b=jQuery(this),e=b.attr("title"),c=jQuery(this.form),f=jQuery(window);function d(){if(b.val()===e&&b.hasClass(a)){b.val("").removeClass(a)}}if(e){b.blur(function(){if(this.value===""){b.val(e).addClass(a)}}).focus(d).blur();c.submit(d);f.unload(d)}})};var tb_pathToImage="/img/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!! edit below this line at your own risk !!!!!!!!!!!!!!!!!!!!!!!*/
$(document).ready(function(){tb_init("a.thickbox, area.thickbox, input.thickbox");imgLoader=new Image();imgLoader.src=tb_pathToImage});function tb_init(a){$(a).click(function(){var c=this.title||this.name||null;var d=this.href||this.alt;var b=this.rel||false;tb_show(c,d,b);this.blur();return false})}function tb_show(c,j,f){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden");if(document.getElementById("TB_HideSelect")===null){$("body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}else{if(document.getElementById("TB_overlay")===null){$("body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");$("#TB_overlay").click(tb_remove)}}if(tb_detectMacXFF()){$("#TB_overlay").addClass("TB_overlayMacFFBGHack")}else{$("#TB_overlay").addClass("TB_overlayBG")}if(c===null){c=""}$("body").append("<div id='TB_load'><img src='"+imgLoader.src+"' /></div>");$("#TB_load").show();var g;if(j.indexOf("?")!==-1){g=j.substr(0,j.indexOf("?"))}else{g=j}var d=/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;var h=g.toLowerCase().match(d);if(h==".jpg"||h==".jpeg"||h==".png"||h==".gif"||h==".bmp"){TB_PrevCaption="";TB_PrevURL="";TB_PrevHTML="";TB_NextCaption="";TB_NextURL="";TB_NextHTML="";TB_imageCount="";TB_FoundURL=false;if(f){TB_TempArray=$("a[@rel="+f+"]").get();for(TB_Counter=0;((TB_Counter<TB_TempArray.length)&&(TB_NextHTML===""));TB_Counter++){var i=TB_TempArray[TB_Counter].href.toLowerCase().match(d);if(!(TB_TempArray[TB_Counter].href==j)){if(TB_FoundURL){TB_NextCaption=TB_TempArray[TB_Counter].title;TB_NextURL=TB_TempArray[TB_Counter].href;TB_NextHTML="<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>"}else{TB_PrevCaption=TB_TempArray[TB_Counter].title;TB_PrevURL=TB_TempArray[TB_Counter].href;TB_PrevHTML="<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>"}}else{TB_FoundURL=true;TB_imageCount="Image "+(TB_Counter+1)+" of "+(TB_TempArray.length)}}}imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var e=tb_getPageSize();var m=e[0]-150;var n=e[1]-150;var o=imgPreloader.width;var l=imgPreloader.height;if(o>m){l=l*(m/o);o=m;if(l>n){o=o*(n/l);l=n}}else{if(l>n){o=o*(n/l);l=n;if(o>m){l=l*(m/o);o=m}}}TB_WIDTH=o+30;TB_HEIGHT=l+60;$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+j+"' width='"+o+"' height='"+l+"' alt='"+c+"'/></a><div id='TB_caption'>"+c+"<div id='TB_secondLine'>"+TB_imageCount+TB_PrevHTML+TB_NextHTML+"</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");$("#TB_closeWindowButton").click(tb_remove);if(!(TB_PrevHTML==="")){function q(){if($(document).unbind("click",q)){$(document).unbind("click",q)}$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_PrevCaption,TB_PrevURL,f);return false}$("#TB_prev").click(q)}if(!(TB_NextHTML==="")){function p(){$("#TB_window").remove();$("body").append("<div id='TB_window'></div>");tb_show(TB_NextCaption,TB_NextURL,f);return false}$("#TB_next").click(p)}document.onkeydown=function(r){if(r==null){keycode=event.keyCode}else{keycode=r.which}if(keycode==27){tb_remove()}else{if(keycode==190){if(!(TB_NextHTML=="")){document.onkeydown="";p()}}else{if(keycode==188){if(!(TB_PrevHTML=="")){document.onkeydown="";q()}}}}};tb_position();$("#TB_load").remove();$("#TB_ImageOff").click(tb_remove);$("#TB_window").css({display:"block"})};imgPreloader.src=j}else{var b=j.replace(/^[^\?]+\??/,"");var k=tb_parseQuery(b);TB_WIDTH=(k.width*1)+30||630;TB_HEIGHT=(k.height*1)+40||440;ajaxContentW=TB_WIDTH-30;ajaxContentH=TB_HEIGHT-45;if(j.indexOf("TB_iframe")!=-1){urlNoQuery=j.split("TB_");$("#TB_iframeContent").remove();if(k.modal!="true"){$("#TB_window").append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>"+c+"</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;' > </iframe>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<iframe frameborder='0' hspace='0' src='"+urlNoQuery[0]+"' id='TB_iframeContent' name='TB_iframeContent"+Math.round(Math.random()*1000)+"' onload='tb_showIframe()' style='width:"+(ajaxContentW+29)+"px;height:"+(ajaxContentH+17)+"px;'> </iframe>")}}else{if($("#TB_window").css("display")!="block"){if(k.modal!="true"){$("#TB_window").append("<div id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px'></div>")}else{$("#TB_overlay").unbind();$("#TB_window").append("<div id='TB_ajaxContent' class='TB_modal' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'></div>")}}else{$("#TB_ajaxContent")[0].style.width=ajaxContentW+"px";$("#TB_ajaxContent")[0].style.height=ajaxContentH+"px";$("#TB_ajaxContent")[0].scrollTop=0;$("#TB_ajaxWindowTitle").html(c)}}$("#TB_closeWindowButton").click(tb_remove);if(j.indexOf("TB_inline")!=-1){$("#TB_ajaxContent").append($("#"+k.inlineId).children());$("#TB_window").unload(function(){$("#"+k.inlineId).append($("#TB_ajaxContent").children())});tb_position();$("#TB_load").remove();$("#TB_window").css({display:"block"})}else{if(j.indexOf("TB_iframe")!=-1){tb_position();if($.browser.safari){$("#TB_load").remove();$("#TB_window").css({display:"block"})}}else{$("#TB_ajaxContent").load(j+="&random="+(new Date().getTime()),function(){tb_position();$("#TB_load").remove();tb_init("#TB_ajaxContent a.thickbox");$("#TB_window").css({display:"block"})})}}}if(!k.modal){document.onkeyup=function(l){if(l==null){keycode=event.keyCode}else{keycode=l.which}if(keycode==27){tb_remove()}}}}catch(a){}}function tb_showIframe(){$("#TB_load").remove();$("#TB_window").css({display:"block"})}function tb_remove(){$("#TB_imageOff").unbind("click");$("#TB_closeWindowButton").unbind("click");$("#TB_window").fadeOut("fast",function(){$("#TB_window,#TB_overlay,#TB_HideSelect").trigger("unload").unbind().remove()});$("#TB_load").remove();if(typeof document.body.style.maxHeight=="undefined"){$("body","html").css({height:"auto",width:"auto"});$("html").css("overflow","")}document.onkeydown="";document.onkeyup="";return false}function tb_position(){$("#TB_window").css({marginLeft:"-"+parseInt((TB_WIDTH/2),10)+"px",width:TB_WIDTH+"px"});if(!(jQuery.browser.msie&&jQuery.browser.version<7)){$("#TB_window").css({marginTop:"-"+parseInt((TB_HEIGHT/2),10)+"px"})}}function tb_parseQuery(d){var a={};if(!d){return a}var g=d.split(/[;&]/);for(var b=0;b<g.length;b++){var f=g[b].split("=");if(!f||f.length!=2){continue}var e=unescape(f[0]);var c=unescape(f[1]);c=c.replace(/\+/g," ");a[e]=c}return a}function tb_getPageSize(){var b=document.documentElement;var c=window.innerWidth||self.innerWidth||(b&&b.clientWidth)||document.body.clientWidth;var a=window.innerHeight||self.innerHeight||(b&&b.clientHeight)||document.body.clientHeight;arrayPageSize=[c,a];return arrayPageSize}function tb_detectMacXFF(){var a=navigator.userAgent.toLowerCase();if(a.indexOf("mac")!=-1&&a.indexOf("firefox")!=-1){return true}}function tb_ie6bind(){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","hidden")}}catch(a){alert(a.message)}}function tb_ie6unbind(){try{if(typeof document.body.style.maxHeight==="undefined"){$("body","html").css({height:"100%",width:"100%"});$("html").css("overflow","")}}catch(a){alert(a.message)}};$("document").ready(function(){jQuery.fn.exists=function(){return jQuery(this).length>0};if($(".share").exists()){$(".share").click(function(){s.linkTrackVars="events";s.linkTrackEvents="event17";s.events="event17";s.tl()})}if($(".subscribe").exists()){$(".subscribe").click(function(){s.linkTrackVars="events";s.linkTrackEvents="event19";s.events="event19";s.tl()})}if($(".print").exists()){$(".print").click(function(){s.linkTrackVars="events";s.linkTrackEvents="event18";s.events="event18";s.tl()})}$(".graphic img").each(function(c){var d=$(this);$(this).parents(".graphic").css("width",d.attr("width")+"px").end().next(".caption").css("width",d.attr("width")+"px")});if($(".TB_overlayBG").exists()){$(".TB_overlayBG").bgiframe()}if($("H1").text().length>=45){$("#pageTitle").addClass("longTitle")}$("span.glossaryTerm").after('<div style="display: none;" class="tooltip relative"><div class="top"></div><div class="toolTipContent"><h5></h5><p></p></div></div>');var a="";var b="";$().mousemove(function(c){a=c.pageX;b=c.pageY});$("span.glossaryTerm").mouseover(function(f){var e=$(this).html();$(this).next("div").fadeIn("fast");var d=$(this);var c=d.position();$(this).next("div").css({top:c.top+22+"px",left:c.left-110+"px"});$.ajax({type:"GET",url:"/webservices/get-term.aspx",data:"t="+escape(e),success:function(g){$(".toolTipContent").html(g)}})});$(".glossaryTerm").mouseout(function(){$(".tooltip").fadeOut("fast")});$(".share a").click(function(){$(".shareTip").fadeIn("fast")});$(".submitButton").click(function(){$(".form").fadeOut("fast")});$(".addthis_toolbox ul li a, #closeBtn").click(function(){$(".shareTip").fadeOut("fast")});$(".updated").mouseover(function(){$(".tooltip",$(this).parent()).fadeIn("fast")});$(".updated, .tooltip").mouseout(function(){$(".tooltip",$(this).parent()).fadeOut("fast")});$('input[title!=""]').hint();$("#skip").hide();$("#utilityNav .textSizer .normal").click(function(){$("body").css("font-size","62.5%");$("#utilityNav .textSizer li").children("a").removeClass("active");$(this).children("a").addClass("active");$("a.button").removeClass("noBackground");$("#utilityNav").css("font-size","100%");return false});$("#utilityNav .textSizer .large").click(function(){$("body").css("font-size","95%");$("#utilityNav .textSizer li").children("a").removeClass("active");$(this).children("a").addClass("active");$("a.button").addClass("noBackground");$("#utilityNav").css("font-size","65%");return false});$("#utilityNav .textSizer .small").click(function(){$("body").css("font-size","50%");$("#utilityNav .textSizer li").children("a").removeClass("active");$(this).children("a").addClass("active");$("a.button").removeClass("noBackground");$("#utilityNav").css("font-size","90%");return false});$("#panelLinks li").click(function(){$(this).toggleClass("active");return false});$("#breadCrumbs li a").each(function(){$(this).after('<span class="divider">&nbsp;&gt;</span>')});$("#knowAbout div.child div").hover(function(){$(this).css("background-image",'url("/img/bg_for_pf_hover.jpg")');$(this).children("p").show()},function(){if($(this).hasClass("childsVisit")){$(this).css("background-image",'url("/img/bg_for_pf_childs_visit.jpg")')}else{if($(this).hasClass("childsStay")){$(this).css("background-image",'url("/img/bg_for_pf_childs_stay.jpg")')}else{if($(this).hasClass("childsSurgery")){$(this).css("background-image",'url("/img/bg_for_pf_childs_surgery.jpg")')}}}$(this).children("p").hide()});$("#knowAbout div.child div").hover(function(){$(this).css("background-image",'url("/img/bg_for_pf_hover.jpg")');$(this).children("p").show()},function(){if($(this).hasClass("uwPedsResidentLife")){$(this).css("background-image",'url("/img/uwpeds-resident-life-up.jpg")')}else{if($(this).hasClass("uwPedsTraining")){$(this).css("background-image",'url("/img/uwpeds-training-btn-up.jpg")')}else{if($(this).hasClass("uwPedsAboutUs")){$(this).css("background-image",'url("/img/uwpeds-about-btn-up.jpg")')}}}$(this).children("p").hide()});$("#pageTools ul li.print a").click(function(){window.print();return false});$("#flashNavReplace").hover(function(){},function(){if(getFlashMovie("flashNavReplace")!=null){getFlashMovie("flashNavReplace").jsCloseNavigation()}});$("#alert a.close").click(function(){$("#alert").hide();$("#home #utilityBar h2").show()})});function setFlashNavHeight(a){$("#flashNavReplace").height(a)}function getFlashMovie(a){var b=navigator.appName.indexOf("Microsoft")!=-1;return(b)?window[a]:document[a]}$(document).ready(function(){$("#prSearchFilter").hide();$("#prOuterExpand").hide();$("a#selectMonth").click(function(){$(this).toggleClass("active");$("#prSearchFilter").slideToggle(400);$("#prOuterExpand").slideToggle(400);return false})});$(document).ready(function(){var a={target:"#ajaxResponse",beforeSubmit:showRequest,success:showResponse};$(".submit").click(function(){$(this).ajaxSubmit(a);return false})});function showRequest(b,a,c){var d=$.param(b);return true}function showResponse(b,a){alert("status: "+a+"\n\nresponseText: \n"+b+"\n\nThe output div should have already been updated with the responseText.")}$(document).ready(function(){$(".pulldown").change(function(){$("#filterSelectAMonth option:checked").val()})});$(document).ready(function(){$("#searchFilter").hide();$("#outerExpand").hide();$("a#reviseResults").click(function(){$(this).toggleClass("active");$("#searchFilter").slideToggle(400);$("#outerExpand").slideToggle(400);return false})});$(document).ready(function(){var a={target:"#ajaxResponse",beforeSubmit:showRequest,success:showResponse};$("#formSearchFilter").submit(function(){$(this).ajaxSubmit(a);return false})});function showRequest(b,a,c){var d=$.param(b);return true}function showResponse(b,a){alert("status: "+a+"\n\nresponseText: \n"+b+"\n\nThe output div should have already been updated with the responseText.")}$(document).ready(function(){$(".ceebox").ceebox()});$(document).ready(function(){$(".video_module dt .expand").click(function(){var a=$(this);var b=$(".toggle_content",a.parent().next());if(!$(this).hasClass("active")){$(this).addClass("active");b.show("fast")}else{$(this).removeClass("active");b.hide("fast")}return false})});var EXTRA_OFFSET_TOP=6;var EXTRA_OFFSET_LEFT=-5;var gUrl="";(function(a){a.fn.extend({autocomplete:function(b,c){var d=typeof b=="string";c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c);c.highlight=c.highlight||function(e){return e};c.formatMatch=c.formatMatch||c.formatItem;return this.each(function(){new a.Autocompleter(this,c)})},result:function(b){return this.bind("result",b)},search:function(b){return this.trigger("search",[b])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(b){return this.trigger("setOptions",[b])},unautocomplete:function(){return this.trigger("unautocomplete")}});a.Autocompleter=function(m,t){var n={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var h=a(m).attr("autocomplete","off").addClass(t.inputClass);var o;var d="";var g=a.Autocompleter.Cache(t);var u=0;var q;var v={mouseDownOnSelect:false};var p=a.Autocompleter.Select(t,m,s,v);var k;a.browser.opera&&a(m.form).bind("submit.autocomplete",function(){if(k){k=false;return false}});h.bind((a.browser.opera?"keypress":"keydown")+".autocomplete",function(y){q=y.keyCode;switch(y.keyCode){case n.UP:y.preventDefault();if(p.visible()){p.prev()}else{c(0,true)}break;case n.DOWN:y.preventDefault();if(p.visible()){p.next()}else{c(0,true)}break;case n.PAGEUP:y.preventDefault();if(p.visible()){p.pageUp()}else{c(0,true)}break;case n.PAGEDOWN:y.preventDefault();if(p.visible()){p.pageDown()}else{c(0,true)}break;case t.multiple&&a.trim(t.multipleSeparator)==","&&n.COMMA:case n.TAB:case n.RETURN:if(s()){y.preventDefault();k=true;return false}break;case n.ESC:p.hide();break;default:clearTimeout(o);o=setTimeout(c,t.delay);break}}).focus(function(){u++}).blur(function(){u=0;if(!v.mouseDownOnSelect){l()}}).click(function(){if(u++>1&&!p.visible()){c(0,true)}}).bind("search",function(){var z=(arguments.length>1)?arguments[1]:null;function y(C,D){var B;if(D&&D.length){for(var A=0;A<D.length;A++){if(D[A].result.toLowerCase()==C.toLowerCase()){B=D[A];break}}}if(typeof z=="function"){z(B)}else{h.trigger("result",B&&[B.data,B.value])}}a.each(e(h.val()),function(A,B){i(B,y,y)})}).bind("flushCache",function(){g.flush()}).bind("setOptions",function(){a.extend(t,arguments[1]);if("data" in arguments[1]){g.populate()}}).bind("unautocomplete",function(){p.unbind();h.unbind();a(m.form).unbind(".autocomplete")});function s(){var E=p.selected();if(!E){return false}var A=E.result;d=A;if(t.multiple){var y=e(h.val());if(y.length>1){A=y.slice(0,y.length-1).join(t.multipleSeparator)+t.multipleSeparator+A}A+=t.multipleSeparator}if(t.url=="/clinics_search_term.aspx"){var B=A;if(B!=""){var D=B.indexOf("href")+4;var C=B.substring(D,B.length);var z=C.indexOf(">");A=C.substring(0,z)}}h.val(A);b();h.trigger("result",[E.data,E.value]);return true}function c(z,A){if(q==n.DEL){p.hide();return}var y=e(h.val());if(y==""){p.hide();return}var B=h.val();if(!A&&B==d){return}d=B;B=j(B);if(B.length>=t.minChars){h.addClass(t.loadingClass);if(!t.matchCase){B=B.toLowerCase()}i(B,w,b)}else{r();p.hide()}}function e(A){if(!A){return[""]}var y=A.split(t.multipleSeparator);var z=[];a.each(y,function(B,C){if(a.trim(C)){z[B]=a.trim(C)}});return z}function j(z){if(!t.multiple){return z}var y=e(z);return y[y.length-1]}function x(z,y){if(t.autoFill&&(j(h.val()).toLowerCase()==z.toLowerCase())&&q!=n.BACKSPACE){h.val(h.val()+y.substring(j(d).length));a.Autocompleter.Selection(m,d.length,d.length+y.length)}}function l(){clearTimeout(o);o=setTimeout(b,200)}function b(){var y=p.visible();p.hide();clearTimeout(o);r();if(t.mustMatch){h.search(function(A){if(!A){if(t.multiple){var z=e(h.val()).slice(0,-1);h.val(z.join(t.multipleSeparator)+(z.length?t.multipleSeparator:""))}else{h.val("")}}})}if(y){a.Autocompleter.Selection(m,m.value.length,m.value.length)}}function w(y,z){if(z&&z.length&&u){r();p.display(z,y);x(y,z[0].value);p.show()}else{b()}}function i(B,y,A){if(!t.matchCase){B=B.toLowerCase()}var C=g.load(B);if(C&&C.length){y(B,C)}else{if((typeof t.url=="string")&&(t.url.length>0)){var z={timestamp:+new Date()};a.each(t.extraParams,function(D,E){z[D]=typeof E=="function"?E():E});a.ajax({mode:"abort",port:"autocomplete"+m.name,dataType:t.dataType,url:t.url,data:a.extend({q:j(B),limit:t.max},z),success:function(E){var D=t.parse&&t.parse(E)||f(E);g.add(B,D);y(B,D)}})}else{p.emptyList();A(B)}}}function f(C){var B=[];var A=C.split("\n");for(var y=0;y<A.length;y++){var z=a.trim(A[y]);if(z){z=z.split("|");B[B.length]={data:z,value:z[0],result:t.formatResult&&t.formatResult(z,z[0])||z[0]}}}return B}function r(){h.removeClass(t.loadingClass)}};a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(b){return b[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(c,b){return c.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};a.Autocompleter.Cache=function(e){var h={};var b=0;function c(k,l){if(!e.matchCase){k=k.toLowerCase()}var j=k.indexOf(l);if(j==-1){return false}return j==0||e.matchContains}function g(i,j){if(b>e.cacheLength){d()}if(!h[i]){b++}h[i]=j}function f(){if(!e.data){return false}var o={},l=0;if(!e.url){e.cacheLength=1}o[""]=[];for(var n=0,j=e.data.length;n<j;n++){var k=e.data[n];k=(typeof k=="string")?[k]:k;var m=e.formatMatch(k,n+1,e.data.length);if(m===false){continue}var p=m.charAt(0).toLowerCase();if(!o[p]){o[p]=[]}var q={value:m,data:k,result:e.formatResult&&e.formatResult(k)||m};o[p].push(q);if(l++<e.max){o[""].push(q)}}a.each(o,function(r,s){e.cacheLength++;g(r,s)})}setTimeout(f,25);function d(){h={};b=0}return{flush:d,add:g,populate:f,load:function(m){if(!e.cacheLength||!b){return null}if(!e.url&&e.matchContains){var o=[];for(var j in h){if(j.length>0){var n=h[j];a.each(n,function(k,p){if(c(p.value,m)){o.push(p)}})}}return o}else{if(h[m]){return h[m]}else{if(e.matchSubset){for(var l=m.length-1;l>=e.minChars;l--){var n=h[m.substr(0,l)];if(n){var o=[];a.each(n,function(k,p){if(c(p.value,m)){o[o.length]=p}});return o}}}}}return null}}};a.Autocompleter.Select=function(k,g,h,q){var i={ACTIVE:"ac_over"};var m,d=-1,n,l="",c=true,j,b;function r(){if(!c){return}j=a("<div/>").hide().addClass(k.resultsClass).css("position","absolute").appendTo(document.body);b=a("<ul/>").appendTo(j).mouseover(function(t){if(o(t).nodeName&&o(t).nodeName.toUpperCase()=="LI"){d=a("li",b).removeClass(i.ACTIVE).index(o(t));a(o(t)).addClass(i.ACTIVE)}}).mousedown(function(){q.mouseDownOnSelect=true}).mouseup(function(){q.mouseDownOnSelect=false});if(k.width>0){j.css("width",k.width)}c=false}function o(t){var u=t.target;while(u&&u.tagName!="LI"){u=u.parentNode}if(!u){return[]}return u}function p(t){m.slice(d,d+1).removeClass(i.ACTIVE);s(t);var v=m.slice(d,d+1).addClass(i.ACTIVE);if(k.url=="/searchterm.ashx?ismed=true"){if(a(v).text().indexOf("No suggestions")<0&&a(v).text().indexOf("Site-wide search")<0){a("#searchPanelText").attr({value:a(v).text()})}}if(k.url=="/searchterm.ashx"){a("#search").attr({value:a(v).text()})}if(k.url=="/clinics_search_term.aspx"){if(a(v).text().indexOf("No suggestions")<0&&a(v).text().indexOf("Site-wide search")<0){a("#searchDeptsText").attr({value:a(v).text()})}}if(k.scroll){var u=0;m.slice(0,d).each(function(){u+=this.offsetHeight});if((u+v[0].offsetHeight-b.scrollTop())>b[0].clientHeight){b.scrollTop(u+v[0].offsetHeight-b.innerHeight())}else{if(u<b.scrollTop()){b.scrollTop(u)}}}}function s(t){d+=t;if(d<0){d=m.size()-1}else{if(d>=m.size()){d=0}}}function f(t){return k.max&&k.max<t?k.max:t}function e(){b.empty();var u=f(n.length);var B;var w=0;var x=0;for(var z=0;z<u;z++){if(!n[z]){continue}var C=k.formatItem(n[z].data,z+1,u,n[z].value,l);if(C===false){continue}if(k.url=="/clinics_search_term.aspx"){var D=n[z].value;var t=D.indexOf(">")+1;var A=D.substring(t,D.length);var v=A.indexOf("<");B=A.substring(0,v)}else{B=n[z].value}if(B.toLowerCase().indexOf(l.toLowerCase())>=0){var y=a("<li/>").html(k.highlight(C,l)).addClass(z%2==0?"ac_even":"ac_odd").appendTo(b)[0];a.data(y,"ac_data",n[z]);x++}else{if(w==0){w++}u=u+1}}if(w>0&&x==0){if(k.url=="/clinics_search_term.aspx"){var y=a("<li/>").html('No suggestions. Try browsing our: <a href="/clinics-programs/a-z/">A to Z list of clinics and programs</a>').addClass("ac_even").appendTo(b)[0];a.data(y,"ac_data","");var y=a("<li/>").html('<a href="/search-results.aspx?term='+document.getElementById("searchDeptsText").value+'">Site-wide search</a>').addClass("ac_odd").appendTo(b)[0];a.data(y,"ac_data","")}else{if(k.url=="/searchterm.ashx?ismed=true"){var y=a("<li/>").html('No suggestions. Try browsing our: <a href="/clinics-programs/a-z/">A to Z list of clinics and programs</a>').addClass("ac_even").appendTo(b)[0];a.data(y,"ac_data","");var y=a("<li/>").html('<a href="/search-results.aspx?clear=1&term='+document.getElementById("searchPanelText").value+'">Site-wide search</a>').addClass("ac_odd").appendTo(b)[0];a.data(y,"ac_data","")}}}m=b.find("li");if(k.selectFirst){m.slice(0,1).addClass(i.ACTIVE);d=0}if(a.fn.bgiframe){b.bgiframe()}}return{display:function(t,u){r();n=t;l=u.replace(/^\s+|\s+$/g,"");if(l!=""){e()}else{h.hide()}},next:function(){p(1)},prev:function(){p(-1)},pageUp:function(){if(d!=0&&d-8<0){p(-d)}else{p(-8)}},pageDown:function(){if(d!=m.size()-1&&d+8>m.size()){p(m.size()-1-d)}else{p(8)}},hide:function(){j&&j.hide();m&&m.removeClass(i.ACTIVE);d=-1},visible:function(){return j&&j.is(":visible")},current:function(){return this.visible()&&(m.filter("."+i.ACTIVE)[0]||k.selectFirst&&m[0])},show:function(){var t=a(g).offset();j.css({width:typeof k.width=="string"||k.width>0?k.width:a(g).width(),top:t.top+g.offsetHeight+EXTRA_OFFSET_TOP,left:t.left+EXTRA_OFFSET_LEFT}).show();if(k.scroll){b.scrollTop(0);b.css({maxHeight:k.scrollHeight,overflow:"auto"});if(a.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var u=0}}if(b.html()==""){j.remove();c=true}},selected:function(){var t=m&&m.filter("."+i.ACTIVE).removeClass(i.ACTIVE);return t&&t.length&&a.data(t[0],"ac_data")},emptyList:function(){b&&b.empty()},unbind:function(){j&&j.remove()}}};a.Autocompleter.Selection=function(d,e,b){if(d.createTextRange){var c=d.createTextRange();c.collapse(true);c.moveStart("character",e);c.moveEnd("character",b);c.select()}else{if(d.setSelectionRange){d.setSelectionRange(e,b)}else{if(d.selectionStart){d.selectionStart=e;d.selectionEnd=b}}}d.focus()}})(jQuery);$(document).ready(function(){create_autocomplete()});create_autocomplete=function(){$("#searchPanelText").autocomplete("/searchterm.ashx?ismed=true",{max:10,autoFill:false,matchContains:false,selectFirst:false,minChars:0,width:236,matchContains:"word",scrollHeight:500,formatItem:function(d,a,b,c){return'<a href="/search-results.aspx?term='+d+'">'+d+"</a>"},formatResult:function(b,a){return b}});$("#searchPanelText").result(function(){$("#searchPanelForm").submit()});$("#search").autocomplete("/searchterm.ashx",{max:10,autoFill:false,matchContains:false,selectFirst:false,minChars:0,width:236,matchContains:"word",scrollHeight:500,formatItem:function(d,a,b,c){return'<a href="/search-results.aspx?clear=1&term='+d+'">'+d+"</a>"},formatResult:function(b,a){return b}});$("#searchPanelText").result(function(){$("#searchPanelForm").submit()});$("#searchDeptsText").autocomplete("/clinics_search_term.aspx",{max:10,autoFill:false,matchContains:false,selectFirst:false,minChars:0,width:236,matchContains:"word",scrollHeight:500,formatItem:function(d,a,b,c){return""+d},formatResult:function(b,a){return b}})};(function(b){b.fn.ajaxSubmit=function(m){if(!this.length){a("ajaxSubmit: skipping submit process - no element selected");return this}if(typeof m=="function"){m={success:m}}m=b.extend({url:this.attr("action")||window.location.toString(),type:this.attr("method")||"GET"},m||{});var s={};this.trigger("form-pre-serialize",[this,m,s]);if(s.veto){a("ajaxSubmit: submit vetoed via form-pre-serialize trigger");return this}if(m.beforeSerialize&&m.beforeSerialize(this,m)===false){a("ajaxSubmit: submit aborted via beforeSerialize callback");return this}var r=this.formToArray(m.semantic);if(m.data){m.extraData=m.data;for(var l in m.data){if(m.data[l] instanceof Array){for(var h in m.data[l]){r.push({name:l,value:m.data[l][h]})}}else{r.push({name:l,value:m.data[l]})}}}if(m.beforeSubmit&&m.beforeSubmit(r,this,m)===false){a("ajaxSubmit: submit aborted via beforeSubmit callback");return this}this.trigger("form-submit-validate",[r,this,m,s]);if(s.veto){a("ajaxSubmit: submit vetoed via form-submit-validate trigger");return this}var d=b.param(r);if(m.type.toUpperCase()=="GET"){m.url+=(m.url.indexOf("?")>=0?"&":"?")+d;m.data=null}else{m.data=d}var c=this,g=[];if(m.resetForm){g.push(function(){c.resetForm()})}if(m.clearForm){g.push(function(){c.clearForm()})}if(!m.dataType&&m.target){var p=m.success||function(){};g.push(function(j){b(m.target).html(j).each(p,arguments)})}else{if(m.success){g.push(m.success)}}m.success=function(q,k){for(var j=0,n=g.length;j<n;j++){g[j].apply(m,[q,k,c])}};var e=b("input:file",this).fieldValue();var o=false;for(var i=0;i<e.length;i++){if(e[i]){o=true}}if(m.iframe||o){if(b.browser.safari&&m.closeKeepAlive){b.get(m.closeKeepAlive,f)}else{f()}}else{b.ajax(m)}this.trigger("form-submit-notify",[this,m]);return this;function f(){var k=c[0];if(b(":input[name=submit]",k).length){alert('Error: Form elements must not be named "submit".');return}var x=b.extend({},b.ajaxSettings,m);var t=jQuery.extend(true,{},b.extend(true,{},b.ajaxSettings),x);var z="jqFormIO"+(new Date().getTime());var y=b('<iframe id="'+z+'" name="'+z+'" />');var j=y[0];if(b.browser.msie||b.browser.opera){j.src='javascript:false;document.write("");'}y.css({position:"absolute",top:"-1000px",left:"-1000px"});var u={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(){this.aborted=1;y.attr("src","about:blank")}};var D=x.global;if(D&&!b.active++){b.event.trigger("ajaxStart")}if(D){b.event.trigger("ajaxSend",[u,x])}if(t.beforeSend&&t.beforeSend(u,t)===false){t.global&&jQuery.active--;return}if(u.aborted){return}var C=0;var A=0;var B=k.clk;if(B){var v=B.name;if(v&&!B.disabled){m.extraData=m.extraData||{};m.extraData[v]=B.value;if(B.type=="image"){m.extraData[name+".x"]=k.clk_x;m.extraData[name+".y"]=k.clk_y}}}setTimeout(function(){var G=c.attr("target"),H=c.attr("action");c.attr({target:z,method:"POST",action:x.url});if(!m.skipEncodingOverride){c.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"})}if(x.timeout){setTimeout(function(){A=true;q()},x.timeout)}var F=[];try{if(m.extraData){for(var E in m.extraData){F.push(b('<input type="hidden" name="'+E+'" value="'+m.extraData[E]+'" />').appendTo(k)[0])}}y.appendTo("body");j.attachEvent?j.attachEvent("onload",q):j.addEventListener("load",q,false);k.submit()}finally{c.attr("action",H);G?c.attr("target",G):c.removeAttr("target");b(F).remove()}},10);function q(){if(C++){return}j.detachEvent?j.detachEvent("onload",q):j.removeEventListener("load",q,false);var H=0;var n=true;try{if(A){throw"timeout"}var I,G;G=j.contentWindow?j.contentWindow.document:j.contentDocument?j.contentDocument:j.document;if(G.body==null&&!H&&b.browser.opera){H=1;C--;setTimeout(q,100);return}u.responseText=G.body?G.body.innerHTML:null;u.responseXML=G.XMLDocument?G.XMLDocument:G;u.getResponseHeader=function(K){var J={"content-type":x.dataType};return J[K]};if(x.dataType=="json"||x.dataType=="script"){var F=G.getElementsByTagName("textarea")[0];u.responseText=F?F.value:u.responseText}else{if(x.dataType=="xml"&&!u.responseXML&&u.responseText!=null){u.responseXML=w(u.responseText)}}I=b.httpData(u,x.dataType)}catch(E){n=false;b.handleError(x,u,"error",E)}if(n){x.success(I,"success");if(D){b.event.trigger("ajaxSuccess",[u,x])}}if(D){b.event.trigger("ajaxComplete",[u,x])}if(D&&!--b.active){b.event.trigger("ajaxStop")}if(x.complete){x.complete(u,n?"success":"error")}setTimeout(function(){y.remove();u.responseXML=null},100)}function w(n,E){if(window.ActiveXObject){E=new ActiveXObject("Microsoft.XMLDOM");E.async="false";E.loadXML(n)}else{E=(new DOMParser()).parseFromString(n,"text/xml")}return(E&&E.documentElement&&E.documentElement.tagName!="parsererror")?E:null}}};b.fn.ajaxForm=function(c){return this.ajaxFormUnbind().bind("submit.form-plugin",function(){b(this).ajaxSubmit(c);return false}).each(function(){b(":submit,input:image",this).bind("click.form-plugin",function(f){var g=this.form;g.clk=this;if(this.type=="image"){if(f.offsetX!=undefined){g.clk_x=f.offsetX;g.clk_y=f.offsetY}else{if(typeof b.fn.offset=="function"){var d=b(this).offset();g.clk_x=f.pageX-d.left;g.clk_y=f.pageY-d.top}else{g.clk_x=f.pageX-this.offsetLeft;g.clk_y=f.pageY-this.offsetTop}}}setTimeout(function(){g.clk=g.clk_x=g.clk_y=null},10)})})};b.fn.ajaxFormUnbind=function(){this.unbind("submit.form-plugin");return this.each(function(){b(":submit,input:image",this).unbind("click.form-plugin")})};b.fn.formToArray=function(g){var r=[];if(this.length==0){return r}var c=this[0];var f=g?c.getElementsByTagName("*"):c.elements;if(!f){return r}for(var k=0,e=f.length;k<e;k++){var h=f[k];var l=h.name;if(!l){continue}if(g&&c.clk&&h.type=="image"){if(!h.disabled&&c.clk==h){r.push({name:l+".x",value:c.clk_x},{name:l+".y",value:c.clk_y})}continue}var d=b.fieldValue(h,true);if(d&&d.constructor==Array){for(var o=0,p=d.length;o<p;o++){r.push({name:l,value:d[o]})}}else{if(d!==null&&typeof d!="undefined"){r.push({name:l,value:d})}}}if(!g&&c.clk){var m=c.getElementsByTagName("input");for(var k=0,e=m.length;k<e;k++){var q=m[k];var l=q.name;if(l&&!q.disabled&&q.type=="image"&&c.clk==q){r.push({name:l+".x",value:c.clk_x},{name:l+".y",value:c.clk_y})}}}return r};b.fn.formSerialize=function(c){return b.param(this.formToArray(c))};b.fn.fieldSerialize=function(c){var d=[];this.each(function(){var f=this.name;if(!f){return}var g=b.fieldValue(this,c);if(g&&g.constructor==Array){for(var e=0,h=g.length;e<h;e++){d.push({name:f,value:g[e]})}}else{if(g!==null&&typeof g!="undefined"){d.push({name:this.name,value:g})}}});return b.param(d)};b.fn.fieldValue=function(c){for(var g=[],d=0,h=this.length;d<h;d++){var e=this[d];var f=b.fieldValue(e,c);if(f===null||typeof f=="undefined"||(f.constructor==Array&&!f.length)){continue}f.constructor==Array?b.merge(g,f):g.push(f)}return g};b.fieldValue=function(h,o){var k=h.name,e=h.type,d=h.tagName.toLowerCase();if(typeof o=="undefined"){o=true}if(o&&(!k||h.disabled||e=="reset"||e=="button"||(e=="checkbox"||e=="radio")&&!h.checked||(e=="submit"||e=="image")&&h.form&&h.form.clk!=h||d=="select"&&h.selectedIndex==-1)){return null}if(d=="select"){var c=h.selectedIndex;if(c<0){return null}var p=[],g=h.options;var f=(e=="select-one");var q=(f?c+1:g.length);for(var j=(f?c:0);j<q;j++){var m=g[j];if(m.selected){var l=b.browser.msie&&!(m.attributes.value.specified)?m.text:m.value;if(f){return l}p.push(l)}}return p}return h.value};b.fn.clearForm=function(){return this.each(function(){b("input,select,textarea",this).clearFields()})};b.fn.clearFields=b.fn.clearInputs=function(){return this.each(function(){var d=this.type,c=this.tagName.toLowerCase();if(d=="text"||d=="password"||c=="textarea"){this.value=""}else{if(d=="checkbox"||d=="radio"){this.checked=false}else{if(c=="select"){this.selectedIndex=-1}}}})};b.fn.resetForm=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};b.fn.enable=function(c){if(c==undefined){c=true}return this.each(function(){this.disabled=!c})};b.fn.selected=function(c){if(c==undefined){c=true}return this.each(function(){var e=this.type;if(e=="checkbox"||e=="radio"){this.checked=c}else{if(this.tagName.toLowerCase()=="option"){var d=b(this).parent("select");if(c&&d[0]&&d[0].type=="select-one"){d.find("option").selected(false)}this.selected=c}}})};function a(){if(b.fn.ajaxSubmit.debug&&window.console&&window.console.log){window.console.log("[jquery.form] "+Array.prototype.join.call(arguments,""))}}})(jQuery);(function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(e,f){d.fx.step[f]=function(g){if(g.state==0){g.start=b(g.elem,f);g.end=a(g.end)}g.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function a(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}return c[d.trim(f).toLowerCase()]}function b(e,g){var f;do{f=d.curCSS(e,g);if(f!=""&&f!="transparent"||d.nodeName(e,"body")){break}g="backgroundColor"}while(e=e.parentNode);return a(f)}var c={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);$(document).ready(function(){$("#collapse_the_anchor_panel").click(function(){close_anchor_panel();return false});$("#expand_the_anchor_panel").click(function(){open_anchor_panel();return false});$(".anchor_panel_lists ul li a").click(function(){close_anchor_panel();anchor=$(this).attr("href").slice(1);if(anchor!=""){jumped_to=$("h4[id="+anchor+"]");jumped_to.css("background-color","#f5faeb");jumped_to.animate({backgroundColor:"#ffffff"},2500)}});$("#alphaSelector li a").click(function(){close_anchor_panel();anchor=$(this).attr("href").slice(1);if(anchor!=""){jumped_to=$("h4[id="+anchor+"] span");jumped_to.css("background-color","#f5faeb");jumped_to.animate({backgroundColor:"#ffffff"},2500)}})});close_anchor_panel=function(){$("#new_anchor_panel_container").fadeOut("fast")};open_anchor_panel=function(){$("#new_anchor_panel_container").fadeIn("fast")};$(document).ready(function(){qty=$("#event_calendar li.day").size()-1;$("#event_calendar").jcarousel({scroll:1,initCallback:on_init_event_calendar_carousel,buttonNextHTML:null,buttonPrevHTML:null,itemFirstInCallback:handle_prev_disable,itemVisibleInCallback:handle_next_disable});$(".close_detail_drawer").click(function(){close_event_detail_drawer();close_all_calendar_details();return false});$("#event_calendar a.event_details_link").click(function(){clicked_link=$(this);if(clicked_link.hasClass("open")){close_calendar_detail(clicked_link);close_event_detail_drawer()}else{close_all_calendar_details(clicked_link);open_calendar_detail(clicked_link);open_event_detail_drawer()}return false})});handle_prev_disable=function(h,f,g,e){if(g==1){$("#event_calendar .previous").addClass("previous_disabled")}else{$("#event_calendar .previous").removeClass("previous_disabled")}};handle_next_disable=function(h,f,g,e){if(g==h.size()){$("#event_calendar .next").addClass("next_disabled")}else{$("#event_calendar .next").removeClass("next_disabled")}};open_event_detail_drawer=function(){$("#event_details_drawer").slideDown("fast")};close_event_detail_drawer=function(){$("#event_details_drawer").slideUp("fast")};open_calendar_detail=function(a){load_detail_content(a);a.addClass("open");a.animate({paddingTop:32},"fast")};close_calendar_detail=function(a){a.animate({paddingTop:0},"fast",function(){a.removeClass("open")})};close_all_calendar_details=function(){$("#event_calendar a.event_details_link").each(function(){if($(this).hasClass("open")){close_calendar_detail($(this))}})};on_init_event_calendar_carousel=function(a){$("#event_calendar .previous").click(function(){a.prev();return false});$("#event_calendar .next").click(function(){a.next();return false})};load_detail_content=function(a){$("#event_detail_content").html(($(".event_details_hidden_container",a.parent()).html()==null)?"<p>No details have been entered for this event.</p>":$(".event_details_hidden_container",a.parent()).html())};$(document).ready(function(){$(".toggle_container").hide();$("dt.trigger").toggle(function(){$(this).addClass("active")},function(){$(this).removeClass("active")});$("dt.trigger").click(function(){$(this).next(".toggle_container").slideToggle("slow")})});(function(k){k.ceebox={version:"2.1.5"};k.fn.ceebox=function(p){p=k.extend({selector:k(this).selector},k.fn.ceebox.defaults,p);var q=this;var r=k(this).selector;if(p.videoJSON){k.getJSON(p.videoJSON,function(s){k.extend(k.fn.ceebox.videos,s);f(q,p,r)})}else{f(q,p,r)}return this};k.fn.ceebox.defaults={html:true,image:true,video:true,modal:false,titles:true,htmlGallery:true,imageGallery:true,videoGallery:true,videoWidth:false,videoHeight:false,videoRatio:"16:9",htmlWidth:false,htmlHeight:false,htmlRatio:false,imageWidth:false,imageHeight:false,animSpeed:"normal",easing:"swing",fadeOut:400,fadeIn:400,overlayColor:"#000",overlayOpacity:0.8,boxColor:"",textColor:"",borderColor:"",borderWidth:"3px",padding:15,margin:150,onload:null,unload:null,videoJSON:null,iPhoneRedirect:true};k.fn.ceebox.ratios={"4:3":1.333,"3:2":1.5,"16:9":1.778,"1:1":1,square:1};k.fn.ceebox.relMatch={width:/(?:width:)([0-9]+)/i,height:/(?:height:)([0-9]+)/i,ratio:/(?:ratio:)([0-9\.:]+)/i,modal:/modal:true/i,nonmodal:/modal:false/i,videoSrc:/(?:videoSrc:)(http:[\/\-\._0-9a-zA-Z:]+)/i,videoId:/(?:videoId:)([\-\._0-9a-zA-Z:]+)/i};k.fn.ceebox.loader="<div id='cee_load' style='z-index:9996;top:50%;left:50%;position:fixed'></div>";k.fn.ceebox.videos={base:{param:{wmode:"transparent",allowFullScreen:"true",allowScriptAccess:"always"},flashvars:{autoplay:true}},facebook:{siteRgx:/facebook\.com\/video/i,idRgx:/(?:v=)([a-zA-Z0-9_]+)/i,src:"http://www.facebook.com/v/[id]"},youtube:{siteRgx:/youtube\.com\/watch/i,idRgx:/(?:v=)([a-zA-Z0-9_\-]+)/i,src:"http://www.youtube.com/v/[id]&hl=en&fs=1&autoplay=1"},metacafe:{siteRgx:/metacafe\.com\/watch/i,idRgx:/(?:watch\/)([a-zA-Z0-9_]+)/i,src:"http://www.metacafe.com/fplayer/[id]/.swf"},google:{siteRgx:/google\.com\/videoplay/i,idRgx:/(?:id=)([a-zA-Z0-9_\-]+)/i,src:"http://video.google.com/googleplayer.swf?docId=[id]&hl=en&fs=true",flashvars:{playerMode:"normal",fs:true}},spike:{siteRgx:/spike\.com\/video|ifilm\.com\/video/i,idRgx:/(?:\/)([0-9]+)/i,src:"http://www.spike.com/efp",flashvars:{flvbaseclip:"[id]"}},vimeo:{siteRgx:/vimeo\.com\/[0-9]+/i,idRgx:/(?:\.com\/)([a-zA-Z0-9_]+)/i,src:"http://www.vimeo.com/moogaloop.swf?clip_id=[id]&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1"},dailymotion:{siteRgx:/dailymotion\.com\/video/i,idRgx:/(?:video\/)([a-zA-Z0-9_]+)/i,src:"http://www.dailymotion.com/swf/[id]&related=0&autoplay=1"},cnn:{siteRgx:/cnn\.com\/video/i,idRgx:/(?:\?\/video\/)([a-zA-Z0-9_\/\.]+)/i,src:"http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId=[id]",width:416,height:374}};k.fn.ceebox.overlay=function(p){p=k.extend({width:60,height:30,type:"html"},k.fn.ceebox.defaults,p);if(k("#cee_overlay").size()===0){k("<div id='cee_overlay'></div>").css({opacity:p.overlayOpacity,position:"absolute",top:0,left:0,backgroundColor:p.overlayColor,width:"100%",height:k(document).height(),zIndex:9996}).appendTo(k("body"))}if(k("#cee_box").size()===0){var r=j(p);var q={position:r.position,zIndex:9999,top:"50%",left:"50%",height:p.height+"px",width:p.width+"px",marginLeft:r.mleft+"px",marginTop:r.mtop+"px",opacity:0,borderWidth:p.borderWidth,borderColor:p.borderColor,backgroundColor:p.boxColor,color:p.textColor};k("<div id='cee_box'></div>").css(q).appendTo("body").animate({opacity:1},p.animSpeed,function(){k("#cee_overlay").addClass("cee_close")})}k("#cee_box").removeClass().addClass("cee_"+p.type);if(k("#cee_load").size()===0){k(k.fn.ceebox.loader).appendTo("body")}k("#cee_load").show("fast").animate({opacity:1},"fast")};k.fn.ceebox.popup=function(z,u){var r=b(u.margin);u=k.extend({width:r.width,height:r.height,modal:false,type:"html",onload:null},k.fn.ceebox.defaults,u);var t,w;if(k(z).is("a,area,input")&&(u.type=="html"||u.type=="image"||u.type=="video")){if(u.gallery){w=k(u.selector).eq(u.gallery.parentId).find("a[href],area[href],input[href]")}i[u.type].prototype=new m(z,u);var q=new i[u.type]();z=q.content;u.action=q.action;u.modal=q.modal;if(u.titles){u.titleHeight=k(q.titlebox).contents().contents().wrap("<div></div>").parent().attr("id","ceetitletest").css({position:"absolute",top:"-300px",width:q.width+"px"}).appendTo("body").height();k("#ceetitletest").remove();u.titleHeight=(u.titleHeight>=10)?u.titleHeight+20:30}else{u.titleHeight=0}u.width=q.width+2*u.padding;u.height=q.height+u.titleHeight+2*u.padding}k.fn.ceebox.overlay(u);a.action=u.action;a.onload=u.onload;a.unload=u.unload;var v=j(u);var p={marginLeft:v.mleft,marginTop:v.mtop,width:u.width+"px",height:u.height+"px",borderWidth:u.borderWidth};if(u.borderColor){var s=/#[1-90a-f]+/gi;var y=g(u.borderColor,s);p=k.extend(p,{borderTopColor:y[0],borderRightColor:y[1],borderBottomColor:y[2],borderLeftColor:y[3]})}p=(u.textColor)?k.extend(p,{color:u.textColor}):p;p=(u.boxColor)?k.extend(p,{backgroundColor:u.boxColor}):p;k("#cee_box").animate(p,u.animSpeed,u.easing,function(){var C=k(this).append(z).children().hide();var B=C.length;var A=true;C.fadeIn(u.fadeIn,function(){if(k(this).is("#cee_iframeContent")){A=false}if(A&&this==C[B-1]){k.fn.ceebox.onload()}});if(u.modal===true){k("#cee_overlay").removeClass("cee_close")}else{k("<a href='#' id='cee_closeBtn' class='cee_close' title='Close'>close</a>").prependTo("#cee_box");if(u.gallery){n(u.gallery,w,u)}e(t,w,u.fadeOut)}})};k.fn.ceebox.closebox=function(p,q){p=p||400;k("#cee_box").fadeOut(p);k("#cee_overlay").fadeOut((typeof p=="number")?p*2:"slow",function(){k("#cee_box,#cee_overlay,#cee_HideSelect,#cee_load").unbind().trigger("unload").remove();if(c(q)){q()}else{if(c(a.unload)){a.unload()}}a.unload=null});document.onkeydown=null};k.fn.ceebox.onload=function(p){k("#cee_load").hide(300).fadeOut(600,function(){k(this).remove()});if(c(a.action)){a.action();a.action=null}if(c(a.onload)){a.onload();a.onload=null}};var a={};function f(q,p,r){a.vidRegex=function(){var s="";k.each(k.fn.ceebox.videos,function(u,w){if(w.siteRgx!==null&&typeof w.siteRgx!=="string"){var t=String(w.siteRgx);s=s+t.slice(1,t.length-2)+"|"}});return new RegExp(s+"\\.swf$","i")}();a.userAgent=navigator.userAgent;k(".cee_close").die().live("click",function(){k.fn.ceebox.closebox();return false});if(r!=false){k(q).each(function(s){o(this,s,p,r)})}k(q).live("click",function(t){var w=k(t.target).closest("[href]");var v=w.data("ceebox");if(v){var s=(v.opts)?k.extend({},p,v.opts):p;k.fn.ceebox.overlay(s);if(v.type=="image"){var u=new Image();u.onload=function(){var z=u.width,y=u.height;s.imageWidth=d(z,k.fn.ceebox.defaults.imageWidth);s.imageHeight=d(y,k.fn.ceebox.defaults.imageHeight);s.imageRatio=z/y;k.fn.ceebox.popup(w,k.extend(s,{type:v.type},{gallery:v.gallery}))};u.src=k(w).attr("href")}else{k.fn.ceebox.popup(w,k.extend(s,{type:v.type},{gallery:v.gallery}))}return false}})}var o=function(z,v,u,y){var w,t=[],p=[],A=0;(k(z).is("[href]"))?w=k(z):w=k(z).find("[href]");var q={image:function(B,C){if(C&&C.match(/\bimage\b/i)){return true}else{return B.match(/\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/i)||false}},video:function(B,C){if(C&&C.match(/\bvideo\b/i)){return true}else{return B.match(a.vidRegex)||false}},html:function(B){return true}};var s=w.length;w.each(function(C){var D=this;var E=k.metadata?k(D).metadata():false;var B=E?k.extend({},u,E):u;k.each(q,function(F){if(q[F](k(D).attr("href"),k(D).attr("rel"))&&B[F]){var G=false;if(B[F+"Gallery"]===true){p[p.length]=C;G=true}t[t.length]={linkObj:D,type:F,gallery:G,linkOpts:B};return false}})});var r=p.length;k.each(t,function(B){if(t[B].gallery){var C={parentId:v,gNum:A,gLen:r};if(A>0){C.prevId=p[A-1]}if(A<r-1){C.nextId=p[A+1]}A++}if(!k.support.opacity&&k(z).is("map")){k(t[B].linkObj).click(function(D){D.preventDefault()})}k.data(t[B].linkObj,"ceebox",{type:t[B].type,opts:t[B].linkOpts,gallery:C})})};var m=function(z,v){var t=v[v.type+"Width"];var u=v[v.type+"Height"];var q=v[v.type+"Ratio"]||t/u;var A=k(z).attr("rel");if(A&&A!==""){var y={};k.each(k.fn.ceebox.relMatch,function(p,r){y[p]=r.exec(A)});if(y.modal){v.modal=true}if(y.nonmodal){v.modal=false}if(y.width){t=Number(h(y.width))}if(y.height){u=Number(h(y.height))}if(y.ratio){q=h(y.ratio);q=(Number(q))?Number(q):String(q)}if(y.videoSrc){this.videoSrc=String(h(y.videoSrc))}if(y.videoId){this.videoId=String(h(y.videoId))}}var s=b(v.margin);t=d(t,s.width);u=d(u,s.height);if(q){if(!Number(q)){q=(k.fn.ceebox.ratios[q])?Number(k.fn.ceebox.ratios[q]):1}if(t/u>q){t=parseInt(u*q,10)}if(t/u<q){u=parseInt(t/q,10)}}this.modal=v.modal;this.href=k(z).attr("href");this.title=k(z).attr("title")||z.t||"";this.titlebox=(v.titles)?"<div id='cee_title'><h2>"+this.title+"</h2></div>":"";this.width=t;this.height=u;this.rel=A;this.iPhoneRedirect=v.iPhoneRedirect};var i={image:function(){this.content="<img id='cee_img' src='"+this.href+"' width='"+this.width+"' height='"+this.height+"' alt='"+this.title+"'/>"+this.titlebox},video:function(){var r="",p=this;var q=function(){var t=this,u=p.videoId;t.flashvars=t.param={};t.src=p.videoSrc||p.href;t.width=p.width;t.height=p.height;k.each(k.fn.ceebox.videos,function(w,y){if(y.siteRgx&&typeof y.siteRgx!="string"&&y.siteRgx.test(p.href)){if(y.idRgx){y.idRgx=new RegExp(y.idRgx);u=String(h(y.idRgx.exec(p.href)))}t.src=(y.src)?y.src.replace("[id]",u):t.src;if(y.flashvars){k.each(y.flashvars,function(z,v){if(typeof v=="string"){t.flashvars[z]=v.replace("[id]",u)}})}if(y.param){k.each(y.param,function(z,v){if(typeof v=="string"){t.param[z]=v.replace("[id]",u)}})}t.width=y.width||t.width;t.height=y.height||t.height;t.site=w;return}});return t}();if(k.flash.hasVersion(8)){this.width=q.width;this.height=q.height;this.action=function(){k("#cee_vid").flash({swf:q.src,params:k.extend(k.fn.ceebox.videos.base.param,q.param),flashvars:k.extend(k.fn.ceebox.videos.base.flashvars,q.flashvars),width:q.width,height:q.height})}}else{this.width=400;this.height=200;if(((a.userAgent.match(/iPhone/i))&&this.iPhoneRedirect)||((a.userAgent.match(/iPod/i))&&this.iPhoneRedirect)){var s=this.href;this.action=function(){k.fn.ceebox.closebox(400,function(){window.location=s})}}else{q.site=q.site||"SWF file";r="<p style='margin:20px'>Adobe Flash 8 or higher is required to view this movie. You can either:</p><ul><li>Follow link to <a href='"+this.href+"'>"+q.site+" </a></li><li>or <a href='http://www.adobe.com/products/flashplayer/'>Install Flash</a></li><li> or <a href='#' class='cee_close'>Close This Popup</a></li></ul>"}}this.content="<div id='cee_vid' style='width:"+this.width+"px;height:"+this.height+"px;'>"+r+"</div>"+this.titlebox},html:function(){var p=this.href,q=this.rel;var s=[p.match(/[a-zA-Z0-9_\.]+\.[a-zA-Z]{2,4}/i),p.match(/^http:+/),(q)?q.match(/^iframe/):false];if((document.domain==s[0]&&s[1]&&!s[2])||(!s[1]&&!s[2])){var u,t=(u=p.match(/#[a-zA-Z0-9_\-]+/))?String(p.split("#")[0]+" "+u):p;this.action=function(){k("#cee_ajax").load(t)};this.content=this.titlebox+"<div id='cee_ajax' style='width:"+(this.width-30)+"px;height:"+(this.height-20)+"px'></div>"}else{k("#cee_iframe").remove();this.content=this.titlebox+"<iframe frameborder='0' hspace='0' src='"+p+"' id='cee_iframeContent' name='cee_iframeContent"+Math.round(Math.random()*1000)+"' onload='jQuery.fn.ceebox.onload()' style='width:"+(this.width)+"px;height:"+(this.height)+"px;' > </iframe>"}}};function b(p){var q=document.documentElement;p=p||100;this.width=(window.innerWidth||self.innerWidth||(q&&q.clientWidth)||document.body.clientWidth)-p;this.height=(window.innerHeight||self.innerHeight||(q&&q.clientHeight)||document.body.clientHeight)-p;return this}function j(p){var q="fixed",s=0,t=/[0-9]+/g,r=g(p.borderWidth,t);if(!window.XMLHttpRequest){if(k("#cee_HideSelect")===null){k("body").append("<iframe id='cee_HideSelect'></iframe>")}q="absolute";s=parseInt((document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop),10)}this.mleft=parseInt(-1*((p.width)/2+Number(r[3])),10);this.mtop=parseInt(-1*((p.height)/2+Number(r[0])),10)+s;this.position=q;return this}function g(q,p){var s=q.match(p),r=[],t=s.length;if(t>1){r[0]=s[0];r[1]=s[1];r[2]=(t==2)?s[0]:s[2];r[3]=(t==4)?s[3]:s[1]}else{r=[s,s,s,s]}return r}function e(){document.onkeydown=function(p){p=p||window.event;var q=p.keyCode||p.which;switch(q){case 13:return false;case 27:k.fn.ceebox.closebox();document.onkeydown=null;break;case 188:case 37:k("#cee_prev").trigger("click");break;case 190:case 39:k("#cee_next").trigger("click");break;default:break}return true}}function n(z,v,u){var t=u.height,s=u.width,A=u.titleHeight,r=u.padding;var y={image:{w:parseInt(s/2,10),h:t-A-2*r,top:r,bgtop:(t-A-2*r)/2},video:{w:60,h:80,top:parseInt(((t-A-10)-2*r)/2,10),bgtop:24}};y.html=y.video;function q(D,F){var w,E=y[u.type].bgtop,p=(E-2000),B="px";(D=="prev")?w=[{left:0},"left"]:w=[{right:0},x="right"];var C=function(G){return k.extend({zIndex:9999,width:y[u.type].w+B,height:y[u.type].h+B,position:"absolute",top:y[u.type].top,backgroundPosition:w[1]+" "+G+B},w[0])};k("<a href='#'></a>").text(D).attr({id:"cee_"+D}).css(C(p)).hover(function(){k(this).css(C(E))},function(){k(this).css(C(p))}).one("click",function(G){G.preventDefault();(function(L,J,H){k("#cee_prev,#cee_next").unbind().click(function(){return false});document.onkeydown=null;var K=k("#cee_box").children(),I=K.length;K.fadeOut(H,function(){k(this).remove();if(this==K[I-1]){L.eq(J).trigger("click")}})})(v,F,u.fadeOut)}).appendTo("#cee_box")}if(z.prevId>=0){q("prev",z.prevId)}if(z.nextId){q("next",z.nextId)}k("#cee_title").append("<div id='cee_count'>Item "+(z.gNum+1)+" of "+z.gLen+"</div>")}function d(q,p){return((q&&q<p)||!p)?q:p}function c(p){return typeof p=="function"}function h(q){var p=q.length;return(p>1)?q[p-1]:q}function l(t,p,q){if(debugging===true){var r="",s="[ceebox]("+(p||"")+")";(k.isArray(t)||typeof t=="object"||typeof t=="function")?k.each(t,function(u,v){r=r+u+":"+v+", "}):r=t;if(window.console&&window.console.log){window.console.log(s+r)}else{if(k("#debug").size()===0){k("<ul id='debug'></ul>").appendTo("body").css({border:"1px solid #ccf",position:"fixed",top:"10px",right:"10px",width:"300px",padding:"10px",listStyle:"square"});k("<li>").css({margin:"0 0 5px"}).appendTo("#debug").append(s).wrapInner("<b></b>").append(" "+r)}}}}})(jQuery);feature_on_init_feature_carousel=function(a){$("#panelNextPrevious .next").bind("click",function(){a.next();return false});$("#panelNextPrevious .previous").bind("click",function(){a.prev();return false});$("#panelLinks a").bind("click",function(){a.scroll($.jcarousel.intval($(this).text()));$("#panelLinks li").removeClass("active");$(this).addClass("active")})};mycarousel_itemVisibleInCallbackBeforeAnimation=function(a,b,c,d){if(c==a.size()){$("#feature .next").addClass("next_disabled")}else{$("#feature .next").removeClass("next_disabled")}$("#panelLinks li").removeClass("active");slide_number=parseInt(c)-1;$("#panelLinks li:eq("+slide_number+")").addClass("active");$("#panelTitles li").removeClass("active");$("#panelTitles li:eq("+slide_number+")").addClass("active")};jQuery(document).ready(function(){jQuery("#feature_slideshow").jcarousel({scroll:1,initCallback:feature_on_init_feature_carousel,auto:10,wrap:"last",itemFirstInCallback:feature_handle_prev_disable,itemVisibleInCallback:{onBeforeAnimation:mycarousel_itemVisibleInCallbackBeforeAnimation}})});feature_handle_prev_disable=function(h,f,g,e){if(g==1){$("#feature .previous").addClass("previous_disabled")}else{$("#feature .previous").removeClass("previous_disabled")}};leaders_on_init_feature_carousel=function(a){$(".moduleControl .next a").bind("click",function(){a.next();return false});$(".moduleControl .previous a").bind("click",function(){a.prev();return false});$("#total_slides").html(a.size());if(a.size()<=3){$(".moduleControl").hide()}};jQuery(document).ready(function(){jQuery("#leadership_slideshow").jcarousel({scroll:1,initCallback:leaders_on_init_feature_carousel,buttonNextHTML:null,buttonPrevHTML:null,itemVisibleInCallback:leadership_handle_next_disable,itemFirstInCallback:function(h,f,g,e){if(g==1){$("#main .moduleControl .previous").addClass("previous_disabled")}else{$("#main .moduleControl .previous").removeClass("previous_disabled")}$("#range_low").html(g);$("#range_high").html(parseInt(g)+1)}})});leadership_handle_next_disable=function(h,f,g,e){if(g==h.size()){$("#main .moduleControl .next").addClass("next_disabled")}else{$("#main .moduleControl .next").removeClass("next_disabled")}};experts_on_init_feature_carousel=function(a){$(".moduleControl .next a").bind("click",function(){a.next();return false});$(".moduleControl .previous a").bind("click",function(){a.prev();return false});$("#total_slides").html(a.size());if(a.size()<=3){$(".moduleControl").hide()}};jQuery(document).ready(function(){jQuery("#experts_slideshow").jcarousel({scroll:1,initCallback:experts_on_init_feature_carousel,buttonNextHTML:null,buttonPrevHTML:null,itemVisibleInCallback:function(h,f,g,e){if(g==h.size()){$("#main .moduleControl .next").addClass("next_disabled")}else{$("#main .moduleControl .next").removeClass("next_disabled")}},itemFirstInCallback:function(h,f,g,e){if(g==1){$("#main .moduleControl .previous").addClass("previous_disabled")}else{$("#main .moduleControl .previous").removeClass("previous_disabled")}$("#range_low").html(g);$("#range_high").html(parseInt(g)+2)}})});
