(function($){$.extend({create:function(element,attributes,children){var elem=$(document.createElement(element));if(typeof(attributes)=='object'){for(key in attributes){elem.attr(key,attributes[key]);}}if(typeof(children)=='string'){elem.text(children);}else if(typeof(children)=='object'){for(i=0;i<children.length;i++){elem.append(children[i]);}}return elem;}});})(jQuery);;﻿/**
 * jQuery.timers - Timer abstractions for jQuery
 * Written by Blair Mitchelmore (blair DOT mitchelmore AT gmail DOT com)
 * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/).
 * Date: 2009/02/08
 *
 * @author Blair Mitchelmore
 * @version 1.1.2
 *
 **/

jQuery.fn.extend({
	everyTime: function(interval, label, fn, times, belay) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, times, belay);
		});
	},
	oneTime: function(interval, label, fn) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, 1);
		});
	},
	stopTime: function(label, fn) {
		return this.each(function() {
			jQuery.timer.remove(this, label, fn);
		});
	}
});

jQuery.event.special

jQuery.extend({
	timer: {
		global: [],
		guid: 1,
		dataKey: "jQuery.timer",
		regex: /^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,
		powers: {
			// Yeah this is major overkill...
			'ms': 1,
			'cs': 10,
			'ds': 100,
			's': 1000,
			'das': 10000,
			'hs': 100000,
			'ks': 1000000
		},
		timeParse: function(value) {
			if (value == undefined || value == null)
				return null;
			var result = this.regex.exec(jQuery.trim(value.toString()));
			if (result[2]) {
				var num = parseFloat(result[1]);
				var mult = this.powers[result[2]] || 1;
				return num * mult;
			} else {
				return value;
			}
		},
		add: function(element, interval, label, fn, times, belay) {
			var counter = 0;
			
			if (jQuery.isFunction(label)) {
				if (!times) 
					times = fn;
				fn = label;
				label = interval;
			}
			
			interval = jQuery.timer.timeParse(interval);

			if (typeof interval != 'number' || isNaN(interval) || interval <= 0)
				return;

			if (times && times.constructor != Number) {
				belay = !!times;
				times = 0;
			}
			
			times = times || 0;
			belay = belay || false;
			
			var timers = jQuery.data(element, this.dataKey) || jQuery.data(element, this.dataKey, {});
			
			if (!timers[label])
				timers[label] = {};
			
			fn.timerID = fn.timerID || this.guid++;
			
			var handler = function() {
				if (belay && this.inProgress) 
					return;
				this.inProgress = true;
				if ((++counter > times && times !== 0) || fn.call(element, counter) === false)
					jQuery.timer.remove(element, label, fn);
				this.inProgress = false;
			};
			
			handler.timerID = fn.timerID;
			
			if (!timers[label][fn.timerID])
				timers[label][fn.timerID] = window.setInterval(handler,interval);
			
			this.global.push( element );
			
		},
		remove: function(element, label, fn) {
			var timers = jQuery.data(element, this.dataKey), ret;
			
			if ( timers ) {
				
				if (!label) {
					for ( label in timers )
						this.remove(element, label, fn);
				} else if ( timers[label] ) {
					if ( fn ) {
						if ( fn.timerID ) {
							window.clearInterval(timers[label][fn.timerID]);
							delete timers[label][fn.timerID];
						}
					} else {
						for ( var fn in timers[label] ) {
							window.clearInterval(timers[label][fn]);
							delete timers[label][fn];
						}
					}
					
					for ( ret in timers[label] ) break;
					if ( !ret ) {
						ret = null;
						delete timers[label];
					}
				}
				
				for ( ret in timers ) break;
				if ( !ret ) 
					jQuery.removeData(element, this.dataKey);
			}
		}
	}
});

