/* --- Minified superfish.js from 3710 bytes to 2831 bytes --- */;(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this));}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)
this.toggleClass(sf.c.shadowClass+'-off');};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery);

/* --- Minified jmedia.js from 19084 bytes to 15869 bytes --- */
var _jm;_jm=jQuery.fn.jmedia=function(scriptoptions,mediaoptions){$(".jm_noscript").remove();if(typeof(version)=='undefined')var version=[];return this.each(function(index){var $this=jQuery(this);var soptions=jQuery.extend({elemType:this.nodeName,elemClass:'jm_replaced',forceObjectTag:false,mode:'replace',version:'6,0,0',fullScreen:false,errTxt:'',sifrPaddingTop:0,sifrPaddingBottom:0,sifrPaddingLeft:0,sifrPaddingRight:0,flashXI:false,flashXIsrc:'js/XI.swf'},scriptoptions||{});var moptions=jQuery.extend({src:$this.attr('href')||$this.attr('src')||'#',width:320,height:280},mediaoptions||{});if(moptions.src=="#")return false;var t=_jm.getPluginName(moptions.src);if(t==false)return false;if(typeof(version[t])=='undefined'&&_jm.uaHas("w3cdom")&&!_jm.uaHas("ieMac"))version[t]=_jm.detectPluginVersion(t,soptions.forceObjectTag);if(_jm.checkVersion(soptions.version,version[t])==true){if(t=='flash'&&soptions.mode=='sifr')moptions=_jm.getSifrContent($this,moptions,soptions);else if(soptions.mode=='replace')$this.hide();var _el=$('<'+soptions.elemType+' class="'+soptions.elemClass+'"></'+soptions.elemType+'>');if(soptions.fullScreen==true){$(_el).width("100%");$(_el).height("100%");$(_el).css({"position":"absolute","left":0,"top":0});$("body").css({"overflow":"hidden","height":"100%","width":"100%"});$("html").css({"overflow":"hidden","height":"100%","width":"100%"});moptions.width="100%";moptions.height="100%";}
var _s=_jm.writeHtml($this,t,soptions,moptions);if(t=='flash'&&soptions.mode=='sifr'){var _alternate=document.createElement('span');$(_alternate).addClass('sIFR-alternate');$(_alternate).append($this.html());$this.html('');if((typeof(_s)).toString().toLowerCase()=='string')$this.html(_s);else $this.append(_s);$this.find('object,embed').addClass('sIFR-flash');$this.append(_alternate);}
else if(soptions.mode=='onclick'){$(this).click(function(){$(_el).hide();$(".jm_closebtn").remove();var _closecon=$("<span></span>");;$(_closecon).addClass("jm_closebtn");$(_closecon).css({width:moptions.width});var _closebtn=$('<a href="#">close&nbsp;</a>');$(_closecon).append($(_closebtn));$(_closebtn).click(function(){$(_el).remove();return false;});$(this).after($(_el));$(_el).show();if((typeof(_s)).toString().toLowerCase()=='string')$(_el).html(_s);else $(_el).append(_s);$(_el).prepend($(_closecon));return false;});}
else{if((typeof(_s)).toString().toLowerCase()=='string')_el.html(_s);else _el.append(_s);$this.after(_el).remove();}
return true;}
else if(t=='flash'&&soptions.flashXI==true&&(_jm.checkVersion("6,0,65",version[t])==true)){moptions.src=soptions.flashXIsrc;moptions.width='215';moptions.height='138';moptions.wmode='window';var _type=_jm.type=='axo'?"ActiveX":"PlugIn";var _uc=typeof soptions.flashXIcancelURL!="undefined"?"&xiUrlCancel="+soptions.flashXIcancelURL:"";var _uf=typeof soptions.flashXIfailedURL!="undefined"?"&xiUrlFailed="+soptions.flashXIfailedURL:"";if(_jm.uaHas("xml")&&_jm.uaHas("safari"))var _mmd=document.getElementsByTagName("title")[0].firstChild.nodeValue=document.getElementsByTagName("title")[0].firstChild.nodeValue.slice(0,47)+" - Flash Player Installation";else var _mmd=document.title=document.title.slice(0,47)+" - Flash Player Installation";moptions.flashVars="MMredirectURL="+window.location+"&MMplayerType="+_type+"&MMdoctitle="+_mmd+_uc+_uf;var _s=_jm.writeHtml($this,t,soptions,moptions);var _el=jQuery('<div id="flashXI"></div>');var _con=jQuery('<div id="flashXIcon"></div>');if((typeof(_s)).toString().toLowerCase()=='string')_el.html(_s);else _el.append(_s);$('body').css({height:"100%",overflow:"hidden"});$('html').css({height:"100%",overflow:"hidden"});$(_con).css({position:"absolute",top:0,left:0,"z-index":1000,background:"black",width:"100%",height:"100%",filter:"alpha(opacity:75)",opacity:0.75});$(_el).css({position:"absolute",left:"50%",top:"50%","margin-left":parseInt(moptions.width/2*(-1))+"px","margin-top":parseInt(moptions.height/2*(-1))+"px"});$(_el).css({width:moptions.width+"px",height:moptions.height+"px"});$(_con).append(_el);$('body').prepend($(_con));}
else if(soptions.mode=='onclick'){var _trig=false;$(this).click(function(){$(".jm_onfailure").remove();if(_trig==false){var errtxt=$(soptions.errTxt.replace(/#link/,$(this).attr("href")));$(this).after($(errtxt));if(_jm.uaHas("w3cdom")&&!_jm.uaHas("ieMac"))$(".jm_oldbrowsers").remove();_trig=true;}
else{_trig=false;}
return false;});}
else return false;});};_jm.checkVersion=function(reqver,uaver){if(typeof(uaver)=='undefined'||uaver=='not installed')return false;else{if(uaver=='unknown')return true;var _uav=uaver.split(",");var _rqv=reqver.toString().replace(/\./,",").split(",");for(var i=0;i<3;i++){_uav[i]=parseInt(_uav[i]||0);_rqv[i]=parseInt(_rqv[i]||0);if(_uav[i]<_rqv[i])return false;if(_uav[i]>_rqv[i])return true;}
return true;}};_jm.detectPluginVersion=function(t,fo){if(typeof(t)=='undefined')return false;var _gao=false;var _np=navigator.plugins;if(_np&&_np.length){if(t=='wmedia'&&fo==false)_gao=_jm.detectGeckoAXO();if(_gao==false){_jm.type='npapi';for(_i=0;_i<_np.length;_i++){var _p=_np[_i];var _sl=_jm.plugins[t].description.length;for(_ii=0;_ii<_sl;_ii++){if(_p.name.indexOf(_jm.plugins[t].description[_ii])!=-1){var _n=_p.name;var _d=_p.description;switch(t){case"flash":return _d.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").replace(/(\.)/g,",");case"director":return _d.split('version ')[1].replace(/(\.)/g,",");case"quicktime":return _n.replace(/([a-zA-Z]|\s|-)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").replace(/(\.)/g,",");case"real":return _d.replace(/(\.)/g,",");case"wmedia":return'unknown';default:return'not installed';}}}}}}
if(window.ActiveXObject||_gao==true){_jm.type='axo';for(_i=0;_i<_jm.plugins[t].progID.length;_i++){var _axon=_jm.plugins[t].progID[_i];try{if(_gao==true)_axo=new GeckoActiveXObject(_axon);else _axo=new ActiveXObject(_axon);switch(t){case"flash":var _axov=0;if(_axon=="ShockwaveFlash.ShockwaveFlash.7")_axov=axo.GetVariable("$version");else if("ShockwaveFlash.ShockwaveFlash.6"){_axov="6,0,21,0";_axo.AllowScriptAccess="always";_axov=_axo.GetVariable("$version");}
else if("ShockwaveFlash.ShockwaveFlash.3"){_axov=axo.GetVariable("$version");if(_axov==0)_axov="3,0,18,0";}
else if("ShockwaveFlash.ShockwaveFlash")_axov="2,0,0,11";return _axov.replace(/([a-zA-Z]|\s|-)+/,"").toString();case"director":return _axo.ShockwaveVersion("").replace(/r/,",").replace(/\./g,",");case"quicktime":return _axo.QuickTimeVersion.toString(16).replace(/(\d)/g,"$1,").toString().replace(/\./,",");case"real":return _axo.GetVersionInfo().toString().replace(/(\.)/g,",");case"wmedia":return _axo.versionInfo.toString().replace(/(\.)/g,",");case"acrobat":var _acv=_axon.split(".")[2];if(_acv=="1")_acv=7;return _acv+",0";default:return'not installed';}}
catch(e){}}}};_jm.detectGeckoAXO=function(){var _n=navigator.plugins;if(_n&&_n.length){for(_x=0;_x<_n.length;_x++){if(_n[_x].name.indexOf('ActiveX')!=-1&&window.GeckoActiveXObject)return true;}}
return false;};_jm.getPluginName=function(src){var _arr=src.split(".");var ext=_arr[(_arr.length-1)];switch(ext){case'ram':return'real';case'rm':return'real';case'swf':return'flash';case'mov':return'quicktime';case'dcr':return'director';case'wmv':return'wmedia';case'asx':return'wmedia';}
return false;};_jm.writeHtml=function(elem,t,soptions,moptions){var _pt=t;if(_pt=='flash'&&typeof(moptions.flashVars)!='undefined'){moptions.flashVars=flashVarsPrep(moptions.flashVars);if(moptions.flashVars.indexOf(/&/)==0)moptions.flashVars=moptions.flashVars.substr(1,(moptions.flashVars.length-1));}
if(_jm.type=='axo'){var _objPar="";for(var key in moptions)
if(typeof moptions[key]!='function'&&key!="height"&&key!="width"&&key!="src"&&(_pt!="flash"||(key!="align"&&key!="base"&&key!="swfliveconnect")))
_objPar+='<param name="'+key+'" value="'+moptions[key]+'">';if(_pt=="flash")_objPar+='<param name="movie" value="'+moptions.src+'">';else if(_pt=="wmedia")_objPar+='<param name="filename" value="'+moptions.src+'">';else _objPar+='<param name="src" value="'+moptions.src+'">';var _objAtt="";if(_pt=="flash"&&typeof(moptions.align)!='undefined')_objAtt+=' align="'+moptions.align+'"';if(_pt=="flash"&&typeof(moptions.base)!='undefined')_objAtt+=' base="'+moptions.base+'"';else if(_pt=="wmedia")_objAtt+=' type="'+_jm.plugins[_pt].mimeType[2]+'"';var _cb="";var _p=window.location.protocol=="https:"?"https:":"http:";if(_jm.plugins[_pt].codeBase!=undefined)_cb=' codebase="'+_p+"//"+_jm.plugins[_pt].codeBase+'"';var _oStr='<object classid="clsid:'+_jm.plugins[_pt].classID+'" '+_objAtt+' width="'+moptions.width+'" height="'+moptions.height+'"'+_cb+'>'+_objPar+'</object>';return _oStr;}
else if(_jm.type=='npapi'){if((soptions.forceObjectTag==true&&_jm.uaHas("gecko"))||_jm.uaHas("xml")){var _obj=$("<object></object>");var _mt=_jm.plugins[_pt].mimeType[1]?_jm.plugins[_pt].mimeType[1]:_jm.plugins[_pt].mimeType[0];$(_obj).attr({type:_mt,data:moptions.src,width:moptions.width,height:moptions.height});var _objPar="";for(var key in moptions){if(typeof moptions[key]!='function'&&key!="height"&&key!="width"&&key!="src"){if(_pt!='real'){var _p=$("<param>");$(_p).attr({name:key,value:moptions[key]});$(_obj).append($(_p));}
else $(_obj).attr(key,moptions[key]);}}
if(_pt=="flash"){var _p=$("<param>");$(_p).attr({name:"movie",value:moptions.src});$(_obj).append($(_p));}
else{var _p=$("<param>");$(_p).attr({name:"src",value:moptions.src});$(_obj).append($(_p));}
return _obj;}
else{var _embAttr='';for(var key in moptions)
if(typeof moptions[key]!='function'&&key!='src')
_embAttr+=key+'="'+moptions[key]+'" ';var _embStr='<embed type="'+_jm.plugins[_pt].mimeType[0]+'" src="'+moptions.src+'" pluginspage="'+_jm.plugins[_pt].pluginsPage+'" '+_embAttr+'></embed>';return _embStr;}}};_jm.getSifrContent=function(elem,moptions,soptions){$('body').addClass('sIFR-hasFlash');if(moptions.flashVars.txt){$(elem).html(moptions.flashVars.txt);delete moptions.flashVars.txt;}
if(moptions.flashVars.w){$(elem).width(moptions.flashVars.w);delete moptions.flashVars.w;}
if(moptions.flashVars.h){$(elem).height(moptions.flashVars.h);delete moptions.flashVars.h;}
moptions.width=$(elem).width()-soptions.sifrPaddingLeft-soptions.sifrPaddingRight;moptions.height=$(elem).height()-soptions.sifrPaddingTop-soptions.sifrPaddingBottom;if(typeof(moptions.flashVars)=='object'){moptions.flashVars.w=moptions.width;moptions.flashVars.h=moptions.height;}
$(elem).addClass('sIFR-replaced');if(typeof(moptions.flashVars)=='undefined')jQuery.extend(moptions,{flashVars:''});moptions.flashVars=flashVarsPrep(moptions.flashVars);if(!moptions.flashVars.match(/textColor|textcolor/))moptions.flashVars+="&textcolor=#000000";var _ch=$(elem).children();if(_ch.length>0){var sLinkVars="";var sLinkCnt=0;_ch.each(function(){if(this.nodeName.toLowerCase()=="a"&&this.href!='undefined'){if($(this).attr("target")){sLinkVars+="&sifr_url_"+nLinkCount+"_target="+$(this).attr("target");};$(this).replaceWith('<a href="asfunction:_root.launchURL,'+sLinkCnt+'">'+$(this).text()+'</a>');sLinkVars+='&sifr_url_'+sLinkCnt+'='+escapeHex(this.href).replace(/&/g,"%26");sLinkCnt++;}
else $(this).replaceWith($(this).text());});moptions.flashVars+="&txt="+escapeHex(elem.html()).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+"&h="+moptions.height+"&w="+moptions.width+sLinkVars;}
else moptions.flashVars+="&txt="+escapeHex(elem.html()).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+"&h="+moptions.height+"&w="+moptions.width;moptions.sifr="true";return moptions;};_jm.uaHas=function(ft){var _u=navigator.userAgent.toLowerCase();switch(ft){case"w3cdom":return(typeof document.getElementById!="undefined"&&typeof document.getElementsByTagName!="undefined"&&(typeof document.createElement!="undefined"||typeof document.createElementNS!="undefined"));case"xml":var _m=document.getElementsByTagName("meta");var _l=_m.length;for(var i=0;i<_l;i++)if(/content-type/i.test(_m[i].getAttribute("http-equiv"))&&/xml/i.test(_m[i].getAttribute("content")))return true;return false;case"ieMac":return/msie/.test(_u)&&!/opera/.test(_u)&&/mac/.test(_u);case"ieWin":return/msie/.test(_u)&&!/opera/.test(_u)&&/win/.test(_u);case"gecko":return/gecko/.test(_u)&&!/applewebkit/.test(_u);case"opera":return/opera/.test(_u);case"safari":return/applewebkit/.test(_u);default:return false;}};_jm.plugins={"flash":{classID:"D27CDB6E-AE6D-11CF-96B8-444553540000",progID:["ShockwaveFlash.ShockwaveFlash.9","ShockwaveFlash.ShockwaveFlash.8.5","ShockwaveFlash.ShockwaveFlash.8","ShockwaveFlash.ShockwaveFlash.7","ShockwaveFlash.ShockwaveFlash.6","ShockwaveFlash.ShockwaveFlash.5","ShockwaveFlash.ShockwaveFlash.4"],description:["Shockwave Flash"],mimeType:["application/x-shockwave-flash"],pluginsPage:"http://www.macromedia.com/go/getflashplayer",codeBase:"download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"},"quicktime":{classID:"02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",progID:["QuickTimeCheckObject.QuickTimeCheck.1","QuickTime.QuickTime"],description:["QuickTime"],mimeType:["video/quicktime"],pluginsPage:"http://www.apple.com/quicktime/download/",codeBase:"www.apple.com/qtactivex/qtplugin.cab"},"real":{classID:"CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA",progID:["RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","rmocx.RealPlayer G2 Control"],description:["RealOne Player","RealPlayer Version"],mimeType:["audio/x-pn-realaudio-plugin"],pluginsPage:"http://www.real.com/freeplayer/?rppr=rnwk"},"wmedia":{progID:["WMPlayer.OCX","MediaPlayer.MediaPlayer.1"],classID:"22D6f312-B0F6-11D0-94AB-0080C74C7E95",description:["Windows Media"],pluginsPage:"http://www.microsoft.com/windows/windowsmedia/",codeBase:"activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab",mimeType:["application/x-mplayer2","video/x-ms-asf","application/x-oleobject"]},"director":{classID:"166B1BCA-3F9C-11CF-8075-444553540000",progID:["SWCtl.SWCtl.11","SWCtl.SWCtl.10","SWCtl.SWCtl.9","SWCtl.SWCtl.8","SWCtl.SWCtl.7","SWCtl.SWCtl.6","SWCtl.SWCtl.5","SWCtl.SWCtl.4","SWCtl.SWCtl"],description:["Shockwave for Director"],pluginsPage:"http://www.macromedia.com/shockwave/download/",codeBase:"download.macromedia.com/pub/shockwave/cabs/director/sw.cab",mimeType:["application/x-director"]}};function escapeHex(sHex){if(_jm.uaHas('ieWin')||_jm.uaHas('ieMac')){return sHex.replace(new RegExp("%\d{0}","g"),"%25");}
return sHex.replace(new RegExp("%(?!\d)","g"),"%25");};String.prototype.normalize=function(){return this.replace(/\s+/g," ");};_jm.cleanupSWFs=function(){if(_jm.uaHas("opera")||!document.all){return;}
var _2d=document.getElementsByTagName("OBJECT");for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};var prepUnload=function(){var __flash_unloadHandler=function(){};var __flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _30=window.onunload;window.onunload=function(){_jm.cleanupSWFs();_30();};}
else window.onunload=_jm.cleanupSWFs;};function flashVarsPrep(flashVars){if(typeof(flashVars)=='object'){var fv=[];for(var i in flashVars){fv.push(i+'='+flashVars[i]);}
flashVars=fv.join("&");}
return flashVars;}
if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){prepUnload();oldBeforeUnload();};}
else window.onbeforeunload=prepUnload;var UFO={expressInstallCallback:function(){var _b=document.getElementsByTagName("body")[0];var _c=document.getElementById("flashXIcon");_b.removeChild(_c);_b.style.setAttribute("overflow","auto");_b.style.setAttribute("height","auto");document.getElementsByTagName("html")[0].style.setAttribute("overflow","auto");document.getElementsByTagName("html")[0].stylesetAttribute("height","auto");}};

/* --- Minified hoverIntent.js from 3174 bytes to 1359 bytes --- */
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}
if(p==this){return false;}
var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}
if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);

/* --- Minified jquery.livequery.js from 5933 bytes to 3110 bytes --- */
(function($){$.extend($.fn,{livequery:function(type,fn,fn2){var self=this,q;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&type==query.type&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid))
return(q=query)&&false;});q=q||new $.livequery(this.selector,this.context,type,fn,fn2);q.stopped=false;q.run();return this;},expire:function(type,fn,fn2){var self=this;if($.isFunction(type))
fn2=fn,fn=type,type=undefined;$.each($.livequery.queries,function(i,query){if(self.selector==query.selector&&self.context==query.context&&(!type||type==query.type)&&(!fn||fn.$lqguid==query.fn.$lqguid)&&(!fn2||fn2.$lqguid==query.fn2.$lqguid)&&!this.stopped)
$.livequery.stop(query.id);});return this;}});$.livequery=function(selector,context,type,fn,fn2){this.selector=selector;this.context=context;this.type=type;this.fn=fn;this.fn2=fn2;this.elements=[];this.stopped=false;this.id=$.livequery.queries.push(this)-1;fn.$lqguid=fn.$lqguid||$.livequery.guid++;if(fn2)fn2.$lqguid=fn2.$lqguid||$.livequery.guid++;return this;};$.livequery.prototype={stop:function(){var query=this;if(this.type)
this.elements.unbind(this.type,this.fn);else if(this.fn2)
this.elements.each(function(i,el){query.fn2.apply(el);});this.elements=[];this.stopped=true;},run:function(){if(this.stopped)return;var query=this;var oEls=this.elements,els=$(this.selector,this.context),nEls=els.not(oEls);this.elements=els;if(this.type){nEls.bind(this.type,this.fn);if(oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
$.event.remove(el,query.type,query.fn);});}
else{nEls.each(function(){query.fn.apply(this);});if(this.fn2&&oEls.length>0)
$.each(oEls,function(i,el){if($.inArray(el,els)<0)
query.fn2.apply(el);});}}};$.extend($.livequery,{guid:0,queries:[],queue:[],running:false,timeout:null,checkQueue:function(){if($.livequery.running&&$.livequery.queue.length){var length=$.livequery.queue.length;while(length--)
$.livequery.queries[$.livequery.queue.shift()].run();}},pause:function(){$.livequery.running=false;},play:function(){$.livequery.running=true;$.livequery.run();},registerPlugin:function(){$.each(arguments,function(i,n){if(!$.fn[n])return;var old=$.fn[n];$.fn[n]=function(){var r=old.apply(this,arguments);$.livequery.run();return r;}});},run:function(id){if(id!=undefined){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);}
else
$.each($.livequery.queries,function(id){if($.inArray(id,$.livequery.queue)<0)
$.livequery.queue.push(id);});if($.livequery.timeout)clearTimeout($.livequery.timeout);$.livequery.timeout=setTimeout($.livequery.checkQueue,20);},stop:function(id){if(id!=undefined)
$.livequery.queries[id].stop();else
$.each($.livequery.queries,function(id){$.livequery.queries[id].stop();});}});$.livequery.registerPlugin('append','prepend','after','before','wrap','attr','removeAttr','addClass','removeClass','toggleClass','empty','remove');$(function(){$.livequery.play();});})(jQuery);