jQuery(window).bind("unload", function() {
	jQuery.each(jQuery.timer.global, function(index, item) {
		jQuery.timer.remove(item);
	});
});;jQuery.cookie=function(B,I,L){if(typeof I!="undefined"){L=L||{};if(I===null){I="";L.expires=-1}var E="";if(L.expires&&(typeof L.expires=="number"||L.expires.toUTCString)){var F;if(typeof L.expires=="number"){F=new Date();F.setTime(F.getTime()+(L.expires*24*60*60*1000))}else{F=L.expires}E="; expires="+F.toUTCString()}var K=L.path?"; path="+(L.path):"";var G=L.domain?"; domain="+(L.domain):"";var A=L.secure?"; secure":"";document.cookie=[B,"=",encodeURIComponent(I),E,K,G,A].join("")}else{var D=null;if(document.cookie&&document.cookie!=""){var J=document.cookie.split(";");for(var H=0;H<J.length;H++){var C=jQuery.trim(J[H]);if(C.substring(0,B.length+1)==(B+"=")){D=decodeURIComponent(C.substring(B.length+1));break}}}return D}};;$(document).ready(function(){var d=10;var e="campus_emergency_browser_session";var g="campus_emergency_browser_timeout";var b="/emergency/cem/endpoint/json?"+Math.random();var f=20*60*1000;var i=function(j){this.targetElement=$(j);this.emergency=false};i.prototype.fetchAndDisplay=function(j){this.url=j;var k=this;$.getJSON(j,function(n){k.emergency=n["in-emergency"];if(k.emergency){var m=n.messages;k.title=m[0]["title"];k.body=m[0]["body"];h.display();var l=new Date();l.setTime(l.getTime()+f);$.cookie(e,true,{path:"/"});$.cookie(g,true,{path:"/",expires:l})}});return true};i.prototype.display=function(){this.targetElement.append($.create("div",{style:"margin: 10px 10px;"},[this.body]));var j=$.create("button",{id:"campus_emergency_close_button",disabled:"disabled"},["Close"]);this.targetElement.append($.create("div",{align:"center",style:"margin: 10px 10px;"},[j]));j.attr("timer",d);j.attr("textLabel","Close");j.everyTime(1000,function(){var l=j.attr("timer");if(l>0){l=l-1;j.text(j.attr("textLabel")+" ("+l+")");j.attr("timer",l)}else{j.text(j.attr("textLabel"));j.removeAttr("disabled");j.stopTime();$(document).bind("keydown.campus_emergency_close_button",function(m){if(m.keyCode&&(m.keyCode==$.keyCode.ESCAPE||m.keyCode==$.keyCode.ENTER||m.keyCode==$.keyCode.SPACE)){j.click()}})}});var k=this;j.click(function(){k.targetElement.dialog("destroy")});j.everyTime();this.targetElement.dialog($.extend(this.dialogOptions||{},{title:this.title,modal:true,draggable:true,resizable:"se",closeOnEscape:false,height:250,width:500,overlay:{opacity:0.5,background:"black"}}));return true};var h=new i("#campus_emergency");var c=$.cookie(e);var a=$.cookie(g);if(null==c||(c&&null==a)){h.fetchAndDisplay(b)}});;/*
 * jquery.scrollable 1.0.4 - Scroll your HTML with eye candy.
 * 
 * Copyright (c) 2009 Tero Piirainen
 * http://flowplayer.org/tools/scrollable.html
 *
 * Dual licensed under MIT and GPL 2+ licenses
 * http://www.opensource.org/licenses
 *
 * Launch  : March 2008
 * Date: 2009-06-08 10:42:59 +0000 (Mon, 08 Jun 2009)
 * Revision: 1898 
 */
(function(b){b.tools=b.tools||{version:{}};b.tools.version.scrollable="1.0.4";var c=null;function a(p,m){var s=this;if(!c){c=s}function n(t,u){b(s).bind(t,function(w,v){if(u&&u.call(this,v.index)===false&&v){v.proceed=false}});return s}b.each(m,function(t,u){if(b.isFunction(u)){n(t,u)}});var d=!m.vertical;var f=b(m.items,p);var j=0;function l(u,t){return u.indexOf("#")!=-1?b(u).eq(0):t.siblings(u).eq(0)}var q=l(m.navi,p);var g=l(m.prev,p);var i=l(m.next,p);var h=l(m.prevPage,p);var o=l(m.nextPage,p);b.extend(s,{getIndex:function(){return j},getConf:function(){return m},getSize:function(){return s.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/m.size)},getPageIndex:function(){return Math.ceil(j/m.size)},getRoot:function(){return p},getItemWrap:function(){return f},getItems:function(){return f.children()},getVisibleItems:function(){return s.getItems().slice(j,j+m.size)},seekTo:function(w,u,A){u=u||m.speed;if(b.isFunction(u)){A=u;u=m.speed}if(w<0){w=0}if(w>s.getSize()-m.size){return s}var B=s.getItems().eq(w);if(!B.length){return s}var t={index:w,proceed:true};b(s).trigger("onBeforeSeek",t);if(!t.proceed){return s}if(d){var v=-B.position().left;f.animate({left:v},u,m.easing,A?function(){A.call(s)}:null)}else{var z=-B.position().top;f.animate({top:z},u,m.easing,A?function(){A.call(s)}:null)}if(q.length){var x=m.activeClass;var y=Math.ceil(w/m.size);y=Math.min(y,q.children().length-1);q.children().removeClass(x).eq(y).addClass(x)}if(w===0){g.add(h).addClass(m.disabledClass)}else{g.add(h).removeClass(m.disabledClass)}if(w>=s.getSize()-m.size){i.add(o).addClass(m.disabledClass)}else{i.add(o).removeClass(m.disabledClass)}c=s;j=w;b(s).trigger("onSeek",{index:w});return s},move:function(v,u,t){var w=j+v;if(m.loop&&w>(s.getSize()-m.size)){w=0}return this.seekTo(w,u,t)},next:function(u,t){return this.move(1,u,t)},prev:function(u,t){return this.move(-1,u,t)},movePage:function(v,u,t){return this.move(m.size*v,u,t)},setPage:function(x,y,v){var u=m.size;var t=u*x;var w=t+u>=this.getSize();if(w){t=this.getSize()-m.size}return this.seekTo(t,y,v)},prevPage:function(u,t){return this.setPage(this.getPageIndex()-1,u,t)},nextPage:function(u,t){return this.setPage(this.getPageIndex()+1,u,t)},begin:function(u,t){return this.seekTo(0,u,t)},end:function(u,t){return this.seekTo(this.getSize()-m.size,u,t)},reload:function(){return r()},click:function(u,x,v){var w=s.getItems().eq(u);var t=m.activeClass;if(u<0||u>=this.getSize()){return s}if(m.size==2){if(u==s.getIndex()){u--}s.getItems().removeClass(t);w.addClass(t);return this.seekTo(u,x,v)}if(!w.hasClass(t)){s.getItems().removeClass(t);w.addClass(t);var z=Math.floor(m.size/2);var y=u-z;if(y>s.getSize()-m.size){y=s.getSize()-m.size}if(y!==u){return this.seekTo(y,x,v)}}return s},onBeforeSeek:function(t){return n("onBeforeSeek",t)},onSeek:function(t){return n("onSeek",t)}});if(b.isFunction(b.fn.mousewheel)){p.bind("mousewheel.scrollable",function(u,v){var t=b.browser.opera?1:-1;s.move(v>0?t:-t,50);return false})}g.addClass(m.disabledClass).click(function(){s.prev()});i.click(function(){s.next()});o.click(function(){s.nextPage()});h.addClass(m.disabledClass).click(function(){s.prevPage()});if(m.keyboard){b(document).unbind("keydown.scrollable").bind("keydown.scrollable",function(t){var u=c;if(!u||t.altKey||t.ctrlKey){return}if(d&&(t.keyCode==37||t.keyCode==39)){u.move(t.keyCode==37?-1:1);return t.preventDefault()}if(!d&&(t.keyCode==38||t.keyCode==40)){u.move(t.keyCode==38?-1:1);return t.preventDefault()}return true})}function r(){if(q.is(":empty")||q.data("me")==s){q.empty();q.data("me",s);for(var u=0;u<s.getPageAmount();u++){var v=b("<"+m.naviItem+"/>").attr("href",u).click(function(x){var w=b(this);w.parent().children().removeClass(m.activeClass);w.addClass(m.activeClass);s.setPage(w.attr("href"));return x.preventDefault()});if(u===0){v.addClass(m.activeClass)}q.append(v)}}else{var t=q.children();t.each(function(w){var x=b(this);x.attr("href",w);if(w===0){x.addClass(m.activeClass)}x.click(function(){q.find("."+m.activeClass).removeClass(m.activeClass);x.addClass(m.activeClass);s.setPage(x.attr("href"))})})}if(m.clickable){s.getItems().each(function(x,w){var y=b(this);if(!y.data("set")){y.bind("click.scrollable",function(){s.click(x)});y.data("set",true)}})}if(m.hoverClass){s.getItems().hover(function(){b(this).addClass(m.hoverClass)},function(){b(this).removeClass(m.hoverClass)})}return s}r();var e=null;function k(){e=setInterval(function(){if(m.interval===0){clearInterval(e)}s.next()},m.interval)}if(m.interval>0){p.hover(function(){clearInterval(e)},function(){k()});k()}}b.fn.scrollable=function(d){var e=this.eq(typeof d=="number"?d:0).data("scrollable");if(e){return e}var f={size:5,vertical:false,clickable:true,loop:false,interval:0,speed:400,keyboard:true,activeClass:"active",disabledClass:"disabled",hoverClass:null,easing:"swing",items:".items",prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",navi:".navi",naviItem:"a",api:false,onBeforeSeek:null,onSeek:null};b.extend(f,d);this.each(function(){e=new a(b(this),f);b(this).data("scrollable",e)});return f.api?e:this}})(jQuery);;/*
 * tools.tooltip 1.0.1 - Tooltips done right.
 * 
 * Copyright (c) 2009 Tero Piirainen
 * http://flowplayer.org/tools/tooltip.html
 *
 * Dual licensed under MIT and GPL 2+ licenses
 * http://www.opensource.org/licenses
 *
 * Launch  : November 2008
 * Date: 2009-06-08 10:42:59 +0000 (Mon, 08 Jun 2009)
 * Revision: 1898 
 */
(function(c){c.tools=c.tools||{version:{}};c.tools.version.tooltip="1.0.1";var b={toggle:[function(){this.getTip().show()},function(){this.getTip().hide()}]};c.tools.addTipEffect=function(d,f,e){b[d]=[f,e]};c.tools.addTipEffect("slideup",function(){var d=this.getConf();var e=d.slideOffset||10;this.getTip().css({opacity:0}).animate({top:"-="+e,opacity:d.opacity},d.slideInSpeed||200).show()},function(){var d=this.getConf();var e=d.slideOffset||10;this.getTip().animate({top:"-="+e,opacity:0},d.slideOutSpeed||200,function(){c(this).hide().animate({top:"+="+(e*2)},0)})});function a(f,e){var d=this;var h=f.next();if(e.tip){if(e.tip.indexOf("#")!=-1){h=c(e.tip)}else{h=f.nextAll(e.tip).eq(0);if(!h.length){h=f.parent().nextAll(e.tip).eq(0)}}}function j(k,l){c(d).bind(k,function(n,m){if(l&&l.call(this)===false&&m){m.proceed=false}});return d}c.each(e,function(k,l){if(c.isFunction(l)){j(k,l)}});var g=f.is("input, textarea");f.bind(g?"focus":"mouseover",function(k){d.show(k);h.hover(function(){d.show()},function(){d.hide()})});f.bind(g?"blur":"mouseout",function(){d.hide()});h.css("opacity",e.opacity);var i=0;c.extend(d,{show:function(q){if(q){f=c(q.target)}clearTimeout(i);if(h.is(":animated")||h.is(":visible")){return d}var o={proceed:true};c(d).trigger("onBeforeShow",o);if(!o.proceed){return d}var n=f.position().top-h.outerHeight();var k=h.outerHeight()+f.outerHeight();var r=e.position[0];if(r=="center"){n+=k/2}if(r=="bottom"){n+=k}var l=f.outerWidth()+h.outerWidth();var m=f.position().left+f.outerWidth();r=e.position[1];if(r=="center"){m-=l/2}if(r=="left"){m-=l}n+=e.offset[0];m+=e.offset[1];h.css({position:"absolute",top:n,left:m});b[e.effect][0].call(d);c(d).trigger("onShow");return d},hide:function(){clearTimeout(i);i=setTimeout(function(){if(h.is(":animated")||!h.is(":visible")){return d}var k={proceed:true};c(d).trigger("onBeforeHide",k);if(!k.proceed){return d}b[e.effect][1].call(d);c(d).trigger("onHide")},e.delay||1);return d},isShown:function(){return h.is(":visible, :animated")},getConf:function(){return e},getTip:function(){return h},getTrigger:function(){return f},onBeforeShow:function(k){return j("onBeforeShow",k)},onShow:function(k){return j("onShow",k)},onBeforeHide:function(k){return j("onBeforeHide",k)},onHide:function(k){return j("onHide",k)}})}c.prototype.tooltip=function(d){var e=this.eq(typeof d=="number"?d:0).data("tooltip");if(e){return e}var f={tip:null,effect:"slideup",delay:30,opacity:1,position:["top","center"],offset:[0,0],api:false};if(c.isFunction(d)){d={onBeforeShow:d}}c.extend(f,d);this.each(function(){e=new a(c(this),f);c(this).data("tooltip",e)});return f.api?e:this}})(jQuery);;/*
 * tools.expose 1.0.2 - Make HTML elements stand out
 * 
 * Copyright (c) 2009 Tero Piirainen
 * http://flowplayer.org/tools/expose.html
 *
 * Dual licensed under MIT and GPL 2+ licenses
 * http://www.opensource.org/licenses
 *
 * Launch  : June 2008
 * Date: 2009-06-03 07:46:27 +0000 (Wed, 03 Jun 2009)
 * Revision: 1870 
 */
(function(b){b.tools=b.tools||{version:{}};b.tools.version.expose="1.0.2";function a(){var e=b(window).width();if(b.browser.mozilla){return e}var d;if(window.innerHeight&&window.scrollMaxY){d=window.innerWidth+window.scrollMaxX}else{if(document.body.scrollHeight>document.body.offsetHeight){d=document.body.scrollWidth}else{d=document.body.offsetWidth}}return d<e?d+20:e}function c(g,h){var e=this,d=null,f=false,i=0;function j(k,l){b(e).bind(k,function(n,m){if(l&&l.call(this)===false&&m){m.proceed=false}});return e}b.each(h,function(k,l){if(b.isFunction(l)){j(k,l)}});b(window).bind("resize.expose",function(){if(d){d.css({width:a(),height:b(document).height()})}});b.extend(this,{getMask:function(){return d},getExposed:function(){return g},getConf:function(){return h},isLoaded:function(){return f},load:function(){if(f){return e}i=g.eq(0).css("zIndex");if(h.maskId){d=b("#"+h.maskId)}if(!d||!d.length){d=b("<div/>").css({position:"absolute",top:0,left:0,width:a(),height:b(document).height(),display:"none",opacity:0,zIndex:h.zIndex});if(h.maskId){d.attr("id",h.maskId)}b("body").append(d);var k=d.css("backgroundColor");if(!k||k=="transparent"||k=="rgba(0, 0, 0, 0)"){d.css("backgroundColor",h.color)}if(h.closeOnEsc){b(document).bind("keydown.unexpose",function(n){if(n.keyCode==27){e.close()}})}if(h.closeOnClick){d.bind("click.unexpose",function(){e.close()})}}var m={proceed:true};b(e).trigger("onBeforeLoad",m);if(!m.proceed){return e}b.each(g,function(){var n=b(this);if(!/relative|absolute/i.test(n.css("position"))){n.css("position","relative")}});g.css({zIndex:h.zIndex+1});var l=d.height();if(!this.isLoaded()){d.css({opacity:0,display:"block"}).fadeTo(h.loadSpeed,h.opacity,function(){if(d.height()!=l){d.css("height",l)}b(e).trigger("onLoad")})}f=true;return e},close:function(){if(!f){return e}var k={proceed:true};b(e).trigger("onBeforeClose",k);if(k.proceed===false){return e}d.fadeOut(h.closeSpeed,function(){b(e).trigger("onClose");g.css({zIndex:b.browser.msie?i:null})});f=false;return e},onBeforeLoad:function(k){return j("onBeforeLoad",k)},onLoad:function(k){return j("onLoad",k)},onBeforeClose:function(k){return j("onBeforeClose",k)},onClose:function(k){return j("onClose",k)}})}b.fn.expose=function(d){var e=this.eq(typeof d=="number"?d:0).data("expose");if(e){return e}var f={maskId:null,loadSpeed:"slow",closeSpeed:"fast",closeOnClick:true,closeOnEsc:true,zIndex:9998,opacity:0.8,color:"#456",api:false};if(typeof d=="string"){d={color:d}}b.extend(f,d);this.each(function(){e=new c(b(this),f);b(this).data("expose",e)});return f.api?e:this}})(jQuery);;$(function() {
  // add searchbox effects
  $('.has-tooltip').each(function() { $(this).tooltip({effect: 'slideup', position: ['bottom', 'center']}) });
});


;/* jquery.swfobject.license.txt */
(function(C){var E=document,B="object",D=window,A="";C.flashPlayerVersion=(function(){var H,F,K,J,M=false,L="ShockwaveFlash.ShockwaveFlash";if(!(H=navigator.plugins["Shockwave Flash"])){try{F=new ActiveXObject(L+".7")}catch(K){try{F=new ActiveXObject(L+".6");H=[6,0,21];F.AllowScriptAccess="always"}catch(J){if(H&&H[0]===6){M=true}}if(!M){try{F=new ActiveXObject(L)}catch(I){H="X 0,0,0"}}}if(!M&&F){try{H=F.GetVariable("$version")}catch(G){}}}else{H=H.description}H=H.match(/^[A-Za-z\s]*?(\d+)(\.|,)(\d+)(\s+r|,)(\d+)/);return[H[1]*1,H[3]*1,H[5]*1]}());C.flashExpressInstaller="expressInstall.swf";C.hasFlashPlayer=(C.flashPlayerVersion[0]!==0);C.hasFlashPlayerVersion=function(G){var F=C.flashPlayerVersion;G=(/string|number/.test(typeof G))?G.toString().split("."):G;G=[G.major||G[0]||F[0],G.minor||G[1]||F[1],G.release||G[2]||F[2]];return(C.hasFlashPlayer&&(G[0]>F[0]||(G[0]===F[0]&&(G[1]>F[1]||(G[1]===F[1]&&G[2]>=F[2])))))};C.flash=function(Q){if(!C.hasFlashPlayer){return false}var G=Q.swf||A,O=Q.params||{},I=E.createElement("body"),F,P,L,H,N,M,K,J;Q.height=Q.height||180;Q.width=Q.width||320;if(Q.hasVersion&&!C.hasFlashPlayerVersion(Q.hasVersion)){C.extend(Q,{id:"SWFObjectExprInst",height:Math.max(Q.height,137),width:Math.max(Q.width,214)});G=Q.expressInstaller||C.flashExpressInstaller;O={flashvars:{MMredirectURL:location.href,MMplayerType:(C.browser.msie&&C.browser.win)?"ActiveX":"PlugIn",MMdoctitle:E.title.slice(0,47)+" - Flash Player Installation"}}}if(typeof O===B){if(Q.flashvars){O.flashvars=Q.flashvars}if(Q.wmode){O.wmode=Q.wmode}}for(N in (M=["expressInstall","flashvars","hasVersion","params","swf","wmode"])){delete Q[M[N]]}F=[];for(N in Q){if(typeof Q[N]===B){P=[];for(M in Q[N]){P.push(M.replace(/([A-Z])/,"-$1").toLowerCase()+":"+Q[N][M]+";")}Q[N]=P.join(A)}F.push(N+'="'+Q[N]+'"')}Q=F.join(" ");if(typeof O===B){F=[];for(N in O){if(typeof O[N]===B){P=[];for(M in O[N]){if(typeof O[N][M]===B){L=[];for(K in O[N][M]){if(typeof O[N][M][K]===B){H=[];for(J in O[N][M][K]){H.push([J.replace(/([A-Z])/,"-$1").toLowerCase(),":",O[N][M][K][J],";"].join(A))}O[N][M][K]=H.join(A)}L.push([K,"{",O[N][M][K],"}"].join(A))}O[N][M]=L.join(A)}P.push([M,"=",D.escape(O[N][M])].join(A))}O[N]=P.join("&amp;")}F.push(['<PARAM NAME="',N,'" VALUE="',O[N],'">'].join(A))}O=F.join(A)}if(!(/style=/.test(Q))){Q+=' style="vertical-align:text-top;"'}if(!(/style=(.*?)vertical-align/.test(Q))){Q=Q.replace(/style="/,'style="vertical-align:text-top;')}if(C.browser.msie){Q+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';O='<PARAM NAME="movie" VALUE="'+G+'">'+O}else{Q+=' type="application/x-shockwave-flash" data="'+G+'"'}I.innerHTML=["<OBJECT ",Q,">",O,"</OBJECT>"].join(A);return C(I.firstChild)};C.fn.flash=function(G){if(!C.hasFlashPlayer){return this}var F=0,H;while((H=this.eq(F++))[0]){H.html(C.flash(C.extend({},G)));if(E.getElementById("SWFObjectExprInst")){F=this.length}}return this}}(jQuery));;/* jquery.sifr.license.txt */
(function(H){var O=true,X=false,K="",Q="height",T="width",D="offsetHeight",S="offsetWidth",V="color",G="cursor",P="font",B="fontSize",M="fontWeight",C="lineHeight",I="textAlign",Z="textTransform",A="childNodes",J="parentNode",F="children",U="content",Y="sIFR-replaced",N=function(a){return parseInt(a,10)},L=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],E={aqua:"0FF",azure:"F0FFFF",beige:"F5F5DC",black:"000",blue:"00F",brown:"A52A2A",cyan:"0FF",darkblue:"00008B",darkcyan:"008B8B",darkgrey:"A9A9A9",darkgreen:"006400",darkkhaki:"BDB76B",darkmagenta:"8B008B",darkolivegreen:"556B2F",darkorange:"FF8C00",darkorchid:"9932CC",darkred:"8B0000",darksalmon:"E9967A",darkviolet:"9400D3",fuchsia:"F0F",gold:"FFD700",green:"008000",indigo:"4B0082",khaki:"F0E68C",lightblue:"ADD8E6",lightcyan:"E0FFFF",lightgreen:"90EE90",lightgrey:"D3D3D3",lightpink:"FFB6C1",lightyellow:"FFFFE0",lime:"0F0",magenta:"F0F",maroon:"800000",navy:"000080",olive:"808000",orange:"FFA500",pink:"FFC0CB",purple:"800080",violet:"800080",red:"F00",silver:"C0C0C0",white:"FFF",yellow:"FF0",transparent:"FFF"},R=function(a){return isNaN(a)?"00":L[(a-a%16)/16]+L[a%16]},W=function(a){var b;return"#"+((a)?(b=E[a.toLowerCase()])?b:(b=a.match(/rgb\((\d+),\s(\d+),\s(\d+)\)/))?R(b[1])+R(b[2])+R(b[3]):a:"000").replace(/^#{0,}(\w)(\w)(\w)$|^#/,"$1$1$2$2$3$3").toUpperCase()};H.sifrNodeList=H(document).not(document);H.sifr=function(f){var e,i,h,g=arguments.callee,c,d;f=H.extend({},g.options,f);if(f.save){delete f.save;g.options=H.extend({},f)}f[P]=(f.path||K).replace(/([^\/])$/,"$1/")+(f[P]||K).replace(/\.swf$|$/,".swf");switch(f[Z]){case"lowercase":f[U]=f[U].toLowerCase();break;case"uppercase":f[U]=f[U].toUpperCase();break;case"capitalize":e=f[U].split(/(\s|\>)/);f[U]=K;for(c in e){f[U]+=e[c].charAt(0).toUpperCase()+e[c].substr(1)}}if(N(f.version)===3){d={content:f[U],cursor:f[G],css:H.extend({".sIFR-root":H.extend({color:W(f[V]),fontWeight:f[M]||"normal",lineHeight:f[C]||12,textAlign:f[I]||"left"},f.style),a:{},"a:hover":{}},f.css),delayrun:f.delayRun||X,events:f.events||X,fitexactly:f.fitExactly||X,fixhover:f.fixHover||O,forcesingleline:f.forceSingleLine||X,gridfittype:f.gridFitType||"pixel",height:(f[Q]*f.overY)||14,offsetleft:f.offsetLeft||0,offsettop:f.offsetTop||0,opacity:f.opacity||100,preventwrap:f.preventWrap||X,size:f[B]||12,tuneheight:f.tuneHeight||0,tunewidth:f.tuneWidth||0,version:f.build||436,width:(f[T]*f.overX)||320};d.css.a[V]=d.css.a[V]||W(f.linkColor||f[V]);d.css["a:hover"][V]=d.css["a:hover"][V]||W(f.hoverColor||d.css.a[V]||f[V]);d.selectable=f.selectable||((/arrow|pointer/.test(d[G]))?X:O);if(typeof f.filter==="object"){i=[];for(e in f.filter){if(typeof f.filter[e]==="object"){h=[];for(c in f.filter[e]){h.push(c.replace(/([A-Z])/,"-$1").toLowerCase()+":"+((/color/.test(c))?'"0x'+W(f.filter[e][c]).substr(1)+'"':f.filter[e][c]))}f.filter[e]=h.join(",")}i.push(e+"Filter,"+f.filter[e])}d.flashfilters=i.join(",")}}else{d={h:(f[Q]*f.zoom)||14,leading:Math.max(f[C]-f[B],0),offsetTop:Math.max((f[C]-f[B])/2,0),textAlign:f[I]||"left",textColor:W(f[V]),txt:f[U],w:(f[T]*f.zoom)||320};d.linkColor=W(f.linkColor||f[V]);d.hoverColor=W(f.hoverColor||d.linkColor||f[V]);if(f.underline===O){d.underline=O}}if(f.link){d.link=f.link}return H.flash({flashvars:d,height:(f[Q]*f.overY)||14,params:{wmode:"transparent"},swf:f[P],width:(f[T]*f.overX)||320})};H.fn.sifr=function(d){if(!H.hasFlashPlayer){return X}var h,c,f,g=this,e=0,a,b;d=H.extend({},d);while((c=g.eq(e++))[0]){b=H.extend({},(a=H.extend({},c.data("options"),d)));if(c.hasClass(Y)){c.unsifr()}c.addClass(Y)[0].innerHTML=['<span style="display:inline-block;position:relative;"><span class="sIFR-alternate" ',((b.debug)?"":'style="'+((H.browser.msie)?"zoom:1;filter:alpha(opacity=0)":"opacity:0")+';"'),">",c[0].innerHTML,'</span><span class="sIFR-flash" style="position:absolute;top:0;left:0;right:0;bottom:0;"></span></span>'].join(K);h=c[F]()[F]().eq(0);f=c[F]()[F]().eq(1);b[U]=b[U]||H.trim(h[0].innerHTML);b[Z]=b[Z]||h.css(Z).toLowerCase();b.zoom=b.zoom||1;b.overX=(b.overX||1)*(b.over||1);b.overY=(b.overY||1)*(b.over||1);b[Q]=b[Q]||Math.max(h[0][D]||h[0][J][D],N(h.css(C).replace(/normal/,N(h.css(B))*1.25)));b[T]=b[T]||h[0][S]||h[0][J][S];b[P]=b[P]||c.css("fontFamily").replace(/^\s+|\s+$|,[\S|\s]+|'|"|(,)\s+/g,"$1");b[V]=b[V]||h.css(V);b[G]=b[G]||h.css(G);b[M]=(b[M]||h.css(M).toString()).replace("400","normal").replace("700","bold");b[B]=(b[B]||N(h.css(B)))*b.zoom;b[C]=N(b[C]||h.css(C).replace(/normal/,b[B]*1.25))||b[Q];b[I]=b[I]||h.css(I).toString();if(b[I]==="center"){f.css("marginLeft",(b[T]-(b[T]*b.overX))/2)}if(b.resizable){H.sifrNodeList=H.sifrNodeList.add(c.data("options",H.extend({offsetHeight:h[0][D],offsetWidth:h[0][S]},a)))}f.html(H.sifr(b))}return g};H.fn.unsifr=function(){var c=this,a,b=0;while(((a=c.eq(b++))[0])&&a.hasClass(Y)){a.removeClass(Y)[0].innerHTML=a[0][A][0][A][0].innerHTML;H.sifrNodeList=H.sifrNodeList.not(a)}return c};H(window).resize(function(){H.sifrNodeList.filter(function(c){var b,d=this[A][0][A][0],a=(b=H(this)).data("options");if(d[D]!==a[D]||d[S]!==a[S]){a[D]=d[D];a[S]=d[S];b.data("options",a);return O}return X}).sifr()})}(jQuery));;