/* --- Minified shadowbox.js from 22928 bytes to 22994 bytes --- */
(function(){var ua=navigator.userAgent.toLowerCase(),S={version:"3.0b",adapter:null,cache:[],client:{isIE:ua.indexOf("msie")>-1,isIE6:ua.indexOf("msie 6")>-1,isIE7:ua.indexOf("msie 7")>-1,isGecko:ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1,isWebkit:ua.indexOf("applewebkit/")>-1,isWindows:ua.indexOf("windows")>-1||ua.indexOf("win32")>-1,isMac:ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1,isLinux:ua.indexOf("linux")>-1},content:null,current:-1,dimensions:null,gallery:[],expando:"shadowboxCacheKey",libraries:{Prototype:"prototype",jQuery:"jquery",MooTools:"mootools",YAHOO:"yui",dojo:"dojo",Ext:"ext"},options:{adapter:null,animate:true,animateFade:true,autoplayMovies:true,container:false,continuous:false,ease:function(x){return 1+Math.pow(x-1,3)},enableKeys:true,errors:{fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}},ext:{img:["png","jpg","jpeg","gif","bmp"],swf:["swf"],flv:["flv","m4v"],qt:["dv","mov","moov","movie","mp4"],wmp:["asf","wm","wmv"],qtwmp:["avi","mpg","mpeg"]},flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",language:"en",onChange:null,onClose:null,onFinish:null,onOpen:null,players:["img"],showMovieControls:true,skipSetup:false,slideshowDelay:0,useSizzle:true,viewportPadding:20},path:"",plugins:null,ready:false,regex:{domain:/:\/\/(.*?)[:\/]/,inline:/#(.+)$/,rel:/^(light|shadow)box/i,gallery:/^(light|shadow)box\[(.*?)\]/i,unsupported:/^unsupported-(\w+)/,param:/\s*([a-z_]*?)\s*=\s*(.+)\s*/},applyOptions:function(opts){if(opts){default_options=apply({},S.options);apply(S.options,opts)}},revertOptions:function(){apply(S.options,default_options)},change:function(index){if(!S.gallery){return}if(!S.gallery[index]){if(!S.options.continuous){return}else{index=index<0?S.gallery.length-1:0}}S.current=index;if(typeof slide_timer=="number"){clearTimeout(slide_timer);slide_timer=null;slide_delay=slide_start=0}if(S.options.onChange){S.options.onChange()}loadContent()},close:function(){if(!active){return}active=false;listenKeys(false);if(S.content){S.content.remove();S.content=null}if(typeof slide_timer=="number"){clearTimeout(slide_timer)}slide_timer=null;slide_delay=0;if(S.options.onClose){S.options.onClose()}S.skin.onClose();S.revertOptions()},contentId:function(){return content_id},error:function(msg){if(!S.debug){return}if(typeof window.console!="undefined"&&typeof console.log=="function"){console.log(msg)}else{alert(msg)}},getCurrent:function(){return S.current>-1?S.gallery[S.current]:null},hasNext:function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)},init:function(opts){if(initialized){return}initialized=true;opts=opts||{};init_options=opts;if(opts){apply(S.options,opts)}for(var e in S.options.ext){S.regex[e]=new RegExp(".("+S.options.ext[e].join("|")+")s*$","i")}if(!S.path){var pathre=/(.+\/)shadowbox\.js/i,path;each(document.getElementsByTagName("script"),function(s){path=pathre.exec(s.src);if(path){S.path=path[1];return false}})}if(S.options.adapter){S.adapter=S.options.adapter.toLowerCase()}else{for(var lib in S.libraries){if(typeof window[lib]!="undefined"){S.adapter=S.libraries[lib];break}}if(!S.adapter){S.adapter="base"}}if(S.options.useSizzle&&!window.Sizzle){if(window.jQuery){window.Sizzle=jQuery.find}else{U.include(S.path+"libraries/sizzle/sizzle.js")}}if(!S.lang){U.include(S.path+"languages/shadowbox-"+S.options.language+".js")}each(S.options.players,function(p){if((p=="swf"||p=="flv")&&!window.swfobject){U.include(S.path+"libraries/swfobject/swfobject.js")}if(!S[p]){U.include(S.path+"players/shadowbox-"+p+".js")}});if(!S.lib){U.include(S.path+"adapters/shadowbox-"+S.adapter+".js")}waitDom(waitLibs)},isActive:function(){return active},isPaused:function(){return slide_timer=="paused"},load:function(){if(S.ready){return}S.ready=true;if(S.skin.options){apply(S.options,S.skin.options);apply(S.options,init_options)}S.skin.init();if(!S.options.skipSetup){S.setup()}},next:function(){S.change(S.current+1)},open:function(obj){if(U.isLink(obj)){if(S.inCache(obj)){obj=S.cache[obj[S.expando]]}else{obj=S.buildCacheObj(obj)}}if(obj.constructor==Array){S.gallery=obj;S.current=0}else{if(!obj.gallery){S.gallery=[obj];S.current=0}else{S.current=null;S.gallery=[];each(S.cache,function(c){if(c.gallery&&c.gallery==obj.gallery){if(S.current==null&&c.content==obj.content&&c.title==obj.title){S.current=S.gallery.length}S.gallery.push(c)}});if(S.current==null){S.gallery.unshift(obj);S.current=0}}}obj=S.getCurrent();if(obj.options){S.revertOptions();S.applyOptions(obj.options)}var item,remove,m,format,replace,oe=S.options.errors,msg,el;for(var i=0;i<S.gallery.length;++i){item=S.gallery[i]=apply({},S.gallery[i]);remove=false;if(m=S.regex.unsupported.exec(item.player)){if(S.options.handleUnsupported=="link"){item.player="html";switch(m[1]){case"qtwmp":format="either";replace=[oe.qt.url,oe.qt.name,oe.wmp.url,oe.wmp.name];break;case"qtf4m":format="shared";replace=[oe.qt.url,oe.qt.name,oe.f4m.url,oe.f4m.name];break;default:format="single";if(m[1]=="swf"||m[1]=="flv"){m[1]="fla"}replace=[oe[m[1]].url,oe[m[1]].name]}msg=S.lang.errors[format].replace(/\{(\d+)\}/g,function(m,n){return replace[n]});item.content='<div class="sb-message">'+msg+"</div>"}else{remove=true}}else{if(item.player=="inline"){m=S.regex.inline.exec(item.content);if(m){var el=U.get(m[1]);if(el){item.content=el.innerHTML}else{S.error("Cannot find element with id "+m[1])}}else{S.error("Cannot find element id for inline content")}}else{if(item.player=="swf"||item.player=="flv"){var version=(item.options&&item.options.flashVersion)||S.options.flashVersion;if(!swfobject.hasFlashPlayerVersion(version)){item.width=310;item.height=177}}}}if(remove){S.gallery.splice(i,1);if(i<S.current){--S.current}else{if(i==S.current){S.current=i>0?i-1:i}}--i}}if(S.gallery.length){if(!active){if(typeof S.options.onOpen=="function"&&S.options.onOpen(obj)===false){return}S.skin.onOpen(obj,loadContent)}else{loadContent()}active=true}},pause:function(){if(typeof slide_timer!="number"){return}var time=new Date().getTime();slide_delay=Math.max(0,slide_delay-(time-slide_start));if(slide_delay){clearTimeout(slide_timer);slide_timer="paused";if(S.skin.onPause){S.skin.onPause()}}},play:function(){if(!S.hasNext()){return}if(!slide_delay){slide_delay=S.options.slideshowDelay*1000}if(slide_delay){slide_start=new Date().getTime();slide_timer=setTimeout(function(){slide_delay=slide_start=0;S.next()},slide_delay);if(S.skin.onPlay){S.skin.onPlay()}}},previous:function(){S.change(S.current-1)},setDimensions:function(height,width,max_h,max_w,tb,lr,resizable){var h=height=S.util.getSizePx(max_h,height),w=width=S.util.getSizePx(max_w,width),pad=parseInt(S.options.viewportPadding)||0;var extra_h=2*pad+tb;if(h+extra_h>=max_h){h=max_h-extra_h}var extra_w=2*pad+lr;if(w+extra_w>=max_w){w=max_w-extra_w}var resize_h=height,resize_w=width,change_h=(height-h)/height,change_w=(width-w)/width,oversized=(change_h>0||change_w>0);if(resizable&&oversized&&S.options.handleOversize=="resize"){if(change_h>change_w){w=Math.round((width/height)*h)}else{if(change_w>change_h){h=Math.round((height/width)*w)}}resize_w=w;resize_h=h}S.dimensions={height:h+tb,width:w+lr,inner_h:h,inner_w:w,top:(max_h-(h+extra_h))/2+pad,left:(max_w-(w+extra_w))/2+pad,oversized:oversized,resize_h:resize_h,resize_w:resize_w}},setup:function(links,opts){each(S.findLinks(links),function(link){S.addCache(link,opts)})},teardown:function(links){each(S.findLinks(links),S.removeCache)},findLinks:function(links){if(!links){var links=[],rel;each(document.getElementsByTagName("a"),function(a){rel=a.getAttribute("rel");if(rel&&S.regex.rel.test(rel)){links.push(a)}})}else{var len=links.length;if(len){if(window.Sizzle){if(typeof links=="string"){links=Sizzle(links)}else{if(len==2&&links.push&&typeof links[0]=="string"&&links[1].nodeType){links=Sizzle(links[0],links[1])}}}}else{links=[links]}}return links},inCache:function(link){return typeof link[S.expando]=="number"&&S.cache[link[S.expando]]},addCache:function(link,opts){if(!S.inCache(link)){link[S.expando]=S.cache.length;S.lib.addEvent(link,"click",handleClick)}S.cache[link[S.expando]]=S.buildCacheObj(link,opts)},removeCache:function(link){S.lib.removeEvent(link,"click",handleClick);S.cache[link[S.expando]]=null;delete link[S.expando]},clearCache:function(){each(S.cache,function(obj){S.removeCache(obj.link)});S.cache=[]},buildCacheObj:function(link,opts){var obj={link:link,title:link.getAttribute("title"),options:apply({},opts||{}),content:link.href};if(opts){each(["player","title","height","width","gallery"],function(option){if(typeof obj.options[option]!="undefined"){obj[option]=obj.options[option];delete obj.options[option]}})}if(!obj.player){obj.player=S.getPlayer(obj.content)}var rel=link.getAttribute("rel");if(rel){var match=rel.match(S.regex.gallery);if(match){obj.gallery=escape(match[2])}each(rel.split(";"),function(parameter){match=parameter.match(S.regex.param);if(match){if(match[1]=="options"){eval("apply(obj.options,"+match[2]+")")}else{obj[match[1]]=match[2]}}})}return obj},getPlayer:function(content){var r=S.regex,p=S.plugins,m=content.match(r.domain),same_domain=m&&document.domain==m[1];if(content.indexOf("#")>-1&&same_domain){return"inline"}var q=content.indexOf("?");if(q>-1){content=content.substring(0,q)}if(r.img.test(content)){return"img"}if(r.swf.test(content)){return p.fla?"swf":"unsupported-swf"}if(r.flv.test(content)){return p.fla?"flv":"unsupported-flv"}if(r.qt.test(content)){return p.qt?"qt":"unsupported-qt"}if(r.wmp.test(content)){if(p.wmp){return"wmp"}if(p.f4m){return"qt"}if(S.client.isMac){return p.qt?"unsupported-f4m":"unsupported-qtf4m"}return"unsupported-wmp"}if(r.qtwmp.test(content)){if(p.qt){return"qt"}if(p.wmp){return"wmp"}return S.client.isMac?"unsupported-qt":"unsupported-qtwmp"}return"iframe"},dynamicResize:function(w,h,cb){var c=S.content;if(!c){return}c.width=w;c.height=h;S.skin.onReady(cb)}},U=S.util={animate:function(el,p,to,d,cb){var from=parseFloat(S.lib.getStyle(el,p));if(isNaN(from)){from=0}var delta=to-from;if(delta==0){if(cb){cb()}return}var op=p=="opacity";function fn(ease){var to=from+ease*delta;if(op){U.setOpacity(el,to)}else{el.style[p]=to+"px"}}if(!d||(!op&&!S.options.animate)||(op&&!S.options.animateFade)){fn(1);if(cb){cb()}return}d*=1000;var begin=new Date().getTime(),ease=S.options.ease,end=begin+d,time,timer=setInterval(function(){time=new Date().getTime();if(time>=end){clearInterval(timer);fn(1);if(cb){cb()}}else{fn(ease((time-begin)/d))}},10)},apply:function(o,e){for(var p in e){o[p]=e[p]}return o},clearOpacity:function(el){var s=el.style;if(window.ActiveXObject){if(typeof s.filter=="string"&&(/alpha/i).test(s.filter)){s.filter=s.filter.replace(/[\w\.]*alpha\(.*?\);?/i,"")}}else{s.opacity=""}},each:function(obj,fn,scope){for(var i=0,len=obj.length;i<len;++i){if(fn.call(scope||obj[i],obj[i],i,obj)===false){return}}},get:function(id){return document.getElementById(id)},include:function(){var includes={};return function(file){if(includes[file]){return}includes[file]=true;var head=document.getElementsByTagName("head")[0],script=document.createElement("script");script.src=file;head.appendChild(script)}}(),isLink:function(obj){if(!obj||!obj.tagName){return false}var up=obj.tagName.toUpperCase();return up=="A"||up=="AREA"},removeChildren:function(el){while(el.firstChild){el.removeChild(el.firstChild)}},setOpacity:function(el,o){var s=el.style;if(window.ActiveXObject){s.zoom=1;s.filter=(s.filter||"").replace(/\s*alpha\([^\)]*\)/gi,"")+(o==1?"":" alpha(opacity="+(o*100)+")")}else{s.opacity=o}},getSizePx:function(a,b){if(typeof(b)=="undefined"){return a}b=(b.toString()).split("%");return b.length>1?Math.floor(a*b[0]/100):parseInt(b[0],10)}},apply=U.apply,each=U.each,init_options,initialized=false,default_options={},content_id="sb-content",active=false,slide_timer,slide_start,slide_delay=0;if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(p){names.push(p.name)});names=names.join();var f4m=names.indexOf("Flip4Mac")>-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}}else{function detectPlugin(n){try{var axo=new ActiveXObject(n)}catch(e){}return!!axo}S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}}function waitDom(cb){if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);cb()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);cb()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(S.ready){return}try{document.documentElement.doScroll("left")}catch(error){setTimeout(arguments.callee,0);return}cb()})()}}}if(typeof window.onload=="function"){var oldonload=window.onload;window.onload=function(){oldonload();cb()}}else{window.onload=cb}}function waitLibs(){if(S.lib&&S.lang){S.load()}else{setTimeout(waitLibs,0)}}function handleClick(e){var link;if(U.isLink(this)){link=this}else{link=S.lib.getTarget(e);while(!U.isLink(link)&&link.parentNode){link=link.parentNode}}S.lib.preventDefault(e);if(link){S.open(link);if(S.gallery.length){S.lib.preventDefault(e)}}}function listenKeys(on){if(!S.options.enableKeys){return}S.lib[(on?"add":"remove")+"Event"](document,"keydown",handleKey)}function handleKey(e){var code=S.lib.keyCode(e),handler;switch(code){case 81:case 88:case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slide_timer=="number"?S.pause:S.play}if(handler){S.lib.preventDefault(e);handler()}}function loadContent(){var obj=S.getCurrent();if(!obj){return}var p=obj.player=="inline"?"html":obj.player;if(typeof S[p]!="function"){S.error("Unknown player: "+p)}var change=false;if(S.content){S.content.remove();change=true;S.revertOptions();if(obj.options){S.applyOptions(obj.options)}}U.removeChildren(S.skin.bodyEl());S.content=new S[p](obj);listenKeys(false);S.skin.onLoad(S.content,change,function(){if(!S.content){return}if(typeof S.content.ready!="undefined"){var id=setInterval(function(){if(S.content){if(S.content.ready){clearInterval(id);id=null;S.skin.onReady(contentReady)}}else{clearInterval(id);id=null}},100)}else{S.skin.onReady(contentReady)}});if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content}var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}}}function contentReady(){if(!S.content){return}S.content.append(S.skin.bodyEl(),content_id,S.dimensions);S.skin.onFinish(finishContent)}function finishContent(){if(!S.content){return}if(S.content.onLoad){S.content.onLoad()}if(S.options.onFinish){S.options.onFinish()}if(!S.isPaused()){S.play()}listenKeys(true)}window.Shadowbox=S})();(function(){var g=Shadowbox,f=g.util,q=false,b=[],m=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous","sb-tl","sb-t","sb-tr","sb-l","sb-r","sb-bl","sb-b","sb-br"],o={markup:'<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><a onclick="Shadowbox.close()">{cancel}</a></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div><div style="clear:both"></div></div></div></div></div>',options:{animSequence:"sync",autoDimensions:false,counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.8,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]},init:function(){var t=o.markup.replace(/\{(\w+)\}/g,function(x,y){return g.lang[y]});var s=g.options.container?f.get(g.options.container):document.body;g.lib.append(s,t);if(g.client.isIE6){f.get("sb-body").style.zoom=1;var v,r,u=/url\("(.*\.png)"\)/;f.each(m,function(x){v=f.get(x);if(v){r=g.lib.getStyle(v,"backgroundImage").match(u);if(r){v.style.backgroundImage="none";v.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,src="+r[1]+",sizingMethod=scale);"}}})}var w;g.lib.addEvent(window,"resize",function(){if(w){clearTimeout(w);w=null}if(g.isActive()){w=setTimeout(function(){o.onWindowResize();var x=g.content;if(x&&x.onWindowResize){x.onWindowResize()}},50)}})},bodyEl:function(){return f.get("sb-body-inner")},onOpen:function(u,r){e(false);var t=g.options.autoDimensions&&"height"in u?u.height:g.options.initialHeight,s=g.options.autoDimensions&&"width"in u?u.width:g.options.initialWidth;f.get("sb-container").style.display="block";var v=p(t,s);d(v.inner_h,v.top,false);h(v.width,v.left,false);i(r)},onLoad:function(s,t,r){k(true);j(t,function(){if(!s){return}if(!t){f.get("sb-wrapper").style.display=""}r()})},onReady:function(r){var t=g.content;if(!t){return}var s=p(t.height,t.width,t.resizable);o.resizeContent(s.inner_h,s.width,s.top,s.left,true,function(){l(r)})},onFinish:function(r){k(false,r)},onClose:function(){i();e(true)},onPlay:function(){c("play",false);c("pause",true)},onPause:function(){c("pause",false);c("play",true)},onWindowResize:function(){var t=g.content;if(!t){return}var s=p(t.height,t.width,t.resizable);h(s.width,s.left,false);d(s.inner_h,s.top,false);var r=f.get(g.contentId());if(r){if(t.resizable&&g.options.handleOversize=="resize"){r.height=s.resize_h;r.width=s.resize_w}}},resizeContent:function(s,t,w,v,u,r){var y=g.content;if(!y){return}var x=p(y.height,y.width,y.resizable);switch(g.options.animSequence){case"hw":d(x.inner_h,x.top,u,function(){h(x.width,x.left,u,r)});break;case"wh":h(x.width,x.left,u,function(){d(x.inner_h,x.top,u,r)});break;default:h(x.width,x.left,u);d(x.inner_h,x.top,u,r)}}};function n(){f.get("sb-container").style.top=document.documentElement.scrollTop+"px"}function e(r){if(r){f.each(b,function(s){s[0].style.visibility=s[1]||""})}else{b=[];f.each(g.options.troubleElements,function(s){f.each(document.getElementsByTagName(s),function(t){b.push([t,t.style.visibility]);t.style.visibility="hidden"})})}}function i(r){var s=f.get("sb-overlay"),t=f.get("sb-container"),v=f.get("sb-wrapper");if(r){if(g.client.isIE6){n();g.lib.addEvent(window,"scroll",n)}if(g.options.showOverlay){q=true;s.style.backgroundColor=g.options.overlayColor;f.setOpacity(s,0);if(!g.options.modal){g.lib.addEvent(s,"click",g.close)}v.style.display="none"}t.style.visibility="visible";if(q){var u=parseFloat(g.options.overlayOpacity);f.animate(s,"opacity",u,g.options.fadeDuration,r)}else{r()}}else{if(g.client.isIE6){g.lib.removeEvent(window,"scroll",n)}g.lib.removeEvent(s,"click",g.close);if(q){v.style.display="none";f.animate(s,"opacity",0,g.options.fadeDuration,function(){t.style.display="";v.style.display="";f.clearOpacity(s)})}else{t.style.visibility="hidden"}}}function c(t,r){var s=f.get("sb-nav-"+t);if(s){s.style.display=r?"":"none"}}function k(s,r){var u=f.get("sb-loading"),w=g.getCurrent().player,v=(w=="img"||w=="html");if(s){function t(){f.clearOpacity(u);if(r){r()}}f.setOpacity(u,0);u.style.display="";if(v){f.animate(u,"opacity",1,g.options.fadeDuration,t)}else{t()}}else{function t(){u.style.display="none";f.clearOpacity(u);if(r){r()}}if(v){f.animate(u,"opacity",0,g.options.fadeDuration,t)}else{t()}}}function a(v){var A=g.getCurrent();f.get("sb-title-inner").innerHTML=A.title||"";var D,u,y,E,t;if(g.options.displayNav){D=true;var C=g.gallery.length;if(C>1){if(g.options.continuous){u=t=true}else{u=(C-1)>g.current;t=g.current>0}}if(g.options.slideshowDelay>0&&g.hasNext()){E=!g.isPaused();y=!E}}else{D=u=y=E=t=false}c("close",D);c("next",u);c("play",y);c("pause",E);c("previous",t);var r="";if(g.options.displayCounter&&g.gallery.length>1){var C=g.gallery.length;if(g.options.counterType=="skip"||g.options.counterType=="circular-skip"){var z=0,x=C,w=parseInt(g.options.counterLimit)||0;if(w<C&&w>2){if(g.options.counterType=="skip"){var s=2;z=(g.current<=(w-(s+1)))?0:((g.current+(s+1))-w);x=(z+w<C)?(z+w):C}else{var B=Math.floor(w/2);z=g.current-B;if(z<0){z+=C}x=g.current+(w-B);if(x>C){x-=C}}}while(z!=x){if(z==C){z=0}r+='<a onclick="Shadowbox.change('+z+');"';if(z==g.current){r+=' class="sb-counter-current"'}z++;r+=">"+(z)+"</a>"}}else{var r=(g.current+1)+" "+g.lang.of+" "+C}}f.get("sb-counter").innerHTML=r;v()}function j(u,s){var y=f.get("sb-wrapper"),B=f.get("sb-title"),v=f.get("sb-info"),r=f.get("sb-title-inner"),z=f.get("sb-info-inner"),A=parseInt(g.lib.getStyle(r,"height"))||0,x=parseInt(g.lib.getStyle(z,"height"))||0;var w=function(){r.style.visibility=z.style.visibility="hidden";a(s)};if(u){f.animate(B,"height",0,0.35);f.animate(v,"height",0,0.35);f.animate(y,"paddingTop",A,0.35);f.animate(y,"paddingBottom",x,0.35,w)}else{B.style.height=v.style.height="0px";y.style.paddingTop=A+"px";y.style.paddingBottom=x+"px";w()}}function l(u){var s=f.get("sb-wrapper"),w=f.get("sb-title"),v=f.get("sb-info"),z=f.get("sb-title-inner"),y=f.get("sb-info-inner"),x=parseInt(g.lib.getStyle(z,"height"))||0,r=parseInt(g.lib.getStyle(y,"height"))||0;z.style.visibility=y.style.visibility="";if(z.innerHTML!=""){f.animate(w,"height",x,0.35);f.animate(s,"paddingTop",0,0.35)}f.animate(v,"height",r,0.35);f.animate(s,"paddingBottom",0,0.35,u)}function d(u,z,y,r){var A=f.get("sb-body"),x=f.get("sb-wrapper"),w=parseInt(u),v=parseInt(z);if(y){f.animate(A,"height",w,g.options.resizeDuration);f.animate(x,"top",v,g.options.resizeDuration,r)}else{A.style.height=w+"px";x.style.top=v+"px";if(r){r()}}}function h(x,z,y,r){var v=f.get("sb-wrapper"),u=parseInt(x),t=parseInt(z);if(y){f.animate(v,"width",u,g.options.resizeDuration);f.animate(v,"left",t,g.options.resizeDuration,r)}else{v.style.width=u+"px";v.style.left=t+"px";if(r){r()}}}function p(A,t,s){var v=f.get("sb-body-inner"),z=f.get("sb-wrapper"),u=f.get("sb-overlay"),w=z.offsetHeight-v.offsetHeight,x=z.offsetWidth-v.offsetWidth,y=u.offsetHeight,r=u.offsetWidth;g.setDimensions(A,t,y,r,w,x,s);return g.dimensions}g.skin=o})();

/* --- Minified shadowbox-jquery.js from 1020 bytes to 1094 bytes --- */
if(typeof jQuery=="undefined"){throw"Unable to load Shadowbox adapter, jQuery not found"}if(typeof Shadowbox=="undefined"){throw"Unable to load Shadowbox adapter, Shadowbox not found"}(function($,S){S.lib={getStyle:function(el,style){return $(el).css(style)},remove:function(el){$(el).remove()},getTarget:function(e){return e.target},getPageXY:function(e){return[e.pageX,e.pageY]},preventDefault:function(e){e.preventDefault()},keyCode:function(e){return e.keyCode},addEvent:function(el,name,handler){$(el).bind(name,handler)},removeEvent:function(el,name,handler){$(el).unbind(name,handler)},append:function(el,html){$(el).append(html)}}})(jQuery,Shadowbox);(function($){$.fn.shadowbox=function(options){return this.each(function(){var el=$(this);var opts=$.extend({},options||{},$.metadata?el.metadata():$.meta?el.data():{});var cls=this.className||"";opts.width=parseInt((cls.match(/w:(\d+)/)||[])[1])||opts.width;opts.height=parseInt((cls.match(/h:(\d+)/)||[])[1])||opts.height;Shadowbox.setup(el,opts)})}})(jQuery);

/* --- Minified skin.js from 1660 bytes to 1363 bytes --- */
if(typeof Shadowbox=='undefined'){throw'Unable to load Shadowbox skin, base library not found.';}
Shadowbox.skin.markup=''+'<div id="sb-container">'+'<div id="sb-overlay"></div>'+'<table border="0" id="sb-wrapper">'+'<tr><td id="sb-tl">&nbsp;</td><td id="sb-t">&nbsp;</td><td id="sb-tr"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a></td></tr>'+'<tr><td id="sb-l">&nbsp;</td><td id="sb-m">'+'<div id="sb-body">'+'<div id="sb-body-inner"></div>'+'<div id="sb-loading">'+'<a onclick="Shadowbox.close()">{cancel}</a>'+'</div>'+'<a href="javascript:;" id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a>'+'<a href="javascript:;" id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a>'+'</div>'+'<div id="sb-footer">'+'<div id="sb-title">'+'<div id="sb-title-inner"></div>'+'</div>'+'<div id="sb-info">'+'<div id="sb-info-inner">'+'<div id="sb-counter"></div>'+'</div>'+'</div>'+'</div>'+'</td><td id="sb-r">&nbsp;</td></tr>'+'<tr><td id="sb-bl">&nbsp;</td><td id="sb-b">&nbsp;</td><td id="sb-br">&nbsp;</td></tr>'+'</table>'+'</div>';Shadowbox.skin.options=$.extend(Shadowbox.skin.options,{overlayOpacity:0.6,overlayColor:'#000',initialHeight:200,initialWidth:300,onOpen:function(){$('.sf-menu').hide();},onClose:function(){$('.sf-menu').show();}});

/* --- Minified common.js from 9387 bytes to 5221 bytes --- */
function init(){$.post=function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}
settings={type:"POST",url:url,data:data,dataType:type};if(jQuery.isFunction(callback)){settings.success=callback;}else{if(jQuery.isFunction(callback.success)){settings.success=callback.success;}
if(jQuery.isFunction(callback.error)){settings.error=callback.error;}}
return jQuery.ajax(settings);}
$.postJSON=function(url,data,callback){var cache=jQuery.ajaxSettings.cache;jQuery.ajaxSettings.cache=false;$.post(url,data,callback,"json");jQuery.ajaxSettings.cache=cache;};$('#display-header').sifrtxt({src:'/swf/header.swf',flashVars:{textcolor:'ffffff',txt:$('h3.pg-title').text(),img:$('#display-header').css('background-image')}});$('#display-home').sifrtxt({src:'/swf/homepage.swf',width:'800',height:'365',flashVars:{xmlFile:'/public/images/home_images/homepage_images.xml'}}).css('margin-left:-20px');$('#display-footer').sifrtxt({src:'/swf/imgbar.swf',flashVars:{xmlFile:'/public/imgbar.xml'}});$('#FLVconstruction').sifrtxt({mode:'replace',src:'/swf/FLVPlayer_Progressive.swf',width:'380',height:'300',flashVars:{skinName:"/swf/Halo_Skin_3",streamName:"/public/timelapse/FCPC2Full091608_2min_F8_FastStart_400K",autoPlay:"false",autoRewind:"false"}});$('h1.sans').sifrtxt();$('h2.serif').sifrtxt({src:'/includes/sIFR/swanerquote.swf'});$('.quote').sifrtxt({src:'/includes/sIFR/swanerquote.swf',flashVars:{textcolor:'#4d714d',linkcolor:'#4d714d',hovercolor:'#003300'}});var nav='';$('#main-navigation ul').superfish({hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{height:'show'},speed:'normal',autoArrows:false,dropShadows:false,disableHI:true});$('#subnav ul').superfish({animation:{height:'show'},autoArrows:false,dropShadows:false,delay:1200});if($.browser.safari){$('head').append('<link rel="stylesheet" href="/css/safari.css" type="text/css" media="all" />');}
if(!($.browser.msie&&$.browser.version<'7.0')){$(".bubble").append('<div class="crn ur">&nbsp;</div><div class="crn ul">&nbsp;</div><div class="crn lr">&nbsp;</div><div class="crn ll">&nbsp;</div>');}
if($('body').is('.docent')){$('form.signupform button').livequery('click',function(e){if($(this).is('.cancel')){Shadowbox.close();}
if($(this).is('.submit')){e.preventDefault();var frm=$(this).parents('form'),day=frm.find('input[name=day]').val(),vol=frm.find('input[name=vol]').val(),voltgt=$('table.calendar #'+day+' td:eq('+(vol.replace(/\D/g,''))+') li:eq('+(vol.slice(-1)=='a'?0:1)+')');var pass=function(data){Shadowbox.close();voltgt.replaceWith('<li class="filled"><span>'+data.name+'</span></li>');};var fail=function(data){msg=$('#sb-content form div.msg');if(msg.length>0){msg.remove();}
$('#sb-content form').prepend('<div class="msg">'+data.msg+'</div>').find('.msg').fadeTo(3000,1).slideUp();};$.postJSON($(this).parents('form').attr('action'),$(this).parents('form').serialize(),{success:function(data){if(data.status=='pass'){pass(data);}else{fail(data);}},error:function(){fail({msg:'There was an error submitting your information. Please call us to volunteer.'});}});}});var frmtpl=$('#signupform').remove();$('table.calendar a').each(function(e){var frm=frmtpl.clone();var dat={date:$(this).parents('tr').children('td:first-child').text(),shift:$('table.calendar th#'+$(this).attr('class')).text(),day:$(this).parents('tr').attr('id'),vol:$(this).attr('class').replace('shift','vol')+($(this).parents('ul').find('li').index($(this).parent('li'))==0?'a':'b')};frm.find('#datetxt').html(dat.date+' &mdash; '+dat.shift);var tmpday=$('<div/>').append(frm.find("input[name=day]").remove()).html(),tmpvol=$('<div/>').append(frm.find("input[name=vol]").remove()).html();if(tmpday.match(/value=/i)===null){tmpday=tmpday.replace(/input/i,'input value=""');}
if(tmpvol.match(/value=/i)===null){tmpvol=tmpvol.replace(/input/i,'input value=""');}
$('form',frm).append($(tmpday.replace(/value="*.*?"* /,'value="'+dat.day+'"')),$(tmpvol.replace(/value="*.*?"* /,'value="'+dat.vol+'"')));var frmhtml=frm.html();$(this).click(function(e){e.stopPropagation();e.preventDefault();Shadowbox.open({content:frmhtml,player:"html",title:"",height:340,width:680});});});}}
$.fn.sifrtxt=function(newattr){return this.each(function(){var defaults={bgcolor:'none',wmode:'transparent',flashVersion:'8.0.0',mode:'sifr',src:'/includes/sIFR/sans.swf',flashVars:{img:'none',textcolor:'#000000',linkcolor:'#61361d',css:['* { color: #000000; text-align: left; }','a { color: #61361d; text-decoration: none; }','a:hover { text-decoration: underline; }'].join(' ')}};if(typeof newattr=='undefined'){newattr=defaults;}
var attr=$.extend({},defaults,newattr);attr.flashVars=$.extend({},defaults.flashVars,newattr.flashVars);attr.flashVars.img=typeof(attr.flashVars.img)=='undefined'?'none':attr.flashVars.img.replace(/(url\(([\"\'])*)(.*?)([\"\']*\))/,"$3");var newobj=$(this).jmedia({version:attr.flashVersion,flashXI:true,flashXIsrc:"/includes/XI.swf",mode:attr.mode},attr);newobj.css('visibility','visible');});}
Shadowbox.path='/includes/shadowbox/';Shadowbox.options=$.extend(Shadowbox.options,{players:['img','html'],enableKeys:false});Shadowbox.init();

